Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 23:59:03.409175
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
  port_id : 19672129
  datou_current_id : 2488596
in upload_from_sqlite, uploading in 19672129
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16012025/23/52/image_16012025_23_52_03_037709_0002.jpg', '/home/pi/Desktop/images/16012025/23/52/image_16012025_23_52_03_037709_0003.jpg', '/home/pi/Desktop/images/16012025/23/53/image_16012025_23_53_02_245203_0000.jpg', '/home/pi/Desktop/images/16012025/23/53/image_16012025_23_53_02_245203_0001.jpg', '/home/pi/Desktop/images/16012025/23/53/image_16012025_23_53_02_245203_0002.jpg', '/home/pi/Desktop/images/16012025/23/53/image_16012025_23_53_02_245203_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2488596&datou=0
/home/pi/Desktop/images/16012025/23/52/image_16012025_23_52_03_037709_0002.jpg
/home/pi/Desktop/images/16012025/23/52/image_16012025_23_52_03_037709_0003.jpg
/home/pi/Desktop/images/16012025/23/53/image_16012025_23_53_02_245203_0000.jpg
/home/pi/Desktop/images/16012025/23/53/image_16012025_23_53_02_245203_0001.jpg
/home/pi/Desktop/images/16012025/23/53/image_16012025_23_53_02_245203_0002.jpg
/home/pi/Desktop/images/16012025/23/53/image_16012025_23_53_02_245203_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: 17.539067268371582 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 23:59:22.373957
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
  port_id : 19672129
  datou_current_id : 2488596
in upload_from_sqlite, uploading in 19672129
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16012025/23/52/image_16012025_23_52_03_037709_0002.jpg', '/home/pi/Desktop/images/16012025/23/52/image_16012025_23_52_03_037709_0003.jpg', '/home/pi/Desktop/images/16012025/23/53/image_16012025_23_53_02_245203_0000.jpg', '/home/pi/Desktop/images/16012025/23/53/image_16012025_23_53_02_245203_0001.jpg', '/home/pi/Desktop/images/16012025/23/53/image_16012025_23_53_02_245203_0002.jpg', '/home/pi/Desktop/images/16012025/23/53/image_16012025_23_53_02_245203_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2488596&datou=0
/home/pi/Desktop/images/16012025/23/52/image_16012025_23_52_03_037709_0002.jpg
/home/pi/Desktop/images/16012025/23/52/image_16012025_23_52_03_037709_0003.jpg
/home/pi/Desktop/images/16012025/23/53/image_16012025_23_53_02_245203_0000.jpg
/home/pi/Desktop/images/16012025/23/53/image_16012025_23_53_02_245203_0001.jpg
/home/pi/Desktop/images/16012025/23/53/image_16012025_23_53_02_245203_0002.jpg
/home/pi/Desktop/images/16012025/23/53/image_16012025_23_53_02_245203_0003.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329891667","1329891664","1329891662","1329891656","1329891665","1329891659"],"photo_ids_order":["1329891656","1329891659","1329891662","1329891664","1329891665","1329891667"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/6548f971a7a16a243c1fdda6a87ee01c.jpg","text":"TemporaryFile(/tmp/multipartBody8242460867339032334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737241239647,"filename":"image_16012025_23_53_02_245203_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/d0e53cd34e5a14441514f2360d0fad15.jpg","text":"TemporaryFile(/tmp/multipartBody5529947748628915715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737241239647,"filename":"image_16012025_23_53_02_245203_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/c00f95ed1f3c6debb6487bb0717495a9.jpg","text":"TemporaryFile(/tmp/multipartBody1907235260565744339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737241239647,"filename":"image_16012025_23_53_02_245203_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/3c222618eaaaf0880d93dae7d581d8b3.jpg","text":"TemporaryFile(/tmp/multipartBody5301396722452975732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737241239647,"filename":"image_16012025_23_52_03_037709_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/4e1b37a45259e533d1573fc54ce03f3d.jpg","text":"TemporaryFile(/tmp/multipartBody3608376925240858675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737241239647,"filename":"image_16012025_23_53_02_245203_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/77e8e8ef77fb62f38a8604854c7d0335.jpg","text":"TemporaryFile(/tmp/multipartBody6128148518599911764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737241239647,"filename":"image_16012025_23_52_03_037709_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329891662","file1":"1329891659","file0":"1329891656","file4":"1329891665","file5":"1329891667","file3":"1329891664"},"map_files_photo_id_array":[{"photo_id":"1329891667","filename":"file5"},{"photo_id":"1329891662","filename":"file2"},{"photo_id":"1329891665","filename":"file4"},{"photo_id":"1329891659","filename":"file1"},{"photo_id":"1329891656","filename":"file0"},{"photo_id":"1329891664","filename":"file3"}],"portfolio_id":19672129,"hashtag_by_photo_ids":[{"1329891667":["hashtag1","hashtag2"]},{"1329891664":["hashtag1","hashtag2"]},{"1329891662":["hashtag1","hashtag2"]},{"1329891656":["hashtag1","hashtag2"]},{"1329891665":["hashtag1","hashtag2"]},{"1329891659":["hashtag1","hashtag2"]}],"comms":"Portfolio 19672129 used, photo_id : ArrayBuffer(1329891667, 1329891664, 1329891662, 1329891656, 1329891665, 1329891659)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.980472803115845 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-19 00:00:52.610749
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
  port_id : 19672129
  datou_current_id : 2488596
in upload_from_sqlite, uploading in 19672129
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16012025/23/54/image_16012025_23_54_02_402248_0000.jpg', '/home/pi/Desktop/images/16012025/23/54/image_16012025_23_54_02_402248_0001.jpg', '/home/pi/Desktop/images/16012025/23/54/image_16012025_23_54_02_402248_0002.jpg', '/home/pi/Desktop/images/16012025/23/54/image_16012025_23_54_02_402248_0003.jpg', '/home/pi/Desktop/images/16012025/23/55/image_16012025_23_55_02_518421_0000.jpg', '/home/pi/Desktop/images/16012025/23/55/image_16012025_23_55_02_518421_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2488596&datou=0
/home/pi/Desktop/images/16012025/23/54/image_16012025_23_54_02_402248_0000.jpg
/home/pi/Desktop/images/16012025/23/54/image_16012025_23_54_02_402248_0001.jpg
/home/pi/Desktop/images/16012025/23/54/image_16012025_23_54_02_402248_0002.jpg
/home/pi/Desktop/images/16012025/23/54/image_16012025_23_54_02_402248_0003.jpg
/home/pi/Desktop/images/16012025/23/55/image_16012025_23_55_02_518421_0000.jpg
/home/pi/Desktop/images/16012025/23/55/image_16012025_23_55_02_518421_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":["1329891694","1329891682","1329891718","1329891699","1329891697","1329891701"],"photo_ids_order":["1329891682","1329891694","1329891697","1329891699","1329891701","1329891718"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/084ccc7d3c860954c732f7afc2a4b99f.jpg","text":"TemporaryFile(/tmp/multipartBody6088954313343348553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737241330509,"filename":"image_16012025_23_54_02_402248_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/e8ba92d7d23d1476b928b4a7c849465c.jpg","text":"TemporaryFile(/tmp/multipartBody5416018903956725083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737241330509,"filename":"image_16012025_23_54_02_402248_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/0b4a212d56bc73e138c7f138e14274ad.jpg","text":"TemporaryFile(/tmp/multipartBody2232974052789085629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737241330509,"filename":"image_16012025_23_55_02_518421_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/237a4ced15c86b8193d79c6a482f1aa4.jpg","text":"TemporaryFile(/tmp/multipartBody204326992641196618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737241330509,"filename":"image_16012025_23_54_02_402248_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/a46a562ed3f0659ccb6a9b136c5b9dd4.jpg","text":"TemporaryFile(/tmp/multipartBody7787419505014277264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737241330509,"filename":"image_16012025_23_54_02_402248_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/d800c596c221df4873ac68db9f8c518a.jpg","text":"TemporaryFile(/tmp/multipartBody7399438526441106994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737241330509,"filename":"image_16012025_23_55_02_518421_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329891697","file1":"1329891694","file0":"1329891682","file4":"1329891701","file5":"1329891718","file3":"1329891699"},"map_files_photo_id_array":[{"photo_id":"1329891718","filename":"file5"},{"photo_id":"1329891697","filename":"file2"},{"photo_id":"1329891701","filename":"file4"},{"photo_id":"1329891694","filename":"file1"},{"photo_id":"1329891682","filename":"file0"},{"photo_id":"1329891699","filename":"file3"}],"portfolio_id":19672129,"hashtag_by_photo_ids":[{"1329891694":["hashtag1","hashtag2"]},{"1329891682":["hashtag1","hashtag2"]},{"1329891718":["hashtag1","hashtag2"]},{"1329891699":["hashtag1","hashtag2"]},{"1329891697":["hashtag1","hashtag2"]},{"1329891701":["hashtag1","hashtag2"]}],"comms":"Portfolio 19672129 used, photo_id : ArrayBuffer(1329891694, 1329891682, 1329891718, 1329891699, 1329891697, 1329891701)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.88848090171814 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 00:02:02.395360
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 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_19012025
 fc.token : 832f9dd9be82d72b547808d5fcaa9529
True
{'error': 'Invalid access_token'}
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_19012025.txt'

During handling of the above exception, another exception occurred:

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 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 92, in create_portfolio
    portfolio_id = res_json['portfolio_id']
KeyError: 'portfolio_id'
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 00:02:21.934276
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 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_19012025
 fc.token : 832f9dd9be82d72b547808d5fcaa9529
True
{'portfolio_id': 19739540, 'actiontaken': ['Created new portfolio'], 'error': 'Photos id not exist !', 'updated_at': 1737241402000}
533
2495284
533
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/00/00/image_19012025_00_00_02_803848_0000.jpg', '/home/pi/Desktop/images/19012025/00/00/image_19012025_00_00_02_803848_0001.jpg', '/home/pi/Desktop/images/19012025/00/00/image_19012025_00_00_02_803848_0002.jpg', '/home/pi/Desktop/images/19012025/00/00/image_19012025_00_00_02_803848_0003.jpg', '/home/pi/Desktop/images/19012025/00/01/image_19012025_00_01_03_026488_0000.jpg', '/home/pi/Desktop/images/19012025/00/01/image_19012025_00_01_03_026488_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/00/00/image_19012025_00_00_02_803848_0000.jpg
/home/pi/Desktop/images/19012025/00/00/image_19012025_00_00_02_803848_0001.jpg
/home/pi/Desktop/images/19012025/00/00/image_19012025_00_00_02_803848_0002.jpg
/home/pi/Desktop/images/19012025/00/00/image_19012025_00_00_02_803848_0003.jpg
/home/pi/Desktop/images/19012025/00/01/image_19012025_00_01_03_026488_0000.jpg
/home/pi/Desktop/images/19012025/00/01/image_19012025_00_01_03_026488_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":["1329892185","1329891876","1329891885","1329891879","1329891881","1329891883"],"photo_ids_order":["1329891876","1329891879","1329891881","1329891883","1329891885","1329892185"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/e3e6ae0c84ba922b83a9d5268cceddef.jpg","text":"TemporaryFile(/tmp/multipartBody5845314915387199730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737241422607,"filename":"image_19012025_00_01_03_026488_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/1fc864895bb1af8a947857b55e445e20.jpg","text":"TemporaryFile(/tmp/multipartBody7688132576332664963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737241422607,"filename":"image_19012025_00_00_02_803848_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/b1350e828eef7130cf08a17be1bcfe3c.jpg","text":"TemporaryFile(/tmp/multipartBody8836019642705291951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737241422607,"filename":"image_19012025_00_01_03_026488_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/6a022380692786eb20ef82284de2ccfd.jpg","text":"TemporaryFile(/tmp/multipartBody1547825627253642301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737241422607,"filename":"image_19012025_00_00_02_803848_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/9008d73cc1b7a259b615b2482abd8977.jpg","text":"TemporaryFile(/tmp/multipartBody6073236491174752841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737241422607,"filename":"image_19012025_00_00_02_803848_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/4ffd704e8373d199a13952645050f3b7.jpg","text":"TemporaryFile(/tmp/multipartBody7604252452495336586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737241422607,"filename":"image_19012025_00_00_02_803848_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329891881","file1":"1329891879","file0":"1329891876","file4":"1329891885","file5":"1329892185","file3":"1329891883"},"map_files_photo_id_array":[{"photo_id":"1329892185","filename":"file5"},{"photo_id":"1329891881","filename":"file2"},{"photo_id":"1329891885","filename":"file4"},{"photo_id":"1329891879","filename":"file1"},{"photo_id":"1329891876","filename":"file0"},{"photo_id":"1329891883","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329892185":["hashtag1","hashtag2"]},{"1329891876":["hashtag1","hashtag2"]},{"1329891885":["hashtag1","hashtag2"]},{"1329891879":["hashtag1","hashtag2"]},{"1329891881":["hashtag1","hashtag2"]},{"1329891883":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329892185, 1329891876, 1329891885, 1329891879, 1329891881, 1329891883)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.787670612335205 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-19 00:03:52.192717
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
  port_id : 19672129
  datou_current_id : 2488596
in upload_from_sqlite, uploading in 19672129
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16012025/23/55/image_16012025_23_55_02_518421_0002.jpg', '/home/pi/Desktop/images/16012025/23/55/image_16012025_23_55_02_518421_0003.jpg', '/home/pi/Desktop/images/16012025/23/56/image_16012025_23_56_02_748262_0000.jpg', '/home/pi/Desktop/images/16012025/23/56/image_16012025_23_56_02_748262_0001.jpg', '/home/pi/Desktop/images/16012025/23/56/image_16012025_23_56_02_748262_0002.jpg', '/home/pi/Desktop/images/16012025/23/56/image_16012025_23_56_02_748262_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2488596&datou=0
/home/pi/Desktop/images/16012025/23/55/image_16012025_23_55_02_518421_0002.jpg
/home/pi/Desktop/images/16012025/23/55/image_16012025_23_55_02_518421_0003.jpg
/home/pi/Desktop/images/16012025/23/56/image_16012025_23_56_02_748262_0000.jpg
/home/pi/Desktop/images/16012025/23/56/image_16012025_23_56_02_748262_0001.jpg
/home/pi/Desktop/images/16012025/23/56/image_16012025_23_56_02_748262_0002.jpg
/home/pi/Desktop/images/16012025/23/56/image_16012025_23_56_02_748262_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":["1329892875","1329892869","1329892854","1329892886","1329892847","1329893140"],"photo_ids_order":["1329892847","1329892854","1329892869","1329892875","1329892886","1329893140"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/7c7e9721e28802e2e12af7d79c8d360a.jpg","text":"TemporaryFile(/tmp/multipartBody6275680016561520502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737241510084,"filename":"image_16012025_23_56_02_748262_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/541cb22affc6de2c267daaef6ddadaae.jpg","text":"TemporaryFile(/tmp/multipartBody3053223743949349598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737241510084,"filename":"image_16012025_23_56_02_748262_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/325f7b21f834e5fd71c4bb0f5a5c9cda.jpg","text":"TemporaryFile(/tmp/multipartBody6266780185091910201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737241510084,"filename":"image_16012025_23_55_02_518421_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/37020d25f2544e69d03992243eb8eb12.jpg","text":"TemporaryFile(/tmp/multipartBody6986441953918353449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737241510084,"filename":"image_16012025_23_56_02_748262_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/0ad388a81e380c4532a9ec8bff39f49c.jpg","text":"TemporaryFile(/tmp/multipartBody310075077586081617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737241510084,"filename":"image_16012025_23_55_02_518421_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/d452deaa55b2402f3ee4310d98470c42.jpg","text":"TemporaryFile(/tmp/multipartBody653819237440486752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737241510084,"filename":"image_16012025_23_56_02_748262_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329892869","file1":"1329892854","file0":"1329892847","file4":"1329892886","file5":"1329893140","file3":"1329892875"},"map_files_photo_id_array":[{"photo_id":"1329893140","filename":"file5"},{"photo_id":"1329892869","filename":"file2"},{"photo_id":"1329892886","filename":"file4"},{"photo_id":"1329892854","filename":"file1"},{"photo_id":"1329892847","filename":"file0"},{"photo_id":"1329892875","filename":"file3"}],"portfolio_id":19672129,"hashtag_by_photo_ids":[{"1329892875":["hashtag1","hashtag2"]},{"1329892869":["hashtag1","hashtag2"]},{"1329892854":["hashtag1","hashtag2"]},{"1329892886":["hashtag1","hashtag2"]},{"1329892847":["hashtag1","hashtag2"]},{"1329893140":["hashtag1","hashtag2"]}],"comms":"Portfolio 19672129 used, photo_id : ArrayBuffer(1329892875, 1329892869, 1329892854, 1329892886, 1329892847, 1329893140)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.51836037635803 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-19 00:04:52.339466
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
  port_id : 19672129
  datou_current_id : 2488596
in upload_from_sqlite, uploading in 19672129
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16012025/23/57/image_16012025_23_57_02_967280_0000.jpg', '/home/pi/Desktop/images/16012025/23/57/image_16012025_23_57_02_967280_0001.jpg', '/home/pi/Desktop/images/16012025/23/57/image_16012025_23_57_02_967280_0002.jpg', '/home/pi/Desktop/images/16012025/23/57/image_16012025_23_57_02_967280_0003.jpg', '/home/pi/Desktop/images/16012025/23/58/image_16012025_23_58_02_203126_0000.jpg', '/home/pi/Desktop/images/16012025/23/58/image_16012025_23_58_02_203126_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2488596&datou=0
/home/pi/Desktop/images/16012025/23/57/image_16012025_23_57_02_967280_0000.jpg
/home/pi/Desktop/images/16012025/23/57/image_16012025_23_57_02_967280_0001.jpg
/home/pi/Desktop/images/16012025/23/57/image_16012025_23_57_02_967280_0002.jpg
/home/pi/Desktop/images/16012025/23/57/image_16012025_23_57_02_967280_0003.jpg
/home/pi/Desktop/images/16012025/23/58/image_16012025_23_58_02_203126_0000.jpg
/home/pi/Desktop/images/16012025/23/58/image_16012025_23_58_02_203126_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: 17.780534029006958 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 00:05:22.529239
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/00/01/image_19012025_00_01_03_026488_0002.jpg', '/home/pi/Desktop/images/19012025/00/01/image_19012025_00_01_03_026488_0003.jpg', '/home/pi/Desktop/images/19012025/00/02/image_19012025_00_02_02_212814_0000.jpg', '/home/pi/Desktop/images/19012025/00/02/image_19012025_00_02_02_212814_0001.jpg', '/home/pi/Desktop/images/19012025/00/02/image_19012025_00_02_02_212814_0002.jpg', '/home/pi/Desktop/images/19012025/00/02/image_19012025_00_02_02_212814_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/00/01/image_19012025_00_01_03_026488_0002.jpg
/home/pi/Desktop/images/19012025/00/01/image_19012025_00_01_03_026488_0003.jpg
/home/pi/Desktop/images/19012025/00/02/image_19012025_00_02_02_212814_0000.jpg
/home/pi/Desktop/images/19012025/00/02/image_19012025_00_02_02_212814_0001.jpg
/home/pi/Desktop/images/19012025/00/02/image_19012025_00_02_02_212814_0002.jpg
/home/pi/Desktop/images/19012025/00/02/image_19012025_00_02_02_212814_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":["1329893361","1329893934","1329893550","1329893357","1329893395","1329893359"],"photo_ids_order":["1329893357","1329893359","1329893361","1329893395","1329893550","1329893934"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/5ca751e8a7b0be1d5426c491b296afc5.jpg","text":"TemporaryFile(/tmp/multipartBody5464120331239289751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737241599403,"filename":"image_19012025_00_02_02_212814_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/8f7d4890938bc0eab3c95f8ccde3e6f1.jpg","text":"TemporaryFile(/tmp/multipartBody1208317747385770146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737241599403,"filename":"image_19012025_00_02_02_212814_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/58b2012d6e37f5bd1a057f6c79695bb8.jpg","text":"TemporaryFile(/tmp/multipartBody1880542318323684627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737241599403,"filename":"image_19012025_00_02_02_212814_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/aca30334cf1c333096486e681624f0d1.jpg","text":"TemporaryFile(/tmp/multipartBody6598809041550198823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737241599403,"filename":"image_19012025_00_01_03_026488_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/a27cb5dc5edd3efacd822493219aeac6.jpg","text":"TemporaryFile(/tmp/multipartBody5576604227319209649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737241599403,"filename":"image_19012025_00_02_02_212814_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/93888054b24b94de7a9e0847ca919420.jpg","text":"TemporaryFile(/tmp/multipartBody8783979035592107455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737241599403,"filename":"image_19012025_00_01_03_026488_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329893361","file1":"1329893359","file0":"1329893357","file4":"1329893550","file5":"1329893934","file3":"1329893395"},"map_files_photo_id_array":[{"photo_id":"1329893934","filename":"file5"},{"photo_id":"1329893361","filename":"file2"},{"photo_id":"1329893550","filename":"file4"},{"photo_id":"1329893359","filename":"file1"},{"photo_id":"1329893357","filename":"file0"},{"photo_id":"1329893395","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329893361":["hashtag1","hashtag2"]},{"1329893934":["hashtag1","hashtag2"]},{"1329893550":["hashtag1","hashtag2"]},{"1329893357":["hashtag1","hashtag2"]},{"1329893395":["hashtag1","hashtag2"]},{"1329893359":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329893361, 1329893934, 1329893550, 1329893357, 1329893395, 1329893359)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.02235770225525 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 00:06:22.778177
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/00/03/image_19012025_00_03_02_377241_0000.jpg', '/home/pi/Desktop/images/19012025/00/03/image_19012025_00_03_02_377241_0001.jpg', '/home/pi/Desktop/images/19012025/00/03/image_19012025_00_03_02_377241_0002.jpg', '/home/pi/Desktop/images/19012025/00/03/image_19012025_00_03_02_377241_0003.jpg', '/home/pi/Desktop/images/19012025/00/04/image_19012025_00_04_02_591919_0000.jpg', '/home/pi/Desktop/images/19012025/00/04/image_19012025_00_04_02_591919_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/00/03/image_19012025_00_03_02_377241_0000.jpg
/home/pi/Desktop/images/19012025/00/03/image_19012025_00_03_02_377241_0001.jpg
/home/pi/Desktop/images/19012025/00/03/image_19012025_00_03_02_377241_0002.jpg
/home/pi/Desktop/images/19012025/00/03/image_19012025_00_03_02_377241_0003.jpg
/home/pi/Desktop/images/19012025/00/04/image_19012025_00_04_02_591919_0000.jpg
/home/pi/Desktop/images/19012025/00/04/image_19012025_00_04_02_591919_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":["1329894522","1329894519","1329894510","1329894512","1329894517","1329894514"],"photo_ids_order":["1329894510","1329894512","1329894514","1329894517","1329894519","1329894522"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/c9a4ecf13cb5b7ed9bc2905fc9f9b0cb.jpg","text":"TemporaryFile(/tmp/multipartBody1016879162241582595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737241660188,"filename":"image_19012025_00_04_02_591919_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/f94fcf8dbd2d3c21297d6b55dc0a586a.jpg","text":"TemporaryFile(/tmp/multipartBody5392413036085432550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737241660188,"filename":"image_19012025_00_04_02_591919_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/6d35ef3397e3bb2a266c3ae3ea34331d.jpg","text":"TemporaryFile(/tmp/multipartBody241851747404254544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737241660188,"filename":"image_19012025_00_03_02_377241_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/8b5e4f514f86818a7d65ecd7bfdc63dc.jpg","text":"TemporaryFile(/tmp/multipartBody4338713872816046827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737241660188,"filename":"image_19012025_00_03_02_377241_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/b6591bf967420ee3abc59a9605496df1.jpg","text":"TemporaryFile(/tmp/multipartBody482826920524475294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737241660188,"filename":"image_19012025_00_03_02_377241_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/9823b3955f146a63007ed1eba267db63.jpg","text":"TemporaryFile(/tmp/multipartBody5370313762554585991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737241660188,"filename":"image_19012025_00_03_02_377241_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329894514","file1":"1329894512","file0":"1329894510","file4":"1329894519","file5":"1329894522","file3":"1329894517"},"map_files_photo_id_array":[{"photo_id":"1329894522","filename":"file5"},{"photo_id":"1329894514","filename":"file2"},{"photo_id":"1329894519","filename":"file4"},{"photo_id":"1329894512","filename":"file1"},{"photo_id":"1329894510","filename":"file0"},{"photo_id":"1329894517","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329894522":["hashtag1","hashtag2"]},{"1329894519":["hashtag1","hashtag2"]},{"1329894510":["hashtag1","hashtag2"]},{"1329894512":["hashtag1","hashtag2"]},{"1329894517":["hashtag1","hashtag2"]},{"1329894514":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329894522, 1329894519, 1329894510, 1329894512, 1329894517, 1329894514)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.077831506729126 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 00:07:21.914013
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/00/04/image_19012025_00_04_02_591919_0002.jpg', '/home/pi/Desktop/images/19012025/00/04/image_19012025_00_04_02_591919_0003.jpg', '/home/pi/Desktop/images/19012025/00/05/image_19012025_00_05_02_788468_0000.jpg', '/home/pi/Desktop/images/19012025/00/05/image_19012025_00_05_02_788468_0001.jpg', '/home/pi/Desktop/images/19012025/00/05/image_19012025_00_05_02_788468_0002.jpg', '/home/pi/Desktop/images/19012025/00/05/image_19012025_00_05_02_788468_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/00/04/image_19012025_00_04_02_591919_0002.jpg
/home/pi/Desktop/images/19012025/00/04/image_19012025_00_04_02_591919_0003.jpg
/home/pi/Desktop/images/19012025/00/05/image_19012025_00_05_02_788468_0000.jpg
/home/pi/Desktop/images/19012025/00/05/image_19012025_00_05_02_788468_0001.jpg
/home/pi/Desktop/images/19012025/00/05/image_19012025_00_05_02_788468_0002.jpg
/home/pi/Desktop/images/19012025/00/05/image_19012025_00_05_02_788468_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":["1329895016","1329894968","1329894598","1329894961","1329894967","1329894570"],"photo_ids_order":["1329894570","1329894598","1329894961","1329894967","1329894968","1329895016"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/18f1237afa5df0e4e96195191e6409d7.jpg","text":"TemporaryFile(/tmp/multipartBody2983097822570008720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737241718601,"filename":"image_19012025_00_05_02_788468_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/3678e4a288850d0f2e5363634019b398.jpg","text":"TemporaryFile(/tmp/multipartBody5584637553603702426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737241718601,"filename":"image_19012025_00_05_02_788468_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/048984f2d34578d87d061afdc01aad08.jpg","text":"TemporaryFile(/tmp/multipartBody5187881533954300920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737241718601,"filename":"image_19012025_00_04_02_591919_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/458bce95ed52d21b06d6e62faa3a5ccc.jpg","text":"TemporaryFile(/tmp/multipartBody6992925674579544387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737241718601,"filename":"image_19012025_00_05_02_788468_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/c978b87da32d90c585a291f556c6c700.jpg","text":"TemporaryFile(/tmp/multipartBody1819096760201340155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737241718601,"filename":"image_19012025_00_05_02_788468_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/c75f9cbeed6039e8b00223568c73dfab.jpg","text":"TemporaryFile(/tmp/multipartBody4113638216915481092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737241718601,"filename":"image_19012025_00_04_02_591919_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329894961","file1":"1329894598","file0":"1329894570","file4":"1329894968","file5":"1329895016","file3":"1329894967"},"map_files_photo_id_array":[{"photo_id":"1329895016","filename":"file5"},{"photo_id":"1329894961","filename":"file2"},{"photo_id":"1329894968","filename":"file4"},{"photo_id":"1329894598","filename":"file1"},{"photo_id":"1329894570","filename":"file0"},{"photo_id":"1329894967","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329895016":["hashtag1","hashtag2"]},{"1329894968":["hashtag1","hashtag2"]},{"1329894598":["hashtag1","hashtag2"]},{"1329894961":["hashtag1","hashtag2"]},{"1329894967":["hashtag1","hashtag2"]},{"1329894570":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329895016, 1329894968, 1329894598, 1329894961, 1329894967, 1329894570)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.12831521034241 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 00:08:22.120914
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/00/06/image_19012025_00_06_02_896433_0000.jpg', '/home/pi/Desktop/images/19012025/00/06/image_19012025_00_06_02_896433_0001.jpg', '/home/pi/Desktop/images/19012025/00/06/image_19012025_00_06_02_896433_0002.jpg', '/home/pi/Desktop/images/19012025/00/06/image_19012025_00_06_02_896433_0003.jpg', '/home/pi/Desktop/images/19012025/00/07/image_19012025_00_07_03_091307_0000.jpg', '/home/pi/Desktop/images/19012025/00/07/image_19012025_00_07_03_091307_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/00/06/image_19012025_00_06_02_896433_0000.jpg
/home/pi/Desktop/images/19012025/00/06/image_19012025_00_06_02_896433_0001.jpg
/home/pi/Desktop/images/19012025/00/06/image_19012025_00_06_02_896433_0002.jpg
/home/pi/Desktop/images/19012025/00/06/image_19012025_00_06_02_896433_0003.jpg
/home/pi/Desktop/images/19012025/00/07/image_19012025_00_07_03_091307_0000.jpg
/home/pi/Desktop/images/19012025/00/07/image_19012025_00_07_03_091307_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: 16.41423463821411 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-19 00:08:52.135325
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
  port_id : 19672129
  datou_current_id : 2488596
in upload_from_sqlite, uploading in 19672129
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16012025/23/57/image_16012025_23_57_02_967280_0000.jpg', '/home/pi/Desktop/images/16012025/23/57/image_16012025_23_57_02_967280_0001.jpg', '/home/pi/Desktop/images/16012025/23/57/image_16012025_23_57_02_967280_0002.jpg', '/home/pi/Desktop/images/16012025/23/57/image_16012025_23_57_02_967280_0003.jpg', '/home/pi/Desktop/images/16012025/23/58/image_16012025_23_58_02_203126_0000.jpg', '/home/pi/Desktop/images/16012025/23/58/image_16012025_23_58_02_203126_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2488596&datou=0
/home/pi/Desktop/images/16012025/23/57/image_16012025_23_57_02_967280_0000.jpg
/home/pi/Desktop/images/16012025/23/57/image_16012025_23_57_02_967280_0001.jpg
/home/pi/Desktop/images/16012025/23/57/image_16012025_23_57_02_967280_0002.jpg
/home/pi/Desktop/images/16012025/23/57/image_16012025_23_57_02_967280_0003.jpg
/home/pi/Desktop/images/16012025/23/58/image_16012025_23_58_02_203126_0000.jpg
/home/pi/Desktop/images/16012025/23/58/image_16012025_23_58_02_203126_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":["1329895101","1329895091","1329895088","1329895100","1329895093","1329895097"],"photo_ids_order":["1329895088","1329895091","1329895093","1329895097","1329895100","1329895101"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/8933b5a32bcd40902e42edd3917a0c9e.jpg","text":"TemporaryFile(/tmp/multipartBody7210788858646307683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737241810120,"filename":"image_16012025_23_58_02_203126_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/6d236103a418f81743ecbcfde95ffc3b.jpg","text":"TemporaryFile(/tmp/multipartBody3215088267184753864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737241810120,"filename":"image_16012025_23_57_02_967280_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/a49620e2f55de4fb172165da745b98b2.jpg","text":"TemporaryFile(/tmp/multipartBody6644732457694706793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737241810120,"filename":"image_16012025_23_57_02_967280_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/9a1ee7b88d5b691f05a15180e0c82512.jpg","text":"TemporaryFile(/tmp/multipartBody1820730737621932846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737241810120,"filename":"image_16012025_23_58_02_203126_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/80fd827a1ca6cd4a2e2a47028ca6f840.jpg","text":"TemporaryFile(/tmp/multipartBody7349190108344565414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737241810120,"filename":"image_16012025_23_57_02_967280_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/7d3ffae7163fbade437a92778fc77785.jpg","text":"TemporaryFile(/tmp/multipartBody3526954425143090080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737241810120,"filename":"image_16012025_23_57_02_967280_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329895093","file1":"1329895091","file0":"1329895088","file4":"1329895100","file5":"1329895101","file3":"1329895097"},"map_files_photo_id_array":[{"photo_id":"1329895101","filename":"file5"},{"photo_id":"1329895093","filename":"file2"},{"photo_id":"1329895100","filename":"file4"},{"photo_id":"1329895091","filename":"file1"},{"photo_id":"1329895088","filename":"file0"},{"photo_id":"1329895097","filename":"file3"}],"portfolio_id":19672129,"hashtag_by_photo_ids":[{"1329895101":["hashtag1","hashtag2"]},{"1329895091":["hashtag1","hashtag2"]},{"1329895088":["hashtag1","hashtag2"]},{"1329895100":["hashtag1","hashtag2"]},{"1329895093":["hashtag1","hashtag2"]},{"1329895097":["hashtag1","hashtag2"]}],"comms":"Portfolio 19672129 used, photo_id : ArrayBuffer(1329895101, 1329895091, 1329895088, 1329895100, 1329895093, 1329895097)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 65.52064251899719 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 00:10:02.913672
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/00/06/image_19012025_00_06_02_896433_0000.jpg', '/home/pi/Desktop/images/19012025/00/06/image_19012025_00_06_02_896433_0001.jpg', '/home/pi/Desktop/images/19012025/00/06/image_19012025_00_06_02_896433_0002.jpg', '/home/pi/Desktop/images/19012025/00/06/image_19012025_00_06_02_896433_0003.jpg', '/home/pi/Desktop/images/19012025/00/07/image_19012025_00_07_03_091307_0000.jpg', '/home/pi/Desktop/images/19012025/00/07/image_19012025_00_07_03_091307_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/00/06/image_19012025_00_06_02_896433_0000.jpg
/home/pi/Desktop/images/19012025/00/06/image_19012025_00_06_02_896433_0001.jpg
/home/pi/Desktop/images/19012025/00/06/image_19012025_00_06_02_896433_0002.jpg
/home/pi/Desktop/images/19012025/00/06/image_19012025_00_06_02_896433_0003.jpg
/home/pi/Desktop/images/19012025/00/07/image_19012025_00_07_03_091307_0000.jpg
/home/pi/Desktop/images/19012025/00/07/image_19012025_00_07_03_091307_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":["1329895109","1329895123","1329895105","1329895120","1329895116","1329895113"],"photo_ids_order":["1329895105","1329895109","1329895113","1329895116","1329895120","1329895123"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/458fc127c11c011895225699be60e312.jpg","text":"TemporaryFile(/tmp/multipartBody4336581408685211158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737241879784,"filename":"image_19012025_00_06_02_896433_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/071e677e56b496c50e5305ee4a32e08a.jpg","text":"TemporaryFile(/tmp/multipartBody6700963909151039980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737241879784,"filename":"image_19012025_00_07_03_091307_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/444b495a8fe7f8c45005a53da6f44d59.jpg","text":"TemporaryFile(/tmp/multipartBody2421106877732307344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737241879784,"filename":"image_19012025_00_06_02_896433_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/73fe6c3b4fb111305bdf68595220ee04.jpg","text":"TemporaryFile(/tmp/multipartBody7880539171543831962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737241879784,"filename":"image_19012025_00_07_03_091307_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/4bd0fac9b897a4a8249fa17fd72effa4.jpg","text":"TemporaryFile(/tmp/multipartBody6460971736551014233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737241879784,"filename":"image_19012025_00_06_02_896433_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/3bdc8e58ab97e8593f99370a54369fed.jpg","text":"TemporaryFile(/tmp/multipartBody3481977061500781438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737241879784,"filename":"image_19012025_00_06_02_896433_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329895113","file1":"1329895109","file0":"1329895105","file4":"1329895120","file5":"1329895123","file3":"1329895116"},"map_files_photo_id_array":[{"photo_id":"1329895123","filename":"file5"},{"photo_id":"1329895113","filename":"file2"},{"photo_id":"1329895120","filename":"file4"},{"photo_id":"1329895109","filename":"file1"},{"photo_id":"1329895105","filename":"file0"},{"photo_id":"1329895116","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329895109":["hashtag1","hashtag2"]},{"1329895123":["hashtag1","hashtag2"]},{"1329895105":["hashtag1","hashtag2"]},{"1329895120":["hashtag1","hashtag2"]},{"1329895116":["hashtag1","hashtag2"]},{"1329895113":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329895109, 1329895123, 1329895105, 1329895120, 1329895116, 1329895113)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.11322045326233 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 00:11:03.268174
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/00/07/image_19012025_00_07_03_091307_0002.jpg', '/home/pi/Desktop/images/19012025/00/07/image_19012025_00_07_03_091307_0003.jpg', '/home/pi/Desktop/images/19012025/00/08/image_19012025_00_08_02_265293_0000.jpg', '/home/pi/Desktop/images/19012025/00/08/image_19012025_00_08_02_265293_0001.jpg', '/home/pi/Desktop/images/19012025/00/08/image_19012025_00_08_02_265293_0002.jpg', '/home/pi/Desktop/images/19012025/00/08/image_19012025_00_08_02_265293_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/00/07/image_19012025_00_07_03_091307_0002.jpg
/home/pi/Desktop/images/19012025/00/07/image_19012025_00_07_03_091307_0003.jpg
/home/pi/Desktop/images/19012025/00/08/image_19012025_00_08_02_265293_0000.jpg
/home/pi/Desktop/images/19012025/00/08/image_19012025_00_08_02_265293_0001.jpg
/home/pi/Desktop/images/19012025/00/08/image_19012025_00_08_02_265293_0002.jpg
/home/pi/Desktop/images/19012025/00/08/image_19012025_00_08_02_265293_0003.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329895142","1329895138","1329895129","1329895140","1329895134","1329895143"],"photo_ids_order":["1329895129","1329895134","1329895138","1329895140","1329895142","1329895143"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/12f733fbeab0d5c2ded57b1d31e48608.jpg","text":"TemporaryFile(/tmp/multipartBody5236004146722008195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737241939817,"filename":"image_19012025_00_08_02_265293_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/16aedcfd9127efcdc471488b67cac797.jpg","text":"TemporaryFile(/tmp/multipartBody4706995755446830084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737241939817,"filename":"image_19012025_00_08_02_265293_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/41fbcea772c4bedf5d3f90a55bd3d241.jpg","text":"TemporaryFile(/tmp/multipartBody5438988467310689535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737241939817,"filename":"image_19012025_00_07_03_091307_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/2b8282cee9cd224c62a631afb89ac73c.jpg","text":"TemporaryFile(/tmp/multipartBody803004949481661612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737241939817,"filename":"image_19012025_00_08_02_265293_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/d39ec81295ad39e8b4bbdfb5f27d295b.jpg","text":"TemporaryFile(/tmp/multipartBody3578761332680233577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737241939817,"filename":"image_19012025_00_07_03_091307_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/845e0b51ce40c6ff16fbd02448549ed4.jpg","text":"TemporaryFile(/tmp/multipartBody446353412391583785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737241939817,"filename":"image_19012025_00_08_02_265293_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329895138","file1":"1329895134","file0":"1329895129","file4":"1329895142","file5":"1329895143","file3":"1329895140"},"map_files_photo_id_array":[{"photo_id":"1329895143","filename":"file5"},{"photo_id":"1329895138","filename":"file2"},{"photo_id":"1329895142","filename":"file4"},{"photo_id":"1329895134","filename":"file1"},{"photo_id":"1329895129","filename":"file0"},{"photo_id":"1329895140","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329895142":["hashtag1","hashtag2"]},{"1329895138":["hashtag1","hashtag2"]},{"1329895129":["hashtag1","hashtag2"]},{"1329895140":["hashtag1","hashtag2"]},{"1329895134":["hashtag1","hashtag2"]},{"1329895143":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329895142, 1329895138, 1329895129, 1329895140, 1329895134, 1329895143)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.04045033454895 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 00:12:21.840271
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/00/09/image_19012025_00_09_02_560633_0000.jpg', '/home/pi/Desktop/images/19012025/00/09/image_19012025_00_09_02_560633_0001.jpg', '/home/pi/Desktop/images/19012025/00/09/image_19012025_00_09_02_560633_0002.jpg', '/home/pi/Desktop/images/19012025/00/09/image_19012025_00_09_02_560633_0003.jpg', '/home/pi/Desktop/images/19012025/00/10/image_19012025_00_10_02_710326_0000.jpg', '/home/pi/Desktop/images/19012025/00/10/image_19012025_00_10_02_710326_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/00/09/image_19012025_00_09_02_560633_0000.jpg
/home/pi/Desktop/images/19012025/00/09/image_19012025_00_09_02_560633_0001.jpg
/home/pi/Desktop/images/19012025/00/09/image_19012025_00_09_02_560633_0002.jpg
/home/pi/Desktop/images/19012025/00/09/image_19012025_00_09_02_560633_0003.jpg
/home/pi/Desktop/images/19012025/00/10/image_19012025_00_10_02_710326_0000.jpg
/home/pi/Desktop/images/19012025/00/10/image_19012025_00_10_02_710326_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":["1329895190","1329895187","1329895192","1329895189","1329895191","1329895194"],"photo_ids_order":["1329895187","1329895189","1329895190","1329895191","1329895192","1329895194"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/4629cf1c2b0da231c915f769ec109aeb.jpg","text":"TemporaryFile(/tmp/multipartBody4423654926245000319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737242018569,"filename":"image_19012025_00_09_02_560633_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/484d84a04f151f192541f7815b397f18.jpg","text":"TemporaryFile(/tmp/multipartBody1457743026761201421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737242018569,"filename":"image_19012025_00_09_02_560633_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/fc16259dc0e3ae43eeb2c9c2b5d47a0c.jpg","text":"TemporaryFile(/tmp/multipartBody1800289381663888368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737242018569,"filename":"image_19012025_00_10_02_710326_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/16ac87c6905f130ffcf9dc3052b9bd15.jpg","text":"TemporaryFile(/tmp/multipartBody5374987345580387362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737242018569,"filename":"image_19012025_00_09_02_560633_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/8e06138552289316a3ba95a5d1a85366.jpg","text":"TemporaryFile(/tmp/multipartBody5786145093252155339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737242018569,"filename":"image_19012025_00_09_02_560633_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/5beeb199305594355bf83fec513c18c7.jpg","text":"TemporaryFile(/tmp/multipartBody5080891839998430384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737242018569,"filename":"image_19012025_00_10_02_710326_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329895190","file1":"1329895189","file0":"1329895187","file4":"1329895192","file5":"1329895194","file3":"1329895191"},"map_files_photo_id_array":[{"photo_id":"1329895194","filename":"file5"},{"photo_id":"1329895190","filename":"file2"},{"photo_id":"1329895192","filename":"file4"},{"photo_id":"1329895189","filename":"file1"},{"photo_id":"1329895187","filename":"file0"},{"photo_id":"1329895191","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329895190":["hashtag1","hashtag2"]},{"1329895187":["hashtag1","hashtag2"]},{"1329895192":["hashtag1","hashtag2"]},{"1329895189":["hashtag1","hashtag2"]},{"1329895191":["hashtag1","hashtag2"]},{"1329895194":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329895190, 1329895187, 1329895192, 1329895189, 1329895191, 1329895194)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.759034395217896 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 00:13:22.074160
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/00/10/image_19012025_00_10_02_710326_0002.jpg', '/home/pi/Desktop/images/19012025/00/10/image_19012025_00_10_02_710326_0003.jpg', '/home/pi/Desktop/images/19012025/00/11/image_19012025_00_11_02_858861_0000.jpg', '/home/pi/Desktop/images/19012025/00/11/image_19012025_00_11_02_858861_0001.jpg', '/home/pi/Desktop/images/19012025/00/11/image_19012025_00_11_02_858861_0002.jpg', '/home/pi/Desktop/images/19012025/00/11/image_19012025_00_11_02_858861_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/00/10/image_19012025_00_10_02_710326_0002.jpg
/home/pi/Desktop/images/19012025/00/10/image_19012025_00_10_02_710326_0003.jpg
/home/pi/Desktop/images/19012025/00/11/image_19012025_00_11_02_858861_0000.jpg
/home/pi/Desktop/images/19012025/00/11/image_19012025_00_11_02_858861_0001.jpg
/home/pi/Desktop/images/19012025/00/11/image_19012025_00_11_02_858861_0002.jpg
/home/pi/Desktop/images/19012025/00/11/image_19012025_00_11_02_858861_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":["1329895208","1329895210","1329895204","1329895207","1329895212","1329895206"],"photo_ids_order":["1329895204","1329895206","1329895207","1329895208","1329895210","1329895212"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/e476558f9e29fe187578664e2b7ef597.jpg","text":"TemporaryFile(/tmp/multipartBody2499840586622610371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737242078649,"filename":"image_19012025_00_11_02_858861_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/55bd0c91672827e323ae546259c65d60.jpg","text":"TemporaryFile(/tmp/multipartBody5585110492641290622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737242078649,"filename":"image_19012025_00_11_02_858861_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/d8eae48a5856b47e8e79d71948b151dc.jpg","text":"TemporaryFile(/tmp/multipartBody9182178831001391554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737242078649,"filename":"image_19012025_00_10_02_710326_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/c90c63d120611d90939ecc1cb6f34050.jpg","text":"TemporaryFile(/tmp/multipartBody2381018403125504158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737242078649,"filename":"image_19012025_00_11_02_858861_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/9c72e95d0b052116d55195158a97732f.jpg","text":"TemporaryFile(/tmp/multipartBody7184163110145559549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737242078649,"filename":"image_19012025_00_11_02_858861_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/ce2ff8cdd98d483f209f6a7ada663752.jpg","text":"TemporaryFile(/tmp/multipartBody640499268262492888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737242078649,"filename":"image_19012025_00_10_02_710326_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329895207","file1":"1329895206","file0":"1329895204","file4":"1329895210","file5":"1329895212","file3":"1329895208"},"map_files_photo_id_array":[{"photo_id":"1329895212","filename":"file5"},{"photo_id":"1329895207","filename":"file2"},{"photo_id":"1329895210","filename":"file4"},{"photo_id":"1329895206","filename":"file1"},{"photo_id":"1329895204","filename":"file0"},{"photo_id":"1329895208","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329895208":["hashtag1","hashtag2"]},{"1329895210":["hashtag1","hashtag2"]},{"1329895204":["hashtag1","hashtag2"]},{"1329895207":["hashtag1","hashtag2"]},{"1329895212":["hashtag1","hashtag2"]},{"1329895206":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329895208, 1329895210, 1329895204, 1329895207, 1329895212, 1329895206)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.849854707717896 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 00:14:22.230276
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/00/12/image_19012025_00_12_03_001036_0000.jpg', '/home/pi/Desktop/images/19012025/00/12/image_19012025_00_12_03_001036_0001.jpg', '/home/pi/Desktop/images/19012025/00/12/image_19012025_00_12_03_001036_0002.jpg', '/home/pi/Desktop/images/19012025/00/12/image_19012025_00_12_03_001036_0003.jpg', '/home/pi/Desktop/images/19012025/00/13/image_19012025_00_13_02_210796_0000.jpg', '/home/pi/Desktop/images/19012025/00/13/image_19012025_00_13_02_210796_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/00/12/image_19012025_00_12_03_001036_0000.jpg
/home/pi/Desktop/images/19012025/00/12/image_19012025_00_12_03_001036_0001.jpg
/home/pi/Desktop/images/19012025/00/12/image_19012025_00_12_03_001036_0002.jpg
/home/pi/Desktop/images/19012025/00/12/image_19012025_00_12_03_001036_0003.jpg
/home/pi/Desktop/images/19012025/00/13/image_19012025_00_13_02_210796_0000.jpg
/home/pi/Desktop/images/19012025/00/13/image_19012025_00_13_02_210796_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":["1329895262","1329895259","1329895264","1329895258","1329895260","1329895233"],"photo_ids_order":["1329895233","1329895258","1329895259","1329895260","1329895262","1329895264"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/73400a650961e95aa63659b5e8a536f2.jpg","text":"TemporaryFile(/tmp/multipartBody7082668958666879260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737242138978,"filename":"image_19012025_00_13_02_210796_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/b1abc592ee71996295fd7453b8c498f8.jpg","text":"TemporaryFile(/tmp/multipartBody679262204206520270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737242138978,"filename":"image_19012025_00_12_03_001036_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/eeca49076d9b2d5ef29ae8699b1de0bb.jpg","text":"TemporaryFile(/tmp/multipartBody2923555411187619711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737242138978,"filename":"image_19012025_00_13_02_210796_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/8d8b5a86bd99aff799ac8892a4af4f9f.jpg","text":"TemporaryFile(/tmp/multipartBody6941699461864020200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737242138978,"filename":"image_19012025_00_12_03_001036_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/60b1093f317dcadcae32b983e1d2030a.jpg","text":"TemporaryFile(/tmp/multipartBody2265111877767816157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737242138978,"filename":"image_19012025_00_12_03_001036_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/e32bfe3b036fdb5708c855ba34f726b0.jpg","text":"TemporaryFile(/tmp/multipartBody1030883195882090216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737242138978,"filename":"image_19012025_00_12_03_001036_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329895259","file1":"1329895258","file0":"1329895233","file4":"1329895262","file5":"1329895264","file3":"1329895260"},"map_files_photo_id_array":[{"photo_id":"1329895264","filename":"file5"},{"photo_id":"1329895259","filename":"file2"},{"photo_id":"1329895262","filename":"file4"},{"photo_id":"1329895258","filename":"file1"},{"photo_id":"1329895233","filename":"file0"},{"photo_id":"1329895260","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329895262":["hashtag1","hashtag2"]},{"1329895259":["hashtag1","hashtag2"]},{"1329895264":["hashtag1","hashtag2"]},{"1329895258":["hashtag1","hashtag2"]},{"1329895260":["hashtag1","hashtag2"]},{"1329895233":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329895262, 1329895259, 1329895264, 1329895258, 1329895260, 1329895233)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.58374524116516 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-19 00:15:52.393027
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
  port_id : 19672129
  datou_current_id : 2488596
in upload_from_sqlite, uploading in 19672129
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16012025/23/58/image_16012025_23_58_02_203126_0002.jpg', '/home/pi/Desktop/images/16012025/23/58/image_16012025_23_58_02_203126_0003.jpg', '/home/pi/Desktop/images/16012025/23/59/image_16012025_23_59_02_322698_0000.jpg', '/home/pi/Desktop/images/16012025/23/59/image_16012025_23_59_02_322698_0001.jpg', '/home/pi/Desktop/images/16012025/23/59/image_16012025_23_59_02_322698_0002.jpg', '/home/pi/Desktop/images/16012025/23/59/image_16012025_23_59_02_322698_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2488596&datou=0
/home/pi/Desktop/images/16012025/23/58/image_16012025_23_58_02_203126_0002.jpg
/home/pi/Desktop/images/16012025/23/58/image_16012025_23_58_02_203126_0003.jpg
/home/pi/Desktop/images/16012025/23/59/image_16012025_23_59_02_322698_0000.jpg
/home/pi/Desktop/images/16012025/23/59/image_16012025_23_59_02_322698_0001.jpg
/home/pi/Desktop/images/16012025/23/59/image_16012025_23_59_02_322698_0002.jpg
/home/pi/Desktop/images/16012025/23/59/image_16012025_23_59_02_322698_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":["1329895622","1329895601","1329895550","1329895552","1329895606","1329895584"],"photo_ids_order":["1329895550","1329895552","1329895584","1329895601","1329895606","1329895622"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/3dde4ef736ac0470df56430733cbefb4.jpg","text":"TemporaryFile(/tmp/multipartBody7211902154879914636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737242229884,"filename":"image_16012025_23_59_02_322698_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/b49ab4b5dc2eca15d40263c56bdf80de.jpg","text":"TemporaryFile(/tmp/multipartBody4790270409097815539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737242229884,"filename":"image_16012025_23_59_02_322698_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/3dc17166e53e96c1655e190547b5544b.jpg","text":"TemporaryFile(/tmp/multipartBody4275815311187783259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737242229884,"filename":"image_16012025_23_58_02_203126_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/fff96ff12c73b417d303bde2ff8e981f.jpg","text":"TemporaryFile(/tmp/multipartBody4521287681148309621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737242229884,"filename":"image_16012025_23_58_02_203126_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/33a5c00e3191156f9bfca6b1c2ef3df9.jpg","text":"TemporaryFile(/tmp/multipartBody8008605723937033484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737242229884,"filename":"image_16012025_23_59_02_322698_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/a37c5c60d17c1eaa430616078be2c2d1.jpg","text":"TemporaryFile(/tmp/multipartBody6615246774323465466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737242229884,"filename":"image_16012025_23_59_02_322698_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329895584","file1":"1329895552","file0":"1329895550","file4":"1329895606","file5":"1329895622","file3":"1329895601"},"map_files_photo_id_array":[{"photo_id":"1329895622","filename":"file5"},{"photo_id":"1329895584","filename":"file2"},{"photo_id":"1329895606","filename":"file4"},{"photo_id":"1329895552","filename":"file1"},{"photo_id":"1329895550","filename":"file0"},{"photo_id":"1329895601","filename":"file3"}],"portfolio_id":19672129,"hashtag_by_photo_ids":[{"1329895622":["hashtag1","hashtag2"]},{"1329895601":["hashtag1","hashtag2"]},{"1329895550":["hashtag1","hashtag2"]},{"1329895552":["hashtag1","hashtag2"]},{"1329895606":["hashtag1","hashtag2"]},{"1329895584":["hashtag1","hashtag2"]}],"comms":"Portfolio 19672129 used, photo_id : ArrayBuffer(1329895622, 1329895601, 1329895550, 1329895552, 1329895606, 1329895584)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.43688774108887 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-19 00:16:52.526807
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
  port_id : 19698700
  datou_current_id : 2490825
in upload_from_sqlite, uploading in 19698700
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17012025/20/36/image_17012025_20_36_02_984019_0000.jpg', '/home/pi/Desktop/images/17012025/20/36/image_17012025_20_36_02_984019_0001.jpg', '/home/pi/Desktop/images/17012025/20/36/image_17012025_20_36_02_984019_0002.jpg', '/home/pi/Desktop/images/17012025/20/36/image_17012025_20_36_02_984019_0003.jpg', '/home/pi/Desktop/images/17012025/20/37/image_17012025_20_37_03_165306_0000.jpg', '/home/pi/Desktop/images/17012025/20/37/image_17012025_20_37_03_165306_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2490825&datou=0
/home/pi/Desktop/images/17012025/20/36/image_17012025_20_36_02_984019_0000.jpg
/home/pi/Desktop/images/17012025/20/36/image_17012025_20_36_02_984019_0001.jpg
/home/pi/Desktop/images/17012025/20/36/image_17012025_20_36_02_984019_0002.jpg
/home/pi/Desktop/images/17012025/20/36/image_17012025_20_36_02_984019_0003.jpg
/home/pi/Desktop/images/17012025/20/37/image_17012025_20_37_03_165306_0000.jpg
/home/pi/Desktop/images/17012025/20/37/image_17012025_20_37_03_165306_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":["1329895754","1329895706","1329895762","1329895756","1329895771","1329895759"],"photo_ids_order":["1329895706","1329895754","1329895756","1329895759","1329895762","1329895771"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/e2239b6b90e9a386ca951ded933e4c32.jpg","text":"TemporaryFile(/tmp/multipartBody1840747476111409049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737242288617,"filename":"image_17012025_20_36_02_984019_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/4cbfb5f4b5ea2f24077be1a8ca08b86b.jpg","text":"TemporaryFile(/tmp/multipartBody1156920111938120289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737242288617,"filename":"image_17012025_20_36_02_984019_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/4603e146d68dabe3bd15d126e14be158.jpg","text":"TemporaryFile(/tmp/multipartBody74584511124065129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737242288617,"filename":"image_17012025_20_37_03_165306_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/b5d67162b8d2a63bb957939265a3386b.jpg","text":"TemporaryFile(/tmp/multipartBody747301413302934212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737242288617,"filename":"image_17012025_20_36_02_984019_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/9d3fe3a85dab3b55c2ae66d3d6a79c32.jpg","text":"TemporaryFile(/tmp/multipartBody7333601723184000374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737242288617,"filename":"image_17012025_20_37_03_165306_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/5ce2611220cecd22aa15159aea0226c9.jpg","text":"TemporaryFile(/tmp/multipartBody3470745008540030621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737242288617,"filename":"image_17012025_20_36_02_984019_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329895756","file1":"1329895754","file0":"1329895706","file4":"1329895762","file5":"1329895771","file3":"1329895759"},"map_files_photo_id_array":[{"photo_id":"1329895771","filename":"file5"},{"photo_id":"1329895756","filename":"file2"},{"photo_id":"1329895762","filename":"file4"},{"photo_id":"1329895754","filename":"file1"},{"photo_id":"1329895706","filename":"file0"},{"photo_id":"1329895759","filename":"file3"}],"portfolio_id":19698700,"hashtag_by_photo_ids":[{"1329895754":["hashtag1","hashtag2"]},{"1329895706":["hashtag1","hashtag2"]},{"1329895762":["hashtag1","hashtag2"]},{"1329895756":["hashtag1","hashtag2"]},{"1329895771":["hashtag1","hashtag2"]},{"1329895759":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698700 used, photo_id : ArrayBuffer(1329895754, 1329895706, 1329895762, 1329895756, 1329895771, 1329895759)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 61.121865034103394 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 00:18:02.345897
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/00/13/image_19012025_00_13_02_210796_0002.jpg', '/home/pi/Desktop/images/19012025/00/13/image_19012025_00_13_02_210796_0003.jpg', '/home/pi/Desktop/images/19012025/00/14/image_19012025_00_14_02_450580_0000.jpg', '/home/pi/Desktop/images/19012025/00/14/image_19012025_00_14_02_450580_0001.jpg', '/home/pi/Desktop/images/19012025/00/14/image_19012025_00_14_02_450580_0002.jpg', '/home/pi/Desktop/images/19012025/00/14/image_19012025_00_14_02_450580_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/00/13/image_19012025_00_13_02_210796_0002.jpg
/home/pi/Desktop/images/19012025/00/13/image_19012025_00_13_02_210796_0003.jpg
/home/pi/Desktop/images/19012025/00/14/image_19012025_00_14_02_450580_0000.jpg
/home/pi/Desktop/images/19012025/00/14/image_19012025_00_14_02_450580_0001.jpg
/home/pi/Desktop/images/19012025/00/14/image_19012025_00_14_02_450580_0002.jpg
/home/pi/Desktop/images/19012025/00/14/image_19012025_00_14_02_450580_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":["1329895814","1329895805","1329895810","1329895807","1329895815","1329895818"],"photo_ids_order":["1329895805","1329895807","1329895810","1329895814","1329895815","1329895818"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/1f77c7e50720290ab747eef00f90448f.jpg","text":"TemporaryFile(/tmp/multipartBody6981381377874175636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737242359433,"filename":"image_19012025_00_14_02_450580_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/c906acfe28d64240ffc08de8fd51a080.jpg","text":"TemporaryFile(/tmp/multipartBody2330230760965805367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737242359433,"filename":"image_19012025_00_13_02_210796_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/cc83f5c6406376a7adcd0493b0703fe1.jpg","text":"TemporaryFile(/tmp/multipartBody2954098250925991118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737242359433,"filename":"image_19012025_00_14_02_450580_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/0b649dddc2b61a18a42ad1392db26c3e.jpg","text":"TemporaryFile(/tmp/multipartBody6569595728300303580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737242359433,"filename":"image_19012025_00_13_02_210796_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/46ba570db12703304f12beaf97118134.jpg","text":"TemporaryFile(/tmp/multipartBody1425363846076224872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737242359433,"filename":"image_19012025_00_14_02_450580_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/725728893a1f43bdffab2519f97da944.jpg","text":"TemporaryFile(/tmp/multipartBody5740566266520615297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737242359433,"filename":"image_19012025_00_14_02_450580_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329895810","file1":"1329895807","file0":"1329895805","file4":"1329895815","file5":"1329895818","file3":"1329895814"},"map_files_photo_id_array":[{"photo_id":"1329895818","filename":"file5"},{"photo_id":"1329895810","filename":"file2"},{"photo_id":"1329895815","filename":"file4"},{"photo_id":"1329895807","filename":"file1"},{"photo_id":"1329895805","filename":"file0"},{"photo_id":"1329895814","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329895814":["hashtag1","hashtag2"]},{"1329895805":["hashtag1","hashtag2"]},{"1329895810":["hashtag1","hashtag2"]},{"1329895807":["hashtag1","hashtag2"]},{"1329895815":["hashtag1","hashtag2"]},{"1329895818":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329895814, 1329895805, 1329895810, 1329895807, 1329895815, 1329895818)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.36983370780945 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 00:19:02.582250
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/00/15/image_19012025_00_15_02_612235_0000.jpg', '/home/pi/Desktop/images/19012025/00/15/image_19012025_00_15_02_612235_0001.jpg', '/home/pi/Desktop/images/19012025/00/15/image_19012025_00_15_02_612235_0002.jpg', '/home/pi/Desktop/images/19012025/00/15/image_19012025_00_15_02_612235_0003.jpg', '/home/pi/Desktop/images/19012025/00/16/image_19012025_00_16_02_772839_0000.jpg', '/home/pi/Desktop/images/19012025/00/16/image_19012025_00_16_02_772839_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/00/15/image_19012025_00_15_02_612235_0000.jpg
/home/pi/Desktop/images/19012025/00/15/image_19012025_00_15_02_612235_0001.jpg
/home/pi/Desktop/images/19012025/00/15/image_19012025_00_15_02_612235_0002.jpg
/home/pi/Desktop/images/19012025/00/15/image_19012025_00_15_02_612235_0003.jpg
/home/pi/Desktop/images/19012025/00/16/image_19012025_00_16_02_772839_0000.jpg
/home/pi/Desktop/images/19012025/00/16/image_19012025_00_16_02_772839_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":["1329895829","1329895843","1329895837","1329895840","1329895833","1329895824"],"photo_ids_order":["1329895824","1329895829","1329895833","1329895837","1329895840","1329895843"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/18d02f8f32b17fe1e2bc32a1a084948d.jpg","text":"TemporaryFile(/tmp/multipartBody6355873697127853186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737242419294,"filename":"image_19012025_00_15_02_612235_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/31f3b7f8610dce9c4c0e3de7c0449cd6.jpg","text":"TemporaryFile(/tmp/multipartBody7392121492573182199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737242419294,"filename":"image_19012025_00_16_02_772839_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/b3a9af3a1e2a74298ff0400472b624e9.jpg","text":"TemporaryFile(/tmp/multipartBody3808733187080677318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737242419294,"filename":"image_19012025_00_15_02_612235_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/ae7f4877c90c8abf3d3a913b3eafd31f.jpg","text":"TemporaryFile(/tmp/multipartBody5147355359904756302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737242419294,"filename":"image_19012025_00_16_02_772839_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/146ac3dfff26aafc0e1e01d37097556b.jpg","text":"TemporaryFile(/tmp/multipartBody2615250439009962616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737242419294,"filename":"image_19012025_00_15_02_612235_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/bc255befeb7c71a3b34f10c4ef49663b.jpg","text":"TemporaryFile(/tmp/multipartBody5217247575070787711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737242419294,"filename":"image_19012025_00_15_02_612235_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329895833","file1":"1329895829","file0":"1329895824","file4":"1329895840","file5":"1329895843","file3":"1329895837"},"map_files_photo_id_array":[{"photo_id":"1329895843","filename":"file5"},{"photo_id":"1329895833","filename":"file2"},{"photo_id":"1329895840","filename":"file4"},{"photo_id":"1329895829","filename":"file1"},{"photo_id":"1329895824","filename":"file0"},{"photo_id":"1329895837","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329895829":["hashtag1","hashtag2"]},{"1329895843":["hashtag1","hashtag2"]},{"1329895837":["hashtag1","hashtag2"]},{"1329895840":["hashtag1","hashtag2"]},{"1329895833":["hashtag1","hashtag2"]},{"1329895824":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329895829, 1329895843, 1329895837, 1329895840, 1329895833, 1329895824)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.044132709503174 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 00:20:02.639713
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/00/16/image_19012025_00_16_02_772839_0002.jpg', '/home/pi/Desktop/images/19012025/00/16/image_19012025_00_16_02_772839_0003.jpg', '/home/pi/Desktop/images/19012025/00/17/image_19012025_00_17_02_978313_0000.jpg', '/home/pi/Desktop/images/19012025/00/17/image_19012025_00_17_02_978313_0001.jpg', '/home/pi/Desktop/images/19012025/00/17/image_19012025_00_17_02_978313_0002.jpg', '/home/pi/Desktop/images/19012025/00/17/image_19012025_00_17_02_978313_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/00/16/image_19012025_00_16_02_772839_0002.jpg
/home/pi/Desktop/images/19012025/00/16/image_19012025_00_16_02_772839_0003.jpg
/home/pi/Desktop/images/19012025/00/17/image_19012025_00_17_02_978313_0000.jpg
/home/pi/Desktop/images/19012025/00/17/image_19012025_00_17_02_978313_0001.jpg
/home/pi/Desktop/images/19012025/00/17/image_19012025_00_17_02_978313_0002.jpg
/home/pi/Desktop/images/19012025/00/17/image_19012025_00_17_02_978313_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":["1329895885","1329895888","1329895878","1329895887","1329895881","1329895889"],"photo_ids_order":["1329895878","1329895881","1329895885","1329895887","1329895888","1329895889"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/d43b8473e56b17b51cb053db68d4bd76.jpg","text":"TemporaryFile(/tmp/multipartBody6170344702784003335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737242479502,"filename":"image_19012025_00_17_02_978313_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/5960598587a89ce4f09d72f74002cd87.jpg","text":"TemporaryFile(/tmp/multipartBody2552240516663802061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737242479502,"filename":"image_19012025_00_17_02_978313_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/161ce224e246ebf89b002a8ddee2d3cc.jpg","text":"TemporaryFile(/tmp/multipartBody3667272777030415669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737242479502,"filename":"image_19012025_00_16_02_772839_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/160d75c6574413f2ef88fdbbb6205cb2.jpg","text":"TemporaryFile(/tmp/multipartBody80191167021081417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737242479502,"filename":"image_19012025_00_17_02_978313_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/13a535290cb1e32512af51b5219357de.jpg","text":"TemporaryFile(/tmp/multipartBody4737673403469326122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737242479502,"filename":"image_19012025_00_16_02_772839_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/444a33bb2a7cce8d7a0aa3c8f4f78991.jpg","text":"TemporaryFile(/tmp/multipartBody7431175721543928390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737242479502,"filename":"image_19012025_00_17_02_978313_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329895885","file1":"1329895881","file0":"1329895878","file4":"1329895888","file5":"1329895889","file3":"1329895887"},"map_files_photo_id_array":[{"photo_id":"1329895889","filename":"file5"},{"photo_id":"1329895885","filename":"file2"},{"photo_id":"1329895888","filename":"file4"},{"photo_id":"1329895881","filename":"file1"},{"photo_id":"1329895878","filename":"file0"},{"photo_id":"1329895887","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329895885":["hashtag1","hashtag2"]},{"1329895888":["hashtag1","hashtag2"]},{"1329895878":["hashtag1","hashtag2"]},{"1329895887":["hashtag1","hashtag2"]},{"1329895881":["hashtag1","hashtag2"]},{"1329895889":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329895885, 1329895888, 1329895878, 1329895887, 1329895881, 1329895889)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.841795921325684 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 00:21:03.114797
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/00/18/image_19012025_00_18_03_114271_0000.jpg', '/home/pi/Desktop/images/19012025/00/18/image_19012025_00_18_03_114271_0001.jpg', '/home/pi/Desktop/images/19012025/00/18/image_19012025_00_18_03_114271_0002.jpg', '/home/pi/Desktop/images/19012025/00/18/image_19012025_00_18_03_114271_0003.jpg', '/home/pi/Desktop/images/19012025/00/19/image_19012025_00_19_02_267205_0000.jpg', '/home/pi/Desktop/images/19012025/00/19/image_19012025_00_19_02_267205_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/00/18/image_19012025_00_18_03_114271_0000.jpg
/home/pi/Desktop/images/19012025/00/18/image_19012025_00_18_03_114271_0001.jpg
/home/pi/Desktop/images/19012025/00/18/image_19012025_00_18_03_114271_0002.jpg
/home/pi/Desktop/images/19012025/00/18/image_19012025_00_18_03_114271_0003.jpg
/home/pi/Desktop/images/19012025/00/19/image_19012025_00_19_02_267205_0000.jpg
/home/pi/Desktop/images/19012025/00/19/image_19012025_00_19_02_267205_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: 16.460859537124634 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 00:21:22.371254
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/00/18/image_19012025_00_18_03_114271_0000.jpg', '/home/pi/Desktop/images/19012025/00/18/image_19012025_00_18_03_114271_0001.jpg', '/home/pi/Desktop/images/19012025/00/18/image_19012025_00_18_03_114271_0002.jpg', '/home/pi/Desktop/images/19012025/00/18/image_19012025_00_18_03_114271_0003.jpg', '/home/pi/Desktop/images/19012025/00/19/image_19012025_00_19_02_267205_0000.jpg', '/home/pi/Desktop/images/19012025/00/19/image_19012025_00_19_02_267205_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/00/18/image_19012025_00_18_03_114271_0000.jpg
/home/pi/Desktop/images/19012025/00/18/image_19012025_00_18_03_114271_0001.jpg
/home/pi/Desktop/images/19012025/00/18/image_19012025_00_18_03_114271_0002.jpg
/home/pi/Desktop/images/19012025/00/18/image_19012025_00_18_03_114271_0003.jpg
/home/pi/Desktop/images/19012025/00/19/image_19012025_00_19_02_267205_0000.jpg
/home/pi/Desktop/images/19012025/00/19/image_19012025_00_19_02_267205_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":["1329897052","1329897049","1329897047","1329897041","1329897050","1329897044"],"photo_ids_order":["1329897041","1329897044","1329897047","1329897049","1329897050","1329897052"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/a2a500e5ea723966b327a1a78f07355d.jpg","text":"TemporaryFile(/tmp/multipartBody143716051054900124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737242559149,"filename":"image_19012025_00_19_02_267205_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/8c7bd40d7562d414c006568e1293127f.jpg","text":"TemporaryFile(/tmp/multipartBody5810734919746979978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737242559149,"filename":"image_19012025_00_18_03_114271_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/92d5e436c89662fda7a8472b19d6764f.jpg","text":"TemporaryFile(/tmp/multipartBody6196087351001670544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737242559149,"filename":"image_19012025_00_18_03_114271_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/2e5d2d2109499937ee0f74b31c5cc1da.jpg","text":"TemporaryFile(/tmp/multipartBody4502731491581814695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737242559149,"filename":"image_19012025_00_18_03_114271_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/ba966ccf031e5f3903e3489858fc8527.jpg","text":"TemporaryFile(/tmp/multipartBody8421136361611323084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737242559149,"filename":"image_19012025_00_19_02_267205_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/bbcc65b15737faf55f70c5080286487d.jpg","text":"TemporaryFile(/tmp/multipartBody5164469669627830063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737242559149,"filename":"image_19012025_00_18_03_114271_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329897047","file1":"1329897044","file0":"1329897041","file4":"1329897050","file5":"1329897052","file3":"1329897049"},"map_files_photo_id_array":[{"photo_id":"1329897052","filename":"file5"},{"photo_id":"1329897047","filename":"file2"},{"photo_id":"1329897050","filename":"file4"},{"photo_id":"1329897044","filename":"file1"},{"photo_id":"1329897041","filename":"file0"},{"photo_id":"1329897049","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329897052":["hashtag1","hashtag2"]},{"1329897049":["hashtag1","hashtag2"]},{"1329897047":["hashtag1","hashtag2"]},{"1329897041":["hashtag1","hashtag2"]},{"1329897050":["hashtag1","hashtag2"]},{"1329897044":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329897052, 1329897049, 1329897047, 1329897041, 1329897050, 1329897044)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.76979446411133 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 00:22:22.678406
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/00/19/image_19012025_00_19_02_267205_0002.jpg', '/home/pi/Desktop/images/19012025/00/19/image_19012025_00_19_02_267205_0003.jpg', '/home/pi/Desktop/images/19012025/00/20/image_19012025_00_20_02_507658_0000.jpg', '/home/pi/Desktop/images/19012025/00/20/image_19012025_00_20_02_507658_0001.jpg', '/home/pi/Desktop/images/19012025/00/20/image_19012025_00_20_02_507658_0002.jpg', '/home/pi/Desktop/images/19012025/00/20/image_19012025_00_20_02_507658_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/00/19/image_19012025_00_19_02_267205_0002.jpg
/home/pi/Desktop/images/19012025/00/19/image_19012025_00_19_02_267205_0003.jpg
/home/pi/Desktop/images/19012025/00/20/image_19012025_00_20_02_507658_0000.jpg
/home/pi/Desktop/images/19012025/00/20/image_19012025_00_20_02_507658_0001.jpg
/home/pi/Desktop/images/19012025/00/20/image_19012025_00_20_02_507658_0002.jpg
/home/pi/Desktop/images/19012025/00/20/image_19012025_00_20_02_507658_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: 15.894603729248047 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-19 00:22:52.662769
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
  port_id : 19698700
  datou_current_id : 2490825
in upload_from_sqlite, uploading in 19698700
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17012025/20/37/image_17012025_20_37_03_165306_0002.jpg', '/home/pi/Desktop/images/17012025/20/37/image_17012025_20_37_03_165306_0003.jpg', '/home/pi/Desktop/images/17012025/20/38/image_17012025_20_38_02_290340_0000.jpg', '/home/pi/Desktop/images/17012025/20/38/image_17012025_20_38_02_290340_0001.jpg', '/home/pi/Desktop/images/17012025/20/38/image_17012025_20_38_02_290340_0002.jpg', '/home/pi/Desktop/images/17012025/20/38/image_17012025_20_38_02_290340_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2490825&datou=0
/home/pi/Desktop/images/17012025/20/37/image_17012025_20_37_03_165306_0002.jpg
/home/pi/Desktop/images/17012025/20/37/image_17012025_20_37_03_165306_0003.jpg
/home/pi/Desktop/images/17012025/20/38/image_17012025_20_38_02_290340_0000.jpg
/home/pi/Desktop/images/17012025/20/38/image_17012025_20_38_02_290340_0001.jpg
/home/pi/Desktop/images/17012025/20/38/image_17012025_20_38_02_290340_0002.jpg
/home/pi/Desktop/images/17012025/20/38/image_17012025_20_38_02_290340_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":["1329897574","1329897358","1329897631","1329897508","1329897498","1329897586"],"photo_ids_order":["1329897358","1329897498","1329897508","1329897574","1329897586","1329897631"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/6e635cce4aecfcf6a32ca68146b9a588.jpg","text":"TemporaryFile(/tmp/multipartBody1564608443418706261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737242648743,"filename":"image_17012025_20_38_02_290340_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/a8a47983b25a70f198cf925bb60d608a.jpg","text":"TemporaryFile(/tmp/multipartBody406369784104757409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737242648743,"filename":"image_17012025_20_37_03_165306_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/be724c88e2c82e72055856c2a6c0341c.jpg","text":"TemporaryFile(/tmp/multipartBody3003705469466932408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737242648743,"filename":"image_17012025_20_38_02_290340_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/1678276c26711a4925ca5359970da508.jpg","text":"TemporaryFile(/tmp/multipartBody5797123575305276761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737242648743,"filename":"image_17012025_20_38_02_290340_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/1b202f1ac2a2fee442cb4938b55df3bc.jpg","text":"TemporaryFile(/tmp/multipartBody2128812304210599843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737242648743,"filename":"image_17012025_20_37_03_165306_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/50ecb75e832238438665e9f39e3ddaa9.jpg","text":"TemporaryFile(/tmp/multipartBody4407103905980983569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737242648743,"filename":"image_17012025_20_38_02_290340_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329897508","file1":"1329897498","file0":"1329897358","file4":"1329897586","file5":"1329897631","file3":"1329897574"},"map_files_photo_id_array":[{"photo_id":"1329897631","filename":"file5"},{"photo_id":"1329897508","filename":"file2"},{"photo_id":"1329897586","filename":"file4"},{"photo_id":"1329897498","filename":"file1"},{"photo_id":"1329897358","filename":"file0"},{"photo_id":"1329897574","filename":"file3"}],"portfolio_id":19698700,"hashtag_by_photo_ids":[{"1329897574":["hashtag1","hashtag2"]},{"1329897358":["hashtag1","hashtag2"]},{"1329897631":["hashtag1","hashtag2"]},{"1329897508":["hashtag1","hashtag2"]},{"1329897498":["hashtag1","hashtag2"]},{"1329897586":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698700 used, photo_id : ArrayBuffer(1329897574, 1329897358, 1329897631, 1329897508, 1329897498, 1329897586)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.452054023742676 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-19 00:23:51.837163
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
  port_id : 19698700
  datou_current_id : 2490825
in upload_from_sqlite, uploading in 19698700
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17012025/20/39/image_17012025_20_39_02_457819_0000.jpg', '/home/pi/Desktop/images/17012025/20/39/image_17012025_20_39_02_457819_0001.jpg', '/home/pi/Desktop/images/17012025/20/39/image_17012025_20_39_02_457819_0002.jpg', '/home/pi/Desktop/images/17012025/20/39/image_17012025_20_39_02_457819_0003.jpg', '/home/pi/Desktop/images/17012025/20/40/image_17012025_20_40_02_608186_0000.jpg', '/home/pi/Desktop/images/17012025/20/40/image_17012025_20_40_02_608186_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2490825&datou=0
/home/pi/Desktop/images/17012025/20/39/image_17012025_20_39_02_457819_0000.jpg
/home/pi/Desktop/images/17012025/20/39/image_17012025_20_39_02_457819_0001.jpg
/home/pi/Desktop/images/17012025/20/39/image_17012025_20_39_02_457819_0002.jpg
/home/pi/Desktop/images/17012025/20/39/image_17012025_20_39_02_457819_0003.jpg
/home/pi/Desktop/images/17012025/20/40/image_17012025_20_40_02_608186_0000.jpg
/home/pi/Desktop/images/17012025/20/40/image_17012025_20_40_02_608186_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":["1329897687","1329897770","1329897692","1329897767","1329897689","1329897763"],"photo_ids_order":["1329897687","1329897689","1329897692","1329897763","1329897767","1329897770"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/2c0b4a97fd40f5a54c3c0c8221bc1a10.jpg","text":"TemporaryFile(/tmp/multipartBody1547155580955479169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737242708145,"filename":"image_17012025_20_39_02_457819_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/766eb02aee779308c77c83d60c3926c8.jpg","text":"TemporaryFile(/tmp/multipartBody331718213555019466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737242708145,"filename":"image_17012025_20_40_02_608186_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/c7db2bef76bba3cf93ed7fe6ec432644.jpg","text":"TemporaryFile(/tmp/multipartBody751700368735581740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737242708145,"filename":"image_17012025_20_39_02_457819_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/f3e5e95a45fe9cb06ae64404888047b7.jpg","text":"TemporaryFile(/tmp/multipartBody7388430995032982600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737242708145,"filename":"image_17012025_20_40_02_608186_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/562e3b673148b682a24f14a7f35ac556.jpg","text":"TemporaryFile(/tmp/multipartBody8183274571595191719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737242708145,"filename":"image_17012025_20_39_02_457819_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/4687c1a314a97485ab62df7b6cf1441e.jpg","text":"TemporaryFile(/tmp/multipartBody102728800343482895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737242708145,"filename":"image_17012025_20_39_02_457819_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329897692","file1":"1329897689","file0":"1329897687","file4":"1329897767","file5":"1329897770","file3":"1329897763"},"map_files_photo_id_array":[{"photo_id":"1329897770","filename":"file5"},{"photo_id":"1329897692","filename":"file2"},{"photo_id":"1329897767","filename":"file4"},{"photo_id":"1329897689","filename":"file1"},{"photo_id":"1329897687","filename":"file0"},{"photo_id":"1329897763","filename":"file3"}],"portfolio_id":19698700,"hashtag_by_photo_ids":[{"1329897687":["hashtag1","hashtag2"]},{"1329897770":["hashtag1","hashtag2"]},{"1329897692":["hashtag1","hashtag2"]},{"1329897767":["hashtag1","hashtag2"]},{"1329897689":["hashtag1","hashtag2"]},{"1329897763":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698700 used, photo_id : ArrayBuffer(1329897687, 1329897770, 1329897692, 1329897767, 1329897689, 1329897763)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.71704292297363 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-19 00:24:52.021108
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
  port_id : 19698700
  datou_current_id : 2490825
in upload_from_sqlite, uploading in 19698700
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17012025/20/41/image_17012025_20_41_02_819232_0000.jpg', '/home/pi/Desktop/images/17012025/20/41/image_17012025_20_41_02_819232_0001.jpg', '/home/pi/Desktop/images/17012025/20/42/image_17012025_20_42_02_979710_0000.jpg', '/home/pi/Desktop/images/17012025/20/42/image_17012025_20_42_02_979710_0001.jpg', '/home/pi/Desktop/images/17012025/20/42/image_17012025_20_42_02_979710_0002.jpg', '/home/pi/Desktop/images/17012025/20/43/image_17012025_20_43_02_199559_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2490825&datou=0
/home/pi/Desktop/images/17012025/20/41/image_17012025_20_41_02_819232_0000.jpg
/home/pi/Desktop/images/17012025/20/41/image_17012025_20_41_02_819232_0001.jpg
/home/pi/Desktop/images/17012025/20/42/image_17012025_20_42_02_979710_0000.jpg
/home/pi/Desktop/images/17012025/20/42/image_17012025_20_42_02_979710_0001.jpg
/home/pi/Desktop/images/17012025/20/42/image_17012025_20_42_02_979710_0002.jpg
/home/pi/Desktop/images/17012025/20/43/image_17012025_20_43_02_199559_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":["1329897789","1329897785","1329897794","1329897776","1329897781","1329897778"],"photo_ids_order":["1329897776","1329897778","1329897781","1329897785","1329897789","1329897794"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/e76b750fb5292d041dc5c45af63a5e08.jpg","text":"TemporaryFile(/tmp/multipartBody6144797533972849125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737242768121,"filename":"image_17012025_20_42_02_979710_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/b9cf5724abfdcb300297eed2b653423a.jpg","text":"TemporaryFile(/tmp/multipartBody1512682848570442573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737242768121,"filename":"image_17012025_20_42_02_979710_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/b7b9cc0652a72d6e41f7fcde03100d6b.jpg","text":"TemporaryFile(/tmp/multipartBody3271684139013788088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737242768121,"filename":"image_17012025_20_43_02_199559_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/44287725b31ba4d148d7f560d9d3a285.jpg","text":"TemporaryFile(/tmp/multipartBody1336358558507975573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737242768121,"filename":"image_17012025_20_41_02_819232_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/cd2c7c83f1f07ea9230677e40c6eb880.jpg","text":"TemporaryFile(/tmp/multipartBody7154855029063003585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737242768121,"filename":"image_17012025_20_42_02_979710_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/04337eb71da9d74815a49396f7460aee.jpg","text":"TemporaryFile(/tmp/multipartBody8498225002145774356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737242768121,"filename":"image_17012025_20_41_02_819232_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329897781","file1":"1329897778","file0":"1329897776","file4":"1329897789","file5":"1329897794","file3":"1329897785"},"map_files_photo_id_array":[{"photo_id":"1329897794","filename":"file5"},{"photo_id":"1329897781","filename":"file2"},{"photo_id":"1329897789","filename":"file4"},{"photo_id":"1329897778","filename":"file1"},{"photo_id":"1329897776","filename":"file0"},{"photo_id":"1329897785","filename":"file3"}],"portfolio_id":19698700,"hashtag_by_photo_ids":[{"1329897789":["hashtag1","hashtag2"]},{"1329897785":["hashtag1","hashtag2"]},{"1329897794":["hashtag1","hashtag2"]},{"1329897776":["hashtag1","hashtag2"]},{"1329897781":["hashtag1","hashtag2"]},{"1329897778":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698700 used, photo_id : ArrayBuffer(1329897789, 1329897785, 1329897794, 1329897776, 1329897781, 1329897778)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.624685287475586 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-19 00:25:52.182943
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
  port_id : 19698700
  datou_current_id : 2490825
in upload_from_sqlite, uploading in 19698700
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17012025/20/43/image_17012025_20_43_02_199559_0002.jpg', '/home/pi/Desktop/images/17012025/20/43/image_17012025_20_43_02_199559_0003.jpg', '/home/pi/Desktop/images/17012025/20/44/image_17012025_20_44_02_511110_0000.jpg', '/home/pi/Desktop/images/17012025/20/44/image_17012025_20_44_02_511110_0001.jpg', '/home/pi/Desktop/images/17012025/20/44/image_17012025_20_44_02_511110_0002.jpg', '/home/pi/Desktop/images/17012025/20/45/image_17012025_20_45_02_610316_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2490825&datou=0
/home/pi/Desktop/images/17012025/20/43/image_17012025_20_43_02_199559_0002.jpg
/home/pi/Desktop/images/17012025/20/43/image_17012025_20_43_02_199559_0003.jpg
/home/pi/Desktop/images/17012025/20/44/image_17012025_20_44_02_511110_0000.jpg
/home/pi/Desktop/images/17012025/20/44/image_17012025_20_44_02_511110_0001.jpg
/home/pi/Desktop/images/17012025/20/44/image_17012025_20_44_02_511110_0002.jpg
/home/pi/Desktop/images/17012025/20/45/image_17012025_20_45_02_610316_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":["1329897805","1329897825","1329897797","1329897801","1329897821","1329897799"],"photo_ids_order":["1329897797","1329897799","1329897801","1329897805","1329897821","1329897825"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/b4e996b75b6f3d3b1136bd92466f36f6.jpg","text":"TemporaryFile(/tmp/multipartBody5803587029268473512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737242828214,"filename":"image_17012025_20_44_02_511110_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/89bc982d7bb7d4c848cba820d1625045.jpg","text":"TemporaryFile(/tmp/multipartBody5224353139730579364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737242828214,"filename":"image_17012025_20_45_02_610316_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/70ca9b960b72622690d3d5d9ee1a74e7.jpg","text":"TemporaryFile(/tmp/multipartBody2579708630380795443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737242828214,"filename":"image_17012025_20_43_02_199559_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/132fdfd5af0f2797770f8f05f9b99a21.jpg","text":"TemporaryFile(/tmp/multipartBody8649830725561721330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737242828214,"filename":"image_17012025_20_44_02_511110_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/e5157f63f20ecd2f3ba2e12d048cbfaf.jpg","text":"TemporaryFile(/tmp/multipartBody6251600510918066696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737242828214,"filename":"image_17012025_20_44_02_511110_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/8d4e0ea554f04bc48db7677ad9671576.jpg","text":"TemporaryFile(/tmp/multipartBody4189370980245216436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737242828214,"filename":"image_17012025_20_43_02_199559_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329897801","file1":"1329897799","file0":"1329897797","file4":"1329897821","file5":"1329897825","file3":"1329897805"},"map_files_photo_id_array":[{"photo_id":"1329897825","filename":"file5"},{"photo_id":"1329897801","filename":"file2"},{"photo_id":"1329897821","filename":"file4"},{"photo_id":"1329897799","filename":"file1"},{"photo_id":"1329897797","filename":"file0"},{"photo_id":"1329897805","filename":"file3"}],"portfolio_id":19698700,"hashtag_by_photo_ids":[{"1329897805":["hashtag1","hashtag2"]},{"1329897825":["hashtag1","hashtag2"]},{"1329897797":["hashtag1","hashtag2"]},{"1329897801":["hashtag1","hashtag2"]},{"1329897821":["hashtag1","hashtag2"]},{"1329897799":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698700 used, photo_id : ArrayBuffer(1329897805, 1329897825, 1329897797, 1329897801, 1329897821, 1329897799)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.59219288825989 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-19 00:26:52.354065
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
  port_id : 19698700
  datou_current_id : 2490825
in upload_from_sqlite, uploading in 19698700
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17012025/20/45/image_17012025_20_45_02_610316_0002.jpg', '/home/pi/Desktop/images/17012025/20/45/image_17012025_20_45_02_610316_0003.jpg', '/home/pi/Desktop/images/17012025/20/46/image_17012025_20_46_02_748024_0000.jpg', '/home/pi/Desktop/images/17012025/20/46/image_17012025_20_46_02_748024_0001.jpg', '/home/pi/Desktop/images/17012025/20/47/image_17012025_20_47_02_907024_0000.jpg', '/home/pi/Desktop/images/17012025/20/47/image_17012025_20_47_02_907024_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2490825&datou=0
/home/pi/Desktop/images/17012025/20/45/image_17012025_20_45_02_610316_0002.jpg
/home/pi/Desktop/images/17012025/20/45/image_17012025_20_45_02_610316_0003.jpg
/home/pi/Desktop/images/17012025/20/46/image_17012025_20_46_02_748024_0000.jpg
/home/pi/Desktop/images/17012025/20/46/image_17012025_20_46_02_748024_0001.jpg
/home/pi/Desktop/images/17012025/20/47/image_17012025_20_47_02_907024_0000.jpg
/home/pi/Desktop/images/17012025/20/47/image_17012025_20_47_02_907024_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":["1329897871","1329897865","1329897868","1329897861","1329897863","1329897874"],"photo_ids_order":["1329897861","1329897863","1329897865","1329897868","1329897871","1329897874"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/9c04c59700deabce5f8e5bf69af76d19.jpg","text":"TemporaryFile(/tmp/multipartBody3994243397629779056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737242888435,"filename":"image_17012025_20_47_02_907024_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/038792dd6d3e4c2b7e696c593feef602.jpg","text":"TemporaryFile(/tmp/multipartBody3393458526938497866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737242888435,"filename":"image_17012025_20_46_02_748024_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/179651b52e0c3803103e187043518272.jpg","text":"TemporaryFile(/tmp/multipartBody2263189473447851908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737242888435,"filename":"image_17012025_20_46_02_748024_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/ea8eefb98ef0d0ab8af733bbbad7b4a5.jpg","text":"TemporaryFile(/tmp/multipartBody4871160255630861233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737242888435,"filename":"image_17012025_20_45_02_610316_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/143fc5df95f3eda56947797e1aa44ab4.jpg","text":"TemporaryFile(/tmp/multipartBody9014813111705078532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737242888435,"filename":"image_17012025_20_45_02_610316_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/72a3eb648d1a31e2474b85700d6f884a.jpg","text":"TemporaryFile(/tmp/multipartBody4245678534760288316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737242888435,"filename":"image_17012025_20_47_02_907024_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329897865","file1":"1329897863","file0":"1329897861","file4":"1329897871","file5":"1329897874","file3":"1329897868"},"map_files_photo_id_array":[{"photo_id":"1329897874","filename":"file5"},{"photo_id":"1329897865","filename":"file2"},{"photo_id":"1329897871","filename":"file4"},{"photo_id":"1329897863","filename":"file1"},{"photo_id":"1329897861","filename":"file0"},{"photo_id":"1329897868","filename":"file3"}],"portfolio_id":19698700,"hashtag_by_photo_ids":[{"1329897871":["hashtag1","hashtag2"]},{"1329897865":["hashtag1","hashtag2"]},{"1329897868":["hashtag1","hashtag2"]},{"1329897861":["hashtag1","hashtag2"]},{"1329897863":["hashtag1","hashtag2"]},{"1329897874":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698700 used, photo_id : ArrayBuffer(1329897871, 1329897865, 1329897868, 1329897861, 1329897863, 1329897874)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.24209213256836 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-19 00:27:52.514369
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
  port_id : 19698700
  datou_current_id : 2490825
in upload_from_sqlite, uploading in 19698700
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17012025/20/47/image_17012025_20_47_02_907024_0002.jpg', '/home/pi/Desktop/images/17012025/20/48/image_17012025_20_48_03_209472_0000.jpg', '/home/pi/Desktop/images/17012025/20/48/image_17012025_20_48_03_209472_0001.jpg', '/home/pi/Desktop/images/17012025/20/48/image_17012025_20_48_03_209472_0002.jpg', '/home/pi/Desktop/images/17012025/20/49/image_17012025_20_49_02_357243_0000.jpg', '/home/pi/Desktop/images/17012025/20/49/image_17012025_20_49_02_357243_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2490825&datou=0
/home/pi/Desktop/images/17012025/20/47/image_17012025_20_47_02_907024_0002.jpg
/home/pi/Desktop/images/17012025/20/48/image_17012025_20_48_03_209472_0000.jpg
/home/pi/Desktop/images/17012025/20/48/image_17012025_20_48_03_209472_0001.jpg
/home/pi/Desktop/images/17012025/20/48/image_17012025_20_48_03_209472_0002.jpg
/home/pi/Desktop/images/17012025/20/49/image_17012025_20_49_02_357243_0000.jpg
/home/pi/Desktop/images/17012025/20/49/image_17012025_20_49_02_357243_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":["1329898182","1329898167","1329898032","1329898082","1329897929","1329898174"],"photo_ids_order":["1329897929","1329898032","1329898082","1329898167","1329898174","1329898182"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/f04c50bbcb3c8cbbbacc90667d51f75c.jpg","text":"TemporaryFile(/tmp/multipartBody8479379600528789862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737242948554,"filename":"image_17012025_20_49_02_357243_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/948f4a9b708c543dea133e87a032b4aa.jpg","text":"TemporaryFile(/tmp/multipartBody8223984483465894499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737242948554,"filename":"image_17012025_20_48_03_209472_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/04771d3d1b8bfbc2919cb47fbe3406e0.jpg","text":"TemporaryFile(/tmp/multipartBody1130501752369100940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737242948554,"filename":"image_17012025_20_48_03_209472_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/666e75ad5adef1b20e7ab03db70bf9ae.jpg","text":"TemporaryFile(/tmp/multipartBody4607196907892203905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737242948554,"filename":"image_17012025_20_48_03_209472_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/dad3d60438914b422efa011c28c9daf3.jpg","text":"TemporaryFile(/tmp/multipartBody2680763404352802847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737242948554,"filename":"image_17012025_20_47_02_907024_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/d4421571e96cf9bddd838c06e286948a.jpg","text":"TemporaryFile(/tmp/multipartBody557232177670363997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737242948554,"filename":"image_17012025_20_49_02_357243_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329898082","file1":"1329898032","file0":"1329897929","file4":"1329898174","file5":"1329898182","file3":"1329898167"},"map_files_photo_id_array":[{"photo_id":"1329898182","filename":"file5"},{"photo_id":"1329898082","filename":"file2"},{"photo_id":"1329898174","filename":"file4"},{"photo_id":"1329898032","filename":"file1"},{"photo_id":"1329897929","filename":"file0"},{"photo_id":"1329898167","filename":"file3"}],"portfolio_id":19698700,"hashtag_by_photo_ids":[{"1329898182":["hashtag1","hashtag2"]},{"1329898167":["hashtag1","hashtag2"]},{"1329898032":["hashtag1","hashtag2"]},{"1329898082":["hashtag1","hashtag2"]},{"1329897929":["hashtag1","hashtag2"]},{"1329898174":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698700 used, photo_id : ArrayBuffer(1329898182, 1329898167, 1329898032, 1329898082, 1329897929, 1329898174)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.02907037734985 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-19 00:28:52.638342
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
  port_id : 19698700
  datou_current_id : 2490825
in upload_from_sqlite, uploading in 19698700
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17012025/20/49/image_17012025_20_49_02_357243_0002.jpg', '/home/pi/Desktop/images/17012025/20/49/image_17012025_20_49_02_357243_0003.jpg', '/home/pi/Desktop/images/17012025/20/50/image_17012025_20_50_02_449045_0001.jpg', '/home/pi/Desktop/images/17012025/20/50/image_17012025_20_50_02_449045_0002.jpg', '/home/pi/Desktop/images/17012025/20/50/image_17012025_20_50_02_449045_0003.jpg', '/home/pi/Desktop/images/17012025/20/51/image_17012025_20_51_02_752119_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2490825&datou=0
/home/pi/Desktop/images/17012025/20/49/image_17012025_20_49_02_357243_0002.jpg
/home/pi/Desktop/images/17012025/20/49/image_17012025_20_49_02_357243_0003.jpg
/home/pi/Desktop/images/17012025/20/50/image_17012025_20_50_02_449045_0001.jpg
/home/pi/Desktop/images/17012025/20/50/image_17012025_20_50_02_449045_0002.jpg
/home/pi/Desktop/images/17012025/20/50/image_17012025_20_50_02_449045_0003.jpg
/home/pi/Desktop/images/17012025/20/51/image_17012025_20_51_02_752119_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":["1329898281","1329898269","1329898286","1329898304","1329898297","1329898279"],"photo_ids_order":["1329898269","1329898279","1329898281","1329898286","1329898297","1329898304"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/5445e429ecae8847b3c1a653727a8830.jpg","text":"TemporaryFile(/tmp/multipartBody4273448224972704337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737243008735,"filename":"image_17012025_20_50_02_449045_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/0b717f1d02edf03061c56ce3c6b22c6b.jpg","text":"TemporaryFile(/tmp/multipartBody7196533220106450483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737243008735,"filename":"image_17012025_20_49_02_357243_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/30daf0212009e10636995285b55216aa.jpg","text":"TemporaryFile(/tmp/multipartBody4025522560693882276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737243008735,"filename":"image_17012025_20_50_02_449045_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/709d30c9257f6daaa035c1e2c7bd55b1.jpg","text":"TemporaryFile(/tmp/multipartBody1483973888705318584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737243008735,"filename":"image_17012025_20_51_02_752119_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/a5a87e50d258f7c69705cf5260eb6ab4.jpg","text":"TemporaryFile(/tmp/multipartBody584722031535088298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737243008735,"filename":"image_17012025_20_50_02_449045_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/4e84a84e709b11dbf793362f53d8c9cd.jpg","text":"TemporaryFile(/tmp/multipartBody2946909434803778181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737243008735,"filename":"image_17012025_20_49_02_357243_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329898281","file1":"1329898279","file0":"1329898269","file4":"1329898297","file5":"1329898304","file3":"1329898286"},"map_files_photo_id_array":[{"photo_id":"1329898304","filename":"file5"},{"photo_id":"1329898281","filename":"file2"},{"photo_id":"1329898297","filename":"file4"},{"photo_id":"1329898279","filename":"file1"},{"photo_id":"1329898269","filename":"file0"},{"photo_id":"1329898286","filename":"file3"}],"portfolio_id":19698700,"hashtag_by_photo_ids":[{"1329898281":["hashtag1","hashtag2"]},{"1329898269":["hashtag1","hashtag2"]},{"1329898286":["hashtag1","hashtag2"]},{"1329898304":["hashtag1","hashtag2"]},{"1329898297":["hashtag1","hashtag2"]},{"1329898279":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698700 used, photo_id : ArrayBuffer(1329898281, 1329898269, 1329898286, 1329898304, 1329898297, 1329898279)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.115387201309204 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-19 00:29:51.796546
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
  port_id : 19698700
  datou_current_id : 2490825
in upload_from_sqlite, uploading in 19698700
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17012025/20/51/image_17012025_20_51_02_752119_0003.jpg', '/home/pi/Desktop/images/17012025/20/52/image_17012025_20_52_02_890584_0000.jpg', '/home/pi/Desktop/images/17012025/20/52/image_17012025_20_52_02_890584_0001.jpg', '/home/pi/Desktop/images/17012025/20/52/image_17012025_20_52_02_890584_0002.jpg', '/home/pi/Desktop/images/17012025/20/52/image_17012025_20_52_02_890584_0003.jpg', '/home/pi/Desktop/images/17012025/20/53/image_17012025_20_53_02_204559_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2490825&datou=0
/home/pi/Desktop/images/17012025/20/51/image_17012025_20_51_02_752119_0003.jpg
/home/pi/Desktop/images/17012025/20/52/image_17012025_20_52_02_890584_0000.jpg
/home/pi/Desktop/images/17012025/20/52/image_17012025_20_52_02_890584_0001.jpg
/home/pi/Desktop/images/17012025/20/52/image_17012025_20_52_02_890584_0002.jpg
/home/pi/Desktop/images/17012025/20/52/image_17012025_20_52_02_890584_0003.jpg
/home/pi/Desktop/images/17012025/20/53/image_17012025_20_53_02_204559_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":["1329898362","1329898365","1329898347","1329898335","1329898358","1329898354"],"photo_ids_order":["1329898335","1329898347","1329898354","1329898358","1329898362","1329898365"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/f1eb764bce0294a543eab6320dfd2b54.jpg","text":"TemporaryFile(/tmp/multipartBody8967280359059933143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737243067851,"filename":"image_17012025_20_52_02_890584_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/757afbd15f6e750e1a7f40c202965119.jpg","text":"TemporaryFile(/tmp/multipartBody2559630011620527276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737243067851,"filename":"image_17012025_20_53_02_204559_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/498e5514e7a3fbf739068a2d45751bc0.jpg","text":"TemporaryFile(/tmp/multipartBody2984503555430924824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737243067851,"filename":"image_17012025_20_52_02_890584_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/7ccb5029348eb83a762e530d6f0dc9da.jpg","text":"TemporaryFile(/tmp/multipartBody1958233533945473599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737243067851,"filename":"image_17012025_20_51_02_752119_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/dc79914e7b766dfb7f35c831274d0c09.jpg","text":"TemporaryFile(/tmp/multipartBody7184772428387550438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737243067851,"filename":"image_17012025_20_52_02_890584_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/72947be5742c335f97dc80cd8abe185e.jpg","text":"TemporaryFile(/tmp/multipartBody6086561682105905368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737243067851,"filename":"image_17012025_20_52_02_890584_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329898354","file1":"1329898347","file0":"1329898335","file4":"1329898362","file5":"1329898365","file3":"1329898358"},"map_files_photo_id_array":[{"photo_id":"1329898365","filename":"file5"},{"photo_id":"1329898354","filename":"file2"},{"photo_id":"1329898362","filename":"file4"},{"photo_id":"1329898347","filename":"file1"},{"photo_id":"1329898335","filename":"file0"},{"photo_id":"1329898358","filename":"file3"}],"portfolio_id":19698700,"hashtag_by_photo_ids":[{"1329898362":["hashtag1","hashtag2"]},{"1329898365":["hashtag1","hashtag2"]},{"1329898347":["hashtag1","hashtag2"]},{"1329898335":["hashtag1","hashtag2"]},{"1329898358":["hashtag1","hashtag2"]},{"1329898354":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698700 used, photo_id : ArrayBuffer(1329898362, 1329898365, 1329898347, 1329898335, 1329898358, 1329898354)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 67.76734280586243 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 00:31:02.861733
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/00/19/image_19012025_00_19_02_267205_0002.jpg', '/home/pi/Desktop/images/19012025/00/19/image_19012025_00_19_02_267205_0003.jpg', '/home/pi/Desktop/images/19012025/00/20/image_19012025_00_20_02_507658_0000.jpg', '/home/pi/Desktop/images/19012025/00/20/image_19012025_00_20_02_507658_0001.jpg', '/home/pi/Desktop/images/19012025/00/20/image_19012025_00_20_02_507658_0002.jpg', '/home/pi/Desktop/images/19012025/00/20/image_19012025_00_20_02_507658_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/00/19/image_19012025_00_19_02_267205_0002.jpg
/home/pi/Desktop/images/19012025/00/19/image_19012025_00_19_02_267205_0003.jpg
/home/pi/Desktop/images/19012025/00/20/image_19012025_00_20_02_507658_0000.jpg
/home/pi/Desktop/images/19012025/00/20/image_19012025_00_20_02_507658_0001.jpg
/home/pi/Desktop/images/19012025/00/20/image_19012025_00_20_02_507658_0002.jpg
/home/pi/Desktop/images/19012025/00/20/image_19012025_00_20_02_507658_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: 15.939682960510254 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 00:31:22.062940
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/00/19/image_19012025_00_19_02_267205_0002.jpg', '/home/pi/Desktop/images/19012025/00/19/image_19012025_00_19_02_267205_0003.jpg', '/home/pi/Desktop/images/19012025/00/20/image_19012025_00_20_02_507658_0000.jpg', '/home/pi/Desktop/images/19012025/00/20/image_19012025_00_20_02_507658_0001.jpg', '/home/pi/Desktop/images/19012025/00/20/image_19012025_00_20_02_507658_0002.jpg', '/home/pi/Desktop/images/19012025/00/20/image_19012025_00_20_02_507658_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/00/19/image_19012025_00_19_02_267205_0002.jpg
/home/pi/Desktop/images/19012025/00/19/image_19012025_00_19_02_267205_0003.jpg
/home/pi/Desktop/images/19012025/00/20/image_19012025_00_20_02_507658_0000.jpg
/home/pi/Desktop/images/19012025/00/20/image_19012025_00_20_02_507658_0001.jpg
/home/pi/Desktop/images/19012025/00/20/image_19012025_00_20_02_507658_0002.jpg
/home/pi/Desktop/images/19012025/00/20/image_19012025_00_20_02_507658_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":["1329898482","1329898479","1329898484","1329898481","1329898477","1329898474"],"photo_ids_order":["1329898474","1329898477","1329898479","1329898481","1329898482","1329898484"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/2576d4f965c72db5f43cb6263c0c745e.jpg","text":"TemporaryFile(/tmp/multipartBody8012818971530405416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737243158367,"filename":"image_19012025_00_20_02_507658_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/11b01020743b03980d27c85d83f0b0ab.jpg","text":"TemporaryFile(/tmp/multipartBody5977201859643449632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737243158367,"filename":"image_19012025_00_20_02_507658_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/bd46bcb680db582c381d557ef2b9876c.jpg","text":"TemporaryFile(/tmp/multipartBody7705288172517479106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737243158367,"filename":"image_19012025_00_20_02_507658_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/19a4da79c4b5b2f5d97d44834be6b223.jpg","text":"TemporaryFile(/tmp/multipartBody8424272941796057532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737243158367,"filename":"image_19012025_00_20_02_507658_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/6a5d09362c555c77bb3b3bc93d49e624.jpg","text":"TemporaryFile(/tmp/multipartBody5229501748512305608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737243158367,"filename":"image_19012025_00_19_02_267205_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/914733b407c201d8d58664fbbced4a48.jpg","text":"TemporaryFile(/tmp/multipartBody3349222644596455071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737243158367,"filename":"image_19012025_00_19_02_267205_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329898479","file1":"1329898477","file0":"1329898474","file4":"1329898482","file5":"1329898484","file3":"1329898481"},"map_files_photo_id_array":[{"photo_id":"1329898484","filename":"file5"},{"photo_id":"1329898479","filename":"file2"},{"photo_id":"1329898482","filename":"file4"},{"photo_id":"1329898477","filename":"file1"},{"photo_id":"1329898474","filename":"file0"},{"photo_id":"1329898481","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329898482":["hashtag1","hashtag2"]},{"1329898479":["hashtag1","hashtag2"]},{"1329898484":["hashtag1","hashtag2"]},{"1329898481":["hashtag1","hashtag2"]},{"1329898477":["hashtag1","hashtag2"]},{"1329898474":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329898482, 1329898479, 1329898484, 1329898481, 1329898477, 1329898474)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.069592237472534 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 00:32:22.255160
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/00/21/image_19012025_00_21_02_682475_0000.jpg', '/home/pi/Desktop/images/19012025/00/21/image_19012025_00_21_02_682475_0001.jpg', '/home/pi/Desktop/images/19012025/00/21/image_19012025_00_21_02_682475_0002.jpg', '/home/pi/Desktop/images/19012025/00/21/image_19012025_00_21_02_682475_0003.jpg', '/home/pi/Desktop/images/19012025/00/22/image_19012025_00_22_02_812446_0000.jpg', '/home/pi/Desktop/images/19012025/00/22/image_19012025_00_22_02_812446_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/00/21/image_19012025_00_21_02_682475_0000.jpg
/home/pi/Desktop/images/19012025/00/21/image_19012025_00_21_02_682475_0001.jpg
/home/pi/Desktop/images/19012025/00/21/image_19012025_00_21_02_682475_0002.jpg
/home/pi/Desktop/images/19012025/00/21/image_19012025_00_21_02_682475_0003.jpg
/home/pi/Desktop/images/19012025/00/22/image_19012025_00_22_02_812446_0000.jpg
/home/pi/Desktop/images/19012025/00/22/image_19012025_00_22_02_812446_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: 16.611660957336426 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-19 00:32:52.291742
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
  port_id : 19698700
  datou_current_id : 2490825
in upload_from_sqlite, uploading in 19698700
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17012025/20/53/image_17012025_20_53_02_204559_0001.jpg', '/home/pi/Desktop/images/17012025/20/53/image_17012025_20_53_02_204559_0002.jpg', '/home/pi/Desktop/images/17012025/20/53/image_17012025_20_53_02_204559_0003.jpg', '/home/pi/Desktop/images/17012025/20/54/image_17012025_20_54_02_310161_0000.jpg', '/home/pi/Desktop/images/17012025/20/54/image_17012025_20_54_02_310161_0001.jpg', '/home/pi/Desktop/images/17012025/20/54/image_17012025_20_54_02_310161_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2490825&datou=0
/home/pi/Desktop/images/17012025/20/53/image_17012025_20_53_02_204559_0001.jpg
/home/pi/Desktop/images/17012025/20/53/image_17012025_20_53_02_204559_0002.jpg
/home/pi/Desktop/images/17012025/20/53/image_17012025_20_53_02_204559_0003.jpg
/home/pi/Desktop/images/17012025/20/54/image_17012025_20_54_02_310161_0000.jpg
/home/pi/Desktop/images/17012025/20/54/image_17012025_20_54_02_310161_0001.jpg
/home/pi/Desktop/images/17012025/20/54/image_17012025_20_54_02_310161_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":["1329898542","1329898551","1329898545","1329898548","1329898538","1329898540"],"photo_ids_order":["1329898538","1329898540","1329898542","1329898545","1329898548","1329898551"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/70f891f47405b4967181da4b2518edea.jpg","text":"TemporaryFile(/tmp/multipartBody7542507957302724734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737243248368,"filename":"image_17012025_20_53_02_204559_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/d2e5b0e0db17ab8f601fc59ff6988d41.jpg","text":"TemporaryFile(/tmp/multipartBody4565561688215350145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737243248368,"filename":"image_17012025_20_54_02_310161_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/a89fed4a416deb93cb56d92699c62b09.jpg","text":"TemporaryFile(/tmp/multipartBody44131698541041309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737243248368,"filename":"image_17012025_20_54_02_310161_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/7b718ae677a1e01b6edec23c80fcdf19.jpg","text":"TemporaryFile(/tmp/multipartBody6063262876507121178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737243248368,"filename":"image_17012025_20_54_02_310161_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/a1c35594bd2db75d7ab917a3bf92b551.jpg","text":"TemporaryFile(/tmp/multipartBody5456326930565483970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737243248368,"filename":"image_17012025_20_53_02_204559_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/b4660b21dbe4875da8e37787963fe54f.jpg","text":"TemporaryFile(/tmp/multipartBody8376104879296939553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737243248368,"filename":"image_17012025_20_53_02_204559_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329898542","file1":"1329898540","file0":"1329898538","file4":"1329898548","file5":"1329898551","file3":"1329898545"},"map_files_photo_id_array":[{"photo_id":"1329898551","filename":"file5"},{"photo_id":"1329898542","filename":"file2"},{"photo_id":"1329898548","filename":"file4"},{"photo_id":"1329898540","filename":"file1"},{"photo_id":"1329898538","filename":"file0"},{"photo_id":"1329898545","filename":"file3"}],"portfolio_id":19698700,"hashtag_by_photo_ids":[{"1329898542":["hashtag1","hashtag2"]},{"1329898551":["hashtag1","hashtag2"]},{"1329898545":["hashtag1","hashtag2"]},{"1329898548":["hashtag1","hashtag2"]},{"1329898538":["hashtag1","hashtag2"]},{"1329898540":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698700 used, photo_id : ArrayBuffer(1329898542, 1329898551, 1329898545, 1329898548, 1329898538, 1329898540)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.51602602005005 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-19 00:33:52.482356
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
  port_id : 19698700
  datou_current_id : 2490825
in upload_from_sqlite, uploading in 19698700
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17012025/20/55/image_17012025_20_55_02_517427_0000.jpg', '/home/pi/Desktop/images/17012025/20/55/image_17012025_20_55_02_517427_0001.jpg', '/home/pi/Desktop/images/17012025/20/55/image_17012025_20_55_02_517427_0002.jpg', '/home/pi/Desktop/images/17012025/20/55/image_17012025_20_55_02_517427_0003.jpg', '/home/pi/Desktop/images/17012025/20/56/image_17012025_20_56_02_737927_0000.jpg', '/home/pi/Desktop/images/17012025/20/56/image_17012025_20_56_02_737927_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2490825&datou=0
/home/pi/Desktop/images/17012025/20/55/image_17012025_20_55_02_517427_0000.jpg
/home/pi/Desktop/images/17012025/20/55/image_17012025_20_55_02_517427_0001.jpg
/home/pi/Desktop/images/17012025/20/55/image_17012025_20_55_02_517427_0002.jpg
/home/pi/Desktop/images/17012025/20/55/image_17012025_20_55_02_517427_0003.jpg
/home/pi/Desktop/images/17012025/20/56/image_17012025_20_56_02_737927_0000.jpg
/home/pi/Desktop/images/17012025/20/56/image_17012025_20_56_02_737927_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.689614057540894 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 00:34:22.694092
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/00/21/image_19012025_00_21_02_682475_0000.jpg', '/home/pi/Desktop/images/19012025/00/21/image_19012025_00_21_02_682475_0001.jpg', '/home/pi/Desktop/images/19012025/00/21/image_19012025_00_21_02_682475_0002.jpg', '/home/pi/Desktop/images/19012025/00/21/image_19012025_00_21_02_682475_0003.jpg', '/home/pi/Desktop/images/19012025/00/22/image_19012025_00_22_02_812446_0000.jpg', '/home/pi/Desktop/images/19012025/00/22/image_19012025_00_22_02_812446_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/00/21/image_19012025_00_21_02_682475_0000.jpg
/home/pi/Desktop/images/19012025/00/21/image_19012025_00_21_02_682475_0001.jpg
/home/pi/Desktop/images/19012025/00/21/image_19012025_00_21_02_682475_0002.jpg
/home/pi/Desktop/images/19012025/00/21/image_19012025_00_21_02_682475_0003.jpg
/home/pi/Desktop/images/19012025/00/22/image_19012025_00_22_02_812446_0000.jpg
/home/pi/Desktop/images/19012025/00/22/image_19012025_00_22_02_812446_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":["1329898615","1329898618","1329898614","1329898616","1329898610","1329898613"],"photo_ids_order":["1329898610","1329898613","1329898614","1329898615","1329898616","1329898618"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/ad28403454662188f17719953ef40295.jpg","text":"TemporaryFile(/tmp/multipartBody6266664465871692116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737243339702,"filename":"image_19012025_00_21_02_682475_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/36780ca783c18ad1dbdc68751577a619.jpg","text":"TemporaryFile(/tmp/multipartBody7518870022439295523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737243339702,"filename":"image_19012025_00_22_02_812446_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/b30c04e62022e5638c21d4c4c8d852e4.jpg","text":"TemporaryFile(/tmp/multipartBody4766998411429870061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737243339702,"filename":"image_19012025_00_21_02_682475_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/7663db21d9381efc91b59a0af7848b00.jpg","text":"TemporaryFile(/tmp/multipartBody1014285501529333861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737243339702,"filename":"image_19012025_00_22_02_812446_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/ff8c2f8445504ff9a2b47137c24a6637.jpg","text":"TemporaryFile(/tmp/multipartBody7135709894214354238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737243339702,"filename":"image_19012025_00_21_02_682475_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/433f148cbd00b20dec3e19c143d6f5bd.jpg","text":"TemporaryFile(/tmp/multipartBody3362193774126756259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737243339702,"filename":"image_19012025_00_21_02_682475_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329898614","file1":"1329898613","file0":"1329898610","file4":"1329898616","file5":"1329898618","file3":"1329898615"},"map_files_photo_id_array":[{"photo_id":"1329898618","filename":"file5"},{"photo_id":"1329898614","filename":"file2"},{"photo_id":"1329898616","filename":"file4"},{"photo_id":"1329898613","filename":"file1"},{"photo_id":"1329898610","filename":"file0"},{"photo_id":"1329898615","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329898615":["hashtag1","hashtag2"]},{"1329898618":["hashtag1","hashtag2"]},{"1329898614":["hashtag1","hashtag2"]},{"1329898616":["hashtag1","hashtag2"]},{"1329898610":["hashtag1","hashtag2"]},{"1329898613":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329898615, 1329898618, 1329898614, 1329898616, 1329898610, 1329898613)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.22692799568176 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 00:35:21.773131
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/00/22/image_19012025_00_22_02_812446_0002.jpg', '/home/pi/Desktop/images/19012025/00/22/image_19012025_00_22_02_812446_0003.jpg', '/home/pi/Desktop/images/19012025/00/23/image_19012025_00_23_03_040526_0000.jpg', '/home/pi/Desktop/images/19012025/00/23/image_19012025_00_23_03_040526_0001.jpg', '/home/pi/Desktop/images/19012025/00/23/image_19012025_00_23_03_040526_0002.jpg', '/home/pi/Desktop/images/19012025/00/23/image_19012025_00_23_03_040526_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/00/22/image_19012025_00_22_02_812446_0002.jpg
/home/pi/Desktop/images/19012025/00/22/image_19012025_00_22_02_812446_0003.jpg
/home/pi/Desktop/images/19012025/00/23/image_19012025_00_23_03_040526_0000.jpg
/home/pi/Desktop/images/19012025/00/23/image_19012025_00_23_03_040526_0001.jpg
/home/pi/Desktop/images/19012025/00/23/image_19012025_00_23_03_040526_0002.jpg
/home/pi/Desktop/images/19012025/00/23/image_19012025_00_23_03_040526_0003.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329898656","1329898658","1329898655","1329898660","1329898651","1329898654"],"photo_ids_order":["1329898651","1329898654","1329898655","1329898656","1329898658","1329898660"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/0d15229cf40202b130e7e960b19d4fba.jpg","text":"TemporaryFile(/tmp/multipartBody7539236604212219293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737243398378,"filename":"image_19012025_00_23_03_040526_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/0425a82f6dca87a05f1f734d2a064817.jpg","text":"TemporaryFile(/tmp/multipartBody7809736652710090046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737243398378,"filename":"image_19012025_00_23_03_040526_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/5ac3295fe856bf7d8a59fe410bc90bac.jpg","text":"TemporaryFile(/tmp/multipartBody6367431550474797466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737243398378,"filename":"image_19012025_00_23_03_040526_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/ac25f02ac0cfabfbc99f1e7c9f622cdc.jpg","text":"TemporaryFile(/tmp/multipartBody3645363638475919842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737243398378,"filename":"image_19012025_00_23_03_040526_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/c863972ee7d383bbc8138aa28b66ae64.jpg","text":"TemporaryFile(/tmp/multipartBody3466705205589261231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737243398378,"filename":"image_19012025_00_22_02_812446_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/231f2a1cb3fcc7aa6b9e0ecf8c2e507e.jpg","text":"TemporaryFile(/tmp/multipartBody1301668383065999366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737243398378,"filename":"image_19012025_00_22_02_812446_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329898655","file1":"1329898654","file0":"1329898651","file4":"1329898658","file5":"1329898660","file3":"1329898656"},"map_files_photo_id_array":[{"photo_id":"1329898660","filename":"file5"},{"photo_id":"1329898655","filename":"file2"},{"photo_id":"1329898658","filename":"file4"},{"photo_id":"1329898654","filename":"file1"},{"photo_id":"1329898651","filename":"file0"},{"photo_id":"1329898656","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329898656":["hashtag1","hashtag2"]},{"1329898658":["hashtag1","hashtag2"]},{"1329898655":["hashtag1","hashtag2"]},{"1329898660":["hashtag1","hashtag2"]},{"1329898651":["hashtag1","hashtag2"]},{"1329898654":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329898656, 1329898658, 1329898655, 1329898660, 1329898651, 1329898654)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 61.06857872009277 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-19 00:36:52.017171
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
  port_id : 19698700
  datou_current_id : 2490825
in upload_from_sqlite, uploading in 19698700
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17012025/20/55/image_17012025_20_55_02_517427_0000.jpg', '/home/pi/Desktop/images/17012025/20/55/image_17012025_20_55_02_517427_0001.jpg', '/home/pi/Desktop/images/17012025/20/55/image_17012025_20_55_02_517427_0002.jpg', '/home/pi/Desktop/images/17012025/20/55/image_17012025_20_55_02_517427_0003.jpg', '/home/pi/Desktop/images/17012025/20/56/image_17012025_20_56_02_737927_0000.jpg', '/home/pi/Desktop/images/17012025/20/56/image_17012025_20_56_02_737927_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2490825&datou=0
/home/pi/Desktop/images/17012025/20/55/image_17012025_20_55_02_517427_0000.jpg
/home/pi/Desktop/images/17012025/20/55/image_17012025_20_55_02_517427_0001.jpg
/home/pi/Desktop/images/17012025/20/55/image_17012025_20_55_02_517427_0002.jpg
/home/pi/Desktop/images/17012025/20/55/image_17012025_20_55_02_517427_0003.jpg
/home/pi/Desktop/images/17012025/20/56/image_17012025_20_56_02_737927_0000.jpg
/home/pi/Desktop/images/17012025/20/56/image_17012025_20_56_02_737927_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":["1329898816","1329898842","1329898826","1329898867","1329898870","1329898819"],"photo_ids_order":["1329898816","1329898819","1329898826","1329898842","1329898867","1329898870"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/df93e893d70c25d6352fa20381d5805c.jpg","text":"TemporaryFile(/tmp/multipartBody3439187392110666755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737243487923,"filename":"image_17012025_20_55_02_517427_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/421d48ca79361e3baf70dd3ab09206ba.jpg","text":"TemporaryFile(/tmp/multipartBody4107023655354150964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737243487923,"filename":"image_17012025_20_55_02_517427_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/a49218f7aaa52d5672c2bf2c43602646.jpg","text":"TemporaryFile(/tmp/multipartBody1142816478784377652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737243487923,"filename":"image_17012025_20_55_02_517427_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/a022342ce08c003f0a10d8e06e60f47e.jpg","text":"TemporaryFile(/tmp/multipartBody5307909750518128743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737243487923,"filename":"image_17012025_20_56_02_737927_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/ce6dc87b6e933b7100c365d536cacedf.jpg","text":"TemporaryFile(/tmp/multipartBody7949515282355412234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737243487923,"filename":"image_17012025_20_56_02_737927_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/f037f5f7d9d904b09c6f0eb7a23cc9f3.jpg","text":"TemporaryFile(/tmp/multipartBody8738707964195235146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737243487923,"filename":"image_17012025_20_55_02_517427_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329898826","file1":"1329898819","file0":"1329898816","file4":"1329898867","file5":"1329898870","file3":"1329898842"},"map_files_photo_id_array":[{"photo_id":"1329898870","filename":"file5"},{"photo_id":"1329898826","filename":"file2"},{"photo_id":"1329898867","filename":"file4"},{"photo_id":"1329898819","filename":"file1"},{"photo_id":"1329898816","filename":"file0"},{"photo_id":"1329898842","filename":"file3"}],"portfolio_id":19698700,"hashtag_by_photo_ids":[{"1329898816":["hashtag1","hashtag2"]},{"1329898842":["hashtag1","hashtag2"]},{"1329898826":["hashtag1","hashtag2"]},{"1329898867":["hashtag1","hashtag2"]},{"1329898870":["hashtag1","hashtag2"]},{"1329898819":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698700 used, photo_id : ArrayBuffer(1329898816, 1329898842, 1329898826, 1329898867, 1329898870, 1329898819)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.4735426902771 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-19 00:37:52.229467
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
  port_id : 19698700
  datou_current_id : 2490825
in upload_from_sqlite, uploading in 19698700
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17012025/20/57/image_17012025_20_57_02_904362_0001.jpg', '/home/pi/Desktop/images/17012025/20/57/image_17012025_20_57_02_904362_0003.jpg', '/home/pi/Desktop/images/17012025/20/58/image_17012025_20_58_03_080912_0000.jpg', '/home/pi/Desktop/images/17012025/20/58/image_17012025_20_58_03_080912_0001.jpg', '/home/pi/Desktop/images/17012025/20/58/image_17012025_20_58_03_080912_0002.jpg', '/home/pi/Desktop/images/17012025/20/58/image_17012025_20_58_03_080912_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2490825&datou=0
/home/pi/Desktop/images/17012025/20/57/image_17012025_20_57_02_904362_0001.jpg
/home/pi/Desktop/images/17012025/20/57/image_17012025_20_57_02_904362_0003.jpg
/home/pi/Desktop/images/17012025/20/58/image_17012025_20_58_03_080912_0000.jpg
/home/pi/Desktop/images/17012025/20/58/image_17012025_20_58_03_080912_0001.jpg
/home/pi/Desktop/images/17012025/20/58/image_17012025_20_58_03_080912_0002.jpg
/home/pi/Desktop/images/17012025/20/58/image_17012025_20_58_03_080912_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":["1329898932","1329899540","1329899185","1329899892","1329900272","1329898930"],"photo_ids_order":["1329898930","1329898932","1329899185","1329899540","1329899892","1329900272"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/5f7c2c955d97063648ebe2a575fb209b.jpg","text":"TemporaryFile(/tmp/multipartBody3497194033445592056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737243548303,"filename":"image_17012025_20_57_02_904362_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/71dc0eeae4c407fe22773175ded0cee8.jpg","text":"TemporaryFile(/tmp/multipartBody4050323875069509214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737243548303,"filename":"image_17012025_20_58_03_080912_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/4cdb5cfcc67f058f71a47fc1cdd347ce.jpg","text":"TemporaryFile(/tmp/multipartBody6771669160237217049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737243548303,"filename":"image_17012025_20_58_03_080912_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/a70f46669a7d7bfec732fa3970ce28a5.jpg","text":"TemporaryFile(/tmp/multipartBody3192637319695126166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737243548303,"filename":"image_17012025_20_58_03_080912_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/54ce018b2f34955cae906e92cfcf9aaf.jpg","text":"TemporaryFile(/tmp/multipartBody5608080538131364815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737243548303,"filename":"image_17012025_20_58_03_080912_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/ebd977913c2d87f030583e7021ebac92.jpg","text":"TemporaryFile(/tmp/multipartBody6531278356422947107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737243548303,"filename":"image_17012025_20_57_02_904362_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329899185","file1":"1329898932","file0":"1329898930","file4":"1329899892","file5":"1329900272","file3":"1329899540"},"map_files_photo_id_array":[{"photo_id":"1329900272","filename":"file5"},{"photo_id":"1329899185","filename":"file2"},{"photo_id":"1329899892","filename":"file4"},{"photo_id":"1329898932","filename":"file1"},{"photo_id":"1329898930","filename":"file0"},{"photo_id":"1329899540","filename":"file3"}],"portfolio_id":19698700,"hashtag_by_photo_ids":[{"1329898932":["hashtag1","hashtag2"]},{"1329899540":["hashtag1","hashtag2"]},{"1329899185":["hashtag1","hashtag2"]},{"1329899892":["hashtag1","hashtag2"]},{"1329900272":["hashtag1","hashtag2"]},{"1329898930":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698700 used, photo_id : ArrayBuffer(1329898932, 1329899540, 1329899185, 1329899892, 1329900272, 1329898930)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.06698298454285 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-19 00:38:52.453018
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
  port_id : 19698700
  datou_current_id : 2490825
in upload_from_sqlite, uploading in 19698700
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17012025/20/59/image_17012025_20_59_02_352396_0000.jpg', '/home/pi/Desktop/images/17012025/20/59/image_17012025_20_59_02_352396_0001.jpg', '/home/pi/Desktop/images/17012025/20/59/image_17012025_20_59_02_352396_0002.jpg', '/home/pi/Desktop/images/17012025/20/59/image_17012025_20_59_02_352396_0003.jpg', '/home/pi/Desktop/images/17012025/21/00/image_17012025_21_00_02_468663_0000.jpg', '/home/pi/Desktop/images/17012025/21/00/image_17012025_21_00_02_468663_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2490825&datou=0
/home/pi/Desktop/images/17012025/20/59/image_17012025_20_59_02_352396_0000.jpg
/home/pi/Desktop/images/17012025/20/59/image_17012025_20_59_02_352396_0001.jpg
/home/pi/Desktop/images/17012025/20/59/image_17012025_20_59_02_352396_0002.jpg
/home/pi/Desktop/images/17012025/20/59/image_17012025_20_59_02_352396_0003.jpg
/home/pi/Desktop/images/17012025/21/00/image_17012025_21_00_02_468663_0000.jpg
/home/pi/Desktop/images/17012025/21/00/image_17012025_21_00_02_468663_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":["1329900278","1329900292","1329900289","1329900340","1329900310","1329900287"],"photo_ids_order":["1329900278","1329900287","1329900289","1329900292","1329900310","1329900340"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/2008f52932618035a57154809d43ecd5.jpg","text":"TemporaryFile(/tmp/multipartBody1137747108275354924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737243608565,"filename":"image_17012025_20_59_02_352396_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/7d0afa9aa71d1c641b9859e30c09d53c.jpg","text":"TemporaryFile(/tmp/multipartBody7869854566910973260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737243608565,"filename":"image_17012025_20_59_02_352396_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/03d691c23d75007584710d949ca38932.jpg","text":"TemporaryFile(/tmp/multipartBody4276530673488126429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737243608565,"filename":"image_17012025_20_59_02_352396_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/7febe58d26a40d1a299d780d85053ff4.jpg","text":"TemporaryFile(/tmp/multipartBody1059178868476915597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737243608565,"filename":"image_17012025_21_00_02_468663_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/ff174bddf23e38ba7f90613e2c355181.jpg","text":"TemporaryFile(/tmp/multipartBody1116117058728457019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737243608565,"filename":"image_17012025_21_00_02_468663_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/ddc4de545369bab0af93d45b21b49225.jpg","text":"TemporaryFile(/tmp/multipartBody124207997585636238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737243608565,"filename":"image_17012025_20_59_02_352396_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329900289","file1":"1329900287","file0":"1329900278","file4":"1329900310","file5":"1329900340","file3":"1329900292"},"map_files_photo_id_array":[{"photo_id":"1329900340","filename":"file5"},{"photo_id":"1329900289","filename":"file2"},{"photo_id":"1329900310","filename":"file4"},{"photo_id":"1329900287","filename":"file1"},{"photo_id":"1329900278","filename":"file0"},{"photo_id":"1329900292","filename":"file3"}],"portfolio_id":19698700,"hashtag_by_photo_ids":[{"1329900278":["hashtag1","hashtag2"]},{"1329900292":["hashtag1","hashtag2"]},{"1329900289":["hashtag1","hashtag2"]},{"1329900340":["hashtag1","hashtag2"]},{"1329900310":["hashtag1","hashtag2"]},{"1329900287":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698700 used, photo_id : ArrayBuffer(1329900278, 1329900292, 1329900289, 1329900340, 1329900310, 1329900287)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.113404512405396 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-19 00:39:52.644416
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
  port_id : 19698700
  datou_current_id : 2490825
in upload_from_sqlite, uploading in 19698700
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17012025/21/00/image_17012025_21_00_02_468663_0002.jpg', '/home/pi/Desktop/images/17012025/21/00/image_17012025_21_00_02_468663_0003.jpg', '/home/pi/Desktop/images/17012025/21/01/image_17012025_21_01_02_733079_0000.jpg', '/home/pi/Desktop/images/17012025/21/01/image_17012025_21_01_02_733079_0001.jpg', '/home/pi/Desktop/images/17012025/21/01/image_17012025_21_01_02_733079_0002.jpg', '/home/pi/Desktop/images/17012025/21/01/image_17012025_21_01_02_733079_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2490825&datou=0
/home/pi/Desktop/images/17012025/21/00/image_17012025_21_00_02_468663_0002.jpg
/home/pi/Desktop/images/17012025/21/00/image_17012025_21_00_02_468663_0003.jpg
/home/pi/Desktop/images/17012025/21/01/image_17012025_21_01_02_733079_0000.jpg
/home/pi/Desktop/images/17012025/21/01/image_17012025_21_01_02_733079_0001.jpg
/home/pi/Desktop/images/17012025/21/01/image_17012025_21_01_02_733079_0002.jpg
/home/pi/Desktop/images/17012025/21/01/image_17012025_21_01_02_733079_0003.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329900389","1329900443","1329900404","1329900391","1329900442","1329900400"],"photo_ids_order":["1329900389","1329900391","1329900400","1329900404","1329900442","1329900443"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/312d8e54dc8732438fbf7f856640c391.jpg","text":"TemporaryFile(/tmp/multipartBody2991817772640917424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737243668981,"filename":"image_17012025_21_00_02_468663_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/b53ca4aefb397a6a537d3ef1e2a0b2ca.jpg","text":"TemporaryFile(/tmp/multipartBody4419317298050592967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737243668981,"filename":"image_17012025_21_01_02_733079_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/282f1bd29828d6857ccee5dc5db29213.jpg","text":"TemporaryFile(/tmp/multipartBody1919770099286217322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737243668981,"filename":"image_17012025_21_01_02_733079_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/b4e136f5a54dfebf1b459b5bbeb81193.jpg","text":"TemporaryFile(/tmp/multipartBody5756813329640660731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737243668981,"filename":"image_17012025_21_00_02_468663_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/cc7712f03f3f573aab63cb475b01cd8c.jpg","text":"TemporaryFile(/tmp/multipartBody4287344116023618183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737243668981,"filename":"image_17012025_21_01_02_733079_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/ef000d29c96a9001eea3715a6bf6dc85.jpg","text":"TemporaryFile(/tmp/multipartBody3389569669166987382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737243668981,"filename":"image_17012025_21_01_02_733079_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329900400","file1":"1329900391","file0":"1329900389","file4":"1329900442","file5":"1329900443","file3":"1329900404"},"map_files_photo_id_array":[{"photo_id":"1329900443","filename":"file5"},{"photo_id":"1329900400","filename":"file2"},{"photo_id":"1329900442","filename":"file4"},{"photo_id":"1329900391","filename":"file1"},{"photo_id":"1329900389","filename":"file0"},{"photo_id":"1329900404","filename":"file3"}],"portfolio_id":19698700,"hashtag_by_photo_ids":[{"1329900389":["hashtag1","hashtag2"]},{"1329900443":["hashtag1","hashtag2"]},{"1329900404":["hashtag1","hashtag2"]},{"1329900391":["hashtag1","hashtag2"]},{"1329900442":["hashtag1","hashtag2"]},{"1329900400":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698700 used, photo_id : ArrayBuffer(1329900389, 1329900443, 1329900404, 1329900391, 1329900442, 1329900400)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 61.879793882369995 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 00:41:02.663110
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/00/24/image_19012025_00_24_02_190250_0000.jpg', '/home/pi/Desktop/images/19012025/00/24/image_19012025_00_24_02_190250_0001.jpg', '/home/pi/Desktop/images/19012025/00/24/image_19012025_00_24_02_190250_0002.jpg', '/home/pi/Desktop/images/19012025/00/24/image_19012025_00_24_02_190250_0003.jpg', '/home/pi/Desktop/images/19012025/00/25/image_19012025_00_25_02_353666_0000.jpg', '/home/pi/Desktop/images/19012025/00/25/image_19012025_00_25_02_353666_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/00/24/image_19012025_00_24_02_190250_0000.jpg
/home/pi/Desktop/images/19012025/00/24/image_19012025_00_24_02_190250_0001.jpg
/home/pi/Desktop/images/19012025/00/24/image_19012025_00_24_02_190250_0002.jpg
/home/pi/Desktop/images/19012025/00/24/image_19012025_00_24_02_190250_0003.jpg
/home/pi/Desktop/images/19012025/00/25/image_19012025_00_25_02_353666_0000.jpg
/home/pi/Desktop/images/19012025/00/25/image_19012025_00_25_02_353666_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":["1329901270","1329901243","1329900623","1329901237","1329900999","1329900768"],"photo_ids_order":["1329900623","1329900768","1329900999","1329901237","1329901243","1329901270"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/ed79e76d6171cbf6a79e1a481fbb97cc.jpg","text":"TemporaryFile(/tmp/multipartBody7412482083975532853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737243738918,"filename":"image_19012025_00_25_02_353666_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/9e2f0d7b97f70f59c929468e9d34e99a.jpg","text":"TemporaryFile(/tmp/multipartBody6283659172935202750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737243738918,"filename":"image_19012025_00_25_02_353666_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/913edd65c4d931ddc32c8146945bef7e.jpg","text":"TemporaryFile(/tmp/multipartBody8414783128440763121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737243738918,"filename":"image_19012025_00_24_02_190250_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/1db61b6a0f0e4ba1511dcfc3f70ecea0.jpg","text":"TemporaryFile(/tmp/multipartBody9121899686182992421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737243738918,"filename":"image_19012025_00_24_02_190250_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/dbc93c31787bcf4f6ac221400642d6d6.jpg","text":"TemporaryFile(/tmp/multipartBody4900791271827681812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737243738918,"filename":"image_19012025_00_24_02_190250_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/72fd39a1f8bfe289515169c1abea3fbf.jpg","text":"TemporaryFile(/tmp/multipartBody9050064321527629600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737243738918,"filename":"image_19012025_00_24_02_190250_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329900999","file1":"1329900768","file0":"1329900623","file4":"1329901243","file5":"1329901270","file3":"1329901237"},"map_files_photo_id_array":[{"photo_id":"1329901270","filename":"file5"},{"photo_id":"1329900999","filename":"file2"},{"photo_id":"1329901243","filename":"file4"},{"photo_id":"1329900768","filename":"file1"},{"photo_id":"1329900623","filename":"file0"},{"photo_id":"1329901237","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329901270":["hashtag1","hashtag2"]},{"1329901243":["hashtag1","hashtag2"]},{"1329900623":["hashtag1","hashtag2"]},{"1329901237":["hashtag1","hashtag2"]},{"1329900999":["hashtag1","hashtag2"]},{"1329900768":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329901270, 1329901243, 1329900623, 1329901237, 1329900999, 1329900768)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.34442663192749 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 00:42:02.633091
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/00/25/image_19012025_00_25_02_353666_0002.jpg', '/home/pi/Desktop/images/19012025/00/25/image_19012025_00_25_02_353666_0003.jpg', '/home/pi/Desktop/images/19012025/00/26/image_19012025_00_26_02_560819_0000.jpg', '/home/pi/Desktop/images/19012025/00/26/image_19012025_00_26_02_560819_0001.jpg', '/home/pi/Desktop/images/19012025/00/26/image_19012025_00_26_02_560819_0002.jpg', '/home/pi/Desktop/images/19012025/00/26/image_19012025_00_26_02_560819_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/00/25/image_19012025_00_25_02_353666_0002.jpg
/home/pi/Desktop/images/19012025/00/25/image_19012025_00_25_02_353666_0003.jpg
/home/pi/Desktop/images/19012025/00/26/image_19012025_00_26_02_560819_0000.jpg
/home/pi/Desktop/images/19012025/00/26/image_19012025_00_26_02_560819_0001.jpg
/home/pi/Desktop/images/19012025/00/26/image_19012025_00_26_02_560819_0002.jpg
/home/pi/Desktop/images/19012025/00/26/image_19012025_00_26_02_560819_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":["1329901384","1329901432","1329901431","1329901425","1329901428","1329901433"],"photo_ids_order":["1329901384","1329901425","1329901428","1329901431","1329901432","1329901433"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/08710703129975786a680861a63a97d9.jpg","text":"TemporaryFile(/tmp/multipartBody705104067991441222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737243798422,"filename":"image_19012025_00_25_02_353666_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/eb6872393d2b0d117800ebf6da050a7a.jpg","text":"TemporaryFile(/tmp/multipartBody3070606213449880386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737243798422,"filename":"image_19012025_00_26_02_560819_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/6fba3ab78697106c406d0dd4cc7a69db.jpg","text":"TemporaryFile(/tmp/multipartBody7851768741326005091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737243798422,"filename":"image_19012025_00_26_02_560819_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/8eb1f00d74873d40952bb0c1905d8ba8.jpg","text":"TemporaryFile(/tmp/multipartBody678011477528307188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737243798422,"filename":"image_19012025_00_25_02_353666_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/6c9c287ee179ff4363288eb541024080.jpg","text":"TemporaryFile(/tmp/multipartBody629665213566995425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737243798422,"filename":"image_19012025_00_26_02_560819_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/a5e39798ddb6d0f4ee835853651c482d.jpg","text":"TemporaryFile(/tmp/multipartBody1695343417024903761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737243798422,"filename":"image_19012025_00_26_02_560819_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329901428","file1":"1329901425","file0":"1329901384","file4":"1329901432","file5":"1329901433","file3":"1329901431"},"map_files_photo_id_array":[{"photo_id":"1329901433","filename":"file5"},{"photo_id":"1329901428","filename":"file2"},{"photo_id":"1329901432","filename":"file4"},{"photo_id":"1329901425","filename":"file1"},{"photo_id":"1329901384","filename":"file0"},{"photo_id":"1329901431","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329901384":["hashtag1","hashtag2"]},{"1329901432":["hashtag1","hashtag2"]},{"1329901431":["hashtag1","hashtag2"]},{"1329901425":["hashtag1","hashtag2"]},{"1329901428":["hashtag1","hashtag2"]},{"1329901433":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329901384, 1329901432, 1329901431, 1329901425, 1329901428, 1329901433)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.25421452522278 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 00:43:03.003137
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/00/27/image_19012025_00_27_02_733617_0000.jpg', '/home/pi/Desktop/images/19012025/00/27/image_19012025_00_27_02_733617_0001.jpg', '/home/pi/Desktop/images/19012025/00/27/image_19012025_00_27_02_733617_0002.jpg', '/home/pi/Desktop/images/19012025/00/27/image_19012025_00_27_02_733617_0003.jpg', '/home/pi/Desktop/images/19012025/00/28/image_19012025_00_28_02_910626_0000.jpg', '/home/pi/Desktop/images/19012025/00/28/image_19012025_00_28_02_910626_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/00/27/image_19012025_00_27_02_733617_0000.jpg
/home/pi/Desktop/images/19012025/00/27/image_19012025_00_27_02_733617_0001.jpg
/home/pi/Desktop/images/19012025/00/27/image_19012025_00_27_02_733617_0002.jpg
/home/pi/Desktop/images/19012025/00/27/image_19012025_00_27_02_733617_0003.jpg
/home/pi/Desktop/images/19012025/00/28/image_19012025_00_28_02_910626_0000.jpg
/home/pi/Desktop/images/19012025/00/28/image_19012025_00_28_02_910626_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":["1329901715","1329901741","1329901621","1329901722","1329901724","1329901718"],"photo_ids_order":["1329901621","1329901715","1329901718","1329901722","1329901724","1329901741"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/57dbf3c8c13a6c38dd684d568ca4e7cf.jpg","text":"TemporaryFile(/tmp/multipartBody3155503425403325190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737243859315,"filename":"image_19012025_00_27_02_733617_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/01b861a8590acf7cffacd2e9e28d4cb6.jpg","text":"TemporaryFile(/tmp/multipartBody8654762005787807193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737243859315,"filename":"image_19012025_00_28_02_910626_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/d60180589acefd40825d12ad2dd2ae5b.jpg","text":"TemporaryFile(/tmp/multipartBody8757902972216588108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737243859315,"filename":"image_19012025_00_27_02_733617_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/d51e3a023690402cd8d5a9e40363a043.jpg","text":"TemporaryFile(/tmp/multipartBody8172919278361055408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737243859315,"filename":"image_19012025_00_27_02_733617_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/baeb06feb7f5f83b8b002211537d539d.jpg","text":"TemporaryFile(/tmp/multipartBody774218308178380129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737243859315,"filename":"image_19012025_00_28_02_910626_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/7f14f47a8e873018e9f41df1dd410839.jpg","text":"TemporaryFile(/tmp/multipartBody3360953850508461382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737243859315,"filename":"image_19012025_00_27_02_733617_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329901718","file1":"1329901715","file0":"1329901621","file4":"1329901724","file5":"1329901741","file3":"1329901722"},"map_files_photo_id_array":[{"photo_id":"1329901741","filename":"file5"},{"photo_id":"1329901718","filename":"file2"},{"photo_id":"1329901724","filename":"file4"},{"photo_id":"1329901715","filename":"file1"},{"photo_id":"1329901621","filename":"file0"},{"photo_id":"1329901722","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329901715":["hashtag1","hashtag2"]},{"1329901741":["hashtag1","hashtag2"]},{"1329901621":["hashtag1","hashtag2"]},{"1329901722":["hashtag1","hashtag2"]},{"1329901724":["hashtag1","hashtag2"]},{"1329901718":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329901715, 1329901741, 1329901621, 1329901722, 1329901724, 1329901718)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.030308961868286 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-19 00:44:22.514673
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/00/28/image_19012025_00_28_02_910626_0002.jpg', '/home/pi/Desktop/images/19012025/00/28/image_19012025_00_28_02_910626_0003.jpg', '/home/pi/Desktop/images/19012025/00/29/image_19012025_00_29_03_071051_0000.jpg', '/home/pi/Desktop/images/19012025/00/29/image_19012025_00_29_03_071051_0001.jpg', '/home/pi/Desktop/images/19012025/00/29/image_19012025_00_29_03_071051_0002.jpg', '/home/pi/Desktop/images/19012025/00/29/image_19012025_00_29_03_071051_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/00/28/image_19012025_00_28_02_910626_0002.jpg
/home/pi/Desktop/images/19012025/00/28/image_19012025_00_28_02_910626_0003.jpg
/home/pi/Desktop/images/19012025/00/29/image_19012025_00_29_03_071051_0000.jpg
/home/pi/Desktop/images/19012025/00/29/image_19012025_00_29_03_071051_0001.jpg
/home/pi/Desktop/images/19012025/00/29/image_19012025_00_29_03_071051_0002.jpg
/home/pi/Desktop/images/19012025/00/29/image_19012025_00_29_03_071051_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":["1329901852","1329901849","1329901851","1329901854","1329901853","1329901856"],"photo_ids_order":["1329901849","1329901851","1329901852","1329901853","1329901854","1329901856"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/9354e01ff915740bd41824905433c201.jpg","text":"TemporaryFile(/tmp/multipartBody8051479099692493892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737243938350,"filename":"image_19012025_00_29_03_071051_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/2ba325fe9e913caa89355ae8c223dba4.jpg","text":"TemporaryFile(/tmp/multipartBody4110112736462743888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737243938350,"filename":"image_19012025_00_28_02_910626_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/ac01a0958f5bd7f5963b74b496d44ca7.jpg","text":"TemporaryFile(/tmp/multipartBody3373603080858611572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737243938350,"filename":"image_19012025_00_28_02_910626_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/c8c17159373ba12b64f9b7d2743dbe79.jpg","text":"TemporaryFile(/tmp/multipartBody4916678219368834388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737243938350,"filename":"image_19012025_00_29_03_071051_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/99fbb78c06b32ad12baeb22cb95bf3f9.jpg","text":"TemporaryFile(/tmp/multipartBody2094044956555175019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737243938350,"filename":"image_19012025_00_29_03_071051_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/3441b9ae8154588d46b13305d360eeb0.jpg","text":"TemporaryFile(/tmp/multipartBody4680993767403162654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737243938350,"filename":"image_19012025_00_29_03_071051_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329901852","file1":"1329901851","file0":"1329901849","file4":"1329901854","file5":"1329901856","file3":"1329901853"},"map_files_photo_id_array":[{"photo_id":"1329901856","filename":"file5"},{"photo_id":"1329901852","filename":"file2"},{"photo_id":"1329901854","filename":"file4"},{"photo_id":"1329901851","filename":"file1"},{"photo_id":"1329901849","filename":"file0"},{"photo_id":"1329901853","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329901852":["hashtag1","hashtag2"]},{"1329901849":["hashtag1","hashtag2"]},{"1329901851":["hashtag1","hashtag2"]},{"1329901854":["hashtag1","hashtag2"]},{"1329901853":["hashtag1","hashtag2"]},{"1329901856":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329901852, 1329901849, 1329901851, 1329901854, 1329901853, 1329901856)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.64807367324829 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 00:45:22.772992
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/00/30/image_19012025_00_30_02_150974_0000.jpg', '/home/pi/Desktop/images/19012025/00/30/image_19012025_00_30_02_150974_0001.jpg', '/home/pi/Desktop/images/19012025/00/30/image_19012025_00_30_02_150974_0002.jpg', '/home/pi/Desktop/images/19012025/00/30/image_19012025_00_30_02_150974_0003.jpg', '/home/pi/Desktop/images/19012025/00/31/image_19012025_00_31_02_346865_0000.jpg', '/home/pi/Desktop/images/19012025/00/31/image_19012025_00_31_02_346865_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/00/30/image_19012025_00_30_02_150974_0000.jpg
/home/pi/Desktop/images/19012025/00/30/image_19012025_00_30_02_150974_0001.jpg
/home/pi/Desktop/images/19012025/00/30/image_19012025_00_30_02_150974_0002.jpg
/home/pi/Desktop/images/19012025/00/30/image_19012025_00_30_02_150974_0003.jpg
/home/pi/Desktop/images/19012025/00/31/image_19012025_00_31_02_346865_0000.jpg
/home/pi/Desktop/images/19012025/00/31/image_19012025_00_31_02_346865_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":["1329901870","1329901873","1329901866","1329901871","1329901874","1329901868"],"photo_ids_order":["1329901866","1329901868","1329901870","1329901871","1329901873","1329901874"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/ef98e7430f0a1acc3fa023d1861b6ce4.jpg","text":"TemporaryFile(/tmp/multipartBody6696751929917529612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737243999651,"filename":"image_19012025_00_30_02_150974_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/d88f1e3dcf38ed215ddbbfb17aaed3bb.jpg","text":"TemporaryFile(/tmp/multipartBody3341511706534290528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737243999651,"filename":"image_19012025_00_31_02_346865_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/2b57cb54700bbc657f0ee4536d2bd3e6.jpg","text":"TemporaryFile(/tmp/multipartBody1290411581113254423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737243999651,"filename":"image_19012025_00_30_02_150974_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/a1cf581a18e7e55b977812c80ad826c9.jpg","text":"TemporaryFile(/tmp/multipartBody8613503205260579220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737243999651,"filename":"image_19012025_00_30_02_150974_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/d960877082ba979230567bdd7c184b15.jpg","text":"TemporaryFile(/tmp/multipartBody2888693171408624215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737243999651,"filename":"image_19012025_00_31_02_346865_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/3df744abc0ff7b11964e5710e5609ad4.jpg","text":"TemporaryFile(/tmp/multipartBody4970720793444356204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737243999651,"filename":"image_19012025_00_30_02_150974_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329901870","file1":"1329901868","file0":"1329901866","file4":"1329901873","file5":"1329901874","file3":"1329901871"},"map_files_photo_id_array":[{"photo_id":"1329901874","filename":"file5"},{"photo_id":"1329901870","filename":"file2"},{"photo_id":"1329901873","filename":"file4"},{"photo_id":"1329901868","filename":"file1"},{"photo_id":"1329901866","filename":"file0"},{"photo_id":"1329901871","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329901870":["hashtag1","hashtag2"]},{"1329901873":["hashtag1","hashtag2"]},{"1329901866":["hashtag1","hashtag2"]},{"1329901871":["hashtag1","hashtag2"]},{"1329901874":["hashtag1","hashtag2"]},{"1329901868":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329901870, 1329901873, 1329901866, 1329901871, 1329901874, 1329901868)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.9812285900116 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-19 00:46:51.864463
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
  port_id : 19698700
  datou_current_id : 2490825
in upload_from_sqlite, uploading in 19698700
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17012025/21/02/image_17012025_21_02_02_828115_0000.jpg', '/home/pi/Desktop/images/17012025/21/02/image_17012025_21_02_02_828115_0001.jpg', '/home/pi/Desktop/images/17012025/21/02/image_17012025_21_02_02_828115_0002.jpg', '/home/pi/Desktop/images/17012025/21/02/image_17012025_21_02_02_828115_0003.jpg', '/home/pi/Desktop/images/17012025/21/03/image_17012025_21_03_03_062839_0000.jpg', '/home/pi/Desktop/images/17012025/21/03/image_17012025_21_03_03_062839_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2490825&datou=0
/home/pi/Desktop/images/17012025/21/02/image_17012025_21_02_02_828115_0000.jpg
/home/pi/Desktop/images/17012025/21/02/image_17012025_21_02_02_828115_0001.jpg
/home/pi/Desktop/images/17012025/21/02/image_17012025_21_02_02_828115_0002.jpg
/home/pi/Desktop/images/17012025/21/02/image_17012025_21_02_02_828115_0003.jpg
/home/pi/Desktop/images/17012025/21/03/image_17012025_21_03_03_062839_0000.jpg
/home/pi/Desktop/images/17012025/21/03/image_17012025_21_03_03_062839_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":["1329902088","1329902084","1329902072","1329902066","1329902069","1329902063"],"photo_ids_order":["1329902063","1329902066","1329902069","1329902072","1329902084","1329902088"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/4a7bfa23ed3eb7b6ea2a592b1b296a1f.jpg","text":"TemporaryFile(/tmp/multipartBody2378783772117911118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737244088294,"filename":"image_17012025_21_03_03_062839_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/db4cff409181ef1e9a0b1f35784f09de.jpg","text":"TemporaryFile(/tmp/multipartBody8193832205850645418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737244088294,"filename":"image_17012025_21_03_03_062839_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/250266d3e52ee3801a16b782bf5b5a5c.jpg","text":"TemporaryFile(/tmp/multipartBody519437460512416196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737244088294,"filename":"image_17012025_21_02_02_828115_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/1e47590ca8a05ac98295f86387ab6983.jpg","text":"TemporaryFile(/tmp/multipartBody1838580454558016657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737244088294,"filename":"image_17012025_21_02_02_828115_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/a5c63168c3243efb17e9cf2417db1254.jpg","text":"TemporaryFile(/tmp/multipartBody8163257351308386578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737244088294,"filename":"image_17012025_21_02_02_828115_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/9cd3dc4f4bdc34beab78dd51862e70b1.jpg","text":"TemporaryFile(/tmp/multipartBody359552405435731853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737244088294,"filename":"image_17012025_21_02_02_828115_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329902069","file1":"1329902066","file0":"1329902063","file4":"1329902084","file5":"1329902088","file3":"1329902072"},"map_files_photo_id_array":[{"photo_id":"1329902088","filename":"file5"},{"photo_id":"1329902069","filename":"file2"},{"photo_id":"1329902084","filename":"file4"},{"photo_id":"1329902066","filename":"file1"},{"photo_id":"1329902063","filename":"file0"},{"photo_id":"1329902072","filename":"file3"}],"portfolio_id":19698700,"hashtag_by_photo_ids":[{"1329902088":["hashtag1","hashtag2"]},{"1329902084":["hashtag1","hashtag2"]},{"1329902072":["hashtag1","hashtag2"]},{"1329902066":["hashtag1","hashtag2"]},{"1329902069":["hashtag1","hashtag2"]},{"1329902063":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698700 used, photo_id : ArrayBuffer(1329902088, 1329902084, 1329902072, 1329902066, 1329902069, 1329902063)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.60590100288391 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 00:48:02.644629
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/00/31/image_19012025_00_31_02_346865_0002.jpg', '/home/pi/Desktop/images/19012025/00/31/image_19012025_00_31_02_346865_0003.jpg', '/home/pi/Desktop/images/19012025/00/32/image_19012025_00_32_02_517887_0000.jpg', '/home/pi/Desktop/images/19012025/00/32/image_19012025_00_32_02_517887_0001.jpg', '/home/pi/Desktop/images/19012025/00/32/image_19012025_00_32_02_517887_0002.jpg', '/home/pi/Desktop/images/19012025/00/32/image_19012025_00_32_02_517887_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/00/31/image_19012025_00_31_02_346865_0002.jpg
/home/pi/Desktop/images/19012025/00/31/image_19012025_00_31_02_346865_0003.jpg
/home/pi/Desktop/images/19012025/00/32/image_19012025_00_32_02_517887_0000.jpg
/home/pi/Desktop/images/19012025/00/32/image_19012025_00_32_02_517887_0001.jpg
/home/pi/Desktop/images/19012025/00/32/image_19012025_00_32_02_517887_0002.jpg
/home/pi/Desktop/images/19012025/00/32/image_19012025_00_32_02_517887_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":["1329902338","1329902265","1329902331","1329902340","1329902334","1329902342"],"photo_ids_order":["1329902265","1329902331","1329902334","1329902338","1329902340","1329902342"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/b776b8406a4cc66955a7fe28da08aaa4.jpg","text":"TemporaryFile(/tmp/multipartBody321608047469776002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737244159601,"filename":"image_19012025_00_32_02_517887_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/c1a2a72770305beed522a2e5e9463b15.jpg","text":"TemporaryFile(/tmp/multipartBody6076368075713815580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737244159601,"filename":"image_19012025_00_31_02_346865_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/24517227ecbddaa9174893e2b97ce426.jpg","text":"TemporaryFile(/tmp/multipartBody2876705575895639059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737244159601,"filename":"image_19012025_00_31_02_346865_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/22de806490afe51494b9901fe966bcaf.jpg","text":"TemporaryFile(/tmp/multipartBody3476541777155461815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737244159601,"filename":"image_19012025_00_32_02_517887_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/eb8777c89795831e221eb686f67180eb.jpg","text":"TemporaryFile(/tmp/multipartBody6361538496300447624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737244159601,"filename":"image_19012025_00_32_02_517887_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/335d9ea711c596826a611710d12ca8b5.jpg","text":"TemporaryFile(/tmp/multipartBody6478531452345090824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737244159601,"filename":"image_19012025_00_32_02_517887_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329902334","file1":"1329902331","file0":"1329902265","file4":"1329902340","file5":"1329902342","file3":"1329902338"},"map_files_photo_id_array":[{"photo_id":"1329902342","filename":"file5"},{"photo_id":"1329902334","filename":"file2"},{"photo_id":"1329902340","filename":"file4"},{"photo_id":"1329902331","filename":"file1"},{"photo_id":"1329902265","filename":"file0"},{"photo_id":"1329902338","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329902338":["hashtag1","hashtag2"]},{"1329902265":["hashtag1","hashtag2"]},{"1329902331":["hashtag1","hashtag2"]},{"1329902340":["hashtag1","hashtag2"]},{"1329902334":["hashtag1","hashtag2"]},{"1329902342":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329902338, 1329902265, 1329902331, 1329902340, 1329902334, 1329902342)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.623921155929565 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 00:49:03.109249
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/00/33/image_19012025_00_33_02_656230_0000.jpg', '/home/pi/Desktop/images/19012025/00/33/image_19012025_00_33_02_656230_0001.jpg', '/home/pi/Desktop/images/19012025/00/33/image_19012025_00_33_02_656230_0002.jpg', '/home/pi/Desktop/images/19012025/00/33/image_19012025_00_33_02_656230_0003.jpg', '/home/pi/Desktop/images/19012025/00/34/image_19012025_00_34_02_862048_0000.jpg', '/home/pi/Desktop/images/19012025/00/34/image_19012025_00_34_02_862048_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/00/33/image_19012025_00_33_02_656230_0000.jpg
/home/pi/Desktop/images/19012025/00/33/image_19012025_00_33_02_656230_0001.jpg
/home/pi/Desktop/images/19012025/00/33/image_19012025_00_33_02_656230_0002.jpg
/home/pi/Desktop/images/19012025/00/33/image_19012025_00_33_02_656230_0003.jpg
/home/pi/Desktop/images/19012025/00/34/image_19012025_00_34_02_862048_0000.jpg
/home/pi/Desktop/images/19012025/00/34/image_19012025_00_34_02_862048_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":["1329902400","1329902393","1329902396","1329902399","1329902390","1329902398"],"photo_ids_order":["1329902390","1329902393","1329902396","1329902398","1329902399","1329902400"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/674bdfb5294b20a61b6e94063499020a.jpg","text":"TemporaryFile(/tmp/multipartBody3925527194165297952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737244219274,"filename":"image_19012025_00_34_02_862048_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/b40f23ca7fcb13718fffae66bf784a64.jpg","text":"TemporaryFile(/tmp/multipartBody6802730273380558328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737244219274,"filename":"image_19012025_00_33_02_656230_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/b106afe9a2db50a83a888ad674ccea36.jpg","text":"TemporaryFile(/tmp/multipartBody3063681286153019293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737244219274,"filename":"image_19012025_00_33_02_656230_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/37a388b7d0b62b6ad8e35be09f16943d.jpg","text":"TemporaryFile(/tmp/multipartBody3820889086324065406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737244219274,"filename":"image_19012025_00_34_02_862048_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/709bd894c4310659985c645fafb46684.jpg","text":"TemporaryFile(/tmp/multipartBody4718264570279311817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737244219274,"filename":"image_19012025_00_33_02_656230_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/946369edcdbf086f7b55f9cfafd7be7e.jpg","text":"TemporaryFile(/tmp/multipartBody7855398790684952542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737244219274,"filename":"image_19012025_00_33_02_656230_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329902396","file1":"1329902393","file0":"1329902390","file4":"1329902399","file5":"1329902400","file3":"1329902398"},"map_files_photo_id_array":[{"photo_id":"1329902400","filename":"file5"},{"photo_id":"1329902396","filename":"file2"},{"photo_id":"1329902399","filename":"file4"},{"photo_id":"1329902393","filename":"file1"},{"photo_id":"1329902390","filename":"file0"},{"photo_id":"1329902398","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329902400":["hashtag1","hashtag2"]},{"1329902393":["hashtag1","hashtag2"]},{"1329902396":["hashtag1","hashtag2"]},{"1329902399":["hashtag1","hashtag2"]},{"1329902390":["hashtag1","hashtag2"]},{"1329902398":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329902400, 1329902393, 1329902396, 1329902399, 1329902390, 1329902398)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.281426429748535 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 00:50:03.034265
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/00/34/image_19012025_00_34_02_862048_0002.jpg', '/home/pi/Desktop/images/19012025/00/34/image_19012025_00_34_02_862048_0003.jpg', '/home/pi/Desktop/images/19012025/00/35/image_19012025_00_35_03_029731_0001.jpg', '/home/pi/Desktop/images/19012025/00/35/image_19012025_00_35_03_029731_0002.jpg', '/home/pi/Desktop/images/19012025/00/35/image_19012025_00_35_03_029731_0003.jpg', '/home/pi/Desktop/images/19012025/00/36/image_19012025_00_36_02_218464_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/00/34/image_19012025_00_34_02_862048_0002.jpg
/home/pi/Desktop/images/19012025/00/34/image_19012025_00_34_02_862048_0003.jpg
/home/pi/Desktop/images/19012025/00/35/image_19012025_00_35_03_029731_0001.jpg
/home/pi/Desktop/images/19012025/00/35/image_19012025_00_35_03_029731_0002.jpg
/home/pi/Desktop/images/19012025/00/35/image_19012025_00_35_03_029731_0003.jpg
/home/pi/Desktop/images/19012025/00/36/image_19012025_00_36_02_218464_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":["1329902772","1329902775","1329902769","1329902777","1329902756","1329902741"],"photo_ids_order":["1329902741","1329902756","1329902769","1329902772","1329902775","1329902777"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/dc33bcc963b5c5eba14d61ab92c5646d.jpg","text":"TemporaryFile(/tmp/multipartBody387694438394774934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737244279176,"filename":"image_19012025_00_35_03_029731_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/82c3965c1e2683963c27f4ec7decaaab.jpg","text":"TemporaryFile(/tmp/multipartBody3978292094065921363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737244279176,"filename":"image_19012025_00_35_03_029731_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/df8d2a126b46b263c9e53e88ebf93b82.jpg","text":"TemporaryFile(/tmp/multipartBody7996211866562199962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737244279176,"filename":"image_19012025_00_35_03_029731_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/730df43a996457cef1b4c9ad907cd854.jpg","text":"TemporaryFile(/tmp/multipartBody2555002842617586724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737244279176,"filename":"image_19012025_00_36_02_218464_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/04f41d0501f21b7d0394d9a106800558.jpg","text":"TemporaryFile(/tmp/multipartBody6552040355383553527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737244279176,"filename":"image_19012025_00_34_02_862048_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/f3cef24c16d8aed535c90e062fb37a6b.jpg","text":"TemporaryFile(/tmp/multipartBody7529359606866961131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737244279176,"filename":"image_19012025_00_34_02_862048_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329902769","file1":"1329902756","file0":"1329902741","file4":"1329902775","file5":"1329902777","file3":"1329902772"},"map_files_photo_id_array":[{"photo_id":"1329902777","filename":"file5"},{"photo_id":"1329902769","filename":"file2"},{"photo_id":"1329902775","filename":"file4"},{"photo_id":"1329902756","filename":"file1"},{"photo_id":"1329902741","filename":"file0"},{"photo_id":"1329902772","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329902772":["hashtag1","hashtag2"]},{"1329902775":["hashtag1","hashtag2"]},{"1329902769":["hashtag1","hashtag2"]},{"1329902777":["hashtag1","hashtag2"]},{"1329902756":["hashtag1","hashtag2"]},{"1329902741":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329902772, 1329902775, 1329902769, 1329902777, 1329902756, 1329902741)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.36933422088623 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 00:51:02.540413
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/00/36/image_19012025_00_36_02_218464_0001.jpg', '/home/pi/Desktop/images/19012025/00/36/image_19012025_00_36_02_218464_0002.jpg', '/home/pi/Desktop/images/19012025/00/36/image_19012025_00_36_02_218464_0003.jpg', '/home/pi/Desktop/images/19012025/00/37/image_19012025_00_37_02_370000_0001.jpg', '/home/pi/Desktop/images/19012025/00/38/image_19012025_00_38_02_607277_0002.jpg', '/home/pi/Desktop/images/19012025/00/38/image_19012025_00_38_02_607277_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/00/36/image_19012025_00_36_02_218464_0001.jpg
/home/pi/Desktop/images/19012025/00/36/image_19012025_00_36_02_218464_0002.jpg
/home/pi/Desktop/images/19012025/00/36/image_19012025_00_36_02_218464_0003.jpg
/home/pi/Desktop/images/19012025/00/37/image_19012025_00_37_02_370000_0001.jpg
/home/pi/Desktop/images/19012025/00/38/image_19012025_00_38_02_607277_0002.jpg
/home/pi/Desktop/images/19012025/00/38/image_19012025_00_38_02_607277_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":["1329902914","1329902913","1329902912","1329902909","1329902893","1329902906"],"photo_ids_order":["1329902893","1329902906","1329902909","1329902912","1329902913","1329902914"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/ebc1fec2c47979d3d9f700268a12c7d5.jpg","text":"TemporaryFile(/tmp/multipartBody3119530731913155393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737244338961,"filename":"image_19012025_00_38_02_607277_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/a3a3d3ce44fac87ba5f60e4e7affd1ac.jpg","text":"TemporaryFile(/tmp/multipartBody3296698090741866072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737244338961,"filename":"image_19012025_00_38_02_607277_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/e9d00bc91d1e44e44dfc3f788978ab9f.jpg","text":"TemporaryFile(/tmp/multipartBody2450578895256684653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737244338961,"filename":"image_19012025_00_37_02_370000_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/db2891b8353509fc3d7874c52c180d1c.jpg","text":"TemporaryFile(/tmp/multipartBody1661357173793901351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737244338961,"filename":"image_19012025_00_36_02_218464_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/c212ae10bc38307ac113961033c71ce2.jpg","text":"TemporaryFile(/tmp/multipartBody8209410384381940044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737244338961,"filename":"image_19012025_00_36_02_218464_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/8d87440ed5b80b1e6d7ae32a55172596.jpg","text":"TemporaryFile(/tmp/multipartBody6261816669808625791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737244338961,"filename":"image_19012025_00_36_02_218464_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329902909","file1":"1329902906","file0":"1329902893","file4":"1329902913","file5":"1329902914","file3":"1329902912"},"map_files_photo_id_array":[{"photo_id":"1329902914","filename":"file5"},{"photo_id":"1329902909","filename":"file2"},{"photo_id":"1329902913","filename":"file4"},{"photo_id":"1329902906","filename":"file1"},{"photo_id":"1329902893","filename":"file0"},{"photo_id":"1329902912","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329902914":["hashtag1","hashtag2"]},{"1329902913":["hashtag1","hashtag2"]},{"1329902912":["hashtag1","hashtag2"]},{"1329902909":["hashtag1","hashtag2"]},{"1329902893":["hashtag1","hashtag2"]},{"1329902906":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329902914, 1329902913, 1329902912, 1329902909, 1329902893, 1329902906)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.30600094795227 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 00:52:02.400538
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/00/39/image_19012025_00_39_02_764133_0000.jpg', '/home/pi/Desktop/images/19012025/00/39/image_19012025_00_39_02_764133_0001.jpg', '/home/pi/Desktop/images/19012025/00/39/image_19012025_00_39_02_764133_0002.jpg', '/home/pi/Desktop/images/19012025/00/39/image_19012025_00_39_02_764133_0003.jpg', '/home/pi/Desktop/images/19012025/00/40/image_19012025_00_40_03_003164_0000.jpg', '/home/pi/Desktop/images/19012025/00/40/image_19012025_00_40_03_003164_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/00/39/image_19012025_00_39_02_764133_0000.jpg
/home/pi/Desktop/images/19012025/00/39/image_19012025_00_39_02_764133_0001.jpg
/home/pi/Desktop/images/19012025/00/39/image_19012025_00_39_02_764133_0002.jpg
/home/pi/Desktop/images/19012025/00/39/image_19012025_00_39_02_764133_0003.jpg
/home/pi/Desktop/images/19012025/00/40/image_19012025_00_40_03_003164_0000.jpg
/home/pi/Desktop/images/19012025/00/40/image_19012025_00_40_03_003164_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":["1329903424","1329903109","1329903839","1329903014","1329903302","1329902918"],"photo_ids_order":["1329902918","1329903014","1329903109","1329903302","1329903424","1329903839"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/387a75ef1da907b2bb565c9e0d7826f9.jpg","text":"TemporaryFile(/tmp/multipartBody8751649352681924334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737244399658,"filename":"image_19012025_00_40_03_003164_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/ea8b667bd1477e3aa4acfa33251e23e9.jpg","text":"TemporaryFile(/tmp/multipartBody5221872804834336268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737244399658,"filename":"image_19012025_00_39_02_764133_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/bd1067baf02fa8e3a9aa7cb41997a643.jpg","text":"TemporaryFile(/tmp/multipartBody874437358598812205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737244399658,"filename":"image_19012025_00_40_03_003164_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/5bec815f160c1e8b8c78633da0f7d619.jpg","text":"TemporaryFile(/tmp/multipartBody1372951558155868611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737244399658,"filename":"image_19012025_00_39_02_764133_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/8b880d219d2c2946735eb7298c0de5a9.jpg","text":"TemporaryFile(/tmp/multipartBody112971800255530740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737244399658,"filename":"image_19012025_00_39_02_764133_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/79baa752cb7fdd357905d7ba961d61db.jpg","text":"TemporaryFile(/tmp/multipartBody7957240696558945520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737244399658,"filename":"image_19012025_00_39_02_764133_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329903109","file1":"1329903014","file0":"1329902918","file4":"1329903424","file5":"1329903839","file3":"1329903302"},"map_files_photo_id_array":[{"photo_id":"1329903839","filename":"file5"},{"photo_id":"1329903109","filename":"file2"},{"photo_id":"1329903424","filename":"file4"},{"photo_id":"1329903014","filename":"file1"},{"photo_id":"1329902918","filename":"file0"},{"photo_id":"1329903302","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329903424":["hashtag1","hashtag2"]},{"1329903109":["hashtag1","hashtag2"]},{"1329903839":["hashtag1","hashtag2"]},{"1329903014":["hashtag1","hashtag2"]},{"1329903302":["hashtag1","hashtag2"]},{"1329902918":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329903424, 1329903109, 1329903839, 1329903014, 1329903302, 1329902918)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 86.555104970932 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-19 00:53:52.057203
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
  port_id : 19698700
  datou_current_id : 2490825
in upload_from_sqlite, uploading in 19698700
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17012025/21/03/image_17012025_21_03_03_062839_0002.jpg', '/home/pi/Desktop/images/17012025/21/03/image_17012025_21_03_03_062839_0003.jpg', '/home/pi/Desktop/images/17012025/21/04/image_17012025_21_04_02_224175_0000.jpg', '/home/pi/Desktop/images/17012025/21/04/image_17012025_21_04_02_224175_0001.jpg', '/home/pi/Desktop/images/17012025/21/04/image_17012025_21_04_02_224175_0002.jpg', '/home/pi/Desktop/images/17012025/21/04/image_17012025_21_04_02_224175_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2490825&datou=0
/home/pi/Desktop/images/17012025/21/03/image_17012025_21_03_03_062839_0002.jpg
/home/pi/Desktop/images/17012025/21/03/image_17012025_21_03_03_062839_0003.jpg
/home/pi/Desktop/images/17012025/21/04/image_17012025_21_04_02_224175_0000.jpg
/home/pi/Desktop/images/17012025/21/04/image_17012025_21_04_02_224175_0001.jpg
/home/pi/Desktop/images/17012025/21/04/image_17012025_21_04_02_224175_0002.jpg
/home/pi/Desktop/images/17012025/21/04/image_17012025_21_04_02_224175_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":["1329904166","1329903872","1329904186","1329904051","1329903874","1329904074"],"photo_ids_order":["1329903872","1329903874","1329904051","1329904074","1329904166","1329904186"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/e15508f3e20a1b032f7f1fdfc60ff7e2.jpg","text":"TemporaryFile(/tmp/multipartBody7410533977145933955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737244508870,"filename":"image_17012025_21_04_02_224175_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/f48e430af2729b29e599c1f11043aaf2.jpg","text":"TemporaryFile(/tmp/multipartBody9080774522189805781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737244508870,"filename":"image_17012025_21_03_03_062839_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/882d8b41944f7959204ac9e4b1e53ab0.jpg","text":"TemporaryFile(/tmp/multipartBody804764708692998690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737244508870,"filename":"image_17012025_21_04_02_224175_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/6beed526c40692fe252a245b07ad3372.jpg","text":"TemporaryFile(/tmp/multipartBody6378246552338477485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737244508870,"filename":"image_17012025_21_04_02_224175_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/13c643860f22ab6ac8c1e5406e39651e.jpg","text":"TemporaryFile(/tmp/multipartBody1077404304411125024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737244508870,"filename":"image_17012025_21_03_03_062839_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/d66dbc71dcb8c60036da8753fc691956.jpg","text":"TemporaryFile(/tmp/multipartBody6056928625336886147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737244508870,"filename":"image_17012025_21_04_02_224175_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329904051","file1":"1329903874","file0":"1329903872","file4":"1329904166","file5":"1329904186","file3":"1329904074"},"map_files_photo_id_array":[{"photo_id":"1329904186","filename":"file5"},{"photo_id":"1329904051","filename":"file2"},{"photo_id":"1329904166","filename":"file4"},{"photo_id":"1329903874","filename":"file1"},{"photo_id":"1329903872","filename":"file0"},{"photo_id":"1329904074","filename":"file3"}],"portfolio_id":19698700,"hashtag_by_photo_ids":[{"1329904166":["hashtag1","hashtag2"]},{"1329903872":["hashtag1","hashtag2"]},{"1329904186":["hashtag1","hashtag2"]},{"1329904051":["hashtag1","hashtag2"]},{"1329903874":["hashtag1","hashtag2"]},{"1329904074":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698700 used, photo_id : ArrayBuffer(1329904166, 1329903872, 1329904186, 1329904051, 1329903874, 1329904074)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 78.6989541053772 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 00:55:22.471871
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/00/40/image_19012025_00_40_03_003164_0002.jpg', '/home/pi/Desktop/images/19012025/00/40/image_19012025_00_40_03_003164_0003.jpg', '/home/pi/Desktop/images/19012025/00/41/image_19012025_00_41_02_191475_0000.jpg', '/home/pi/Desktop/images/19012025/00/41/image_19012025_00_41_02_191475_0001.jpg', '/home/pi/Desktop/images/19012025/00/41/image_19012025_00_41_02_191475_0002.jpg', '/home/pi/Desktop/images/19012025/00/41/image_19012025_00_41_02_191475_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/00/40/image_19012025_00_40_03_003164_0002.jpg
/home/pi/Desktop/images/19012025/00/40/image_19012025_00_40_03_003164_0003.jpg
/home/pi/Desktop/images/19012025/00/41/image_19012025_00_41_02_191475_0000.jpg
/home/pi/Desktop/images/19012025/00/41/image_19012025_00_41_02_191475_0001.jpg
/home/pi/Desktop/images/19012025/00/41/image_19012025_00_41_02_191475_0002.jpg
/home/pi/Desktop/images/19012025/00/41/image_19012025_00_41_02_191475_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":["1329904389","1329904391","1329904388","1329904390","1329904393","1329904387"],"photo_ids_order":["1329904387","1329904388","1329904389","1329904390","1329904391","1329904393"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/6744331a6e320a4503818076585de4fa.jpg","text":"TemporaryFile(/tmp/multipartBody7089566415941854061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737244599107,"filename":"image_19012025_00_41_02_191475_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/0f161b0059998887d3ca066e097ebd3e.jpg","text":"TemporaryFile(/tmp/multipartBody3367741384959670456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737244599107,"filename":"image_19012025_00_41_02_191475_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/5fff20a72d0f3223c1d359048704f5db.jpg","text":"TemporaryFile(/tmp/multipartBody7484628747786884098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737244599107,"filename":"image_19012025_00_40_03_003164_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/b0b8b36b1f49393b79cb367676d39653.jpg","text":"TemporaryFile(/tmp/multipartBody3108426986846276710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737244599107,"filename":"image_19012025_00_41_02_191475_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/b2dabbfe78f02e67ce312cc25056773e.jpg","text":"TemporaryFile(/tmp/multipartBody1857231340268149916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737244599107,"filename":"image_19012025_00_41_02_191475_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/defab7330c4c3518a712900f0eeeb6c7.jpg","text":"TemporaryFile(/tmp/multipartBody3386862945501979989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737244599107,"filename":"image_19012025_00_40_03_003164_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329904389","file1":"1329904388","file0":"1329904387","file4":"1329904391","file5":"1329904393","file3":"1329904390"},"map_files_photo_id_array":[{"photo_id":"1329904393","filename":"file5"},{"photo_id":"1329904389","filename":"file2"},{"photo_id":"1329904391","filename":"file4"},{"photo_id":"1329904388","filename":"file1"},{"photo_id":"1329904387","filename":"file0"},{"photo_id":"1329904390","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329904389":["hashtag1","hashtag2"]},{"1329904391":["hashtag1","hashtag2"]},{"1329904388":["hashtag1","hashtag2"]},{"1329904390":["hashtag1","hashtag2"]},{"1329904393":["hashtag1","hashtag2"]},{"1329904387":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329904389, 1329904391, 1329904388, 1329904390, 1329904393, 1329904387)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.32259488105774 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 00:56:22.659967
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/00/42/image_19012025_00_42_02_371701_0000.jpg', '/home/pi/Desktop/images/19012025/00/42/image_19012025_00_42_02_371701_0001.jpg', '/home/pi/Desktop/images/19012025/00/42/image_19012025_00_42_02_371701_0002.jpg', '/home/pi/Desktop/images/19012025/00/42/image_19012025_00_42_02_371701_0003.jpg', '/home/pi/Desktop/images/19012025/00/43/image_19012025_00_43_02_604541_0000.jpg', '/home/pi/Desktop/images/19012025/00/43/image_19012025_00_43_02_604541_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/00/42/image_19012025_00_42_02_371701_0000.jpg
/home/pi/Desktop/images/19012025/00/42/image_19012025_00_42_02_371701_0001.jpg
/home/pi/Desktop/images/19012025/00/42/image_19012025_00_42_02_371701_0002.jpg
/home/pi/Desktop/images/19012025/00/42/image_19012025_00_42_02_371701_0003.jpg
/home/pi/Desktop/images/19012025/00/43/image_19012025_00_43_02_604541_0000.jpg
/home/pi/Desktop/images/19012025/00/43/image_19012025_00_43_02_604541_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":["1329904758","1329904440","1329904437","1329904439","1329904756","1329904516"],"photo_ids_order":["1329904437","1329904439","1329904440","1329904516","1329904756","1329904758"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/e220f7809dbe4c7431250def82158796.jpg","text":"TemporaryFile(/tmp/multipartBody5537413212472303519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737244659142,"filename":"image_19012025_00_43_02_604541_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/8a293e3393da13b13ffb6762a8aec48e.jpg","text":"TemporaryFile(/tmp/multipartBody2704972279551308000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737244659142,"filename":"image_19012025_00_42_02_371701_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/1e93548f674ca80f37805f4631715f38.jpg","text":"TemporaryFile(/tmp/multipartBody6197041621135807105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737244659142,"filename":"image_19012025_00_42_02_371701_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/246668f9dcc0708d5e550e9a8c9beeaa.jpg","text":"TemporaryFile(/tmp/multipartBody7126395840612283825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737244659142,"filename":"image_19012025_00_42_02_371701_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/1cd2f922d8d2a3668aec573cb05ec3a7.jpg","text":"TemporaryFile(/tmp/multipartBody5974763516280642180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737244659142,"filename":"image_19012025_00_43_02_604541_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/25a708eb596654d8162312ff06b12a2d.jpg","text":"TemporaryFile(/tmp/multipartBody1684054421207838950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737244659142,"filename":"image_19012025_00_42_02_371701_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329904440","file1":"1329904439","file0":"1329904437","file4":"1329904756","file5":"1329904758","file3":"1329904516"},"map_files_photo_id_array":[{"photo_id":"1329904758","filename":"file5"},{"photo_id":"1329904440","filename":"file2"},{"photo_id":"1329904756","filename":"file4"},{"photo_id":"1329904439","filename":"file1"},{"photo_id":"1329904437","filename":"file0"},{"photo_id":"1329904516","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329904758":["hashtag1","hashtag2"]},{"1329904440":["hashtag1","hashtag2"]},{"1329904437":["hashtag1","hashtag2"]},{"1329904439":["hashtag1","hashtag2"]},{"1329904756":["hashtag1","hashtag2"]},{"1329904516":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329904758, 1329904440, 1329904437, 1329904439, 1329904756, 1329904516)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.21097993850708 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 00:57:21.818425
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/00/43/image_19012025_00_43_02_604541_0002.jpg', '/home/pi/Desktop/images/19012025/00/43/image_19012025_00_43_02_604541_0003.jpg', '/home/pi/Desktop/images/19012025/00/44/image_19012025_00_44_02_737803_0000.jpg', '/home/pi/Desktop/images/19012025/00/44/image_19012025_00_44_02_737803_0001.jpg', '/home/pi/Desktop/images/19012025/00/44/image_19012025_00_44_02_737803_0002.jpg', '/home/pi/Desktop/images/19012025/00/44/image_19012025_00_44_02_737803_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/00/43/image_19012025_00_43_02_604541_0002.jpg
/home/pi/Desktop/images/19012025/00/43/image_19012025_00_43_02_604541_0003.jpg
/home/pi/Desktop/images/19012025/00/44/image_19012025_00_44_02_737803_0000.jpg
/home/pi/Desktop/images/19012025/00/44/image_19012025_00_44_02_737803_0001.jpg
/home/pi/Desktop/images/19012025/00/44/image_19012025_00_44_02_737803_0002.jpg
/home/pi/Desktop/images/19012025/00/44/image_19012025_00_44_02_737803_0003.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-19 00:59:02.785679
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/00/43/image_19012025_00_43_02_604541_0002.jpg', '/home/pi/Desktop/images/19012025/00/43/image_19012025_00_43_02_604541_0003.jpg', '/home/pi/Desktop/images/19012025/00/44/image_19012025_00_44_02_737803_0000.jpg', '/home/pi/Desktop/images/19012025/00/44/image_19012025_00_44_02_737803_0001.jpg', '/home/pi/Desktop/images/19012025/00/44/image_19012025_00_44_02_737803_0002.jpg', '/home/pi/Desktop/images/19012025/00/44/image_19012025_00_44_02_737803_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/00/43/image_19012025_00_43_02_604541_0002.jpg
/home/pi/Desktop/images/19012025/00/43/image_19012025_00_43_02_604541_0003.jpg
/home/pi/Desktop/images/19012025/00/44/image_19012025_00_44_02_737803_0000.jpg
/home/pi/Desktop/images/19012025/00/44/image_19012025_00_44_02_737803_0001.jpg
/home/pi/Desktop/images/19012025/00/44/image_19012025_00_44_02_737803_0002.jpg
/home/pi/Desktop/images/19012025/00/44/image_19012025_00_44_02_737803_0003.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329904946","1329904940","1329904943","1329904937","1329904931","1329905011"],"photo_ids_order":["1329904931","1329904937","1329904940","1329904943","1329904946","1329905011"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/491258be8c7ec6a0d4df43de5f1b98d3.jpg","text":"TemporaryFile(/tmp/multipartBody3045914205849320600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737244819156,"filename":"image_19012025_00_44_02_737803_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/71228584232bf48248489493fdf51b96.jpg","text":"TemporaryFile(/tmp/multipartBody2446803174180916824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737244819156,"filename":"image_19012025_00_44_02_737803_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/7e3b0a70f6f91c032c3f4676d534adf8.jpg","text":"TemporaryFile(/tmp/multipartBody1777893452040358655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737244819156,"filename":"image_19012025_00_44_02_737803_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/7d0ed87c567fa0366581fe68b3955c57.jpg","text":"TemporaryFile(/tmp/multipartBody4210005715232681124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737244819156,"filename":"image_19012025_00_43_02_604541_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/77a11d6f3eddada4669c919577ac9884.jpg","text":"TemporaryFile(/tmp/multipartBody9190856391541441935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737244819156,"filename":"image_19012025_00_43_02_604541_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/8039ba18fea65d03b6463f8157518685.jpg","text":"TemporaryFile(/tmp/multipartBody3559366787254896913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737244819156,"filename":"image_19012025_00_44_02_737803_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329904940","file1":"1329904937","file0":"1329904931","file4":"1329904946","file5":"1329905011","file3":"1329904943"},"map_files_photo_id_array":[{"photo_id":"1329905011","filename":"file5"},{"photo_id":"1329904940","filename":"file2"},{"photo_id":"1329904946","filename":"file4"},{"photo_id":"1329904937","filename":"file1"},{"photo_id":"1329904931","filename":"file0"},{"photo_id":"1329904943","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329904946":["hashtag1","hashtag2"]},{"1329904940":["hashtag1","hashtag2"]},{"1329904943":["hashtag1","hashtag2"]},{"1329904937":["hashtag1","hashtag2"]},{"1329904931":["hashtag1","hashtag2"]},{"1329905011":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329904946, 1329904940, 1329904943, 1329904937, 1329904931, 1329905011)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.026522159576416 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 01:00:02.443735
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/00/45/image_19012025_00_45_02_955215_0000.jpg', '/home/pi/Desktop/images/19012025/00/45/image_19012025_00_45_02_955215_0001.jpg', '/home/pi/Desktop/images/19012025/00/45/image_19012025_00_45_02_955215_0002.jpg', '/home/pi/Desktop/images/19012025/00/45/image_19012025_00_45_02_955215_0003.jpg', '/home/pi/Desktop/images/19012025/00/46/image_19012025_00_46_03_107619_0000.jpg', '/home/pi/Desktop/images/19012025/00/46/image_19012025_00_46_03_107619_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/00/45/image_19012025_00_45_02_955215_0000.jpg
/home/pi/Desktop/images/19012025/00/45/image_19012025_00_45_02_955215_0001.jpg
/home/pi/Desktop/images/19012025/00/45/image_19012025_00_45_02_955215_0002.jpg
/home/pi/Desktop/images/19012025/00/45/image_19012025_00_45_02_955215_0003.jpg
/home/pi/Desktop/images/19012025/00/46/image_19012025_00_46_03_107619_0000.jpg
/home/pi/Desktop/images/19012025/00/46/image_19012025_00_46_03_107619_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329905567","1329905576","1329905555","1329905558","1329905692","1329905778"],"photo_ids_order":["1329905555","1329905558","1329905567","1329905576","1329905692","1329905778"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/69864f270322a6489ffb990d0ec78f36.jpg","text":"TemporaryFile(/tmp/multipartBody5644875650489305096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737244879254,"filename":"image_19012025_00_45_02_955215_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/2bc05f2a827d0a12ea83f0f455ffc051.jpg","text":"TemporaryFile(/tmp/multipartBody6060414203935196278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737244879254,"filename":"image_19012025_00_45_02_955215_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/b42c6624746100ee2598c26ae552d495.jpg","text":"TemporaryFile(/tmp/multipartBody4050197391992100123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737244879254,"filename":"image_19012025_00_45_02_955215_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/74f34c1a571734153b140913d92a73af.jpg","text":"TemporaryFile(/tmp/multipartBody3256372493869187787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737244879254,"filename":"image_19012025_00_45_02_955215_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/e798d7de59b11f955ac07e629b25319c.jpg","text":"TemporaryFile(/tmp/multipartBody6357603105491502988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737244879254,"filename":"image_19012025_00_46_03_107619_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/fe022a4bca0c42e46769f44028a29715.jpg","text":"TemporaryFile(/tmp/multipartBody8157030218777965418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737244879254,"filename":"image_19012025_00_46_03_107619_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329905567","file1":"1329905558","file0":"1329905555","file4":"1329905692","file5":"1329905778","file3":"1329905576"},"map_files_photo_id_array":[{"photo_id":"1329905778","filename":"file5"},{"photo_id":"1329905567","filename":"file2"},{"photo_id":"1329905692","filename":"file4"},{"photo_id":"1329905558","filename":"file1"},{"photo_id":"1329905555","filename":"file0"},{"photo_id":"1329905576","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329905567":["hashtag1","hashtag2"]},{"1329905576":["hashtag1","hashtag2"]},{"1329905555":["hashtag1","hashtag2"]},{"1329905558":["hashtag1","hashtag2"]},{"1329905692":["hashtag1","hashtag2"]},{"1329905778":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329905567, 1329905576, 1329905555, 1329905558, 1329905692, 1329905778)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.40769338607788 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-19 01:01:22.442494
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/00/46/image_19012025_00_46_03_107619_0002.jpg', '/home/pi/Desktop/images/19012025/00/46/image_19012025_00_46_03_107619_0003.jpg', '/home/pi/Desktop/images/19012025/00/47/image_19012025_00_47_02_227435_0000.jpg', '/home/pi/Desktop/images/19012025/00/47/image_19012025_00_47_02_227435_0001.jpg', '/home/pi/Desktop/images/19012025/00/47/image_19012025_00_47_02_227435_0002.jpg', '/home/pi/Desktop/images/19012025/00/47/image_19012025_00_47_02_227435_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/00/46/image_19012025_00_46_03_107619_0002.jpg
/home/pi/Desktop/images/19012025/00/46/image_19012025_00_46_03_107619_0003.jpg
/home/pi/Desktop/images/19012025/00/47/image_19012025_00_47_02_227435_0000.jpg
/home/pi/Desktop/images/19012025/00/47/image_19012025_00_47_02_227435_0001.jpg
/home/pi/Desktop/images/19012025/00/47/image_19012025_00_47_02_227435_0002.jpg
/home/pi/Desktop/images/19012025/00/47/image_19012025_00_47_02_227435_0003.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329905861","1329905879","1329905858","1329905881","1329905842","1329905845"],"photo_ids_order":["1329905842","1329905845","1329905858","1329905861","1329905879","1329905881"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/111fcab37b63e4b2c00efc8073d730b1.jpg","text":"TemporaryFile(/tmp/multipartBody2069284851784813303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737244958921,"filename":"image_19012025_00_47_02_227435_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/6713ac0803bf38c4c4a036a8d886f3ec.jpg","text":"TemporaryFile(/tmp/multipartBody1973744919775870961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737244958921,"filename":"image_19012025_00_47_02_227435_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/ac43723239399b89579b97dd77a4a4a7.jpg","text":"TemporaryFile(/tmp/multipartBody2506921015915355837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737244958921,"filename":"image_19012025_00_47_02_227435_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/11bd707d08d15ee30eb983c2afce34e6.jpg","text":"TemporaryFile(/tmp/multipartBody8857156614931929451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737244958921,"filename":"image_19012025_00_47_02_227435_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/9ad74b1cc3b29eac239750e0633f80da.jpg","text":"TemporaryFile(/tmp/multipartBody2767541892413305902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737244958921,"filename":"image_19012025_00_46_03_107619_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/d62d7784234e9cd457e29e4bb6c8a0bb.jpg","text":"TemporaryFile(/tmp/multipartBody7980211823140199693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737244958921,"filename":"image_19012025_00_46_03_107619_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329905858","file1":"1329905845","file0":"1329905842","file4":"1329905879","file5":"1329905881","file3":"1329905861"},"map_files_photo_id_array":[{"photo_id":"1329905881","filename":"file5"},{"photo_id":"1329905858","filename":"file2"},{"photo_id":"1329905879","filename":"file4"},{"photo_id":"1329905845","filename":"file1"},{"photo_id":"1329905842","filename":"file0"},{"photo_id":"1329905861","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329905861":["hashtag1","hashtag2"]},{"1329905879":["hashtag1","hashtag2"]},{"1329905858":["hashtag1","hashtag2"]},{"1329905881":["hashtag1","hashtag2"]},{"1329905842":["hashtag1","hashtag2"]},{"1329905845":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329905861, 1329905879, 1329905858, 1329905881, 1329905842, 1329905845)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.48722743988037 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 01:02:22.041559
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/00/48/image_19012025_00_48_02_442968_0000.jpg', '/home/pi/Desktop/images/19012025/00/48/image_19012025_00_48_02_442968_0001.jpg', '/home/pi/Desktop/images/19012025/00/48/image_19012025_00_48_02_442968_0002.jpg', '/home/pi/Desktop/images/19012025/00/48/image_19012025_00_48_02_442968_0003.jpg', '/home/pi/Desktop/images/19012025/00/49/image_19012025_00_49_02_562567_0000.jpg', '/home/pi/Desktop/images/19012025/00/49/image_19012025_00_49_02_562567_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/00/48/image_19012025_00_48_02_442968_0000.jpg
/home/pi/Desktop/images/19012025/00/48/image_19012025_00_48_02_442968_0001.jpg
/home/pi/Desktop/images/19012025/00/48/image_19012025_00_48_02_442968_0002.jpg
/home/pi/Desktop/images/19012025/00/48/image_19012025_00_48_02_442968_0003.jpg
/home/pi/Desktop/images/19012025/00/49/image_19012025_00_49_02_562567_0000.jpg
/home/pi/Desktop/images/19012025/00/49/image_19012025_00_49_02_562567_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329906251","1329906196","1329906253","1329906220","1329906226","1329906186"],"photo_ids_order":["1329906186","1329906196","1329906220","1329906226","1329906251","1329906253"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/04713c30aad47a2ad98fdfd9f90a28d0.jpg","text":"TemporaryFile(/tmp/multipartBody1811291341595962135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737245018512,"filename":"image_19012025_00_49_02_562567_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/1141eacb1cf6adf419d3f3924195091b.jpg","text":"TemporaryFile(/tmp/multipartBody7454102744291610479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737245018512,"filename":"image_19012025_00_48_02_442968_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/1531a046bf0c6e1bf974a37fe5a259cb.jpg","text":"TemporaryFile(/tmp/multipartBody7695269300781125191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737245018512,"filename":"image_19012025_00_49_02_562567_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/81d6715dd4098c8e501ba087c446317e.jpg","text":"TemporaryFile(/tmp/multipartBody310941974213333374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737245018512,"filename":"image_19012025_00_48_02_442968_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/f838e8ece1451e61393552a9a7632b2f.jpg","text":"TemporaryFile(/tmp/multipartBody9093699954797692582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737245018512,"filename":"image_19012025_00_48_02_442968_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/f19a5abeb6abca4bd923a7da466907e1.jpg","text":"TemporaryFile(/tmp/multipartBody2807295976101826290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737245018512,"filename":"image_19012025_00_48_02_442968_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329906220","file1":"1329906196","file0":"1329906186","file4":"1329906251","file5":"1329906253","file3":"1329906226"},"map_files_photo_id_array":[{"photo_id":"1329906253","filename":"file5"},{"photo_id":"1329906220","filename":"file2"},{"photo_id":"1329906251","filename":"file4"},{"photo_id":"1329906196","filename":"file1"},{"photo_id":"1329906186","filename":"file0"},{"photo_id":"1329906226","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329906251":["hashtag1","hashtag2"]},{"1329906196":["hashtag1","hashtag2"]},{"1329906253":["hashtag1","hashtag2"]},{"1329906220":["hashtag1","hashtag2"]},{"1329906226":["hashtag1","hashtag2"]},{"1329906186":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329906251, 1329906196, 1329906253, 1329906220, 1329906226, 1329906186)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.21739363670349 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 01:03:22.535731
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/00/49/image_19012025_00_49_02_562567_0002.jpg', '/home/pi/Desktop/images/19012025/00/49/image_19012025_00_49_02_562567_0003.jpg', '/home/pi/Desktop/images/19012025/00/50/image_19012025_00_50_02_875844_0000.jpg', '/home/pi/Desktop/images/19012025/00/50/image_19012025_00_50_02_875844_0001.jpg', '/home/pi/Desktop/images/19012025/00/50/image_19012025_00_50_02_875844_0002.jpg', '/home/pi/Desktop/images/19012025/00/50/image_19012025_00_50_02_875844_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/00/49/image_19012025_00_49_02_562567_0002.jpg
/home/pi/Desktop/images/19012025/00/49/image_19012025_00_49_02_562567_0003.jpg
/home/pi/Desktop/images/19012025/00/50/image_19012025_00_50_02_875844_0000.jpg
/home/pi/Desktop/images/19012025/00/50/image_19012025_00_50_02_875844_0001.jpg
/home/pi/Desktop/images/19012025/00/50/image_19012025_00_50_02_875844_0002.jpg
/home/pi/Desktop/images/19012025/00/50/image_19012025_00_50_02_875844_0003.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329906784","1329907009","1329906808","1329906786","1329906953","1329906782"],"photo_ids_order":["1329906782","1329906784","1329906786","1329906808","1329906953","1329907009"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/45e9d0356d1668a8e3628359a279029c.jpg","text":"TemporaryFile(/tmp/multipartBody432646601736324860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737245079124,"filename":"image_19012025_00_49_02_562567_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/f98c04dffbe58fa4681b2f12205b0ee2.jpg","text":"TemporaryFile(/tmp/multipartBody1649590904488059009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737245079124,"filename":"image_19012025_00_50_02_875844_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/9bf85ebfea62e2d8e0afdd7745141f2f.jpg","text":"TemporaryFile(/tmp/multipartBody8001798272662238050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737245079124,"filename":"image_19012025_00_50_02_875844_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/cb80b567ce32c8d304ea0bd2eda98348.jpg","text":"TemporaryFile(/tmp/multipartBody3370351934654366747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737245079124,"filename":"image_19012025_00_50_02_875844_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/09a91a0819a7ed0b92adc97bcaaff9c4.jpg","text":"TemporaryFile(/tmp/multipartBody4764282077594453866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737245079124,"filename":"image_19012025_00_50_02_875844_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/785ce0e67f0658e6bf790e3ea292033a.jpg","text":"TemporaryFile(/tmp/multipartBody2322564649581772027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737245079124,"filename":"image_19012025_00_49_02_562567_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329906786","file1":"1329906784","file0":"1329906782","file4":"1329906953","file5":"1329907009","file3":"1329906808"},"map_files_photo_id_array":[{"photo_id":"1329907009","filename":"file5"},{"photo_id":"1329906786","filename":"file2"},{"photo_id":"1329906953","filename":"file4"},{"photo_id":"1329906784","filename":"file1"},{"photo_id":"1329906782","filename":"file0"},{"photo_id":"1329906808","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329906784":["hashtag1","hashtag2"]},{"1329907009":["hashtag1","hashtag2"]},{"1329906808":["hashtag1","hashtag2"]},{"1329906786":["hashtag1","hashtag2"]},{"1329906953":["hashtag1","hashtag2"]},{"1329906782":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329906784, 1329907009, 1329906808, 1329906786, 1329906953, 1329906782)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.319690227508545 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 01:04:22.053555
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/00/51/image_19012025_00_51_02_973437_0000.jpg', '/home/pi/Desktop/images/19012025/00/51/image_19012025_00_51_02_973437_0001.jpg', '/home/pi/Desktop/images/19012025/00/51/image_19012025_00_51_02_973437_0002.jpg', '/home/pi/Desktop/images/19012025/00/51/image_19012025_00_51_02_973437_0003.jpg', '/home/pi/Desktop/images/19012025/00/52/image_19012025_00_52_02_150740_0000.jpg', '/home/pi/Desktop/images/19012025/00/52/image_19012025_00_52_02_150740_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/00/51/image_19012025_00_51_02_973437_0000.jpg
/home/pi/Desktop/images/19012025/00/51/image_19012025_00_51_02_973437_0001.jpg
/home/pi/Desktop/images/19012025/00/51/image_19012025_00_51_02_973437_0002.jpg
/home/pi/Desktop/images/19012025/00/51/image_19012025_00_51_02_973437_0003.jpg
/home/pi/Desktop/images/19012025/00/52/image_19012025_00_52_02_150740_0000.jpg
/home/pi/Desktop/images/19012025/00/52/image_19012025_00_52_02_150740_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329907080","1329907071","1329907110","1329907113","1329907094","1329907076"],"photo_ids_order":["1329907071","1329907076","1329907080","1329907094","1329907110","1329907113"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/99ca4c64c7dbda262b99e4478d426cdc.jpg","text":"TemporaryFile(/tmp/multipartBody6821549697216085764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737245138995,"filename":"image_19012025_00_51_02_973437_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/d0e3e19f5413549fd79c04fb38703117.jpg","text":"TemporaryFile(/tmp/multipartBody3356342059648143054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737245138995,"filename":"image_19012025_00_51_02_973437_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/fcebc51967810dd6d986be139bbe4673.jpg","text":"TemporaryFile(/tmp/multipartBody2675825555970833889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737245138995,"filename":"image_19012025_00_52_02_150740_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/c8c265d942e47845a0535c41cbf0654b.jpg","text":"TemporaryFile(/tmp/multipartBody8561266598000284861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737245138995,"filename":"image_19012025_00_52_02_150740_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/5eb4fc1bc9a6198303d12df59983158c.jpg","text":"TemporaryFile(/tmp/multipartBody710694978936172271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737245138995,"filename":"image_19012025_00_51_02_973437_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/280b08c3c25dd1ef4cf79df9d69727d0.jpg","text":"TemporaryFile(/tmp/multipartBody6918925785768405265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737245138995,"filename":"image_19012025_00_51_02_973437_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329907080","file1":"1329907076","file0":"1329907071","file4":"1329907110","file5":"1329907113","file3":"1329907094"},"map_files_photo_id_array":[{"photo_id":"1329907113","filename":"file5"},{"photo_id":"1329907080","filename":"file2"},{"photo_id":"1329907110","filename":"file4"},{"photo_id":"1329907076","filename":"file1"},{"photo_id":"1329907071","filename":"file0"},{"photo_id":"1329907094","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329907080":["hashtag1","hashtag2"]},{"1329907071":["hashtag1","hashtag2"]},{"1329907110":["hashtag1","hashtag2"]},{"1329907113":["hashtag1","hashtag2"]},{"1329907094":["hashtag1","hashtag2"]},{"1329907076":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329907080, 1329907071, 1329907110, 1329907113, 1329907094, 1329907076)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.70781350135803 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 01:05:22.543299
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/00/52/image_19012025_00_52_02_150740_0002.jpg', '/home/pi/Desktop/images/19012025/00/52/image_19012025_00_52_02_150740_0003.jpg', '/home/pi/Desktop/images/19012025/00/53/image_19012025_00_53_02_314707_0000.jpg', '/home/pi/Desktop/images/19012025/00/53/image_19012025_00_53_02_314707_0001.jpg', '/home/pi/Desktop/images/19012025/00/53/image_19012025_00_53_02_314707_0002.jpg', '/home/pi/Desktop/images/19012025/00/53/image_19012025_00_53_02_314707_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/00/52/image_19012025_00_52_02_150740_0002.jpg
/home/pi/Desktop/images/19012025/00/52/image_19012025_00_52_02_150740_0003.jpg
/home/pi/Desktop/images/19012025/00/53/image_19012025_00_53_02_314707_0000.jpg
/home/pi/Desktop/images/19012025/00/53/image_19012025_00_53_02_314707_0001.jpg
/home/pi/Desktop/images/19012025/00/53/image_19012025_00_53_02_314707_0002.jpg
/home/pi/Desktop/images/19012025/00/53/image_19012025_00_53_02_314707_0003.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329907167","1329907161","1329907155","1329907158","1329907151","1329907169"],"photo_ids_order":["1329907151","1329907155","1329907158","1329907161","1329907167","1329907169"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/b74b003a8cf8a6eedc9930388e5e97c5.jpg","text":"TemporaryFile(/tmp/multipartBody9194893440369696157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737245199227,"filename":"image_19012025_00_53_02_314707_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/c2eeee4bdb24eabf709ec27b30715502.jpg","text":"TemporaryFile(/tmp/multipartBody6307245318396309420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737245199227,"filename":"image_19012025_00_53_02_314707_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/36c07e20c4e9a3988b87bdf86df6be9f.jpg","text":"TemporaryFile(/tmp/multipartBody3311837444926866625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737245199227,"filename":"image_19012025_00_52_02_150740_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/7b0f1bb00a3a0f8ba8d99730619aba1d.jpg","text":"TemporaryFile(/tmp/multipartBody1872836764628044994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737245199227,"filename":"image_19012025_00_53_02_314707_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/0c9b26aefb7cd532b08211469d53e29b.jpg","text":"TemporaryFile(/tmp/multipartBody8281758939172756120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737245199227,"filename":"image_19012025_00_52_02_150740_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/e855173867a5275bbd09254bfd91e20e.jpg","text":"TemporaryFile(/tmp/multipartBody8900435277038509214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737245199227,"filename":"image_19012025_00_53_02_314707_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329907158","file1":"1329907155","file0":"1329907151","file4":"1329907167","file5":"1329907169","file3":"1329907161"},"map_files_photo_id_array":[{"photo_id":"1329907169","filename":"file5"},{"photo_id":"1329907158","filename":"file2"},{"photo_id":"1329907167","filename":"file4"},{"photo_id":"1329907155","filename":"file1"},{"photo_id":"1329907151","filename":"file0"},{"photo_id":"1329907161","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329907167":["hashtag1","hashtag2"]},{"1329907161":["hashtag1","hashtag2"]},{"1329907155":["hashtag1","hashtag2"]},{"1329907158":["hashtag1","hashtag2"]},{"1329907151":["hashtag1","hashtag2"]},{"1329907169":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329907167, 1329907161, 1329907155, 1329907158, 1329907151, 1329907169)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.764078855514526 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 01:06:22.046161
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/00/54/image_19012025_00_54_02_463343_0000.jpg', '/home/pi/Desktop/images/19012025/00/54/image_19012025_00_54_02_463343_0001.jpg', '/home/pi/Desktop/images/19012025/00/54/image_19012025_00_54_02_463343_0002.jpg', '/home/pi/Desktop/images/19012025/00/54/image_19012025_00_54_02_463343_0003.jpg', '/home/pi/Desktop/images/19012025/00/55/image_19012025_00_55_02_642828_0000.jpg', '/home/pi/Desktop/images/19012025/00/55/image_19012025_00_55_02_642828_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/00/54/image_19012025_00_54_02_463343_0000.jpg
/home/pi/Desktop/images/19012025/00/54/image_19012025_00_54_02_463343_0001.jpg
/home/pi/Desktop/images/19012025/00/54/image_19012025_00_54_02_463343_0002.jpg
/home/pi/Desktop/images/19012025/00/54/image_19012025_00_54_02_463343_0003.jpg
/home/pi/Desktop/images/19012025/00/55/image_19012025_00_55_02_642828_0000.jpg
/home/pi/Desktop/images/19012025/00/55/image_19012025_00_55_02_642828_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: 16.19777822494507 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 01:07:03.045881
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/00/54/image_19012025_00_54_02_463343_0000.jpg', '/home/pi/Desktop/images/19012025/00/54/image_19012025_00_54_02_463343_0001.jpg', '/home/pi/Desktop/images/19012025/00/54/image_19012025_00_54_02_463343_0002.jpg', '/home/pi/Desktop/images/19012025/00/54/image_19012025_00_54_02_463343_0003.jpg', '/home/pi/Desktop/images/19012025/00/55/image_19012025_00_55_02_642828_0000.jpg', '/home/pi/Desktop/images/19012025/00/55/image_19012025_00_55_02_642828_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/00/54/image_19012025_00_54_02_463343_0000.jpg
/home/pi/Desktop/images/19012025/00/54/image_19012025_00_54_02_463343_0001.jpg
/home/pi/Desktop/images/19012025/00/54/image_19012025_00_54_02_463343_0002.jpg
/home/pi/Desktop/images/19012025/00/54/image_19012025_00_54_02_463343_0003.jpg
/home/pi/Desktop/images/19012025/00/55/image_19012025_00_55_02_642828_0000.jpg
/home/pi/Desktop/images/19012025/00/55/image_19012025_00_55_02_642828_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329907192","1329907201","1329907194","1329907197","1329907203","1329907190"],"photo_ids_order":["1329907190","1329907192","1329907194","1329907197","1329907201","1329907203"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/d17f1095d5fde06b36d89aa3d105c15d.jpg","text":"TemporaryFile(/tmp/multipartBody6490590221291500402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737245299637,"filename":"image_19012025_00_54_02_463343_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/a5b7c9fa135908743a4aa0cf28c0b684.jpg","text":"TemporaryFile(/tmp/multipartBody5799758579815639520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737245299637,"filename":"image_19012025_00_55_02_642828_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/5a3c899f75c5af8cf42f8459452aba44.jpg","text":"TemporaryFile(/tmp/multipartBody2420212054770327186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737245299637,"filename":"image_19012025_00_54_02_463343_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/db7e53290e87d0f346a1b437c7146902.jpg","text":"TemporaryFile(/tmp/multipartBody1881180180612949239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737245299637,"filename":"image_19012025_00_54_02_463343_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/932f4629985eb86d607436b1f9bff8c7.jpg","text":"TemporaryFile(/tmp/multipartBody9173216865878274532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737245299637,"filename":"image_19012025_00_55_02_642828_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/c7f0a379d1de35063e67d408ff76927b.jpg","text":"TemporaryFile(/tmp/multipartBody5230968819476906391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737245299637,"filename":"image_19012025_00_54_02_463343_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329907194","file1":"1329907192","file0":"1329907190","file4":"1329907201","file5":"1329907203","file3":"1329907197"},"map_files_photo_id_array":[{"photo_id":"1329907203","filename":"file5"},{"photo_id":"1329907194","filename":"file2"},{"photo_id":"1329907201","filename":"file4"},{"photo_id":"1329907192","filename":"file1"},{"photo_id":"1329907190","filename":"file0"},{"photo_id":"1329907197","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329907192":["hashtag1","hashtag2"]},{"1329907201":["hashtag1","hashtag2"]},{"1329907194":["hashtag1","hashtag2"]},{"1329907197":["hashtag1","hashtag2"]},{"1329907203":["hashtag1","hashtag2"]},{"1329907190":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329907192, 1329907201, 1329907194, 1329907197, 1329907203, 1329907190)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.9644513130188 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 01:08:02.617755
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/00/55/image_19012025_00_55_02_642828_0002.jpg', '/home/pi/Desktop/images/19012025/00/55/image_19012025_00_55_02_642828_0003.jpg', '/home/pi/Desktop/images/19012025/00/56/image_19012025_00_56_02_871948_0000.jpg', '/home/pi/Desktop/images/19012025/00/56/image_19012025_00_56_02_871948_0001.jpg', '/home/pi/Desktop/images/19012025/00/56/image_19012025_00_56_02_871948_0002.jpg', '/home/pi/Desktop/images/19012025/00/56/image_19012025_00_56_02_871948_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/00/55/image_19012025_00_55_02_642828_0002.jpg
/home/pi/Desktop/images/19012025/00/55/image_19012025_00_55_02_642828_0003.jpg
/home/pi/Desktop/images/19012025/00/56/image_19012025_00_56_02_871948_0000.jpg
/home/pi/Desktop/images/19012025/00/56/image_19012025_00_56_02_871948_0001.jpg
/home/pi/Desktop/images/19012025/00/56/image_19012025_00_56_02_871948_0002.jpg
/home/pi/Desktop/images/19012025/00/56/image_19012025_00_56_02_871948_0003.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 16.19633388519287 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 01:08:22.104744
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/00/55/image_19012025_00_55_02_642828_0002.jpg', '/home/pi/Desktop/images/19012025/00/55/image_19012025_00_55_02_642828_0003.jpg', '/home/pi/Desktop/images/19012025/00/56/image_19012025_00_56_02_871948_0000.jpg', '/home/pi/Desktop/images/19012025/00/56/image_19012025_00_56_02_871948_0001.jpg', '/home/pi/Desktop/images/19012025/00/56/image_19012025_00_56_02_871948_0002.jpg', '/home/pi/Desktop/images/19012025/00/56/image_19012025_00_56_02_871948_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/00/55/image_19012025_00_55_02_642828_0002.jpg
/home/pi/Desktop/images/19012025/00/55/image_19012025_00_55_02_642828_0003.jpg
/home/pi/Desktop/images/19012025/00/56/image_19012025_00_56_02_871948_0000.jpg
/home/pi/Desktop/images/19012025/00/56/image_19012025_00_56_02_871948_0001.jpg
/home/pi/Desktop/images/19012025/00/56/image_19012025_00_56_02_871948_0002.jpg
/home/pi/Desktop/images/19012025/00/56/image_19012025_00_56_02_871948_0003.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329907267","1329907234","1329907236","1329907230","1329907218","1329907232"],"photo_ids_order":["1329907218","1329907230","1329907232","1329907234","1329907236","1329907267"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/0cc5d9401e1904df34bc0fc6de4f3f90.jpg","text":"TemporaryFile(/tmp/multipartBody8537498112287169641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737245378692,"filename":"image_19012025_00_56_02_871948_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/f83dff0894aa381add9b289850b72208.jpg","text":"TemporaryFile(/tmp/multipartBody2305330975193768094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737245378692,"filename":"image_19012025_00_56_02_871948_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/6638347dea9a67cb9e8f5f08400b238f.jpg","text":"TemporaryFile(/tmp/multipartBody1376856982266380947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737245378692,"filename":"image_19012025_00_56_02_871948_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/cf5940e4416f6e91fb74f0d4ba82085f.jpg","text":"TemporaryFile(/tmp/multipartBody2762440071094206590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737245378692,"filename":"image_19012025_00_55_02_642828_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/138635345cc28392baafbafd6fc2b2eb.jpg","text":"TemporaryFile(/tmp/multipartBody4045162728437939200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737245378692,"filename":"image_19012025_00_55_02_642828_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/581c9f1c2405ae2ea8176577da51b64c.jpg","text":"TemporaryFile(/tmp/multipartBody1991684957149276909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737245378692,"filename":"image_19012025_00_56_02_871948_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329907232","file1":"1329907230","file0":"1329907218","file4":"1329907236","file5":"1329907267","file3":"1329907234"},"map_files_photo_id_array":[{"photo_id":"1329907267","filename":"file5"},{"photo_id":"1329907232","filename":"file2"},{"photo_id":"1329907236","filename":"file4"},{"photo_id":"1329907230","filename":"file1"},{"photo_id":"1329907218","filename":"file0"},{"photo_id":"1329907234","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329907267":["hashtag1","hashtag2"]},{"1329907234":["hashtag1","hashtag2"]},{"1329907236":["hashtag1","hashtag2"]},{"1329907230":["hashtag1","hashtag2"]},{"1329907218":["hashtag1","hashtag2"]},{"1329907232":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329907267, 1329907234, 1329907236, 1329907230, 1329907218, 1329907232)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.80519700050354 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 01:09:22.673312
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/00/57/image_19012025_00_57_03_013715_0000.jpg', '/home/pi/Desktop/images/19012025/00/57/image_19012025_00_57_03_013715_0001.jpg', '/home/pi/Desktop/images/19012025/00/57/image_19012025_00_57_03_013715_0002.jpg', '/home/pi/Desktop/images/19012025/00/57/image_19012025_00_57_03_013715_0003.jpg', '/home/pi/Desktop/images/19012025/00/58/image_19012025_00_58_02_181599_0000.jpg', '/home/pi/Desktop/images/19012025/00/58/image_19012025_00_58_02_181599_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/00/57/image_19012025_00_57_03_013715_0000.jpg
/home/pi/Desktop/images/19012025/00/57/image_19012025_00_57_03_013715_0001.jpg
/home/pi/Desktop/images/19012025/00/57/image_19012025_00_57_03_013715_0002.jpg
/home/pi/Desktop/images/19012025/00/57/image_19012025_00_57_03_013715_0003.jpg
/home/pi/Desktop/images/19012025/00/58/image_19012025_00_58_02_181599_0000.jpg
/home/pi/Desktop/images/19012025/00/58/image_19012025_00_58_02_181599_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329907273","1329907276","1329907285","1329907279","1329907281","1329907283"],"photo_ids_order":["1329907273","1329907276","1329907279","1329907281","1329907283","1329907285"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/50fb2159cf12849c442fdf45c4cf3f1e.jpg","text":"TemporaryFile(/tmp/multipartBody6698749899578602864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737245439572,"filename":"image_19012025_00_57_03_013715_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/c06870fe2778cea3ff355ca04d17ed06.jpg","text":"TemporaryFile(/tmp/multipartBody4033186810402588411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737245439572,"filename":"image_19012025_00_57_03_013715_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/f08cdd67d45c2f86e5f33309ceaa4e1e.jpg","text":"TemporaryFile(/tmp/multipartBody4606017848498080305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737245439572,"filename":"image_19012025_00_58_02_181599_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/28885ba16051ef0a23bb3d332af40312.jpg","text":"TemporaryFile(/tmp/multipartBody7581463327881425502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737245439572,"filename":"image_19012025_00_57_03_013715_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/93c2a467ea12cd0199bb85763e48a2bd.jpg","text":"TemporaryFile(/tmp/multipartBody2787720439261619956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737245439572,"filename":"image_19012025_00_57_03_013715_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/c392ea10106f7cbfa30411b40b1c252c.jpg","text":"TemporaryFile(/tmp/multipartBody8860508891559752968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737245439572,"filename":"image_19012025_00_58_02_181599_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329907279","file1":"1329907276","file0":"1329907273","file4":"1329907283","file5":"1329907285","file3":"1329907281"},"map_files_photo_id_array":[{"photo_id":"1329907285","filename":"file5"},{"photo_id":"1329907279","filename":"file2"},{"photo_id":"1329907283","filename":"file4"},{"photo_id":"1329907276","filename":"file1"},{"photo_id":"1329907273","filename":"file0"},{"photo_id":"1329907281","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329907273":["hashtag1","hashtag2"]},{"1329907276":["hashtag1","hashtag2"]},{"1329907285":["hashtag1","hashtag2"]},{"1329907279":["hashtag1","hashtag2"]},{"1329907281":["hashtag1","hashtag2"]},{"1329907283":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329907273, 1329907276, 1329907285, 1329907279, 1329907281, 1329907283)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.17559576034546 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 01:10:22.234560
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/00/58/image_19012025_00_58_02_181599_0002.jpg', '/home/pi/Desktop/images/19012025/00/58/image_19012025_00_58_02_181599_0003.jpg', '/home/pi/Desktop/images/19012025/00/59/image_19012025_00_59_02_388053_0000.jpg', '/home/pi/Desktop/images/19012025/00/59/image_19012025_00_59_02_388053_0001.jpg', '/home/pi/Desktop/images/19012025/00/59/image_19012025_00_59_02_388053_0003.jpg', '/home/pi/Desktop/images/19012025/01/00/image_19012025_01_00_02_603791_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/00/58/image_19012025_00_58_02_181599_0002.jpg
/home/pi/Desktop/images/19012025/00/58/image_19012025_00_58_02_181599_0003.jpg
/home/pi/Desktop/images/19012025/00/59/image_19012025_00_59_02_388053_0000.jpg
/home/pi/Desktop/images/19012025/00/59/image_19012025_00_59_02_388053_0001.jpg
/home/pi/Desktop/images/19012025/00/59/image_19012025_00_59_02_388053_0003.jpg
/home/pi/Desktop/images/19012025/01/00/image_19012025_01_00_02_603791_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: 16.82454800605774 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 01:11:03.313260
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/00/58/image_19012025_00_58_02_181599_0002.jpg', '/home/pi/Desktop/images/19012025/00/58/image_19012025_00_58_02_181599_0003.jpg', '/home/pi/Desktop/images/19012025/00/59/image_19012025_00_59_02_388053_0000.jpg', '/home/pi/Desktop/images/19012025/00/59/image_19012025_00_59_02_388053_0001.jpg', '/home/pi/Desktop/images/19012025/00/59/image_19012025_00_59_02_388053_0003.jpg', '/home/pi/Desktop/images/19012025/01/00/image_19012025_01_00_02_603791_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/00/58/image_19012025_00_58_02_181599_0002.jpg
/home/pi/Desktop/images/19012025/00/58/image_19012025_00_58_02_181599_0003.jpg
/home/pi/Desktop/images/19012025/00/59/image_19012025_00_59_02_388053_0000.jpg
/home/pi/Desktop/images/19012025/00/59/image_19012025_00_59_02_388053_0001.jpg
/home/pi/Desktop/images/19012025/00/59/image_19012025_00_59_02_388053_0003.jpg
/home/pi/Desktop/images/19012025/01/00/image_19012025_01_00_02_603791_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329907384","1329907434","1329907401","1329907404","1329907407","1329907472"],"photo_ids_order":["1329907384","1329907401","1329907404","1329907407","1329907434","1329907472"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/3680c00668405a4513284dd7cdd54214.jpg","text":"TemporaryFile(/tmp/multipartBody2840551443542131767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737245540623,"filename":"image_19012025_00_58_02_181599_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/15b9cc8bf6d95d3dc586dac74336cbb7.jpg","text":"TemporaryFile(/tmp/multipartBody4070635058506069052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737245540623,"filename":"image_19012025_00_59_02_388053_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/7ddb0d8a132611ca4e4ed9eca996b3ac.jpg","text":"TemporaryFile(/tmp/multipartBody4785591510240565896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737245540623,"filename":"image_19012025_00_58_02_181599_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/e9a6266cd09d4140b093c3a0955ff4b0.jpg","text":"TemporaryFile(/tmp/multipartBody7673727416134317799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737245540623,"filename":"image_19012025_00_59_02_388053_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/1c4e3f6da3312fdb142899b3eed299f1.jpg","text":"TemporaryFile(/tmp/multipartBody4909613255148928650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737245540623,"filename":"image_19012025_00_59_02_388053_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/84f1a28ffc2bf7cf637d73d0f4468cbf.jpg","text":"TemporaryFile(/tmp/multipartBody6939476611712686778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737245540623,"filename":"image_19012025_01_00_02_603791_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329907404","file1":"1329907401","file0":"1329907384","file4":"1329907434","file5":"1329907472","file3":"1329907407"},"map_files_photo_id_array":[{"photo_id":"1329907472","filename":"file5"},{"photo_id":"1329907404","filename":"file2"},{"photo_id":"1329907434","filename":"file4"},{"photo_id":"1329907401","filename":"file1"},{"photo_id":"1329907384","filename":"file0"},{"photo_id":"1329907407","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329907384":["hashtag1","hashtag2"]},{"1329907434":["hashtag1","hashtag2"]},{"1329907401":["hashtag1","hashtag2"]},{"1329907404":["hashtag1","hashtag2"]},{"1329907407":["hashtag1","hashtag2"]},{"1329907472":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329907384, 1329907434, 1329907401, 1329907404, 1329907407, 1329907472)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.18618392944336 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 01:12:02.863913
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/01/00/image_19012025_01_00_02_603791_0001.jpg', '/home/pi/Desktop/images/19012025/01/00/image_19012025_01_00_02_603791_0002.jpg', '/home/pi/Desktop/images/19012025/01/00/image_19012025_01_00_02_603791_0003.jpg', '/home/pi/Desktop/images/19012025/01/01/image_19012025_01_01_02_368674_0000.jpg', '/home/pi/Desktop/images/19012025/01/01/image_19012025_01_01_02_368674_0001.jpg', '/home/pi/Desktop/images/19012025/01/02/image_19012025_01_02_02_890864_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/01/00/image_19012025_01_00_02_603791_0001.jpg
/home/pi/Desktop/images/19012025/01/00/image_19012025_01_00_02_603791_0002.jpg
/home/pi/Desktop/images/19012025/01/00/image_19012025_01_00_02_603791_0003.jpg
/home/pi/Desktop/images/19012025/01/01/image_19012025_01_01_02_368674_0000.jpg
/home/pi/Desktop/images/19012025/01/01/image_19012025_01_01_02_368674_0001.jpg
/home/pi/Desktop/images/19012025/01/02/image_19012025_01_02_02_890864_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: 17.470523595809937 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 01:12:22.439491
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/01/00/image_19012025_01_00_02_603791_0001.jpg', '/home/pi/Desktop/images/19012025/01/00/image_19012025_01_00_02_603791_0002.jpg', '/home/pi/Desktop/images/19012025/01/00/image_19012025_01_00_02_603791_0003.jpg', '/home/pi/Desktop/images/19012025/01/01/image_19012025_01_01_02_368674_0000.jpg', '/home/pi/Desktop/images/19012025/01/01/image_19012025_01_01_02_368674_0001.jpg', '/home/pi/Desktop/images/19012025/01/02/image_19012025_01_02_02_890864_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/01/00/image_19012025_01_00_02_603791_0001.jpg
/home/pi/Desktop/images/19012025/01/00/image_19012025_01_00_02_603791_0002.jpg
/home/pi/Desktop/images/19012025/01/00/image_19012025_01_00_02_603791_0003.jpg
/home/pi/Desktop/images/19012025/01/01/image_19012025_01_01_02_368674_0000.jpg
/home/pi/Desktop/images/19012025/01/01/image_19012025_01_01_02_368674_0001.jpg
/home/pi/Desktop/images/19012025/01/02/image_19012025_01_02_02_890864_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329907483","1329907486","1329907488","1329907512","1329907509","1329907541"],"photo_ids_order":["1329907483","1329907486","1329907488","1329907509","1329907512","1329907541"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/a932dfd831e515fb00a1b1f93d1be11c.jpg","text":"TemporaryFile(/tmp/multipartBody36842530378622243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737245620274,"filename":"image_19012025_01_00_02_603791_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/7b75ee7183a88bc5eede593b90deb41c.jpg","text":"TemporaryFile(/tmp/multipartBody1595921168813412944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737245620274,"filename":"image_19012025_01_00_02_603791_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/52ee7370e636d5197fe436ebc899079e.jpg","text":"TemporaryFile(/tmp/multipartBody5044378528219479938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737245620274,"filename":"image_19012025_01_00_02_603791_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/f5bb1cc5edfa5579e12e9281b99864ed.jpg","text":"TemporaryFile(/tmp/multipartBody1800541293468191128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737245620274,"filename":"image_19012025_01_01_02_368674_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/56d41a657007a0f93ef5ae8bdfca06bd.jpg","text":"TemporaryFile(/tmp/multipartBody8197128268979426784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737245620274,"filename":"image_19012025_01_01_02_368674_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/9de5fe5060bc0d976100bfe93f57eb44.jpg","text":"TemporaryFile(/tmp/multipartBody7697040802908107201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737245620274,"filename":"image_19012025_01_02_02_890864_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329907488","file1":"1329907486","file0":"1329907483","file4":"1329907512","file5":"1329907541","file3":"1329907509"},"map_files_photo_id_array":[{"photo_id":"1329907541","filename":"file5"},{"photo_id":"1329907488","filename":"file2"},{"photo_id":"1329907512","filename":"file4"},{"photo_id":"1329907486","filename":"file1"},{"photo_id":"1329907483","filename":"file0"},{"photo_id":"1329907509","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329907483":["hashtag1","hashtag2"]},{"1329907486":["hashtag1","hashtag2"]},{"1329907488":["hashtag1","hashtag2"]},{"1329907512":["hashtag1","hashtag2"]},{"1329907509":["hashtag1","hashtag2"]},{"1329907541":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329907483, 1329907486, 1329907488, 1329907512, 1329907509, 1329907541)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.84850192070007 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 01:13:21.913902
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/01/02/image_19012025_01_02_02_890864_0001.jpg', '/home/pi/Desktop/images/19012025/01/02/image_19012025_01_02_02_890864_0002.jpg', '/home/pi/Desktop/images/19012025/01/03/image_19012025_01_03_02_402972_0000.jpg', '/home/pi/Desktop/images/19012025/01/03/image_19012025_01_03_02_402972_0001.jpg', '/home/pi/Desktop/images/19012025/01/03/image_19012025_01_03_02_402972_0002.jpg', '/home/pi/Desktop/images/19012025/01/04/image_19012025_01_04_02_958730_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/01/02/image_19012025_01_02_02_890864_0001.jpg
/home/pi/Desktop/images/19012025/01/02/image_19012025_01_02_02_890864_0002.jpg
/home/pi/Desktop/images/19012025/01/03/image_19012025_01_03_02_402972_0000.jpg
/home/pi/Desktop/images/19012025/01/03/image_19012025_01_03_02_402972_0001.jpg
/home/pi/Desktop/images/19012025/01/03/image_19012025_01_03_02_402972_0002.jpg
/home/pi/Desktop/images/19012025/01/04/image_19012025_01_04_02_958730_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329907681","1329907684","1329907581","1329907578","1329907583","1329907658"],"photo_ids_order":["1329907578","1329907581","1329907583","1329907658","1329907681","1329907684"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/5987c1ec0138998fbb594dbbc01a8829.jpg","text":"TemporaryFile(/tmp/multipartBody5357846109394640591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737245679790,"filename":"image_19012025_01_03_02_402972_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/9af5bead775d0733093fe1dd1a80c627.jpg","text":"TemporaryFile(/tmp/multipartBody1216869694495093309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737245679790,"filename":"image_19012025_01_04_02_958730_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/d186eb9e9f80ea14d01647fa66eaaeb8.jpg","text":"TemporaryFile(/tmp/multipartBody5879910792938407462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737245679790,"filename":"image_19012025_01_02_02_890864_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/30173282491910976b495f94d4d7a437.jpg","text":"TemporaryFile(/tmp/multipartBody3558219766356230637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737245679790,"filename":"image_19012025_01_02_02_890864_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/d9d7c496bd26e67f344a2722f9146723.jpg","text":"TemporaryFile(/tmp/multipartBody8916446576670078620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737245679790,"filename":"image_19012025_01_03_02_402972_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/14204761c0c36f0cfa39cbf85204ab4f.jpg","text":"TemporaryFile(/tmp/multipartBody889977177875427902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737245679790,"filename":"image_19012025_01_03_02_402972_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329907583","file1":"1329907581","file0":"1329907578","file4":"1329907681","file5":"1329907684","file3":"1329907658"},"map_files_photo_id_array":[{"photo_id":"1329907684","filename":"file5"},{"photo_id":"1329907583","filename":"file2"},{"photo_id":"1329907681","filename":"file4"},{"photo_id":"1329907581","filename":"file1"},{"photo_id":"1329907578","filename":"file0"},{"photo_id":"1329907658","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329907681":["hashtag1","hashtag2"]},{"1329907684":["hashtag1","hashtag2"]},{"1329907581":["hashtag1","hashtag2"]},{"1329907578":["hashtag1","hashtag2"]},{"1329907583":["hashtag1","hashtag2"]},{"1329907658":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329907681, 1329907684, 1329907581, 1329907578, 1329907583, 1329907658)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.28695058822632 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 01:14:22.461967
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/01/04/image_19012025_01_04_02_958730_0001.jpg', '/home/pi/Desktop/images/19012025/01/04/image_19012025_01_04_02_958730_0002.jpg', '/home/pi/Desktop/images/19012025/01/04/image_19012025_01_04_02_958730_0003.jpg', '/home/pi/Desktop/images/19012025/01/05/image_19012025_01_05_02_411614_0000.jpg', '/home/pi/Desktop/images/19012025/01/05/image_19012025_01_05_02_411614_0001.jpg', '/home/pi/Desktop/images/19012025/01/05/image_19012025_01_05_02_411614_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/01/04/image_19012025_01_04_02_958730_0001.jpg
/home/pi/Desktop/images/19012025/01/04/image_19012025_01_04_02_958730_0002.jpg
/home/pi/Desktop/images/19012025/01/04/image_19012025_01_04_02_958730_0003.jpg
/home/pi/Desktop/images/19012025/01/05/image_19012025_01_05_02_411614_0000.jpg
/home/pi/Desktop/images/19012025/01/05/image_19012025_01_05_02_411614_0001.jpg
/home/pi/Desktop/images/19012025/01/05/image_19012025_01_05_02_411614_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 17.476943254470825 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 01:15:02.587921
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/01/04/image_19012025_01_04_02_958730_0001.jpg', '/home/pi/Desktop/images/19012025/01/04/image_19012025_01_04_02_958730_0002.jpg', '/home/pi/Desktop/images/19012025/01/04/image_19012025_01_04_02_958730_0003.jpg', '/home/pi/Desktop/images/19012025/01/05/image_19012025_01_05_02_411614_0000.jpg', '/home/pi/Desktop/images/19012025/01/05/image_19012025_01_05_02_411614_0001.jpg', '/home/pi/Desktop/images/19012025/01/05/image_19012025_01_05_02_411614_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/01/04/image_19012025_01_04_02_958730_0001.jpg
/home/pi/Desktop/images/19012025/01/04/image_19012025_01_04_02_958730_0002.jpg
/home/pi/Desktop/images/19012025/01/04/image_19012025_01_04_02_958730_0003.jpg
/home/pi/Desktop/images/19012025/01/05/image_19012025_01_05_02_411614_0000.jpg
/home/pi/Desktop/images/19012025/01/05/image_19012025_01_05_02_411614_0001.jpg
/home/pi/Desktop/images/19012025/01/05/image_19012025_01_05_02_411614_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":["1329907894","1329907758","1329907944","1329907958","1329907946","1329907940"],"photo_ids_order":["1329907758","1329907894","1329907940","1329907944","1329907946","1329907958"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/441d0d5faa711c5f3f48767a45a4a9cc.jpg","text":"TemporaryFile(/tmp/multipartBody37987599813110434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737245780525,"filename":"image_19012025_01_04_02_958730_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/58de48135e0005fecadc0cb27e6d0465.jpg","text":"TemporaryFile(/tmp/multipartBody3804113711120762931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737245780525,"filename":"image_19012025_01_04_02_958730_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/c9883b58fcb82229172a8562cc368a90.jpg","text":"TemporaryFile(/tmp/multipartBody8620855859161110141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737245780525,"filename":"image_19012025_01_05_02_411614_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/d2fbc90f0345339a8284834ce512818d.jpg","text":"TemporaryFile(/tmp/multipartBody4171488154100315518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737245780525,"filename":"image_19012025_01_05_02_411614_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/73865f91022466696a595275879bb1e5.jpg","text":"TemporaryFile(/tmp/multipartBody3398945024818003169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737245780525,"filename":"image_19012025_01_05_02_411614_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/68742e9a724c482e5b7b3896986e4705.jpg","text":"TemporaryFile(/tmp/multipartBody1642736695410178839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737245780525,"filename":"image_19012025_01_04_02_958730_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329907940","file1":"1329907894","file0":"1329907758","file4":"1329907946","file5":"1329907958","file3":"1329907944"},"map_files_photo_id_array":[{"photo_id":"1329907958","filename":"file5"},{"photo_id":"1329907940","filename":"file2"},{"photo_id":"1329907946","filename":"file4"},{"photo_id":"1329907894","filename":"file1"},{"photo_id":"1329907758","filename":"file0"},{"photo_id":"1329907944","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329907894":["hashtag1","hashtag2"]},{"1329907758":["hashtag1","hashtag2"]},{"1329907944":["hashtag1","hashtag2"]},{"1329907958":["hashtag1","hashtag2"]},{"1329907946":["hashtag1","hashtag2"]},{"1329907940":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329907894, 1329907758, 1329907944, 1329907958, 1329907946, 1329907940)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.03159809112549 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 01:16:22.622810
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/01/05/image_19012025_01_05_02_411614_0003.jpg', '/home/pi/Desktop/images/19012025/01/06/image_19012025_01_06_02_882106_0001.jpg', '/home/pi/Desktop/images/19012025/01/06/image_19012025_01_06_02_882106_0002.jpg', '/home/pi/Desktop/images/19012025/01/06/image_19012025_01_06_02_882106_0003.jpg', '/home/pi/Desktop/images/19012025/01/07/image_19012025_01_07_02_385707_0000.jpg', '/home/pi/Desktop/images/19012025/01/07/image_19012025_01_07_02_385707_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/01/05/image_19012025_01_05_02_411614_0003.jpg
/home/pi/Desktop/images/19012025/01/06/image_19012025_01_06_02_882106_0001.jpg
/home/pi/Desktop/images/19012025/01/06/image_19012025_01_06_02_882106_0002.jpg
/home/pi/Desktop/images/19012025/01/06/image_19012025_01_06_02_882106_0003.jpg
/home/pi/Desktop/images/19012025/01/07/image_19012025_01_07_02_385707_0000.jpg
/home/pi/Desktop/images/19012025/01/07/image_19012025_01_07_02_385707_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: 17.475122213363647 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 01:17:02.881509
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/01/05/image_19012025_01_05_02_411614_0003.jpg', '/home/pi/Desktop/images/19012025/01/06/image_19012025_01_06_02_882106_0001.jpg', '/home/pi/Desktop/images/19012025/01/06/image_19012025_01_06_02_882106_0002.jpg', '/home/pi/Desktop/images/19012025/01/06/image_19012025_01_06_02_882106_0003.jpg', '/home/pi/Desktop/images/19012025/01/07/image_19012025_01_07_02_385707_0000.jpg', '/home/pi/Desktop/images/19012025/01/07/image_19012025_01_07_02_385707_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/01/05/image_19012025_01_05_02_411614_0003.jpg
/home/pi/Desktop/images/19012025/01/06/image_19012025_01_06_02_882106_0001.jpg
/home/pi/Desktop/images/19012025/01/06/image_19012025_01_06_02_882106_0002.jpg
/home/pi/Desktop/images/19012025/01/06/image_19012025_01_06_02_882106_0003.jpg
/home/pi/Desktop/images/19012025/01/07/image_19012025_01_07_02_385707_0000.jpg
/home/pi/Desktop/images/19012025/01/07/image_19012025_01_07_02_385707_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329908077","1329908079","1329908073","1329908081","1329908060","1329908054"],"photo_ids_order":["1329908054","1329908060","1329908073","1329908077","1329908079","1329908081"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/262ecd50a5a97f41c378a605434e63b9.jpg","text":"TemporaryFile(/tmp/multipartBody1682480494932245173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737245900779,"filename":"image_19012025_01_06_02_882106_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/4dfd682a6942fabe5a9bbf7a1bd0ceb2.jpg","text":"TemporaryFile(/tmp/multipartBody8646937027103645467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737245900779,"filename":"image_19012025_01_07_02_385707_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/bafdfea058089077c07e57ebd8e07f88.jpg","text":"TemporaryFile(/tmp/multipartBody7759327209419080234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737245900779,"filename":"image_19012025_01_06_02_882106_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/9eb0a2191e9b4893941cfeecc9be4486.jpg","text":"TemporaryFile(/tmp/multipartBody299183606401180637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737245900779,"filename":"image_19012025_01_07_02_385707_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/b3d34174a544f0d309d414c322e6f12c.jpg","text":"TemporaryFile(/tmp/multipartBody5087312580969882750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737245900779,"filename":"image_19012025_01_06_02_882106_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/6a92599ef41dc752a8b73d04a89ea336.jpg","text":"TemporaryFile(/tmp/multipartBody7766062521885860004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737245900779,"filename":"image_19012025_01_05_02_411614_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329908073","file1":"1329908060","file0":"1329908054","file4":"1329908079","file5":"1329908081","file3":"1329908077"},"map_files_photo_id_array":[{"photo_id":"1329908081","filename":"file5"},{"photo_id":"1329908073","filename":"file2"},{"photo_id":"1329908079","filename":"file4"},{"photo_id":"1329908060","filename":"file1"},{"photo_id":"1329908054","filename":"file0"},{"photo_id":"1329908077","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329908077":["hashtag1","hashtag2"]},{"1329908079":["hashtag1","hashtag2"]},{"1329908073":["hashtag1","hashtag2"]},{"1329908081":["hashtag1","hashtag2"]},{"1329908060":["hashtag1","hashtag2"]},{"1329908054":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329908077, 1329908079, 1329908073, 1329908081, 1329908060, 1329908054)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.79665517807007 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 01:18:03.104953
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/01/07/image_19012025_01_07_02_385707_0002.jpg', '/home/pi/Desktop/images/19012025/01/07/image_19012025_01_07_02_385707_0003.jpg', '/home/pi/Desktop/images/19012025/01/08/image_19012025_01_08_02_841309_0000.jpg', '/home/pi/Desktop/images/19012025/01/08/image_19012025_01_08_02_841309_0001.jpg', '/home/pi/Desktop/images/19012025/01/08/image_19012025_01_08_02_841309_0003.jpg', '/home/pi/Desktop/images/19012025/01/09/image_19012025_01_09_02_530355_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/01/07/image_19012025_01_07_02_385707_0002.jpg
/home/pi/Desktop/images/19012025/01/07/image_19012025_01_07_02_385707_0003.jpg
/home/pi/Desktop/images/19012025/01/08/image_19012025_01_08_02_841309_0000.jpg
/home/pi/Desktop/images/19012025/01/08/image_19012025_01_08_02_841309_0001.jpg
/home/pi/Desktop/images/19012025/01/08/image_19012025_01_08_02_841309_0003.jpg
/home/pi/Desktop/images/19012025/01/09/image_19012025_01_09_02_530355_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: 17.505544185638428 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 01:18:22.728154
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/01/07/image_19012025_01_07_02_385707_0002.jpg', '/home/pi/Desktop/images/19012025/01/07/image_19012025_01_07_02_385707_0003.jpg', '/home/pi/Desktop/images/19012025/01/08/image_19012025_01_08_02_841309_0000.jpg', '/home/pi/Desktop/images/19012025/01/08/image_19012025_01_08_02_841309_0001.jpg', '/home/pi/Desktop/images/19012025/01/08/image_19012025_01_08_02_841309_0003.jpg', '/home/pi/Desktop/images/19012025/01/09/image_19012025_01_09_02_530355_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/01/07/image_19012025_01_07_02_385707_0002.jpg
/home/pi/Desktop/images/19012025/01/07/image_19012025_01_07_02_385707_0003.jpg
/home/pi/Desktop/images/19012025/01/08/image_19012025_01_08_02_841309_0000.jpg
/home/pi/Desktop/images/19012025/01/08/image_19012025_01_08_02_841309_0001.jpg
/home/pi/Desktop/images/19012025/01/08/image_19012025_01_08_02_841309_0003.jpg
/home/pi/Desktop/images/19012025/01/09/image_19012025_01_09_02_530355_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":["1329908196","1329908200","1329908198","1329908201","1329908191","1329908179"],"photo_ids_order":["1329908179","1329908191","1329908196","1329908198","1329908200","1329908201"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/57860fa591011c4154a12728fa12f390.jpg","text":"TemporaryFile(/tmp/multipartBody5787112431550196449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737245980571,"filename":"image_19012025_01_08_02_841309_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/221105ecf7ec8cc61282d495779a6d0f.jpg","text":"TemporaryFile(/tmp/multipartBody2640617793074353333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737245980571,"filename":"image_19012025_01_08_02_841309_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/34103cc7d597c7f21d3871cf241d6192.jpg","text":"TemporaryFile(/tmp/multipartBody1191342856743450203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737245980571,"filename":"image_19012025_01_08_02_841309_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/0410adfa9520d5a1f403cd8f148ac154.jpg","text":"TemporaryFile(/tmp/multipartBody4083410289442152312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737245980571,"filename":"image_19012025_01_09_02_530355_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/6a75afcfad1e5aed27eca364408b4e1d.jpg","text":"TemporaryFile(/tmp/multipartBody215234055749616013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737245980571,"filename":"image_19012025_01_07_02_385707_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/334d6d8f9e7dbf67e65311c3838cfbad.jpg","text":"TemporaryFile(/tmp/multipartBody5570646889375083302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737245980571,"filename":"image_19012025_01_07_02_385707_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329908196","file1":"1329908191","file0":"1329908179","file4":"1329908200","file5":"1329908201","file3":"1329908198"},"map_files_photo_id_array":[{"photo_id":"1329908201","filename":"file5"},{"photo_id":"1329908196","filename":"file2"},{"photo_id":"1329908200","filename":"file4"},{"photo_id":"1329908191","filename":"file1"},{"photo_id":"1329908179","filename":"file0"},{"photo_id":"1329908198","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329908196":["hashtag1","hashtag2"]},{"1329908200":["hashtag1","hashtag2"]},{"1329908198":["hashtag1","hashtag2"]},{"1329908201":["hashtag1","hashtag2"]},{"1329908191":["hashtag1","hashtag2"]},{"1329908179":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329908196, 1329908200, 1329908198, 1329908201, 1329908191, 1329908179)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.350178241729736 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 01:20:02.248083
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/01/09/image_19012025_01_09_02_530355_0003.jpg', '/home/pi/Desktop/images/19012025/01/10/image_19012025_01_10_03_082345_0001.jpg', '/home/pi/Desktop/images/19012025/01/10/image_19012025_01_10_03_082345_0002.jpg', '/home/pi/Desktop/images/19012025/01/10/image_19012025_01_10_03_082345_0003.jpg', '/home/pi/Desktop/images/19012025/01/11/image_19012025_01_11_02_563241_0000.jpg', '/home/pi/Desktop/images/19012025/01/11/image_19012025_01_11_02_563241_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/01/09/image_19012025_01_09_02_530355_0003.jpg
/home/pi/Desktop/images/19012025/01/10/image_19012025_01_10_03_082345_0001.jpg
/home/pi/Desktop/images/19012025/01/10/image_19012025_01_10_03_082345_0002.jpg
/home/pi/Desktop/images/19012025/01/10/image_19012025_01_10_03_082345_0003.jpg
/home/pi/Desktop/images/19012025/01/11/image_19012025_01_11_02_563241_0000.jpg
/home/pi/Desktop/images/19012025/01/11/image_19012025_01_11_02_563241_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":["1329908356","1329908358","1329908366","1329908369","1329908360","1329908363"],"photo_ids_order":["1329908356","1329908358","1329908360","1329908363","1329908366","1329908369"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/c30b94dc17743613ae67a68baa34a8cc.jpg","text":"TemporaryFile(/tmp/multipartBody4620529769746069056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737246080194,"filename":"image_19012025_01_09_02_530355_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/c00589dacd0b3cd5f953a4c7c0c3ee87.jpg","text":"TemporaryFile(/tmp/multipartBody5568300551354279047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737246080194,"filename":"image_19012025_01_10_03_082345_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/35d2d24dd67baed14f10412201e7ff15.jpg","text":"TemporaryFile(/tmp/multipartBody2899944018907325031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737246080194,"filename":"image_19012025_01_11_02_563241_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/6c8a7dd664a6f07d2e19673d6f3299be.jpg","text":"TemporaryFile(/tmp/multipartBody4725582125301384605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737246080194,"filename":"image_19012025_01_11_02_563241_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/031e5cc355b2e372a97ed17e1db32e18.jpg","text":"TemporaryFile(/tmp/multipartBody9043469348557390259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737246080194,"filename":"image_19012025_01_10_03_082345_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/a033374e5c73600b7f418b9cf2c88cad.jpg","text":"TemporaryFile(/tmp/multipartBody3447346063926204369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737246080194,"filename":"image_19012025_01_10_03_082345_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329908360","file1":"1329908358","file0":"1329908356","file4":"1329908366","file5":"1329908369","file3":"1329908363"},"map_files_photo_id_array":[{"photo_id":"1329908369","filename":"file5"},{"photo_id":"1329908360","filename":"file2"},{"photo_id":"1329908366","filename":"file4"},{"photo_id":"1329908358","filename":"file1"},{"photo_id":"1329908356","filename":"file0"},{"photo_id":"1329908363","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329908356":["hashtag1","hashtag2"]},{"1329908358":["hashtag1","hashtag2"]},{"1329908366":["hashtag1","hashtag2"]},{"1329908369":["hashtag1","hashtag2"]},{"1329908360":["hashtag1","hashtag2"]},{"1329908363":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329908356, 1329908358, 1329908366, 1329908369, 1329908360, 1329908363)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.68541884422302 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 01:21:22.356500
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/01/11/image_19012025_01_11_02_563241_0002.jpg', '/home/pi/Desktop/images/19012025/01/11/image_19012025_01_11_02_563241_0003.jpg', '/home/pi/Desktop/images/19012025/01/12/image_19012025_01_12_03_136584_0000.jpg', '/home/pi/Desktop/images/19012025/01/12/image_19012025_01_12_03_136584_0002.jpg', '/home/pi/Desktop/images/19012025/01/12/image_19012025_01_12_03_136584_0003.jpg', '/home/pi/Desktop/images/19012025/01/13/image_19012025_01_13_02_831015_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/01/11/image_19012025_01_11_02_563241_0002.jpg
/home/pi/Desktop/images/19012025/01/11/image_19012025_01_11_02_563241_0003.jpg
/home/pi/Desktop/images/19012025/01/12/image_19012025_01_12_03_136584_0000.jpg
/home/pi/Desktop/images/19012025/01/12/image_19012025_01_12_03_136584_0002.jpg
/home/pi/Desktop/images/19012025/01/12/image_19012025_01_12_03_136584_0003.jpg
/home/pi/Desktop/images/19012025/01/13/image_19012025_01_13_02_831015_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":["1329908389","1329908380","1329908382","1329908390","1329908384","1329908386"],"photo_ids_order":["1329908380","1329908382","1329908384","1329908386","1329908389","1329908390"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/6a78bb032daff5e4c7ec615ec2076339.jpg","text":"TemporaryFile(/tmp/multipartBody3839452498815125771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737246160238,"filename":"image_19012025_01_12_03_136584_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/ac59c9ce621b6f949212f79ce86237aa.jpg","text":"TemporaryFile(/tmp/multipartBody3969160321934570481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737246160238,"filename":"image_19012025_01_11_02_563241_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/5e5f6630a2f7f3ad32ac43b3d0c2ed83.jpg","text":"TemporaryFile(/tmp/multipartBody5156591879120783592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737246160238,"filename":"image_19012025_01_11_02_563241_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/183d2185e1f3b9b36fade86b6af6dd8d.jpg","text":"TemporaryFile(/tmp/multipartBody3714551481689230153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737246160238,"filename":"image_19012025_01_13_02_831015_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/ab9962e543b9c5315a465108ce7585df.jpg","text":"TemporaryFile(/tmp/multipartBody373905917538108495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737246160238,"filename":"image_19012025_01_12_03_136584_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/d9877a8d86336e2b55b5d54a81510808.jpg","text":"TemporaryFile(/tmp/multipartBody7374045241114707723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737246160238,"filename":"image_19012025_01_12_03_136584_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329908384","file1":"1329908382","file0":"1329908380","file4":"1329908389","file5":"1329908390","file3":"1329908386"},"map_files_photo_id_array":[{"photo_id":"1329908390","filename":"file5"},{"photo_id":"1329908384","filename":"file2"},{"photo_id":"1329908389","filename":"file4"},{"photo_id":"1329908382","filename":"file1"},{"photo_id":"1329908380","filename":"file0"},{"photo_id":"1329908386","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329908389":["hashtag1","hashtag2"]},{"1329908380":["hashtag1","hashtag2"]},{"1329908382":["hashtag1","hashtag2"]},{"1329908390":["hashtag1","hashtag2"]},{"1329908384":["hashtag1","hashtag2"]},{"1329908386":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329908389, 1329908380, 1329908382, 1329908390, 1329908384, 1329908386)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 61.46658754348755 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 01:23:02.890668
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/01/13/image_19012025_01_13_02_831015_0001.jpg', '/home/pi/Desktop/images/19012025/01/13/image_19012025_01_13_02_831015_0003.jpg', '/home/pi/Desktop/images/19012025/01/14/image_19012025_01_14_02_323545_0000.jpg', '/home/pi/Desktop/images/19012025/01/14/image_19012025_01_14_02_323545_0002.jpg', '/home/pi/Desktop/images/19012025/01/15/image_19012025_01_15_02_793724_0000.jpg', '/home/pi/Desktop/images/19012025/01/15/image_19012025_01_15_02_793724_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/01/13/image_19012025_01_13_02_831015_0001.jpg
/home/pi/Desktop/images/19012025/01/13/image_19012025_01_13_02_831015_0003.jpg
/home/pi/Desktop/images/19012025/01/14/image_19012025_01_14_02_323545_0000.jpg
/home/pi/Desktop/images/19012025/01/14/image_19012025_01_14_02_323545_0002.jpg
/home/pi/Desktop/images/19012025/01/15/image_19012025_01_15_02_793724_0000.jpg
/home/pi/Desktop/images/19012025/01/15/image_19012025_01_15_02_793724_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329908449","1329908475","1329908469","1329908472","1329908477","1329908462"],"photo_ids_order":["1329908449","1329908462","1329908469","1329908472","1329908475","1329908477"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/002429916a672ab5a2675bfe15db1eeb.jpg","text":"TemporaryFile(/tmp/multipartBody2186964764867409666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737246260863,"filename":"image_19012025_01_13_02_831015_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/66525b7770c1666761eaa3eb4ac311bd.jpg","text":"TemporaryFile(/tmp/multipartBody7355622658336705587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737246260863,"filename":"image_19012025_01_15_02_793724_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/ee5f011a733fcf1fd122820fb5e97564.jpg","text":"TemporaryFile(/tmp/multipartBody2824931131402443754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737246260863,"filename":"image_19012025_01_14_02_323545_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/8749e7c2d13fce27f5144abd6b2cdf60.jpg","text":"TemporaryFile(/tmp/multipartBody4017365012809245039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737246260863,"filename":"image_19012025_01_14_02_323545_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/244808843fe417ca54675c4772eac76e.jpg","text":"TemporaryFile(/tmp/multipartBody8832008637993668112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737246260863,"filename":"image_19012025_01_15_02_793724_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/4068d35909e335913b29eb4a64dc821e.jpg","text":"TemporaryFile(/tmp/multipartBody4554764417785542610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737246260863,"filename":"image_19012025_01_13_02_831015_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329908469","file1":"1329908462","file0":"1329908449","file4":"1329908475","file5":"1329908477","file3":"1329908472"},"map_files_photo_id_array":[{"photo_id":"1329908477","filename":"file5"},{"photo_id":"1329908469","filename":"file2"},{"photo_id":"1329908475","filename":"file4"},{"photo_id":"1329908462","filename":"file1"},{"photo_id":"1329908449","filename":"file0"},{"photo_id":"1329908472","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329908449":["hashtag1","hashtag2"]},{"1329908475":["hashtag1","hashtag2"]},{"1329908469":["hashtag1","hashtag2"]},{"1329908472":["hashtag1","hashtag2"]},{"1329908477":["hashtag1","hashtag2"]},{"1329908462":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329908449, 1329908475, 1329908469, 1329908472, 1329908477, 1329908462)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.01981520652771 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 01:24:02.239294
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/01/15/image_19012025_01_15_02_793724_0003.jpg', '/home/pi/Desktop/images/19012025/01/16/image_19012025_01_16_02_381250_0001.jpg', '/home/pi/Desktop/images/19012025/01/16/image_19012025_01_16_02_381250_0002.jpg', '/home/pi/Desktop/images/19012025/01/16/image_19012025_01_16_02_381250_0003.jpg', '/home/pi/Desktop/images/19012025/01/17/image_19012025_01_17_03_022600_0000.jpg', '/home/pi/Desktop/images/19012025/01/17/image_19012025_01_17_03_022600_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/01/15/image_19012025_01_15_02_793724_0003.jpg
/home/pi/Desktop/images/19012025/01/16/image_19012025_01_16_02_381250_0001.jpg
/home/pi/Desktop/images/19012025/01/16/image_19012025_01_16_02_381250_0002.jpg
/home/pi/Desktop/images/19012025/01/16/image_19012025_01_16_02_381250_0003.jpg
/home/pi/Desktop/images/19012025/01/17/image_19012025_01_17_03_022600_0000.jpg
/home/pi/Desktop/images/19012025/01/17/image_19012025_01_17_03_022600_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: 17.507327795028687 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 01:24:21.933447
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/01/15/image_19012025_01_15_02_793724_0003.jpg', '/home/pi/Desktop/images/19012025/01/16/image_19012025_01_16_02_381250_0001.jpg', '/home/pi/Desktop/images/19012025/01/16/image_19012025_01_16_02_381250_0002.jpg', '/home/pi/Desktop/images/19012025/01/16/image_19012025_01_16_02_381250_0003.jpg', '/home/pi/Desktop/images/19012025/01/17/image_19012025_01_17_03_022600_0000.jpg', '/home/pi/Desktop/images/19012025/01/17/image_19012025_01_17_03_022600_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/01/15/image_19012025_01_15_02_793724_0003.jpg
/home/pi/Desktop/images/19012025/01/16/image_19012025_01_16_02_381250_0001.jpg
/home/pi/Desktop/images/19012025/01/16/image_19012025_01_16_02_381250_0002.jpg
/home/pi/Desktop/images/19012025/01/16/image_19012025_01_16_02_381250_0003.jpg
/home/pi/Desktop/images/19012025/01/17/image_19012025_01_17_03_022600_0000.jpg
/home/pi/Desktop/images/19012025/01/17/image_19012025_01_17_03_022600_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329909124","1329908566","1329909486","1329908798","1329909905","1329908563"],"photo_ids_order":["1329908563","1329908566","1329908798","1329909124","1329909486","1329909905"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/05df1ffb73d3eb592f2c48bf2151fa21.jpg","text":"TemporaryFile(/tmp/multipartBody8268483360799198132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737246339819,"filename":"image_19012025_01_16_02_381250_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/044e10f6eecb323640348483c91a98f6.jpg","text":"TemporaryFile(/tmp/multipartBody5975232130788309175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737246339819,"filename":"image_19012025_01_16_02_381250_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/9964fc042aa73e11da779ab7b9a9514f.jpg","text":"TemporaryFile(/tmp/multipartBody2997377830739737670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737246339819,"filename":"image_19012025_01_17_03_022600_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/10c268289ba1e3b11190fa3fb2af5b44.jpg","text":"TemporaryFile(/tmp/multipartBody239104292285077364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737246339819,"filename":"image_19012025_01_16_02_381250_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/0217383a218c6f3b9fba306719ae3fc5.jpg","text":"TemporaryFile(/tmp/multipartBody1580974894961988966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737246339819,"filename":"image_19012025_01_17_03_022600_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/519958ae4e96ec8e8d65838c8768304e.jpg","text":"TemporaryFile(/tmp/multipartBody435288267791981208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737246339819,"filename":"image_19012025_01_15_02_793724_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329908798","file1":"1329908566","file0":"1329908563","file4":"1329909486","file5":"1329909905","file3":"1329909124"},"map_files_photo_id_array":[{"photo_id":"1329909905","filename":"file5"},{"photo_id":"1329908798","filename":"file2"},{"photo_id":"1329909486","filename":"file4"},{"photo_id":"1329908566","filename":"file1"},{"photo_id":"1329908563","filename":"file0"},{"photo_id":"1329909124","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329909124":["hashtag1","hashtag2"]},{"1329908566":["hashtag1","hashtag2"]},{"1329909486":["hashtag1","hashtag2"]},{"1329908798":["hashtag1","hashtag2"]},{"1329909905":["hashtag1","hashtag2"]},{"1329908563":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329909124, 1329908566, 1329909486, 1329908798, 1329909905, 1329908563)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.02471089363098 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 01:25:22.520454
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/01/17/image_19012025_01_17_03_022600_0003.jpg', '/home/pi/Desktop/images/19012025/01/18/image_19012025_01_18_02_557420_0000.jpg', '/home/pi/Desktop/images/19012025/01/18/image_19012025_01_18_02_557420_0002.jpg', '/home/pi/Desktop/images/19012025/01/18/image_19012025_01_18_02_557420_0003.jpg', '/home/pi/Desktop/images/19012025/01/19/image_19012025_01_19_03_166511_0000.jpg', '/home/pi/Desktop/images/19012025/01/19/image_19012025_01_19_03_166511_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/01/17/image_19012025_01_17_03_022600_0003.jpg
/home/pi/Desktop/images/19012025/01/18/image_19012025_01_18_02_557420_0000.jpg
/home/pi/Desktop/images/19012025/01/18/image_19012025_01_18_02_557420_0002.jpg
/home/pi/Desktop/images/19012025/01/18/image_19012025_01_18_02_557420_0003.jpg
/home/pi/Desktop/images/19012025/01/19/image_19012025_01_19_03_166511_0000.jpg
/home/pi/Desktop/images/19012025/01/19/image_19012025_01_19_03_166511_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329910318","1329910284","1329910281","1329910320","1329910322","1329910354"],"photo_ids_order":["1329910281","1329910284","1329910318","1329910320","1329910322","1329910354"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/fdec25f06308db5ed8c4606ee5c67b11.jpg","text":"TemporaryFile(/tmp/multipartBody3527278809711965389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737246400395,"filename":"image_19012025_01_18_02_557420_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/11e313ab1b58b064c32fd699407b4d1b.jpg","text":"TemporaryFile(/tmp/multipartBody3604366009457785517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737246400395,"filename":"image_19012025_01_18_02_557420_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/92730816e258bf8a972711f6ddb141b8.jpg","text":"TemporaryFile(/tmp/multipartBody5406153010319908836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737246400395,"filename":"image_19012025_01_17_03_022600_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/32ad075c4d81ede764a42ed4f6055029.jpg","text":"TemporaryFile(/tmp/multipartBody683360686020724553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737246400395,"filename":"image_19012025_01_18_02_557420_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/9cdf6c8344d34e8a070754aaa5e9dd09.jpg","text":"TemporaryFile(/tmp/multipartBody6653519132754613353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737246400395,"filename":"image_19012025_01_19_03_166511_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/b9cedf8f29bb321b3678e109627e2121.jpg","text":"TemporaryFile(/tmp/multipartBody8050210739554041124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737246400395,"filename":"image_19012025_01_19_03_166511_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329910318","file1":"1329910284","file0":"1329910281","file4":"1329910322","file5":"1329910354","file3":"1329910320"},"map_files_photo_id_array":[{"photo_id":"1329910354","filename":"file5"},{"photo_id":"1329910318","filename":"file2"},{"photo_id":"1329910322","filename":"file4"},{"photo_id":"1329910284","filename":"file1"},{"photo_id":"1329910281","filename":"file0"},{"photo_id":"1329910320","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329910318":["hashtag1","hashtag2"]},{"1329910284":["hashtag1","hashtag2"]},{"1329910281":["hashtag1","hashtag2"]},{"1329910320":["hashtag1","hashtag2"]},{"1329910322":["hashtag1","hashtag2"]},{"1329910354":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329910318, 1329910284, 1329910281, 1329910320, 1329910322, 1329910354)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.86997628211975 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 01:26:22.152460
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/01/19/image_19012025_01_19_03_166511_0002.jpg', '/home/pi/Desktop/images/19012025/01/20/image_19012025_01_20_02_674016_0000.jpg', '/home/pi/Desktop/images/19012025/01/20/image_19012025_01_20_02_674016_0001.jpg', '/home/pi/Desktop/images/19012025/01/20/image_19012025_01_20_02_674016_0002.jpg', '/home/pi/Desktop/images/19012025/01/20/image_19012025_01_20_02_674016_0003.jpg', '/home/pi/Desktop/images/19012025/01/21/image_19012025_01_21_02_256000_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/01/19/image_19012025_01_19_03_166511_0002.jpg
/home/pi/Desktop/images/19012025/01/20/image_19012025_01_20_02_674016_0000.jpg
/home/pi/Desktop/images/19012025/01/20/image_19012025_01_20_02_674016_0001.jpg
/home/pi/Desktop/images/19012025/01/20/image_19012025_01_20_02_674016_0002.jpg
/home/pi/Desktop/images/19012025/01/20/image_19012025_01_20_02_674016_0003.jpg
/home/pi/Desktop/images/19012025/01/21/image_19012025_01_21_02_256000_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329910382","1329910376","1329910385","1329910379","1329910387","1329910372"],"photo_ids_order":["1329910372","1329910376","1329910379","1329910382","1329910385","1329910387"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/03bcf8adc806f486066ecf270ac54662.jpg","text":"TemporaryFile(/tmp/multipartBody1033760099909942352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737246460040,"filename":"image_19012025_01_20_02_674016_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/51c89c1879c0a3eb153dba13e19847c4.jpg","text":"TemporaryFile(/tmp/multipartBody8789125610783713427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737246460040,"filename":"image_19012025_01_20_02_674016_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/00509b40e5f0395fffa7b11cf8fdf137.jpg","text":"TemporaryFile(/tmp/multipartBody2505716803034320876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737246460040,"filename":"image_19012025_01_20_02_674016_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/aedcb1aee230b1f376b474b6e5f25db3.jpg","text":"TemporaryFile(/tmp/multipartBody773544651947780859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737246460040,"filename":"image_19012025_01_20_02_674016_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/f23e141ee979bf78f77b0b069cfa03e7.jpg","text":"TemporaryFile(/tmp/multipartBody4561118430470335095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737246460040,"filename":"image_19012025_01_21_02_256000_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/fc6b254b5f7d6957fac5d3d900e5eb92.jpg","text":"TemporaryFile(/tmp/multipartBody7636442361926031230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737246460040,"filename":"image_19012025_01_19_03_166511_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329910379","file1":"1329910376","file0":"1329910372","file4":"1329910385","file5":"1329910387","file3":"1329910382"},"map_files_photo_id_array":[{"photo_id":"1329910387","filename":"file5"},{"photo_id":"1329910379","filename":"file2"},{"photo_id":"1329910385","filename":"file4"},{"photo_id":"1329910376","filename":"file1"},{"photo_id":"1329910372","filename":"file0"},{"photo_id":"1329910382","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329910382":["hashtag1","hashtag2"]},{"1329910376":["hashtag1","hashtag2"]},{"1329910385":["hashtag1","hashtag2"]},{"1329910379":["hashtag1","hashtag2"]},{"1329910387":["hashtag1","hashtag2"]},{"1329910372":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329910382, 1329910376, 1329910385, 1329910379, 1329910387, 1329910372)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.02974724769592 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 01:27:22.572159
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/01/22/image_19012025_01_22_02_717476_0001.jpg', '/home/pi/Desktop/images/19012025/01/22/image_19012025_01_22_02_717476_0002.jpg', '/home/pi/Desktop/images/19012025/01/22/image_19012025_01_22_02_717476_0003.jpg', '/home/pi/Desktop/images/19012025/01/23/image_19012025_01_23_02_202490_0000.jpg', '/home/pi/Desktop/images/19012025/01/23/image_19012025_01_23_02_202490_0001.jpg', '/home/pi/Desktop/images/19012025/01/23/image_19012025_01_23_02_202490_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/01/22/image_19012025_01_22_02_717476_0001.jpg
/home/pi/Desktop/images/19012025/01/22/image_19012025_01_22_02_717476_0002.jpg
/home/pi/Desktop/images/19012025/01/22/image_19012025_01_22_02_717476_0003.jpg
/home/pi/Desktop/images/19012025/01/23/image_19012025_01_23_02_202490_0000.jpg
/home/pi/Desktop/images/19012025/01/23/image_19012025_01_23_02_202490_0001.jpg
/home/pi/Desktop/images/19012025/01/23/image_19012025_01_23_02_202490_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329910840","1329911541","1329911637","1329911625","1329911532","1329911222"],"photo_ids_order":["1329910840","1329911222","1329911532","1329911541","1329911625","1329911637"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/c97f23f8b07045ef3b6752530d89dcf9.jpg","text":"TemporaryFile(/tmp/multipartBody2764693899428647065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737246520459,"filename":"image_19012025_01_22_02_717476_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/0b2f1989b34828dda97af971b3dfdd72.jpg","text":"TemporaryFile(/tmp/multipartBody9016887893672546395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737246520459,"filename":"image_19012025_01_23_02_202490_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/f6d3c96f4c50cdbcdfdf89227d34f319.jpg","text":"TemporaryFile(/tmp/multipartBody4916613804902862786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737246520459,"filename":"image_19012025_01_23_02_202490_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/5cf9823572a0815cb2dd913d69ec5618.jpg","text":"TemporaryFile(/tmp/multipartBody8190915143794695934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737246520459,"filename":"image_19012025_01_23_02_202490_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/7ae43c831f76bde20dbdfacdff5bc76e.jpg","text":"TemporaryFile(/tmp/multipartBody3553600047937272706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737246520459,"filename":"image_19012025_01_22_02_717476_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/579c18ac53f17b8793d393423e776551.jpg","text":"TemporaryFile(/tmp/multipartBody881540555315762510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737246520459,"filename":"image_19012025_01_22_02_717476_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329911532","file1":"1329911222","file0":"1329910840","file4":"1329911625","file5":"1329911637","file3":"1329911541"},"map_files_photo_id_array":[{"photo_id":"1329911637","filename":"file5"},{"photo_id":"1329911532","filename":"file2"},{"photo_id":"1329911625","filename":"file4"},{"photo_id":"1329911222","filename":"file1"},{"photo_id":"1329910840","filename":"file0"},{"photo_id":"1329911541","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329910840":["hashtag1","hashtag2"]},{"1329911541":["hashtag1","hashtag2"]},{"1329911637":["hashtag1","hashtag2"]},{"1329911625":["hashtag1","hashtag2"]},{"1329911532":["hashtag1","hashtag2"]},{"1329911222":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329910840, 1329911541, 1329911637, 1329911625, 1329911532, 1329911222)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.10883593559265 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 01:28:22.127423
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/01/23/image_19012025_01_23_02_202490_0003.jpg', '/home/pi/Desktop/images/19012025/01/24/image_19012025_01_24_02_723158_0001.jpg', '/home/pi/Desktop/images/19012025/01/24/image_19012025_01_24_02_723158_0002.jpg', '/home/pi/Desktop/images/19012025/01/24/image_19012025_01_24_02_723158_0003.jpg', '/home/pi/Desktop/images/19012025/01/25/image_19012025_01_25_02_383597_0000.jpg', '/home/pi/Desktop/images/19012025/01/25/image_19012025_01_25_02_383597_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/01/23/image_19012025_01_23_02_202490_0003.jpg
/home/pi/Desktop/images/19012025/01/24/image_19012025_01_24_02_723158_0001.jpg
/home/pi/Desktop/images/19012025/01/24/image_19012025_01_24_02_723158_0002.jpg
/home/pi/Desktop/images/19012025/01/24/image_19012025_01_24_02_723158_0003.jpg
/home/pi/Desktop/images/19012025/01/25/image_19012025_01_25_02_383597_0000.jpg
/home/pi/Desktop/images/19012025/01/25/image_19012025_01_25_02_383597_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329911859","1329911853","1329911856","1329911867","1329911849","1329911845"],"photo_ids_order":["1329911845","1329911849","1329911853","1329911856","1329911859","1329911867"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/ad0960fbaf1a5df0b26e0c39aa52ed77.jpg","text":"TemporaryFile(/tmp/multipartBody6441148845212453281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737246579995,"filename":"image_19012025_01_25_02_383597_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/6a432bd78fa19bbd8d0e3301ba18fd70.jpg","text":"TemporaryFile(/tmp/multipartBody6169341619961612666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737246579995,"filename":"image_19012025_01_24_02_723158_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/a81e20e8bdf5866a796520d03bca39d4.jpg","text":"TemporaryFile(/tmp/multipartBody1302707337434247517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737246579995,"filename":"image_19012025_01_24_02_723158_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/bad4b7017cb43db9d387c9827c00584a.jpg","text":"TemporaryFile(/tmp/multipartBody7766770956164926665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737246579995,"filename":"image_19012025_01_25_02_383597_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/ce50c579b0bfdb35b558ca71d4b0d82e.jpg","text":"TemporaryFile(/tmp/multipartBody6236820822417003884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737246579995,"filename":"image_19012025_01_24_02_723158_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/435e1f37e3d9763811a80bbf803e9800.jpg","text":"TemporaryFile(/tmp/multipartBody6514834299162908643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737246579995,"filename":"image_19012025_01_23_02_202490_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329911853","file1":"1329911849","file0":"1329911845","file4":"1329911859","file5":"1329911867","file3":"1329911856"},"map_files_photo_id_array":[{"photo_id":"1329911867","filename":"file5"},{"photo_id":"1329911853","filename":"file2"},{"photo_id":"1329911859","filename":"file4"},{"photo_id":"1329911849","filename":"file1"},{"photo_id":"1329911845","filename":"file0"},{"photo_id":"1329911856","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329911859":["hashtag1","hashtag2"]},{"1329911853":["hashtag1","hashtag2"]},{"1329911856":["hashtag1","hashtag2"]},{"1329911867":["hashtag1","hashtag2"]},{"1329911849":["hashtag1","hashtag2"]},{"1329911845":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329911859, 1329911853, 1329911856, 1329911867, 1329911849, 1329911845)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.02373385429382 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 01:29:22.594249
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/01/25/image_19012025_01_25_02_383597_0002.jpg', '/home/pi/Desktop/images/19012025/01/25/image_19012025_01_25_02_383597_0003.jpg', '/home/pi/Desktop/images/19012025/01/26/image_19012025_01_26_02_942411_0000.jpg', '/home/pi/Desktop/images/19012025/01/26/image_19012025_01_26_02_942411_0001.jpg', '/home/pi/Desktop/images/19012025/01/26/image_19012025_01_26_02_942411_0002.jpg', '/home/pi/Desktop/images/19012025/01/26/image_19012025_01_26_02_942411_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/01/25/image_19012025_01_25_02_383597_0002.jpg
/home/pi/Desktop/images/19012025/01/25/image_19012025_01_25_02_383597_0003.jpg
/home/pi/Desktop/images/19012025/01/26/image_19012025_01_26_02_942411_0000.jpg
/home/pi/Desktop/images/19012025/01/26/image_19012025_01_26_02_942411_0001.jpg
/home/pi/Desktop/images/19012025/01/26/image_19012025_01_26_02_942411_0002.jpg
/home/pi/Desktop/images/19012025/01/26/image_19012025_01_26_02_942411_0003.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329912168","1329912176","1329912170","1329912172","1329912166","1329912174"],"photo_ids_order":["1329912166","1329912168","1329912170","1329912172","1329912174","1329912176"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/3a82c545fcca5e77dd35d855ef649bcc.jpg","text":"TemporaryFile(/tmp/multipartBody2538014431625629435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737246638470,"filename":"image_19012025_01_25_02_383597_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/91ff1b358a0d9532d0d783df4aad52d0.jpg","text":"TemporaryFile(/tmp/multipartBody3807156836082473890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737246638470,"filename":"image_19012025_01_26_02_942411_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/9a9013966bbc2e3c2c607443c449ee7d.jpg","text":"TemporaryFile(/tmp/multipartBody2984692507666899685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737246638470,"filename":"image_19012025_01_26_02_942411_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/8d1041c3a8a7c65bdf852dd1f9af4cec.jpg","text":"TemporaryFile(/tmp/multipartBody4493883140904738704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737246638470,"filename":"image_19012025_01_26_02_942411_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/3eae1aeb1812f7bb63dda2de6378930f.jpg","text":"TemporaryFile(/tmp/multipartBody5186481911283739057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737246638470,"filename":"image_19012025_01_25_02_383597_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/49a39615d23e25c70f8ae62c9d4d7287.jpg","text":"TemporaryFile(/tmp/multipartBody2823733503707725077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737246638470,"filename":"image_19012025_01_26_02_942411_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329912170","file1":"1329912168","file0":"1329912166","file4":"1329912174","file5":"1329912176","file3":"1329912172"},"map_files_photo_id_array":[{"photo_id":"1329912176","filename":"file5"},{"photo_id":"1329912170","filename":"file2"},{"photo_id":"1329912174","filename":"file4"},{"photo_id":"1329912168","filename":"file1"},{"photo_id":"1329912166","filename":"file0"},{"photo_id":"1329912172","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329912168":["hashtag1","hashtag2"]},{"1329912176":["hashtag1","hashtag2"]},{"1329912170":["hashtag1","hashtag2"]},{"1329912172":["hashtag1","hashtag2"]},{"1329912166":["hashtag1","hashtag2"]},{"1329912174":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329912168, 1329912176, 1329912170, 1329912172, 1329912166, 1329912174)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.32556080818176 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 01:30:22.068244
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/01/27/image_19012025_01_27_02_458083_0000.jpg', '/home/pi/Desktop/images/19012025/01/27/image_19012025_01_27_02_458083_0001.jpg', '/home/pi/Desktop/images/19012025/01/27/image_19012025_01_27_02_458083_0003.jpg', '/home/pi/Desktop/images/19012025/01/28/image_19012025_01_28_02_941465_0000.jpg', '/home/pi/Desktop/images/19012025/01/28/image_19012025_01_28_02_941465_0001.jpg', '/home/pi/Desktop/images/19012025/01/28/image_19012025_01_28_02_941465_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/01/27/image_19012025_01_27_02_458083_0000.jpg
/home/pi/Desktop/images/19012025/01/27/image_19012025_01_27_02_458083_0001.jpg
/home/pi/Desktop/images/19012025/01/27/image_19012025_01_27_02_458083_0003.jpg
/home/pi/Desktop/images/19012025/01/28/image_19012025_01_28_02_941465_0000.jpg
/home/pi/Desktop/images/19012025/01/28/image_19012025_01_28_02_941465_0001.jpg
/home/pi/Desktop/images/19012025/01/28/image_19012025_01_28_02_941465_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.781173467636108 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 01:31:03.300321
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/01/27/image_19012025_01_27_02_458083_0000.jpg', '/home/pi/Desktop/images/19012025/01/27/image_19012025_01_27_02_458083_0001.jpg', '/home/pi/Desktop/images/19012025/01/27/image_19012025_01_27_02_458083_0003.jpg', '/home/pi/Desktop/images/19012025/01/28/image_19012025_01_28_02_941465_0000.jpg', '/home/pi/Desktop/images/19012025/01/28/image_19012025_01_28_02_941465_0001.jpg', '/home/pi/Desktop/images/19012025/01/28/image_19012025_01_28_02_941465_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/01/27/image_19012025_01_27_02_458083_0000.jpg
/home/pi/Desktop/images/19012025/01/27/image_19012025_01_27_02_458083_0001.jpg
/home/pi/Desktop/images/19012025/01/27/image_19012025_01_27_02_458083_0003.jpg
/home/pi/Desktop/images/19012025/01/28/image_19012025_01_28_02_941465_0000.jpg
/home/pi/Desktop/images/19012025/01/28/image_19012025_01_28_02_941465_0001.jpg
/home/pi/Desktop/images/19012025/01/28/image_19012025_01_28_02_941465_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":["1329912204","1329912194","1329912196","1329912199","1329912190","1329912202"],"photo_ids_order":["1329912190","1329912194","1329912196","1329912199","1329912202","1329912204"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/1f095400c629d3ff1c9d2a26602e6b28.jpg","text":"TemporaryFile(/tmp/multipartBody8992918727370390730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737246739534,"filename":"image_19012025_01_28_02_941465_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/f2b5160b7938b174bcf0b812b60093c7.jpg","text":"TemporaryFile(/tmp/multipartBody2530500342039417704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737246739534,"filename":"image_19012025_01_27_02_458083_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/b0e60bac7c4393431ad99be287eb4b22.jpg","text":"TemporaryFile(/tmp/multipartBody6905565648670874340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737246739534,"filename":"image_19012025_01_27_02_458083_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/5479d68f7916131475bcaa3d8a220958.jpg","text":"TemporaryFile(/tmp/multipartBody8730404979830074672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737246739534,"filename":"image_19012025_01_28_02_941465_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/efff5a651e629ab1eb7296f7e3fe96be.jpg","text":"TemporaryFile(/tmp/multipartBody4325650368815899915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737246739534,"filename":"image_19012025_01_27_02_458083_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/4caeb47b135cc69bdb28b65fb0d6a74a.jpg","text":"TemporaryFile(/tmp/multipartBody2976271979165570019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737246739534,"filename":"image_19012025_01_28_02_941465_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329912196","file1":"1329912194","file0":"1329912190","file4":"1329912202","file5":"1329912204","file3":"1329912199"},"map_files_photo_id_array":[{"photo_id":"1329912204","filename":"file5"},{"photo_id":"1329912196","filename":"file2"},{"photo_id":"1329912202","filename":"file4"},{"photo_id":"1329912194","filename":"file1"},{"photo_id":"1329912190","filename":"file0"},{"photo_id":"1329912199","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329912204":["hashtag1","hashtag2"]},{"1329912194":["hashtag1","hashtag2"]},{"1329912196":["hashtag1","hashtag2"]},{"1329912199":["hashtag1","hashtag2"]},{"1329912190":["hashtag1","hashtag2"]},{"1329912202":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329912204, 1329912194, 1329912196, 1329912199, 1329912190, 1329912202)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.463611125946045 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 01:32:22.155494
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/01/28/image_19012025_01_28_02_941465_0003.jpg', '/home/pi/Desktop/images/19012025/01/29/image_19012025_01_29_02_441146_0000.jpg', '/home/pi/Desktop/images/19012025/01/29/image_19012025_01_29_02_441146_0001.jpg', '/home/pi/Desktop/images/19012025/01/29/image_19012025_01_29_02_441146_0002.jpg', '/home/pi/Desktop/images/19012025/01/29/image_19012025_01_29_02_441146_0003.jpg', '/home/pi/Desktop/images/19012025/01/30/image_19012025_01_30_02_922519_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/01/28/image_19012025_01_28_02_941465_0003.jpg
/home/pi/Desktop/images/19012025/01/29/image_19012025_01_29_02_441146_0000.jpg
/home/pi/Desktop/images/19012025/01/29/image_19012025_01_29_02_441146_0001.jpg
/home/pi/Desktop/images/19012025/01/29/image_19012025_01_29_02_441146_0002.jpg
/home/pi/Desktop/images/19012025/01/29/image_19012025_01_29_02_441146_0003.jpg
/home/pi/Desktop/images/19012025/01/30/image_19012025_01_30_02_922519_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: 16.198808908462524 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 01:33:03.179277
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/01/28/image_19012025_01_28_02_941465_0003.jpg', '/home/pi/Desktop/images/19012025/01/29/image_19012025_01_29_02_441146_0000.jpg', '/home/pi/Desktop/images/19012025/01/29/image_19012025_01_29_02_441146_0001.jpg', '/home/pi/Desktop/images/19012025/01/29/image_19012025_01_29_02_441146_0002.jpg', '/home/pi/Desktop/images/19012025/01/29/image_19012025_01_29_02_441146_0003.jpg', '/home/pi/Desktop/images/19012025/01/30/image_19012025_01_30_02_922519_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/01/28/image_19012025_01_28_02_941465_0003.jpg
/home/pi/Desktop/images/19012025/01/29/image_19012025_01_29_02_441146_0000.jpg
/home/pi/Desktop/images/19012025/01/29/image_19012025_01_29_02_441146_0001.jpg
/home/pi/Desktop/images/19012025/01/29/image_19012025_01_29_02_441146_0002.jpg
/home/pi/Desktop/images/19012025/01/29/image_19012025_01_29_02_441146_0003.jpg
/home/pi/Desktop/images/19012025/01/30/image_19012025_01_30_02_922519_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329912246","1329912278","1329912248","1329912280","1329912244","1329912276"],"photo_ids_order":["1329912244","1329912246","1329912248","1329912276","1329912278","1329912280"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/806df0cac28fc4b563c5bdd2fe1fa98b.jpg","text":"TemporaryFile(/tmp/multipartBody9054799199003792221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737246859858,"filename":"image_19012025_01_29_02_441146_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/dcfb108db8c2c6cb8e99066a0506bc64.jpg","text":"TemporaryFile(/tmp/multipartBody2102034892364943240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737246859858,"filename":"image_19012025_01_29_02_441146_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/49f4e5e1bb465572b1042ced9995df0a.jpg","text":"TemporaryFile(/tmp/multipartBody5218668085099151336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737246859858,"filename":"image_19012025_01_29_02_441146_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/31a05ca8a37d8337b6fe2595e1fac463.jpg","text":"TemporaryFile(/tmp/multipartBody6866245376180745721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737246859858,"filename":"image_19012025_01_30_02_922519_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/561f7dd4ad0a0a60e80ccb7e5a323315.jpg","text":"TemporaryFile(/tmp/multipartBody6830094830617514913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737246859858,"filename":"image_19012025_01_28_02_941465_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/1b556c34613f546a13d90ba095936045.jpg","text":"TemporaryFile(/tmp/multipartBody478549521923539955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737246859858,"filename":"image_19012025_01_29_02_441146_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329912248","file1":"1329912246","file0":"1329912244","file4":"1329912278","file5":"1329912280","file3":"1329912276"},"map_files_photo_id_array":[{"photo_id":"1329912280","filename":"file5"},{"photo_id":"1329912248","filename":"file2"},{"photo_id":"1329912278","filename":"file4"},{"photo_id":"1329912246","filename":"file1"},{"photo_id":"1329912244","filename":"file0"},{"photo_id":"1329912276","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329912246":["hashtag1","hashtag2"]},{"1329912278":["hashtag1","hashtag2"]},{"1329912248":["hashtag1","hashtag2"]},{"1329912280":["hashtag1","hashtag2"]},{"1329912244":["hashtag1","hashtag2"]},{"1329912276":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329912246, 1329912278, 1329912248, 1329912280, 1329912244, 1329912276)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.46061611175537 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 01:34:02.807441
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/01/30/image_19012025_01_30_02_922519_0001.jpg', '/home/pi/Desktop/images/19012025/01/30/image_19012025_01_30_02_922519_0002.jpg', '/home/pi/Desktop/images/19012025/01/30/image_19012025_01_30_02_922519_0003.jpg', '/home/pi/Desktop/images/19012025/01/31/image_19012025_01_31_02_424332_0000.jpg', '/home/pi/Desktop/images/19012025/01/31/image_19012025_01_31_02_424332_0001.jpg', '/home/pi/Desktop/images/19012025/01/31/image_19012025_01_31_02_424332_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/01/30/image_19012025_01_30_02_922519_0001.jpg
/home/pi/Desktop/images/19012025/01/30/image_19012025_01_30_02_922519_0002.jpg
/home/pi/Desktop/images/19012025/01/30/image_19012025_01_30_02_922519_0003.jpg
/home/pi/Desktop/images/19012025/01/31/image_19012025_01_31_02_424332_0000.jpg
/home/pi/Desktop/images/19012025/01/31/image_19012025_01_31_02_424332_0001.jpg
/home/pi/Desktop/images/19012025/01/31/image_19012025_01_31_02_424332_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 16.067050457000732 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 01:34:22.330881
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/01/30/image_19012025_01_30_02_922519_0001.jpg', '/home/pi/Desktop/images/19012025/01/30/image_19012025_01_30_02_922519_0002.jpg', '/home/pi/Desktop/images/19012025/01/30/image_19012025_01_30_02_922519_0003.jpg', '/home/pi/Desktop/images/19012025/01/31/image_19012025_01_31_02_424332_0000.jpg', '/home/pi/Desktop/images/19012025/01/31/image_19012025_01_31_02_424332_0001.jpg', '/home/pi/Desktop/images/19012025/01/31/image_19012025_01_31_02_424332_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/01/30/image_19012025_01_30_02_922519_0001.jpg
/home/pi/Desktop/images/19012025/01/30/image_19012025_01_30_02_922519_0002.jpg
/home/pi/Desktop/images/19012025/01/30/image_19012025_01_30_02_922519_0003.jpg
/home/pi/Desktop/images/19012025/01/31/image_19012025_01_31_02_424332_0000.jpg
/home/pi/Desktop/images/19012025/01/31/image_19012025_01_31_02_424332_0001.jpg
/home/pi/Desktop/images/19012025/01/31/image_19012025_01_31_02_424332_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329912324","1329912312","1329912314","1329912317","1329912352","1329912319"],"photo_ids_order":["1329912312","1329912314","1329912317","1329912319","1329912324","1329912352"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/f3fe3d74df57870b178982487e32d8e1.jpg","text":"TemporaryFile(/tmp/multipartBody2930877610156955251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737246938767,"filename":"image_19012025_01_31_02_424332_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/77ea29637f137a1b7358f927a69f9c84.jpg","text":"TemporaryFile(/tmp/multipartBody1459734742673635650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737246938767,"filename":"image_19012025_01_30_02_922519_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/764e2ebac95cd0654ecb0792350c1245.jpg","text":"TemporaryFile(/tmp/multipartBody4165019996433904576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737246938767,"filename":"image_19012025_01_30_02_922519_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/46a12826d7b2d3e828347ddcb2617548.jpg","text":"TemporaryFile(/tmp/multipartBody6328187132184919720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737246938767,"filename":"image_19012025_01_30_02_922519_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/dbeaedaab05e181b7471cc948c7b41cf.jpg","text":"TemporaryFile(/tmp/multipartBody6901869342746562299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737246938767,"filename":"image_19012025_01_31_02_424332_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/3b79d5bde3d9ef7dc6601943b9d1a6ac.jpg","text":"TemporaryFile(/tmp/multipartBody6528579781789115471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737246938767,"filename":"image_19012025_01_31_02_424332_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329912317","file1":"1329912314","file0":"1329912312","file4":"1329912324","file5":"1329912352","file3":"1329912319"},"map_files_photo_id_array":[{"photo_id":"1329912352","filename":"file5"},{"photo_id":"1329912317","filename":"file2"},{"photo_id":"1329912324","filename":"file4"},{"photo_id":"1329912314","filename":"file1"},{"photo_id":"1329912312","filename":"file0"},{"photo_id":"1329912319","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329912324":["hashtag1","hashtag2"]},{"1329912312":["hashtag1","hashtag2"]},{"1329912314":["hashtag1","hashtag2"]},{"1329912317":["hashtag1","hashtag2"]},{"1329912352":["hashtag1","hashtag2"]},{"1329912319":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329912324, 1329912312, 1329912314, 1329912317, 1329912352, 1329912319)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.52626442909241 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 01:35:21.876519
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/01/31/image_19012025_01_31_02_424332_0003.jpg', '/home/pi/Desktop/images/19012025/01/32/image_19012025_01_32_03_012894_0000.jpg', '/home/pi/Desktop/images/19012025/01/32/image_19012025_01_32_03_012894_0001.jpg', '/home/pi/Desktop/images/19012025/01/32/image_19012025_01_32_03_012894_0002.jpg', '/home/pi/Desktop/images/19012025/01/32/image_19012025_01_32_03_012894_0003.jpg', '/home/pi/Desktop/images/19012025/01/33/image_19012025_01_33_02_556813_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/01/31/image_19012025_01_31_02_424332_0003.jpg
/home/pi/Desktop/images/19012025/01/32/image_19012025_01_32_03_012894_0000.jpg
/home/pi/Desktop/images/19012025/01/32/image_19012025_01_32_03_012894_0001.jpg
/home/pi/Desktop/images/19012025/01/32/image_19012025_01_32_03_012894_0002.jpg
/home/pi/Desktop/images/19012025/01/32/image_19012025_01_32_03_012894_0003.jpg
/home/pi/Desktop/images/19012025/01/33/image_19012025_01_33_02_556813_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329912576","1329912581","1329912586","1329912583","1329912579","1329912471"],"photo_ids_order":["1329912471","1329912576","1329912579","1329912581","1329912583","1329912586"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/5307973932b483e6a60edbfe16281321.jpg","text":"TemporaryFile(/tmp/multipartBody57968865366351049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737246998118,"filename":"image_19012025_01_32_03_012894_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/448a42f5f88443905e5e07a61b5e9418.jpg","text":"TemporaryFile(/tmp/multipartBody2464068501904135051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737246998118,"filename":"image_19012025_01_32_03_012894_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/d71e7783e59d6770433e1198ecfec3ee.jpg","text":"TemporaryFile(/tmp/multipartBody476827697462271376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737246998118,"filename":"image_19012025_01_33_02_556813_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/51ec8c97ae21fa6ac33cb21fc7389907.jpg","text":"TemporaryFile(/tmp/multipartBody5040795903873928007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737246998118,"filename":"image_19012025_01_32_03_012894_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/1c385528177aaf92efdb7700566a9ad4.jpg","text":"TemporaryFile(/tmp/multipartBody8818175391627737134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737246998118,"filename":"image_19012025_01_32_03_012894_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/99c0cb35134b1e2acf9b8ae2f65d1719.jpg","text":"TemporaryFile(/tmp/multipartBody3933597113064886501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737246998118,"filename":"image_19012025_01_31_02_424332_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329912579","file1":"1329912576","file0":"1329912471","file4":"1329912583","file5":"1329912586","file3":"1329912581"},"map_files_photo_id_array":[{"photo_id":"1329912586","filename":"file5"},{"photo_id":"1329912579","filename":"file2"},{"photo_id":"1329912583","filename":"file4"},{"photo_id":"1329912576","filename":"file1"},{"photo_id":"1329912471","filename":"file0"},{"photo_id":"1329912581","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329912576":["hashtag1","hashtag2"]},{"1329912581":["hashtag1","hashtag2"]},{"1329912586":["hashtag1","hashtag2"]},{"1329912583":["hashtag1","hashtag2"]},{"1329912579":["hashtag1","hashtag2"]},{"1329912471":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329912576, 1329912581, 1329912586, 1329912583, 1329912579, 1329912471)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.085012435913086 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 01:36:22.520189
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/01/33/image_19012025_01_33_02_556813_0001.jpg', '/home/pi/Desktop/images/19012025/01/33/image_19012025_01_33_02_556813_0002.jpg', '/home/pi/Desktop/images/19012025/01/33/image_19012025_01_33_02_556813_0003.jpg', '/home/pi/Desktop/images/19012025/01/34/image_19012025_01_34_03_093035_0000.jpg', '/home/pi/Desktop/images/19012025/01/34/image_19012025_01_34_03_093035_0001.jpg', '/home/pi/Desktop/images/19012025/01/34/image_19012025_01_34_03_093035_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/01/33/image_19012025_01_33_02_556813_0001.jpg
/home/pi/Desktop/images/19012025/01/33/image_19012025_01_33_02_556813_0002.jpg
/home/pi/Desktop/images/19012025/01/33/image_19012025_01_33_02_556813_0003.jpg
/home/pi/Desktop/images/19012025/01/34/image_19012025_01_34_03_093035_0000.jpg
/home/pi/Desktop/images/19012025/01/34/image_19012025_01_34_03_093035_0001.jpg
/home/pi/Desktop/images/19012025/01/34/image_19012025_01_34_03_093035_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329912702","1329912596","1329912592","1329912704","1329912696","1329912699"],"photo_ids_order":["1329912592","1329912596","1329912696","1329912699","1329912702","1329912704"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/362b863c102f8ad7a4984f76fb7783a0.jpg","text":"TemporaryFile(/tmp/multipartBody3223543711589120059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737247058815,"filename":"image_19012025_01_34_03_093035_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/2b42bf6e5cf52a8026be7290fb964a64.jpg","text":"TemporaryFile(/tmp/multipartBody9055248817964966820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737247058815,"filename":"image_19012025_01_33_02_556813_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/e0c3232a70028b4abf57bdcdac27663d.jpg","text":"TemporaryFile(/tmp/multipartBody3629283671333639269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737247058815,"filename":"image_19012025_01_33_02_556813_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/6bad8b13ce840cbdb78f0b5f1c0482a0.jpg","text":"TemporaryFile(/tmp/multipartBody5592761288974219229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737247058815,"filename":"image_19012025_01_34_03_093035_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/1023563bf8c6164b36dbddfef577dcc6.jpg","text":"TemporaryFile(/tmp/multipartBody1757766903230858526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737247058815,"filename":"image_19012025_01_33_02_556813_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/7cf595f850e4a9199ad076ca7df2a366.jpg","text":"TemporaryFile(/tmp/multipartBody4917651361003341455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737247058815,"filename":"image_19012025_01_34_03_093035_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329912696","file1":"1329912596","file0":"1329912592","file4":"1329912702","file5":"1329912704","file3":"1329912699"},"map_files_photo_id_array":[{"photo_id":"1329912704","filename":"file5"},{"photo_id":"1329912696","filename":"file2"},{"photo_id":"1329912702","filename":"file4"},{"photo_id":"1329912596","filename":"file1"},{"photo_id":"1329912592","filename":"file0"},{"photo_id":"1329912699","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329912702":["hashtag1","hashtag2"]},{"1329912596":["hashtag1","hashtag2"]},{"1329912592":["hashtag1","hashtag2"]},{"1329912704":["hashtag1","hashtag2"]},{"1329912696":["hashtag1","hashtag2"]},{"1329912699":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329912702, 1329912596, 1329912592, 1329912704, 1329912696, 1329912699)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.80970788002014 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 01:37:22.010680
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/01/34/image_19012025_01_34_03_093035_0003.jpg', '/home/pi/Desktop/images/19012025/01/35/image_19012025_01_35_02_730235_0000.jpg', '/home/pi/Desktop/images/19012025/01/35/image_19012025_01_35_02_730235_0001.jpg', '/home/pi/Desktop/images/19012025/01/35/image_19012025_01_35_02_730235_0002.jpg', '/home/pi/Desktop/images/19012025/01/35/image_19012025_01_35_02_730235_0003.jpg', '/home/pi/Desktop/images/19012025/01/36/image_19012025_01_36_02_366280_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/01/34/image_19012025_01_34_03_093035_0003.jpg
/home/pi/Desktop/images/19012025/01/35/image_19012025_01_35_02_730235_0000.jpg
/home/pi/Desktop/images/19012025/01/35/image_19012025_01_35_02_730235_0001.jpg
/home/pi/Desktop/images/19012025/01/35/image_19012025_01_35_02_730235_0002.jpg
/home/pi/Desktop/images/19012025/01/35/image_19012025_01_35_02_730235_0003.jpg
/home/pi/Desktop/images/19012025/01/36/image_19012025_01_36_02_366280_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329912756","1329912711","1329912752","1329912731","1329912728","1329912754"],"photo_ids_order":["1329912711","1329912728","1329912731","1329912752","1329912754","1329912756"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/81ac946c27f492011a245a44b94a7c1a.jpg","text":"TemporaryFile(/tmp/multipartBody1953951276936578719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737247118289,"filename":"image_19012025_01_36_02_366280_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/46ebd7e7cae257e2edbe0be95dda382b.jpg","text":"TemporaryFile(/tmp/multipartBody7388514044953669570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737247118289,"filename":"image_19012025_01_34_03_093035_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/ac541a01e2a9567a34110a2b6e4e9705.jpg","text":"TemporaryFile(/tmp/multipartBody9198928822466013135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737247118289,"filename":"image_19012025_01_35_02_730235_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/f5b233c3b78caba268c1ec9ec24a7a94.jpg","text":"TemporaryFile(/tmp/multipartBody1674795474080727911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737247118289,"filename":"image_19012025_01_35_02_730235_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/2ecd5a917546f8320301bd1be7bb25dc.jpg","text":"TemporaryFile(/tmp/multipartBody1303069944027984918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737247118289,"filename":"image_19012025_01_35_02_730235_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/1bceb03b2ad5b9007167d571cc468d92.jpg","text":"TemporaryFile(/tmp/multipartBody6298682913648759002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737247118289,"filename":"image_19012025_01_35_02_730235_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329912731","file1":"1329912728","file0":"1329912711","file4":"1329912754","file5":"1329912756","file3":"1329912752"},"map_files_photo_id_array":[{"photo_id":"1329912756","filename":"file5"},{"photo_id":"1329912731","filename":"file2"},{"photo_id":"1329912754","filename":"file4"},{"photo_id":"1329912728","filename":"file1"},{"photo_id":"1329912711","filename":"file0"},{"photo_id":"1329912752","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329912756":["hashtag1","hashtag2"]},{"1329912711":["hashtag1","hashtag2"]},{"1329912752":["hashtag1","hashtag2"]},{"1329912731":["hashtag1","hashtag2"]},{"1329912728":["hashtag1","hashtag2"]},{"1329912754":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329912756, 1329912711, 1329912752, 1329912731, 1329912728, 1329912754)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.83939576148987 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 01:38:22.624627
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/01/36/image_19012025_01_36_02_366280_0001.jpg', '/home/pi/Desktop/images/19012025/01/36/image_19012025_01_36_02_366280_0002.jpg', '/home/pi/Desktop/images/19012025/01/36/image_19012025_01_36_02_366280_0003.jpg', '/home/pi/Desktop/images/19012025/01/37/image_19012025_01_37_02_858653_0000.jpg', '/home/pi/Desktop/images/19012025/01/37/image_19012025_01_37_02_858653_0001.jpg', '/home/pi/Desktop/images/19012025/01/37/image_19012025_01_37_02_858653_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/01/36/image_19012025_01_36_02_366280_0001.jpg
/home/pi/Desktop/images/19012025/01/36/image_19012025_01_36_02_366280_0002.jpg
/home/pi/Desktop/images/19012025/01/36/image_19012025_01_36_02_366280_0003.jpg
/home/pi/Desktop/images/19012025/01/37/image_19012025_01_37_02_858653_0000.jpg
/home/pi/Desktop/images/19012025/01/37/image_19012025_01_37_02_858653_0001.jpg
/home/pi/Desktop/images/19012025/01/37/image_19012025_01_37_02_858653_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 16.098031997680664 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 01:39:02.717991
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/01/36/image_19012025_01_36_02_366280_0001.jpg', '/home/pi/Desktop/images/19012025/01/36/image_19012025_01_36_02_366280_0002.jpg', '/home/pi/Desktop/images/19012025/01/36/image_19012025_01_36_02_366280_0003.jpg', '/home/pi/Desktop/images/19012025/01/37/image_19012025_01_37_02_858653_0000.jpg', '/home/pi/Desktop/images/19012025/01/37/image_19012025_01_37_02_858653_0001.jpg', '/home/pi/Desktop/images/19012025/01/37/image_19012025_01_37_02_858653_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/01/36/image_19012025_01_36_02_366280_0001.jpg
/home/pi/Desktop/images/19012025/01/36/image_19012025_01_36_02_366280_0002.jpg
/home/pi/Desktop/images/19012025/01/36/image_19012025_01_36_02_366280_0003.jpg
/home/pi/Desktop/images/19012025/01/37/image_19012025_01_37_02_858653_0000.jpg
/home/pi/Desktop/images/19012025/01/37/image_19012025_01_37_02_858653_0001.jpg
/home/pi/Desktop/images/19012025/01/37/image_19012025_01_37_02_858653_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329913733","1329913736","1329913729","1329913767","1329913740","1329913731"],"photo_ids_order":["1329913729","1329913731","1329913733","1329913736","1329913740","1329913767"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/04e6554419e044a1ef2fcba9f6e551ed.jpg","text":"TemporaryFile(/tmp/multipartBody8433529273029157881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737247219315,"filename":"image_19012025_01_36_02_366280_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/14d1fa4400eca94affcf02c5e275a990.jpg","text":"TemporaryFile(/tmp/multipartBody936364107740456136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737247219315,"filename":"image_19012025_01_37_02_858653_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/626b6c23abbfa8157edda1a188fb4650.jpg","text":"TemporaryFile(/tmp/multipartBody8874153178417864474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737247219315,"filename":"image_19012025_01_36_02_366280_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/0c7ad1f07b01407e8e271362f8498f05.jpg","text":"TemporaryFile(/tmp/multipartBody4591038593667930580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737247219315,"filename":"image_19012025_01_37_02_858653_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/8c94a60ee68779655fadc4f8591b7395.jpg","text":"TemporaryFile(/tmp/multipartBody6476542615660565976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737247219315,"filename":"image_19012025_01_37_02_858653_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/647262db3a14d49718998ea3bf37c880.jpg","text":"TemporaryFile(/tmp/multipartBody8364742416086107432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737247219315,"filename":"image_19012025_01_36_02_366280_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329913733","file1":"1329913731","file0":"1329913729","file4":"1329913740","file5":"1329913767","file3":"1329913736"},"map_files_photo_id_array":[{"photo_id":"1329913767","filename":"file5"},{"photo_id":"1329913733","filename":"file2"},{"photo_id":"1329913740","filename":"file4"},{"photo_id":"1329913731","filename":"file1"},{"photo_id":"1329913729","filename":"file0"},{"photo_id":"1329913736","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329913733":["hashtag1","hashtag2"]},{"1329913736":["hashtag1","hashtag2"]},{"1329913729":["hashtag1","hashtag2"]},{"1329913767":["hashtag1","hashtag2"]},{"1329913740":["hashtag1","hashtag2"]},{"1329913731":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329913733, 1329913736, 1329913729, 1329913767, 1329913740, 1329913731)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.62478733062744 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 01:40:02.977097
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/01/37/image_19012025_01_37_02_858653_0003.jpg', '/home/pi/Desktop/images/19012025/01/38/image_19012025_01_38_02_449731_0000.jpg', '/home/pi/Desktop/images/19012025/01/38/image_19012025_01_38_02_449731_0001.jpg', '/home/pi/Desktop/images/19012025/01/38/image_19012025_01_38_02_449731_0002.jpg', '/home/pi/Desktop/images/19012025/01/38/image_19012025_01_38_02_449731_0003.jpg', '/home/pi/Desktop/images/19012025/01/39/image_19012025_01_39_02_950715_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/01/37/image_19012025_01_37_02_858653_0003.jpg
/home/pi/Desktop/images/19012025/01/38/image_19012025_01_38_02_449731_0000.jpg
/home/pi/Desktop/images/19012025/01/38/image_19012025_01_38_02_449731_0001.jpg
/home/pi/Desktop/images/19012025/01/38/image_19012025_01_38_02_449731_0002.jpg
/home/pi/Desktop/images/19012025/01/38/image_19012025_01_38_02_449731_0003.jpg
/home/pi/Desktop/images/19012025/01/39/image_19012025_01_39_02_950715_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: 16.60247039794922 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 01:40:22.590570
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/01/37/image_19012025_01_37_02_858653_0003.jpg', '/home/pi/Desktop/images/19012025/01/38/image_19012025_01_38_02_449731_0000.jpg', '/home/pi/Desktop/images/19012025/01/38/image_19012025_01_38_02_449731_0001.jpg', '/home/pi/Desktop/images/19012025/01/38/image_19012025_01_38_02_449731_0002.jpg', '/home/pi/Desktop/images/19012025/01/38/image_19012025_01_38_02_449731_0003.jpg', '/home/pi/Desktop/images/19012025/01/39/image_19012025_01_39_02_950715_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/01/37/image_19012025_01_37_02_858653_0003.jpg
/home/pi/Desktop/images/19012025/01/38/image_19012025_01_38_02_449731_0000.jpg
/home/pi/Desktop/images/19012025/01/38/image_19012025_01_38_02_449731_0001.jpg
/home/pi/Desktop/images/19012025/01/38/image_19012025_01_38_02_449731_0002.jpg
/home/pi/Desktop/images/19012025/01/38/image_19012025_01_38_02_449731_0003.jpg
/home/pi/Desktop/images/19012025/01/39/image_19012025_01_39_02_950715_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329914258","1329914219","1329914234","1329914227","1329914259","1329914232"],"photo_ids_order":["1329914219","1329914227","1329914232","1329914234","1329914258","1329914259"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/59b279dabe27667dc2bbe142a4c4e471.jpg","text":"TemporaryFile(/tmp/multipartBody5370099886887864482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737247299555,"filename":"image_19012025_01_38_02_449731_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/09d0a34a8cdc0cf4a1fd99cba9977df4.jpg","text":"TemporaryFile(/tmp/multipartBody2941139745135496341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737247299555,"filename":"image_19012025_01_37_02_858653_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/41c652d108c21d6e46d924142cefe390.jpg","text":"TemporaryFile(/tmp/multipartBody796172901971377292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737247299555,"filename":"image_19012025_01_38_02_449731_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/918c5898b20dd707837852a5ae7f20a6.jpg","text":"TemporaryFile(/tmp/multipartBody5910678732782905530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737247299555,"filename":"image_19012025_01_38_02_449731_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/df268e0804439ee2dca6c2f82fc0265e.jpg","text":"TemporaryFile(/tmp/multipartBody2187573717551436966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737247299555,"filename":"image_19012025_01_39_02_950715_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/803451588102177634c2f71e75fc9406.jpg","text":"TemporaryFile(/tmp/multipartBody5962241339711535468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737247299555,"filename":"image_19012025_01_38_02_449731_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329914232","file1":"1329914227","file0":"1329914219","file4":"1329914258","file5":"1329914259","file3":"1329914234"},"map_files_photo_id_array":[{"photo_id":"1329914259","filename":"file5"},{"photo_id":"1329914232","filename":"file2"},{"photo_id":"1329914258","filename":"file4"},{"photo_id":"1329914227","filename":"file1"},{"photo_id":"1329914219","filename":"file0"},{"photo_id":"1329914234","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329914258":["hashtag1","hashtag2"]},{"1329914219":["hashtag1","hashtag2"]},{"1329914234":["hashtag1","hashtag2"]},{"1329914227":["hashtag1","hashtag2"]},{"1329914259":["hashtag1","hashtag2"]},{"1329914232":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329914258, 1329914219, 1329914234, 1329914227, 1329914259, 1329914232)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.240676403045654 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 01:41:22.068563
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/01/39/image_19012025_01_39_02_950715_0001.jpg', '/home/pi/Desktop/images/19012025/01/39/image_19012025_01_39_02_950715_0002.jpg', '/home/pi/Desktop/images/19012025/01/39/image_19012025_01_39_02_950715_0003.jpg', '/home/pi/Desktop/images/19012025/01/40/image_19012025_01_40_02_476100_0000.jpg', '/home/pi/Desktop/images/19012025/01/40/image_19012025_01_40_02_476100_0001.jpg', '/home/pi/Desktop/images/19012025/01/40/image_19012025_01_40_02_476100_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/01/39/image_19012025_01_39_02_950715_0001.jpg
/home/pi/Desktop/images/19012025/01/39/image_19012025_01_39_02_950715_0002.jpg
/home/pi/Desktop/images/19012025/01/39/image_19012025_01_39_02_950715_0003.jpg
/home/pi/Desktop/images/19012025/01/40/image_19012025_01_40_02_476100_0000.jpg
/home/pi/Desktop/images/19012025/01/40/image_19012025_01_40_02_476100_0001.jpg
/home/pi/Desktop/images/19012025/01/40/image_19012025_01_40_02_476100_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":["1329914435","1329914600","1329914602","1329914265","1329914268","1329914604"],"photo_ids_order":["1329914265","1329914268","1329914435","1329914600","1329914602","1329914604"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/dd22160e7875ce913ee9caaa07b99fbb.jpg","text":"TemporaryFile(/tmp/multipartBody5959439118055435000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737247358888,"filename":"image_19012025_01_39_02_950715_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/4844ad0683623e0f103080ae193268ab.jpg","text":"TemporaryFile(/tmp/multipartBody2821906727354979778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737247358888,"filename":"image_19012025_01_40_02_476100_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/dfc30d9ad3eb0728ac74a2572d65408c.jpg","text":"TemporaryFile(/tmp/multipartBody5143356890452631267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737247358888,"filename":"image_19012025_01_40_02_476100_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/ed34c371f4ccce704a43c6bd6e4721dd.jpg","text":"TemporaryFile(/tmp/multipartBody8941496245841870264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737247358888,"filename":"image_19012025_01_39_02_950715_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/c025adaf2d6969f29199872ba7de5068.jpg","text":"TemporaryFile(/tmp/multipartBody3188238748532428822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737247358888,"filename":"image_19012025_01_39_02_950715_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/0bede327c29d73727e78ef8b9409467c.jpg","text":"TemporaryFile(/tmp/multipartBody6444304323376021306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737247358888,"filename":"image_19012025_01_40_02_476100_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329914435","file1":"1329914268","file0":"1329914265","file4":"1329914602","file5":"1329914604","file3":"1329914600"},"map_files_photo_id_array":[{"photo_id":"1329914604","filename":"file5"},{"photo_id":"1329914435","filename":"file2"},{"photo_id":"1329914602","filename":"file4"},{"photo_id":"1329914268","filename":"file1"},{"photo_id":"1329914265","filename":"file0"},{"photo_id":"1329914600","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329914435":["hashtag1","hashtag2"]},{"1329914600":["hashtag1","hashtag2"]},{"1329914602":["hashtag1","hashtag2"]},{"1329914265":["hashtag1","hashtag2"]},{"1329914268":["hashtag1","hashtag2"]},{"1329914604":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329914435, 1329914600, 1329914602, 1329914265, 1329914268, 1329914604)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.70515727996826 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 01:43:02.588252
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/01/40/image_19012025_01_40_02_476100_0003.jpg', '/home/pi/Desktop/images/19012025/01/41/image_19012025_01_41_02_942655_0000.jpg', '/home/pi/Desktop/images/19012025/01/41/image_19012025_01_41_02_942655_0001.jpg', '/home/pi/Desktop/images/19012025/01/41/image_19012025_01_41_02_942655_0002.jpg', '/home/pi/Desktop/images/19012025/01/41/image_19012025_01_41_02_942655_0003.jpg', '/home/pi/Desktop/images/19012025/01/42/image_19012025_01_42_02_415154_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/01/40/image_19012025_01_40_02_476100_0003.jpg
/home/pi/Desktop/images/19012025/01/41/image_19012025_01_41_02_942655_0000.jpg
/home/pi/Desktop/images/19012025/01/41/image_19012025_01_41_02_942655_0001.jpg
/home/pi/Desktop/images/19012025/01/41/image_19012025_01_41_02_942655_0002.jpg
/home/pi/Desktop/images/19012025/01/41/image_19012025_01_41_02_942655_0003.jpg
/home/pi/Desktop/images/19012025/01/42/image_19012025_01_42_02_415154_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: 16.132160186767578 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 01:43:22.030558
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/01/40/image_19012025_01_40_02_476100_0003.jpg', '/home/pi/Desktop/images/19012025/01/41/image_19012025_01_41_02_942655_0000.jpg', '/home/pi/Desktop/images/19012025/01/41/image_19012025_01_41_02_942655_0001.jpg', '/home/pi/Desktop/images/19012025/01/41/image_19012025_01_41_02_942655_0002.jpg', '/home/pi/Desktop/images/19012025/01/41/image_19012025_01_41_02_942655_0003.jpg', '/home/pi/Desktop/images/19012025/01/42/image_19012025_01_42_02_415154_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/01/40/image_19012025_01_40_02_476100_0003.jpg
/home/pi/Desktop/images/19012025/01/41/image_19012025_01_41_02_942655_0000.jpg
/home/pi/Desktop/images/19012025/01/41/image_19012025_01_41_02_942655_0001.jpg
/home/pi/Desktop/images/19012025/01/41/image_19012025_01_41_02_942655_0002.jpg
/home/pi/Desktop/images/19012025/01/41/image_19012025_01_41_02_942655_0003.jpg
/home/pi/Desktop/images/19012025/01/42/image_19012025_01_42_02_415154_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329914653","1329914632","1329914635","1329914629","1329914649","1329914651"],"photo_ids_order":["1329914629","1329914632","1329914635","1329914649","1329914651","1329914653"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/22388fb92b52d488122f0e4d0bd16b35.jpg","text":"TemporaryFile(/tmp/multipartBody4077973744095201331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737247478473,"filename":"image_19012025_01_42_02_415154_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/18865cabcc36cd71199f75e1274ccd21.jpg","text":"TemporaryFile(/tmp/multipartBody1637151233589444502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737247478473,"filename":"image_19012025_01_41_02_942655_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/6552add9fd54d0687caaaabdcda55861.jpg","text":"TemporaryFile(/tmp/multipartBody77682520456744356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737247478473,"filename":"image_19012025_01_41_02_942655_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/f619d03d71cd68f1eb5e0e97895c2d94.jpg","text":"TemporaryFile(/tmp/multipartBody2485009954204376698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737247478473,"filename":"image_19012025_01_40_02_476100_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/203e16558c6866048b42b481c23d42bc.jpg","text":"TemporaryFile(/tmp/multipartBody7174625900833239805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737247478473,"filename":"image_19012025_01_41_02_942655_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/5c0d42afd61bd3aa4fa17dbdd2492a78.jpg","text":"TemporaryFile(/tmp/multipartBody2926687552776637222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737247478473,"filename":"image_19012025_01_41_02_942655_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329914635","file1":"1329914632","file0":"1329914629","file4":"1329914651","file5":"1329914653","file3":"1329914649"},"map_files_photo_id_array":[{"photo_id":"1329914653","filename":"file5"},{"photo_id":"1329914635","filename":"file2"},{"photo_id":"1329914651","filename":"file4"},{"photo_id":"1329914632","filename":"file1"},{"photo_id":"1329914629","filename":"file0"},{"photo_id":"1329914649","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329914653":["hashtag1","hashtag2"]},{"1329914632":["hashtag1","hashtag2"]},{"1329914635":["hashtag1","hashtag2"]},{"1329914629":["hashtag1","hashtag2"]},{"1329914649":["hashtag1","hashtag2"]},{"1329914651":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329914653, 1329914632, 1329914635, 1329914629, 1329914649, 1329914651)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.06858158111572 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 01:44:21.807896
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/01/42/image_19012025_01_42_02_415154_0001.jpg', '/home/pi/Desktop/images/19012025/01/42/image_19012025_01_42_02_415154_0002.jpg', '/home/pi/Desktop/images/19012025/01/42/image_19012025_01_42_02_415154_0003.jpg', '/home/pi/Desktop/images/19012025/01/43/image_19012025_01_43_02_927548_0000.jpg', '/home/pi/Desktop/images/19012025/01/43/image_19012025_01_43_02_927548_0001.jpg', '/home/pi/Desktop/images/19012025/01/43/image_19012025_01_43_02_927548_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/01/42/image_19012025_01_42_02_415154_0001.jpg
/home/pi/Desktop/images/19012025/01/42/image_19012025_01_42_02_415154_0002.jpg
/home/pi/Desktop/images/19012025/01/42/image_19012025_01_42_02_415154_0003.jpg
/home/pi/Desktop/images/19012025/01/43/image_19012025_01_43_02_927548_0000.jpg
/home/pi/Desktop/images/19012025/01/43/image_19012025_01_43_02_927548_0001.jpg
/home/pi/Desktop/images/19012025/01/43/image_19012025_01_43_02_927548_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 16.143554210662842 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 01:45:03.007674
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/01/42/image_19012025_01_42_02_415154_0001.jpg', '/home/pi/Desktop/images/19012025/01/42/image_19012025_01_42_02_415154_0002.jpg', '/home/pi/Desktop/images/19012025/01/42/image_19012025_01_42_02_415154_0003.jpg', '/home/pi/Desktop/images/19012025/01/43/image_19012025_01_43_02_927548_0000.jpg', '/home/pi/Desktop/images/19012025/01/43/image_19012025_01_43_02_927548_0001.jpg', '/home/pi/Desktop/images/19012025/01/43/image_19012025_01_43_02_927548_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/01/42/image_19012025_01_42_02_415154_0001.jpg
/home/pi/Desktop/images/19012025/01/42/image_19012025_01_42_02_415154_0002.jpg
/home/pi/Desktop/images/19012025/01/42/image_19012025_01_42_02_415154_0003.jpg
/home/pi/Desktop/images/19012025/01/43/image_19012025_01_43_02_927548_0000.jpg
/home/pi/Desktop/images/19012025/01/43/image_19012025_01_43_02_927548_0001.jpg
/home/pi/Desktop/images/19012025/01/43/image_19012025_01_43_02_927548_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":["1329914711","1329914702","1329914704","1329914713","1329914707","1329914709"],"photo_ids_order":["1329914702","1329914704","1329914707","1329914709","1329914711","1329914713"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/a7517208e77080a7bb6365ab66133fd6.jpg","text":"TemporaryFile(/tmp/multipartBody6457071840462782521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737247579701,"filename":"image_19012025_01_43_02_927548_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/8d8b86b71063e3eb176e43c4b575d227.jpg","text":"TemporaryFile(/tmp/multipartBody4748159626688446387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737247579701,"filename":"image_19012025_01_42_02_415154_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/4883e8ec4594fff0c00b1622e464ea9a.jpg","text":"TemporaryFile(/tmp/multipartBody349540825470750365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737247579701,"filename":"image_19012025_01_42_02_415154_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/9a73d92fda6a26bc9f6387fe1b22cbf1.jpg","text":"TemporaryFile(/tmp/multipartBody3491001814320173596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737247579701,"filename":"image_19012025_01_43_02_927548_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/80a715da5155f4ee906ceefd8c26213f.jpg","text":"TemporaryFile(/tmp/multipartBody8042996562898852953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737247579701,"filename":"image_19012025_01_42_02_415154_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/d0bd5e7b0f6eac884d86715020df7c63.jpg","text":"TemporaryFile(/tmp/multipartBody8893767413488282186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737247579701,"filename":"image_19012025_01_43_02_927548_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329914707","file1":"1329914704","file0":"1329914702","file4":"1329914711","file5":"1329914713","file3":"1329914709"},"map_files_photo_id_array":[{"photo_id":"1329914713","filename":"file5"},{"photo_id":"1329914707","filename":"file2"},{"photo_id":"1329914711","filename":"file4"},{"photo_id":"1329914704","filename":"file1"},{"photo_id":"1329914702","filename":"file0"},{"photo_id":"1329914709","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329914711":["hashtag1","hashtag2"]},{"1329914702":["hashtag1","hashtag2"]},{"1329914704":["hashtag1","hashtag2"]},{"1329914713":["hashtag1","hashtag2"]},{"1329914707":["hashtag1","hashtag2"]},{"1329914709":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329914711, 1329914702, 1329914704, 1329914713, 1329914707, 1329914709)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.82983422279358 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 01:46:21.917330
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/01/43/image_19012025_01_43_02_927548_0003.jpg', '/home/pi/Desktop/images/19012025/01/44/image_19012025_01_44_02_525508_0000.jpg', '/home/pi/Desktop/images/19012025/01/44/image_19012025_01_44_02_525508_0001.jpg', '/home/pi/Desktop/images/19012025/01/44/image_19012025_01_44_02_525508_0002.jpg', '/home/pi/Desktop/images/19012025/01/44/image_19012025_01_44_02_525508_0003.jpg', '/home/pi/Desktop/images/19012025/01/45/image_19012025_01_45_02_157629_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/01/43/image_19012025_01_43_02_927548_0003.jpg
/home/pi/Desktop/images/19012025/01/44/image_19012025_01_44_02_525508_0000.jpg
/home/pi/Desktop/images/19012025/01/44/image_19012025_01_44_02_525508_0001.jpg
/home/pi/Desktop/images/19012025/01/44/image_19012025_01_44_02_525508_0002.jpg
/home/pi/Desktop/images/19012025/01/44/image_19012025_01_44_02_525508_0003.jpg
/home/pi/Desktop/images/19012025/01/45/image_19012025_01_45_02_157629_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.991012573242188 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 01:47:03.015316
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/01/43/image_19012025_01_43_02_927548_0003.jpg', '/home/pi/Desktop/images/19012025/01/44/image_19012025_01_44_02_525508_0000.jpg', '/home/pi/Desktop/images/19012025/01/44/image_19012025_01_44_02_525508_0001.jpg', '/home/pi/Desktop/images/19012025/01/44/image_19012025_01_44_02_525508_0002.jpg', '/home/pi/Desktop/images/19012025/01/44/image_19012025_01_44_02_525508_0003.jpg', '/home/pi/Desktop/images/19012025/01/45/image_19012025_01_45_02_157629_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/01/43/image_19012025_01_43_02_927548_0003.jpg
/home/pi/Desktop/images/19012025/01/44/image_19012025_01_44_02_525508_0000.jpg
/home/pi/Desktop/images/19012025/01/44/image_19012025_01_44_02_525508_0001.jpg
/home/pi/Desktop/images/19012025/01/44/image_19012025_01_44_02_525508_0002.jpg
/home/pi/Desktop/images/19012025/01/44/image_19012025_01_44_02_525508_0003.jpg
/home/pi/Desktop/images/19012025/01/45/image_19012025_01_45_02_157629_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329915136","1329915115","1329915138","1329915140","1329915143","1329915146"],"photo_ids_order":["1329915115","1329915136","1329915138","1329915140","1329915143","1329915146"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/5ff82e5094f586491848f33453199874.jpg","text":"TemporaryFile(/tmp/multipartBody3980286759900148612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737247699474,"filename":"image_19012025_01_44_02_525508_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/468ad2b1b005bfd2efe15f54779d4cd5.jpg","text":"TemporaryFile(/tmp/multipartBody3583399512423986018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737247699474,"filename":"image_19012025_01_43_02_927548_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/40a5e3cf2969ad4efaa1e7ac9f1229e7.jpg","text":"TemporaryFile(/tmp/multipartBody8980618435498345819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737247699474,"filename":"image_19012025_01_44_02_525508_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/481c07f083b1ea6c11c35f755c1f52ba.jpg","text":"TemporaryFile(/tmp/multipartBody1164326180054558190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737247699474,"filename":"image_19012025_01_44_02_525508_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/5bf1fba405649d53cfc72e9b225e37ca.jpg","text":"TemporaryFile(/tmp/multipartBody6838389806594991064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737247699474,"filename":"image_19012025_01_44_02_525508_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/412b1a18db20f442af33efabd4f72d09.jpg","text":"TemporaryFile(/tmp/multipartBody1736839057797245905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737247699474,"filename":"image_19012025_01_45_02_157629_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329915138","file1":"1329915136","file0":"1329915115","file4":"1329915143","file5":"1329915146","file3":"1329915140"},"map_files_photo_id_array":[{"photo_id":"1329915146","filename":"file5"},{"photo_id":"1329915138","filename":"file2"},{"photo_id":"1329915143","filename":"file4"},{"photo_id":"1329915136","filename":"file1"},{"photo_id":"1329915115","filename":"file0"},{"photo_id":"1329915140","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329915136":["hashtag1","hashtag2"]},{"1329915115":["hashtag1","hashtag2"]},{"1329915138":["hashtag1","hashtag2"]},{"1329915140":["hashtag1","hashtag2"]},{"1329915143":["hashtag1","hashtag2"]},{"1329915146":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329915136, 1329915115, 1329915138, 1329915140, 1329915143, 1329915146)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.30839157104492 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 01:48:02.558513
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/01/45/image_19012025_01_45_02_157629_0001.jpg', '/home/pi/Desktop/images/19012025/01/45/image_19012025_01_45_02_157629_0002.jpg', '/home/pi/Desktop/images/19012025/01/45/image_19012025_01_45_02_157629_0003.jpg', '/home/pi/Desktop/images/19012025/01/46/image_19012025_01_46_02_681129_0000.jpg', '/home/pi/Desktop/images/19012025/01/46/image_19012025_01_46_02_681129_0001.jpg', '/home/pi/Desktop/images/19012025/01/46/image_19012025_01_46_02_681129_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/01/45/image_19012025_01_45_02_157629_0001.jpg
/home/pi/Desktop/images/19012025/01/45/image_19012025_01_45_02_157629_0002.jpg
/home/pi/Desktop/images/19012025/01/45/image_19012025_01_45_02_157629_0003.jpg
/home/pi/Desktop/images/19012025/01/46/image_19012025_01_46_02_681129_0000.jpg
/home/pi/Desktop/images/19012025/01/46/image_19012025_01_46_02_681129_0001.jpg
/home/pi/Desktop/images/19012025/01/46/image_19012025_01_46_02_681129_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329915219","1329915210","1329915213","1329915207","1329915216","1329915155"],"photo_ids_order":["1329915155","1329915207","1329915210","1329915213","1329915216","1329915219"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/aec67757467a49c6544498bca10c76a6.jpg","text":"TemporaryFile(/tmp/multipartBody7716088141057831161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737247759107,"filename":"image_19012025_01_46_02_681129_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/3c7df670fe5c568fbb7c19abaad4c7b2.jpg","text":"TemporaryFile(/tmp/multipartBody3584345608925844661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737247759107,"filename":"image_19012025_01_45_02_157629_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/caf61b83000a46aa30a5561d9e933ab4.jpg","text":"TemporaryFile(/tmp/multipartBody8389931508564166676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737247759107,"filename":"image_19012025_01_46_02_681129_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/a9013d7e013fac6e4104f66caf3126c6.jpg","text":"TemporaryFile(/tmp/multipartBody6048780198923055562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737247759107,"filename":"image_19012025_01_45_02_157629_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/c455818a9f5f1b7cb931eaf6d317b80a.jpg","text":"TemporaryFile(/tmp/multipartBody5150531414064504889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737247759107,"filename":"image_19012025_01_46_02_681129_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/786db6bea42d0edb2152d2975b3c8039.jpg","text":"TemporaryFile(/tmp/multipartBody5820914712531807035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737247759107,"filename":"image_19012025_01_45_02_157629_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329915210","file1":"1329915207","file0":"1329915155","file4":"1329915216","file5":"1329915219","file3":"1329915213"},"map_files_photo_id_array":[{"photo_id":"1329915219","filename":"file5"},{"photo_id":"1329915210","filename":"file2"},{"photo_id":"1329915216","filename":"file4"},{"photo_id":"1329915207","filename":"file1"},{"photo_id":"1329915155","filename":"file0"},{"photo_id":"1329915213","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329915219":["hashtag1","hashtag2"]},{"1329915210":["hashtag1","hashtag2"]},{"1329915213":["hashtag1","hashtag2"]},{"1329915207":["hashtag1","hashtag2"]},{"1329915216":["hashtag1","hashtag2"]},{"1329915155":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329915219, 1329915210, 1329915213, 1329915207, 1329915216, 1329915155)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.037176847457886 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 01:49:03.150316
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/01/46/image_19012025_01_46_02_681129_0003.jpg', '/home/pi/Desktop/images/19012025/01/47/image_19012025_01_47_02_288882_0000.jpg', '/home/pi/Desktop/images/19012025/01/47/image_19012025_01_47_02_288882_0001.jpg', '/home/pi/Desktop/images/19012025/01/47/image_19012025_01_47_02_288882_0002.jpg', '/home/pi/Desktop/images/19012025/01/47/image_19012025_01_47_02_288882_0003.jpg', '/home/pi/Desktop/images/19012025/01/48/image_19012025_01_48_02_822288_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/01/46/image_19012025_01_46_02_681129_0003.jpg
/home/pi/Desktop/images/19012025/01/47/image_19012025_01_47_02_288882_0000.jpg
/home/pi/Desktop/images/19012025/01/47/image_19012025_01_47_02_288882_0001.jpg
/home/pi/Desktop/images/19012025/01/47/image_19012025_01_47_02_288882_0002.jpg
/home/pi/Desktop/images/19012025/01/47/image_19012025_01_47_02_288882_0003.jpg
/home/pi/Desktop/images/19012025/01/48/image_19012025_01_48_02_822288_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329915908","1329915892","1329915894","1329915896","1329915899","1329915920"],"photo_ids_order":["1329915892","1329915894","1329915896","1329915899","1329915908","1329915920"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/74ff8c55a217f6b133a8dcb4855f0b57.jpg","text":"TemporaryFile(/tmp/multipartBody2440137855574293769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737247820306,"filename":"image_19012025_01_47_02_288882_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/d5d986be6e7e0f448e0afcfc8288c36f.jpg","text":"TemporaryFile(/tmp/multipartBody1129682900799514451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737247820306,"filename":"image_19012025_01_46_02_681129_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/0329690d6c13014cab0864178374fc27.jpg","text":"TemporaryFile(/tmp/multipartBody4810903696439575740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737247820306,"filename":"image_19012025_01_47_02_288882_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/fda4056b0e40346cc6d0ab2e8a380cfe.jpg","text":"TemporaryFile(/tmp/multipartBody1905029545959980700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737247820306,"filename":"image_19012025_01_47_02_288882_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/a03e94b37b4b59e70920aff2a13933aa.jpg","text":"TemporaryFile(/tmp/multipartBody2731469929471124846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737247820306,"filename":"image_19012025_01_47_02_288882_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/be13f47ff202bd2f0c7d57aef10e096e.jpg","text":"TemporaryFile(/tmp/multipartBody4410669535260381711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737247820306,"filename":"image_19012025_01_48_02_822288_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329915896","file1":"1329915894","file0":"1329915892","file4":"1329915908","file5":"1329915920","file3":"1329915899"},"map_files_photo_id_array":[{"photo_id":"1329915920","filename":"file5"},{"photo_id":"1329915896","filename":"file2"},{"photo_id":"1329915908","filename":"file4"},{"photo_id":"1329915894","filename":"file1"},{"photo_id":"1329915892","filename":"file0"},{"photo_id":"1329915899","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329915908":["hashtag1","hashtag2"]},{"1329915892":["hashtag1","hashtag2"]},{"1329915894":["hashtag1","hashtag2"]},{"1329915896":["hashtag1","hashtag2"]},{"1329915899":["hashtag1","hashtag2"]},{"1329915920":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329915908, 1329915892, 1329915894, 1329915896, 1329915899, 1329915920)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.269829511642456 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 01:50:02.749232
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/01/48/image_19012025_01_48_02_822288_0001.jpg', '/home/pi/Desktop/images/19012025/01/48/image_19012025_01_48_02_822288_0002.jpg', '/home/pi/Desktop/images/19012025/01/48/image_19012025_01_48_02_822288_0003.jpg', '/home/pi/Desktop/images/19012025/01/49/image_19012025_01_49_02_467806_0000.jpg', '/home/pi/Desktop/images/19012025/01/49/image_19012025_01_49_02_467806_0001.jpg', '/home/pi/Desktop/images/19012025/01/49/image_19012025_01_49_02_467806_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/01/48/image_19012025_01_48_02_822288_0001.jpg
/home/pi/Desktop/images/19012025/01/48/image_19012025_01_48_02_822288_0002.jpg
/home/pi/Desktop/images/19012025/01/48/image_19012025_01_48_02_822288_0003.jpg
/home/pi/Desktop/images/19012025/01/49/image_19012025_01_49_02_467806_0000.jpg
/home/pi/Desktop/images/19012025/01/49/image_19012025_01_49_02_467806_0001.jpg
/home/pi/Desktop/images/19012025/01/49/image_19012025_01_49_02_467806_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329916371","1329916287","1329916374","1329916302","1329916289","1329916274"],"photo_ids_order":["1329916274","1329916287","1329916289","1329916302","1329916371","1329916374"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/aa5361b2f45393d955420f57443edddb.jpg","text":"TemporaryFile(/tmp/multipartBody2624344679715919266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737247879533,"filename":"image_19012025_01_49_02_467806_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/298d31af73a304919386676b9e6d9980.jpg","text":"TemporaryFile(/tmp/multipartBody2133916680419398487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737247879533,"filename":"image_19012025_01_48_02_822288_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/95db41079e6a1839d452fdb79543b67a.jpg","text":"TemporaryFile(/tmp/multipartBody1629270406372378481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737247879533,"filename":"image_19012025_01_49_02_467806_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/f1ed5f6f5aaaf5852d83662dcf4e3025.jpg","text":"TemporaryFile(/tmp/multipartBody7957077553842260458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737247879533,"filename":"image_19012025_01_49_02_467806_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/5880fcc5a582c10c82c5aeabd7515923.jpg","text":"TemporaryFile(/tmp/multipartBody1758231980656439617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737247879533,"filename":"image_19012025_01_48_02_822288_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/df7e4af1701cbdfc35ed392bed7e60bc.jpg","text":"TemporaryFile(/tmp/multipartBody2111627162647298057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737247879533,"filename":"image_19012025_01_48_02_822288_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329916289","file1":"1329916287","file0":"1329916274","file4":"1329916371","file5":"1329916374","file3":"1329916302"},"map_files_photo_id_array":[{"photo_id":"1329916374","filename":"file5"},{"photo_id":"1329916289","filename":"file2"},{"photo_id":"1329916371","filename":"file4"},{"photo_id":"1329916287","filename":"file1"},{"photo_id":"1329916274","filename":"file0"},{"photo_id":"1329916302","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329916371":["hashtag1","hashtag2"]},{"1329916287":["hashtag1","hashtag2"]},{"1329916374":["hashtag1","hashtag2"]},{"1329916302":["hashtag1","hashtag2"]},{"1329916289":["hashtag1","hashtag2"]},{"1329916274":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329916371, 1329916287, 1329916374, 1329916302, 1329916289, 1329916274)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.842899560928345 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 01:51:03.283619
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/01/49/image_19012025_01_49_02_467806_0003.jpg', '/home/pi/Desktop/images/19012025/01/50/image_19012025_01_50_02_966617_0000.jpg', '/home/pi/Desktop/images/19012025/01/50/image_19012025_01_50_02_966617_0001.jpg', '/home/pi/Desktop/images/19012025/01/50/image_19012025_01_50_02_966617_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/01/49/image_19012025_01_49_02_467806_0003.jpg
/home/pi/Desktop/images/19012025/01/50/image_19012025_01_50_02_966617_0000.jpg
/home/pi/Desktop/images/19012025/01/50/image_19012025_01_50_02_966617_0001.jpg
/home/pi/Desktop/images/19012025/01/50/image_19012025_01_50_02_966617_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.852632284164429 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 01:51:22.742065
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/01/49/image_19012025_01_49_02_467806_0003.jpg', '/home/pi/Desktop/images/19012025/01/50/image_19012025_01_50_02_966617_0000.jpg', '/home/pi/Desktop/images/19012025/01/50/image_19012025_01_50_02_966617_0001.jpg', '/home/pi/Desktop/images/19012025/01/50/image_19012025_01_50_02_966617_0002.jpg', '/home/pi/Desktop/images/19012025/01/50/image_19012025_01_50_02_966617_0003.jpg', '/home/pi/Desktop/images/19012025/01/51/image_19012025_01_51_02_615114_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/01/49/image_19012025_01_49_02_467806_0003.jpg
/home/pi/Desktop/images/19012025/01/50/image_19012025_01_50_02_966617_0000.jpg
/home/pi/Desktop/images/19012025/01/50/image_19012025_01_50_02_966617_0001.jpg
/home/pi/Desktop/images/19012025/01/50/image_19012025_01_50_02_966617_0002.jpg
/home/pi/Desktop/images/19012025/01/50/image_19012025_01_50_02_966617_0003.jpg
/home/pi/Desktop/images/19012025/01/51/image_19012025_01_51_02_615114_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329916878","1329916872","1329916854","1329916880","1329916867","1329916876"],"photo_ids_order":["1329916854","1329916867","1329916872","1329916876","1329916878","1329916880"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/0939d00aed7102cdc0899a926303f0dc.jpg","text":"TemporaryFile(/tmp/multipartBody1468939446329094754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737247959043,"filename":"image_19012025_01_50_02_966617_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/575164225d82f5da31d83c163ba87395.jpg","text":"TemporaryFile(/tmp/multipartBody8522454882104574460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737247959043,"filename":"image_19012025_01_50_02_966617_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/02f5d0377bb6f01540f9413e4b3a585e.jpg","text":"TemporaryFile(/tmp/multipartBody8117019341879807687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737247959043,"filename":"image_19012025_01_49_02_467806_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/fcb992b42939097683b29736ea42f865.jpg","text":"TemporaryFile(/tmp/multipartBody7088180348266589985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737247959043,"filename":"image_19012025_01_51_02_615114_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/9fb2febf0655cd4800abb724150141ea.jpg","text":"TemporaryFile(/tmp/multipartBody8761209523204038992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737247959043,"filename":"image_19012025_01_50_02_966617_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/00a0b9df8a00772ef4bd22bbf8ed1884.jpg","text":"TemporaryFile(/tmp/multipartBody686608335017193861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737247959043,"filename":"image_19012025_01_50_02_966617_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329916872","file1":"1329916867","file0":"1329916854","file4":"1329916878","file5":"1329916880","file3":"1329916876"},"map_files_photo_id_array":[{"photo_id":"1329916880","filename":"file5"},{"photo_id":"1329916872","filename":"file2"},{"photo_id":"1329916878","filename":"file4"},{"photo_id":"1329916867","filename":"file1"},{"photo_id":"1329916854","filename":"file0"},{"photo_id":"1329916876","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329916878":["hashtag1","hashtag2"]},{"1329916872":["hashtag1","hashtag2"]},{"1329916854":["hashtag1","hashtag2"]},{"1329916880":["hashtag1","hashtag2"]},{"1329916867":["hashtag1","hashtag2"]},{"1329916876":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329916878, 1329916872, 1329916854, 1329916880, 1329916867, 1329916876)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.31767439842224 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 01:52:22.403472
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/01/51/image_19012025_01_51_02_615114_0001.jpg', '/home/pi/Desktop/images/19012025/01/51/image_19012025_01_51_02_615114_0002.jpg', '/home/pi/Desktop/images/19012025/01/51/image_19012025_01_51_02_615114_0003.jpg', '/home/pi/Desktop/images/19012025/01/52/image_19012025_01_52_03_093126_0000.jpg', '/home/pi/Desktop/images/19012025/01/52/image_19012025_01_52_03_093126_0001.jpg', '/home/pi/Desktop/images/19012025/01/52/image_19012025_01_52_03_093126_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/01/51/image_19012025_01_51_02_615114_0001.jpg
/home/pi/Desktop/images/19012025/01/51/image_19012025_01_51_02_615114_0002.jpg
/home/pi/Desktop/images/19012025/01/51/image_19012025_01_51_02_615114_0003.jpg
/home/pi/Desktop/images/19012025/01/52/image_19012025_01_52_03_093126_0000.jpg
/home/pi/Desktop/images/19012025/01/52/image_19012025_01_52_03_093126_0001.jpg
/home/pi/Desktop/images/19012025/01/52/image_19012025_01_52_03_093126_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329916983","1329917013","1329916979","1329916990","1329916987","1329917011"],"photo_ids_order":["1329916979","1329916983","1329916987","1329916990","1329917011","1329917013"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/a3d823e6b2256b45c5d086a72c94766f.jpg","text":"TemporaryFile(/tmp/multipartBody8211067619177760204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737248018655,"filename":"image_19012025_01_51_02_615114_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/59dd037d1ba9edf31cd14881ab778224.jpg","text":"TemporaryFile(/tmp/multipartBody7048612397336292129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737248018655,"filename":"image_19012025_01_52_03_093126_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/21e7b4fa8adbb631b71ded90d918d9ad.jpg","text":"TemporaryFile(/tmp/multipartBody7930791169608475417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737248018655,"filename":"image_19012025_01_51_02_615114_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/123fe52f795c888a398cb0e47f3c32e9.jpg","text":"TemporaryFile(/tmp/multipartBody589220395689286749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737248018655,"filename":"image_19012025_01_52_03_093126_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/9b671306dc227db41e67ab453b95913a.jpg","text":"TemporaryFile(/tmp/multipartBody931263325952352231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737248018655,"filename":"image_19012025_01_51_02_615114_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/c16935a0464dd2c0bfc3032130c818be.jpg","text":"TemporaryFile(/tmp/multipartBody4977104432914614964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737248018655,"filename":"image_19012025_01_52_03_093126_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329916987","file1":"1329916983","file0":"1329916979","file4":"1329917011","file5":"1329917013","file3":"1329916990"},"map_files_photo_id_array":[{"photo_id":"1329917013","filename":"file5"},{"photo_id":"1329916987","filename":"file2"},{"photo_id":"1329917011","filename":"file4"},{"photo_id":"1329916983","filename":"file1"},{"photo_id":"1329916979","filename":"file0"},{"photo_id":"1329916990","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329916983":["hashtag1","hashtag2"]},{"1329917013":["hashtag1","hashtag2"]},{"1329916979":["hashtag1","hashtag2"]},{"1329916990":["hashtag1","hashtag2"]},{"1329916987":["hashtag1","hashtag2"]},{"1329917011":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329916983, 1329917013, 1329916979, 1329916990, 1329916987, 1329917011)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.5630247592926 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 01:53:21.906658
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/01/52/image_19012025_01_52_03_093126_0003.jpg', '/home/pi/Desktop/images/19012025/01/53/image_19012025_01_53_02_720149_0000.jpg', '/home/pi/Desktop/images/19012025/01/53/image_19012025_01_53_02_720149_0001.jpg', '/home/pi/Desktop/images/19012025/01/53/image_19012025_01_53_02_720149_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/01/52/image_19012025_01_52_03_093126_0003.jpg
/home/pi/Desktop/images/19012025/01/53/image_19012025_01_53_02_720149_0000.jpg
/home/pi/Desktop/images/19012025/01/53/image_19012025_01_53_02_720149_0001.jpg
/home/pi/Desktop/images/19012025/01/53/image_19012025_01_53_02_720149_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329917076","1329917070","1329917073","1329917067"],"photo_ids_order":["1329917067","1329917070","1329917073","1329917076"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/ed6496e357f3748aef5dc0559e0430fc.jpg","text":"TemporaryFile(/tmp/multipartBody9001753019789222647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737248073067,"filename":"image_19012025_01_53_02_720149_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/d8d99e7014339a08b3bba376189b25d3.jpg","text":"TemporaryFile(/tmp/multipartBody367709319347067407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737248073067,"filename":"image_19012025_01_53_02_720149_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/69b64e198617cbb1abb03d9dfb601531.jpg","text":"TemporaryFile(/tmp/multipartBody9134561006547828252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737248073067,"filename":"image_19012025_01_53_02_720149_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/047548b3f81aedf66526f1b4bf53eb08.jpg","text":"TemporaryFile(/tmp/multipartBody9153351322192156407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737248073067,"filename":"image_19012025_01_52_03_093126_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329917073","file1":"1329917070","file0":"1329917067","file3":"1329917076"},"map_files_photo_id_array":[{"photo_id":"1329917073","filename":"file2"},{"photo_id":"1329917070","filename":"file1"},{"photo_id":"1329917067","filename":"file0"},{"photo_id":"1329917076","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329917076":["hashtag1","hashtag2"]},{"1329917070":["hashtag1","hashtag2"]},{"1329917073":["hashtag1","hashtag2"]},{"1329917067":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329917076, 1329917070, 1329917073, 1329917067)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.00151824951172 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 01:54:02.792618
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
  port_id : 19698700
  datou_current_id : 2490825
in upload_from_sqlite, uploading in 19698700
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17012025/21/05/image_17012025_21_05_02_394170_0000.jpg', '/home/pi/Desktop/images/17012025/21/05/image_17012025_21_05_02_394170_0001.jpg', '/home/pi/Desktop/images/17012025/21/05/image_17012025_21_05_02_394170_0002.jpg', '/home/pi/Desktop/images/17012025/21/05/image_17012025_21_05_02_394170_0003.jpg', '/home/pi/Desktop/images/17012025/21/06/image_17012025_21_06_02_625012_0000.jpg', '/home/pi/Desktop/images/17012025/21/06/image_17012025_21_06_02_625012_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2490825&datou=0
/home/pi/Desktop/images/17012025/21/05/image_17012025_21_05_02_394170_0000.jpg
/home/pi/Desktop/images/17012025/21/05/image_17012025_21_05_02_394170_0001.jpg
/home/pi/Desktop/images/17012025/21/05/image_17012025_21_05_02_394170_0002.jpg
/home/pi/Desktop/images/17012025/21/05/image_17012025_21_05_02_394170_0003.jpg
/home/pi/Desktop/images/17012025/21/06/image_17012025_21_06_02_625012_0000.jpg
/home/pi/Desktop/images/17012025/21/06/image_17012025_21_06_02_625012_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329917166","1329917217","1329917168","1329917213","1329917170","1329917164"],"photo_ids_order":["1329917164","1329917166","1329917168","1329917170","1329917213","1329917217"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/d489c0776e8660ecb7ca6e5bfbab75e4.jpg","text":"TemporaryFile(/tmp/multipartBody3507109284053511056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737248120182,"filename":"image_17012025_21_05_02_394170_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/802f8f5019085f99e16c0a002ac0be2d.jpg","text":"TemporaryFile(/tmp/multipartBody3561946115027891906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737248120182,"filename":"image_17012025_21_06_02_625012_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/42ac7119ec745cec826652174171ebb8.jpg","text":"TemporaryFile(/tmp/multipartBody4122396494874595878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737248120182,"filename":"image_17012025_21_05_02_394170_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/850f488f9417b5c93eed967cc9468768.jpg","text":"TemporaryFile(/tmp/multipartBody5564447853324431570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737248120182,"filename":"image_17012025_21_06_02_625012_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/09aa7005c12c7f4af633a722e9c64ac2.jpg","text":"TemporaryFile(/tmp/multipartBody7449491991488020707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737248120182,"filename":"image_17012025_21_05_02_394170_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/23ea9a3ce62a03a9a9aa0822de757caa.jpg","text":"TemporaryFile(/tmp/multipartBody117481020136731339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737248120182,"filename":"image_17012025_21_05_02_394170_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329917168","file1":"1329917166","file0":"1329917164","file4":"1329917213","file5":"1329917217","file3":"1329917170"},"map_files_photo_id_array":[{"photo_id":"1329917217","filename":"file5"},{"photo_id":"1329917168","filename":"file2"},{"photo_id":"1329917213","filename":"file4"},{"photo_id":"1329917166","filename":"file1"},{"photo_id":"1329917164","filename":"file0"},{"photo_id":"1329917170","filename":"file3"}],"portfolio_id":19698700,"hashtag_by_photo_ids":[{"1329917166":["hashtag1","hashtag2"]},{"1329917217":["hashtag1","hashtag2"]},{"1329917168":["hashtag1","hashtag2"]},{"1329917213":["hashtag1","hashtag2"]},{"1329917170":["hashtag1","hashtag2"]},{"1329917164":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698700 used, photo_id : ArrayBuffer(1329917166, 1329917217, 1329917168, 1329917213, 1329917170, 1329917164)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.646525382995605 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 01:55:02.670907
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/01/53/image_19012025_01_53_02_720149_0003.jpg', '/home/pi/Desktop/images/19012025/01/54/image_19012025_01_54_02_333117_0000.jpg', '/home/pi/Desktop/images/19012025/01/54/image_19012025_01_54_02_333117_0001.jpg', '/home/pi/Desktop/images/19012025/01/54/image_19012025_01_54_02_333117_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/01/53/image_19012025_01_53_02_720149_0003.jpg
/home/pi/Desktop/images/19012025/01/54/image_19012025_01_54_02_333117_0000.jpg
/home/pi/Desktop/images/19012025/01/54/image_19012025_01_54_02_333117_0001.jpg
/home/pi/Desktop/images/19012025/01/54/image_19012025_01_54_02_333117_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329917286","1329917271","1329917288","1329917290"],"photo_ids_order":["1329917271","1329917286","1329917288","1329917290"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/6a7c8d76613b5520b9fb51fe73646685.jpg","text":"TemporaryFile(/tmp/multipartBody158519354458981573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737248174160,"filename":"image_19012025_01_54_02_333117_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/0473407c3209ae3d189bc2e5e6da7991.jpg","text":"TemporaryFile(/tmp/multipartBody5929402455441543845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737248174160,"filename":"image_19012025_01_53_02_720149_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/5fb7627b986cc5605c113b0224afdba3.jpg","text":"TemporaryFile(/tmp/multipartBody5757007584801052158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737248174160,"filename":"image_19012025_01_54_02_333117_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/3c943954e7601872fc98b5fc658067a3.jpg","text":"TemporaryFile(/tmp/multipartBody1579816927343347288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737248174160,"filename":"image_19012025_01_54_02_333117_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329917288","file1":"1329917286","file0":"1329917271","file3":"1329917290"},"map_files_photo_id_array":[{"photo_id":"1329917288","filename":"file2"},{"photo_id":"1329917286","filename":"file1"},{"photo_id":"1329917271","filename":"file0"},{"photo_id":"1329917290","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329917286":["hashtag1","hashtag2"]},{"1329917271":["hashtag1","hashtag2"]},{"1329917288":["hashtag1","hashtag2"]},{"1329917290":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329917286, 1329917271, 1329917288, 1329917290)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.85571002960205 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 01:56:03.001923
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/01/54/image_19012025_01_54_02_333117_0003.jpg', '/home/pi/Desktop/images/19012025/01/55/image_19012025_01_55_02_890179_0000.jpg', '/home/pi/Desktop/images/19012025/01/55/image_19012025_01_55_02_890179_0001.jpg', '/home/pi/Desktop/images/19012025/01/55/image_19012025_01_55_02_890179_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/01/54/image_19012025_01_54_02_333117_0003.jpg
/home/pi/Desktop/images/19012025/01/55/image_19012025_01_55_02_890179_0000.jpg
/home/pi/Desktop/images/19012025/01/55/image_19012025_01_55_02_890179_0001.jpg
/home/pi/Desktop/images/19012025/01/55/image_19012025_01_55_02_890179_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 11.277696371078491 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 01:56:22.674609
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/01/54/image_19012025_01_54_02_333117_0003.jpg', '/home/pi/Desktop/images/19012025/01/55/image_19012025_01_55_02_890179_0000.jpg', '/home/pi/Desktop/images/19012025/01/55/image_19012025_01_55_02_890179_0001.jpg', '/home/pi/Desktop/images/19012025/01/55/image_19012025_01_55_02_890179_0002.jpg', '/home/pi/Desktop/images/19012025/01/55/image_19012025_01_55_02_890179_0003.jpg', '/home/pi/Desktop/images/19012025/01/56/image_19012025_01_56_02_408245_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/01/54/image_19012025_01_54_02_333117_0003.jpg
/home/pi/Desktop/images/19012025/01/55/image_19012025_01_55_02_890179_0000.jpg
/home/pi/Desktop/images/19012025/01/55/image_19012025_01_55_02_890179_0001.jpg
/home/pi/Desktop/images/19012025/01/55/image_19012025_01_55_02_890179_0002.jpg
/home/pi/Desktop/images/19012025/01/55/image_19012025_01_55_02_890179_0003.jpg
/home/pi/Desktop/images/19012025/01/56/image_19012025_01_56_02_408245_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329917503","1329917397","1329917505","1329917501","1329917507","1329917499"],"photo_ids_order":["1329917397","1329917499","1329917501","1329917503","1329917505","1329917507"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/b6fecb6fcaa07bee12a7aefcd6160d8d.jpg","text":"TemporaryFile(/tmp/multipartBody7195151105529233620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737248259685,"filename":"image_19012025_01_55_02_890179_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/f88843f0e0040c629e6a3f6d552c1224.jpg","text":"TemporaryFile(/tmp/multipartBody5310178919025101293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737248259685,"filename":"image_19012025_01_54_02_333117_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/214b4312a6701c21db49e86cec5172d6.jpg","text":"TemporaryFile(/tmp/multipartBody4295941699011691017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737248259685,"filename":"image_19012025_01_55_02_890179_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/8d3723f844517edf5d3895b472964b65.jpg","text":"TemporaryFile(/tmp/multipartBody5519844757006306088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737248259685,"filename":"image_19012025_01_55_02_890179_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/fffccab7f7e0f62a5216a5ec84dca289.jpg","text":"TemporaryFile(/tmp/multipartBody2846651072180162001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737248259685,"filename":"image_19012025_01_56_02_408245_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/3bd9f3dc951a18b03cdf004d4ad02bbf.jpg","text":"TemporaryFile(/tmp/multipartBody8905099477979954619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737248259685,"filename":"image_19012025_01_55_02_890179_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329917501","file1":"1329917499","file0":"1329917397","file4":"1329917505","file5":"1329917507","file3":"1329917503"},"map_files_photo_id_array":[{"photo_id":"1329917507","filename":"file5"},{"photo_id":"1329917501","filename":"file2"},{"photo_id":"1329917505","filename":"file4"},{"photo_id":"1329917499","filename":"file1"},{"photo_id":"1329917397","filename":"file0"},{"photo_id":"1329917503","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329917503":["hashtag1","hashtag2"]},{"1329917397":["hashtag1","hashtag2"]},{"1329917505":["hashtag1","hashtag2"]},{"1329917501":["hashtag1","hashtag2"]},{"1329917507":["hashtag1","hashtag2"]},{"1329917499":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329917503, 1329917397, 1329917505, 1329917501, 1329917507, 1329917499)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.24071145057678 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 01:57:22.133875
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/01/56/image_19012025_01_56_02_408245_0001.jpg', '/home/pi/Desktop/images/19012025/01/56/image_19012025_01_56_02_408245_0002.jpg', '/home/pi/Desktop/images/19012025/01/56/image_19012025_01_56_02_408245_0003.jpg', '/home/pi/Desktop/images/19012025/01/57/image_19012025_01_57_03_071135_0000.jpg', '/home/pi/Desktop/images/19012025/01/57/image_19012025_01_57_03_071135_0001.jpg', '/home/pi/Desktop/images/19012025/01/57/image_19012025_01_57_03_071135_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/01/56/image_19012025_01_56_02_408245_0001.jpg
/home/pi/Desktop/images/19012025/01/56/image_19012025_01_56_02_408245_0002.jpg
/home/pi/Desktop/images/19012025/01/56/image_19012025_01_56_02_408245_0003.jpg
/home/pi/Desktop/images/19012025/01/57/image_19012025_01_57_03_071135_0000.jpg
/home/pi/Desktop/images/19012025/01/57/image_19012025_01_57_03_071135_0001.jpg
/home/pi/Desktop/images/19012025/01/57/image_19012025_01_57_03_071135_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-19 01:59:02.456814
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/01/56/image_19012025_01_56_02_408245_0001.jpg', '/home/pi/Desktop/images/19012025/01/56/image_19012025_01_56_02_408245_0002.jpg', '/home/pi/Desktop/images/19012025/01/56/image_19012025_01_56_02_408245_0003.jpg', '/home/pi/Desktop/images/19012025/01/57/image_19012025_01_57_03_071135_0000.jpg', '/home/pi/Desktop/images/19012025/01/57/image_19012025_01_57_03_071135_0001.jpg', '/home/pi/Desktop/images/19012025/01/57/image_19012025_01_57_03_071135_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/01/56/image_19012025_01_56_02_408245_0001.jpg
/home/pi/Desktop/images/19012025/01/56/image_19012025_01_56_02_408245_0002.jpg
/home/pi/Desktop/images/19012025/01/56/image_19012025_01_56_02_408245_0003.jpg
/home/pi/Desktop/images/19012025/01/57/image_19012025_01_57_03_071135_0000.jpg
/home/pi/Desktop/images/19012025/01/57/image_19012025_01_57_03_071135_0001.jpg
/home/pi/Desktop/images/19012025/01/57/image_19012025_01_57_03_071135_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329917586","1329917577","1329917604","1329917582","1329917564","1329917603"],"photo_ids_order":["1329917564","1329917577","1329917582","1329917586","1329917603","1329917604"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/71adf525726a64f571229ffaf08f0db8.jpg","text":"TemporaryFile(/tmp/multipartBody1179567942966781243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737248419108,"filename":"image_19012025_01_57_03_071135_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/8454b24a82b5d104d4e60a362101b285.jpg","text":"TemporaryFile(/tmp/multipartBody8680854462914502603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737248419108,"filename":"image_19012025_01_56_02_408245_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/64223a1abeeb5e4734b8e99d766c977e.jpg","text":"TemporaryFile(/tmp/multipartBody7460509459466310271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737248419108,"filename":"image_19012025_01_57_03_071135_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/eb53d67167344d3ef1aecd872f06161d.jpg","text":"TemporaryFile(/tmp/multipartBody1831302445344934045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737248419108,"filename":"image_19012025_01_56_02_408245_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/52418bb82f1cc40b469294dd1750b6d4.jpg","text":"TemporaryFile(/tmp/multipartBody7724195733526502649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737248419108,"filename":"image_19012025_01_56_02_408245_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/9a4cfd77f33e7e27b8d6cb5d82b0e096.jpg","text":"TemporaryFile(/tmp/multipartBody2208793483169945808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737248419108,"filename":"image_19012025_01_57_03_071135_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329917582","file1":"1329917577","file0":"1329917564","file4":"1329917603","file5":"1329917604","file3":"1329917586"},"map_files_photo_id_array":[{"photo_id":"1329917604","filename":"file5"},{"photo_id":"1329917582","filename":"file2"},{"photo_id":"1329917603","filename":"file4"},{"photo_id":"1329917577","filename":"file1"},{"photo_id":"1329917564","filename":"file0"},{"photo_id":"1329917586","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329917586":["hashtag1","hashtag2"]},{"1329917577":["hashtag1","hashtag2"]},{"1329917604":["hashtag1","hashtag2"]},{"1329917582":["hashtag1","hashtag2"]},{"1329917564":["hashtag1","hashtag2"]},{"1329917603":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329917586, 1329917577, 1329917604, 1329917582, 1329917564, 1329917603)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.19443202018738 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 02:00:03.025563
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/01/57/image_19012025_01_57_03_071135_0003.jpg', '/home/pi/Desktop/images/19012025/01/58/image_19012025_01_58_02_642975_0000.jpg', '/home/pi/Desktop/images/19012025/01/58/image_19012025_01_58_02_642975_0001.jpg', '/home/pi/Desktop/images/19012025/01/58/image_19012025_01_58_02_642975_0002.jpg', '/home/pi/Desktop/images/19012025/01/58/image_19012025_01_58_02_642975_0003.jpg', '/home/pi/Desktop/images/19012025/01/59/image_19012025_01_59_02_164568_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/01/57/image_19012025_01_57_03_071135_0003.jpg
/home/pi/Desktop/images/19012025/01/58/image_19012025_01_58_02_642975_0000.jpg
/home/pi/Desktop/images/19012025/01/58/image_19012025_01_58_02_642975_0001.jpg
/home/pi/Desktop/images/19012025/01/58/image_19012025_01_58_02_642975_0002.jpg
/home/pi/Desktop/images/19012025/01/58/image_19012025_01_58_02_642975_0003.jpg
/home/pi/Desktop/images/19012025/01/59/image_19012025_01_59_02_164568_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329918129","1329918125","1329918113","1329918107","1329918121","1329918118"],"photo_ids_order":["1329918107","1329918113","1329918118","1329918121","1329918125","1329918129"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/3687004f4d2da366ff7388b9b92ce7eb.jpg","text":"TemporaryFile(/tmp/multipartBody8766394621317495434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737248479849,"filename":"image_19012025_01_59_02_164568_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/21346973daab7774d0e78f8dbe79ed77.jpg","text":"TemporaryFile(/tmp/multipartBody2302917490886069881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737248479849,"filename":"image_19012025_01_58_02_642975_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/493ffa4decc308faf36219dad514a374.jpg","text":"TemporaryFile(/tmp/multipartBody881995764694079207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737248479849,"filename":"image_19012025_01_58_02_642975_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/515a4a1627dc7b52bc90164ac2b63fbe.jpg","text":"TemporaryFile(/tmp/multipartBody5013643249710509618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737248479849,"filename":"image_19012025_01_57_03_071135_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/b5e5c21458d015752a9b38e73f4f68ac.jpg","text":"TemporaryFile(/tmp/multipartBody2069279650359527814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737248479849,"filename":"image_19012025_01_58_02_642975_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/f2651b89ad237f808a452345db5e9ff0.jpg","text":"TemporaryFile(/tmp/multipartBody1254497283661139025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737248479849,"filename":"image_19012025_01_58_02_642975_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329918118","file1":"1329918113","file0":"1329918107","file4":"1329918125","file5":"1329918129","file3":"1329918121"},"map_files_photo_id_array":[{"photo_id":"1329918129","filename":"file5"},{"photo_id":"1329918118","filename":"file2"},{"photo_id":"1329918125","filename":"file4"},{"photo_id":"1329918113","filename":"file1"},{"photo_id":"1329918107","filename":"file0"},{"photo_id":"1329918121","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329918129":["hashtag1","hashtag2"]},{"1329918125":["hashtag1","hashtag2"]},{"1329918113":["hashtag1","hashtag2"]},{"1329918107":["hashtag1","hashtag2"]},{"1329918121":["hashtag1","hashtag2"]},{"1329918118":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329918129, 1329918125, 1329918113, 1329918107, 1329918121, 1329918118)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.849159717559814 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 02:01:02.687383
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/01/59/image_19012025_01_59_02_164568_0001.jpg', '/home/pi/Desktop/images/19012025/01/59/image_19012025_01_59_02_164568_0002.jpg', '/home/pi/Desktop/images/19012025/01/59/image_19012025_01_59_02_164568_0003.jpg', '/home/pi/Desktop/images/19012025/02/00/image_19012025_02_00_02_287126_0000.jpg', '/home/pi/Desktop/images/19012025/02/00/image_19012025_02_00_02_287126_0001.jpg', '/home/pi/Desktop/images/19012025/02/00/image_19012025_02_00_02_287126_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/01/59/image_19012025_01_59_02_164568_0001.jpg
/home/pi/Desktop/images/19012025/01/59/image_19012025_01_59_02_164568_0002.jpg
/home/pi/Desktop/images/19012025/01/59/image_19012025_01_59_02_164568_0003.jpg
/home/pi/Desktop/images/19012025/02/00/image_19012025_02_00_02_287126_0000.jpg
/home/pi/Desktop/images/19012025/02/00/image_19012025_02_00_02_287126_0001.jpg
/home/pi/Desktop/images/19012025/02/00/image_19012025_02_00_02_287126_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 16.78119993209839 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 02:01:21.992783
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/01/59/image_19012025_01_59_02_164568_0001.jpg', '/home/pi/Desktop/images/19012025/01/59/image_19012025_01_59_02_164568_0002.jpg', '/home/pi/Desktop/images/19012025/01/59/image_19012025_01_59_02_164568_0003.jpg', '/home/pi/Desktop/images/19012025/02/00/image_19012025_02_00_02_287126_0000.jpg', '/home/pi/Desktop/images/19012025/02/00/image_19012025_02_00_02_287126_0001.jpg', '/home/pi/Desktop/images/19012025/02/00/image_19012025_02_00_02_287126_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/01/59/image_19012025_01_59_02_164568_0001.jpg
/home/pi/Desktop/images/19012025/01/59/image_19012025_01_59_02_164568_0002.jpg
/home/pi/Desktop/images/19012025/01/59/image_19012025_01_59_02_164568_0003.jpg
/home/pi/Desktop/images/19012025/02/00/image_19012025_02_00_02_287126_0000.jpg
/home/pi/Desktop/images/19012025/02/00/image_19012025_02_00_02_287126_0001.jpg
/home/pi/Desktop/images/19012025/02/00/image_19012025_02_00_02_287126_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329918414","1329918408","1329918416","1329918410","1329918397","1329918403"],"photo_ids_order":["1329918397","1329918403","1329918408","1329918410","1329918414","1329918416"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/a85032e1ee39774ba57212039cbe1d74.jpg","text":"TemporaryFile(/tmp/multipartBody7400548173934037592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737248559081,"filename":"image_19012025_02_00_02_287126_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/a9174c0b96e430a8515d708627551801.jpg","text":"TemporaryFile(/tmp/multipartBody5716690975941960879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737248559081,"filename":"image_19012025_01_59_02_164568_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/08b593fb45e6f429d9f3fbe9d4c836a0.jpg","text":"TemporaryFile(/tmp/multipartBody3179142210863262595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737248559081,"filename":"image_19012025_02_00_02_287126_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/c30d47ca04b56b9c917d0567c481ed1e.jpg","text":"TemporaryFile(/tmp/multipartBody4772940197601895570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737248559081,"filename":"image_19012025_02_00_02_287126_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/f584420fab81185f47f5a98e8ca3403b.jpg","text":"TemporaryFile(/tmp/multipartBody602812001106745192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737248559081,"filename":"image_19012025_01_59_02_164568_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/14e882e34be418c4879491cf569c81aa.jpg","text":"TemporaryFile(/tmp/multipartBody2462225385052752640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737248559081,"filename":"image_19012025_01_59_02_164568_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329918408","file1":"1329918403","file0":"1329918397","file4":"1329918414","file5":"1329918416","file3":"1329918410"},"map_files_photo_id_array":[{"photo_id":"1329918416","filename":"file5"},{"photo_id":"1329918408","filename":"file2"},{"photo_id":"1329918414","filename":"file4"},{"photo_id":"1329918403","filename":"file1"},{"photo_id":"1329918397","filename":"file0"},{"photo_id":"1329918410","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329918414":["hashtag1","hashtag2"]},{"1329918408":["hashtag1","hashtag2"]},{"1329918416":["hashtag1","hashtag2"]},{"1329918410":["hashtag1","hashtag2"]},{"1329918397":["hashtag1","hashtag2"]},{"1329918403":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329918414, 1329918408, 1329918416, 1329918410, 1329918397, 1329918403)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.73103046417236 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 02:02:22.746667
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/02/00/image_19012025_02_00_02_287126_0003.jpg', '/home/pi/Desktop/images/19012025/02/01/image_19012025_02_01_02_973929_0000.jpg', '/home/pi/Desktop/images/19012025/02/01/image_19012025_02_01_02_973929_0001.jpg', '/home/pi/Desktop/images/19012025/02/01/image_19012025_02_01_02_973929_0002.jpg', '/home/pi/Desktop/images/19012025/02/01/image_19012025_02_01_02_973929_0003.jpg', '/home/pi/Desktop/images/19012025/02/02/image_19012025_02_02_02_483057_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/02/00/image_19012025_02_00_02_287126_0003.jpg
/home/pi/Desktop/images/19012025/02/01/image_19012025_02_01_02_973929_0000.jpg
/home/pi/Desktop/images/19012025/02/01/image_19012025_02_01_02_973929_0001.jpg
/home/pi/Desktop/images/19012025/02/01/image_19012025_02_01_02_973929_0002.jpg
/home/pi/Desktop/images/19012025/02/01/image_19012025_02_01_02_973929_0003.jpg
/home/pi/Desktop/images/19012025/02/02/image_19012025_02_02_02_483057_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329918443","1329918428","1329918436","1329918445","1329918439","1329918433"],"photo_ids_order":["1329918428","1329918433","1329918436","1329918439","1329918443","1329918445"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/a3e3a3226ad7a3d03af359298820eb6e.jpg","text":"TemporaryFile(/tmp/multipartBody8103409233700044884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737248619849,"filename":"image_19012025_02_01_02_973929_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/0d714a216e324c453c80d9ec823bbdbe.jpg","text":"TemporaryFile(/tmp/multipartBody4820165194081192946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737248619849,"filename":"image_19012025_02_00_02_287126_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/a71ae375ce69040ed64feaf6e37ae990.jpg","text":"TemporaryFile(/tmp/multipartBody5345284618092803297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737248619849,"filename":"image_19012025_02_01_02_973929_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/1c639337a6e9d29ed9a955ec510bbf70.jpg","text":"TemporaryFile(/tmp/multipartBody8916828157863951515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737248619849,"filename":"image_19012025_02_02_02_483057_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/6edf9e3d9f71b90dbc6e15e866e366d0.jpg","text":"TemporaryFile(/tmp/multipartBody2398836365822068384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737248619849,"filename":"image_19012025_02_01_02_973929_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/141fc9824aee924470c8917c19e8b801.jpg","text":"TemporaryFile(/tmp/multipartBody531805119758973372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737248619849,"filename":"image_19012025_02_01_02_973929_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329918436","file1":"1329918433","file0":"1329918428","file4":"1329918443","file5":"1329918445","file3":"1329918439"},"map_files_photo_id_array":[{"photo_id":"1329918445","filename":"file5"},{"photo_id":"1329918436","filename":"file2"},{"photo_id":"1329918443","filename":"file4"},{"photo_id":"1329918433","filename":"file1"},{"photo_id":"1329918428","filename":"file0"},{"photo_id":"1329918439","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329918443":["hashtag1","hashtag2"]},{"1329918428":["hashtag1","hashtag2"]},{"1329918436":["hashtag1","hashtag2"]},{"1329918445":["hashtag1","hashtag2"]},{"1329918439":["hashtag1","hashtag2"]},{"1329918433":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329918443, 1329918428, 1329918436, 1329918445, 1329918439, 1329918433)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.616541385650635 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 02:03:22.212563
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/02/02/image_19012025_02_02_02_483057_0001.jpg', '/home/pi/Desktop/images/19012025/02/02/image_19012025_02_02_02_483057_0002.jpg', '/home/pi/Desktop/images/19012025/02/02/image_19012025_02_02_02_483057_0003.jpg', '/home/pi/Desktop/images/19012025/02/03/image_19012025_02_03_03_129626_0000.jpg', '/home/pi/Desktop/images/19012025/02/03/image_19012025_02_03_03_129626_0001.jpg', '/home/pi/Desktop/images/19012025/02/03/image_19012025_02_03_03_129626_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/02/02/image_19012025_02_02_02_483057_0001.jpg
/home/pi/Desktop/images/19012025/02/02/image_19012025_02_02_02_483057_0002.jpg
/home/pi/Desktop/images/19012025/02/02/image_19012025_02_02_02_483057_0003.jpg
/home/pi/Desktop/images/19012025/02/03/image_19012025_02_03_03_129626_0000.jpg
/home/pi/Desktop/images/19012025/02/03/image_19012025_02_03_03_129626_0001.jpg
/home/pi/Desktop/images/19012025/02/03/image_19012025_02_03_03_129626_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329918461","1329918458","1329918467","1329918469","1329918463","1329918465"],"photo_ids_order":["1329918458","1329918461","1329918463","1329918465","1329918467","1329918469"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/ff95a9681106a08b0131e345dfdaf263.jpg","text":"TemporaryFile(/tmp/multipartBody5273182420753437326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737248678666,"filename":"image_19012025_02_02_02_483057_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/ff54cc976bf21430a2250caeb7b231e3.jpg","text":"TemporaryFile(/tmp/multipartBody9159767264661032617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737248678666,"filename":"image_19012025_02_02_02_483057_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/048799acacfd9d7858176022940201e7.jpg","text":"TemporaryFile(/tmp/multipartBody8272493874409365840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737248678666,"filename":"image_19012025_02_03_03_129626_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/70095a32a04e69dab1a3cc73d8f16517.jpg","text":"TemporaryFile(/tmp/multipartBody5720684257163432249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737248678666,"filename":"image_19012025_02_03_03_129626_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/7d21ac994471e84400a2947217610e39.jpg","text":"TemporaryFile(/tmp/multipartBody4190210082455194955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737248678666,"filename":"image_19012025_02_02_02_483057_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/6bffd9afc6f4480744d2300ca80fbb3d.jpg","text":"TemporaryFile(/tmp/multipartBody7129063379421243166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737248678666,"filename":"image_19012025_02_03_03_129626_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329918463","file1":"1329918461","file0":"1329918458","file4":"1329918467","file5":"1329918469","file3":"1329918465"},"map_files_photo_id_array":[{"photo_id":"1329918469","filename":"file5"},{"photo_id":"1329918463","filename":"file2"},{"photo_id":"1329918467","filename":"file4"},{"photo_id":"1329918461","filename":"file1"},{"photo_id":"1329918458","filename":"file0"},{"photo_id":"1329918465","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329918461":["hashtag1","hashtag2"]},{"1329918458":["hashtag1","hashtag2"]},{"1329918467":["hashtag1","hashtag2"]},{"1329918469":["hashtag1","hashtag2"]},{"1329918463":["hashtag1","hashtag2"]},{"1329918465":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329918461, 1329918458, 1329918467, 1329918469, 1329918463, 1329918465)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.541236877441406 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 02:04:21.757704
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/02/03/image_19012025_02_03_03_129626_0003.jpg', '/home/pi/Desktop/images/19012025/02/04/image_19012025_02_04_02_650936_0000.jpg', '/home/pi/Desktop/images/19012025/02/04/image_19012025_02_04_02_650936_0001.jpg', '/home/pi/Desktop/images/19012025/02/04/image_19012025_02_04_02_650936_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/02/03/image_19012025_02_03_03_129626_0003.jpg
/home/pi/Desktop/images/19012025/02/04/image_19012025_02_04_02_650936_0000.jpg
/home/pi/Desktop/images/19012025/02/04/image_19012025_02_04_02_650936_0001.jpg
/home/pi/Desktop/images/19012025/02/04/image_19012025_02_04_02_650936_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 11.072901010513306 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 02:05:02.824196
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/02/03/image_19012025_02_03_03_129626_0003.jpg', '/home/pi/Desktop/images/19012025/02/04/image_19012025_02_04_02_650936_0000.jpg', '/home/pi/Desktop/images/19012025/02/04/image_19012025_02_04_02_650936_0001.jpg', '/home/pi/Desktop/images/19012025/02/04/image_19012025_02_04_02_650936_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/02/03/image_19012025_02_03_03_129626_0003.jpg
/home/pi/Desktop/images/19012025/02/04/image_19012025_02_04_02_650936_0000.jpg
/home/pi/Desktop/images/19012025/02/04/image_19012025_02_04_02_650936_0001.jpg
/home/pi/Desktop/images/19012025/02/04/image_19012025_02_04_02_650936_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329918491","1329918497","1329918500","1329918493"],"photo_ids_order":["1329918491","1329918493","1329918497","1329918500"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/c1a9c6720e6c771924c96a8e94263dcb.jpg","text":"TemporaryFile(/tmp/multipartBody8256811063814720272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737248774368,"filename":"image_19012025_02_03_03_129626_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/a8c59ce376006a92db5fd04a9c305bc2.jpg","text":"TemporaryFile(/tmp/multipartBody2733514615810316288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737248774368,"filename":"image_19012025_02_04_02_650936_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/df76481e089d310f5348422b0fad658b.jpg","text":"TemporaryFile(/tmp/multipartBody34578764423680007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737248774368,"filename":"image_19012025_02_04_02_650936_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/502545e70218ca2a7896a93681e8996f.jpg","text":"TemporaryFile(/tmp/multipartBody3247697178233837034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737248774368,"filename":"image_19012025_02_04_02_650936_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329918497","file1":"1329918493","file0":"1329918491","file3":"1329918500"},"map_files_photo_id_array":[{"photo_id":"1329918497","filename":"file2"},{"photo_id":"1329918493","filename":"file1"},{"photo_id":"1329918491","filename":"file0"},{"photo_id":"1329918500","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329918491":["hashtag1","hashtag2"]},{"1329918497":["hashtag1","hashtag2"]},{"1329918500":["hashtag1","hashtag2"]},{"1329918493":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329918491, 1329918497, 1329918500, 1329918493)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.40409564971924 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 02:06:02.396314
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/02/04/image_19012025_02_04_02_650936_0003.jpg', '/home/pi/Desktop/images/19012025/02/05/image_19012025_02_05_02_165370_0000.jpg', '/home/pi/Desktop/images/19012025/02/05/image_19012025_02_05_02_165370_0001.jpg', '/home/pi/Desktop/images/19012025/02/05/image_19012025_02_05_02_165370_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/02/04/image_19012025_02_04_02_650936_0003.jpg
/home/pi/Desktop/images/19012025/02/05/image_19012025_02_05_02_165370_0000.jpg
/home/pi/Desktop/images/19012025/02/05/image_19012025_02_05_02_165370_0001.jpg
/home/pi/Desktop/images/19012025/02/05/image_19012025_02_05_02_165370_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 11.0654878616333 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 02:06:22.084515
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/02/04/image_19012025_02_04_02_650936_0003.jpg', '/home/pi/Desktop/images/19012025/02/05/image_19012025_02_05_02_165370_0000.jpg', '/home/pi/Desktop/images/19012025/02/05/image_19012025_02_05_02_165370_0001.jpg', '/home/pi/Desktop/images/19012025/02/05/image_19012025_02_05_02_165370_0002.jpg', '/home/pi/Desktop/images/19012025/02/05/image_19012025_02_05_02_165370_0003.jpg', '/home/pi/Desktop/images/19012025/02/06/image_19012025_02_06_02_730273_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/02/04/image_19012025_02_04_02_650936_0003.jpg
/home/pi/Desktop/images/19012025/02/05/image_19012025_02_05_02_165370_0000.jpg
/home/pi/Desktop/images/19012025/02/05/image_19012025_02_05_02_165370_0001.jpg
/home/pi/Desktop/images/19012025/02/05/image_19012025_02_05_02_165370_0002.jpg
/home/pi/Desktop/images/19012025/02/05/image_19012025_02_05_02_165370_0003.jpg
/home/pi/Desktop/images/19012025/02/06/image_19012025_02_06_02_730273_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329918534","1329918536","1329918530","1329918524","1329918527","1329918532"],"photo_ids_order":["1329918524","1329918527","1329918530","1329918532","1329918534","1329918536"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/fbef838e011b933d8f8cf7f67526e4de.jpg","text":"TemporaryFile(/tmp/multipartBody5467763108677081653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737248858726,"filename":"image_19012025_02_05_02_165370_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/e56a2f8d64fe9e520655906b77fffdf7.jpg","text":"TemporaryFile(/tmp/multipartBody4787641772315399356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737248858726,"filename":"image_19012025_02_06_02_730273_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/65b34581e081da709a0df0a7b71ffa9d.jpg","text":"TemporaryFile(/tmp/multipartBody7092451645519157776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737248858726,"filename":"image_19012025_02_05_02_165370_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/b6a33da91f642db1b5d5e6d605d3e464.jpg","text":"TemporaryFile(/tmp/multipartBody2893961047558044386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737248858726,"filename":"image_19012025_02_04_02_650936_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/0f118c8d62e29482c6ba8b4814852cbb.jpg","text":"TemporaryFile(/tmp/multipartBody7946063743341055762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737248858726,"filename":"image_19012025_02_05_02_165370_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/5b7cabfb12a727341dec8e33eea095ae.jpg","text":"TemporaryFile(/tmp/multipartBody8941283017728203756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737248858726,"filename":"image_19012025_02_05_02_165370_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329918530","file1":"1329918527","file0":"1329918524","file4":"1329918534","file5":"1329918536","file3":"1329918532"},"map_files_photo_id_array":[{"photo_id":"1329918536","filename":"file5"},{"photo_id":"1329918530","filename":"file2"},{"photo_id":"1329918534","filename":"file4"},{"photo_id":"1329918527","filename":"file1"},{"photo_id":"1329918524","filename":"file0"},{"photo_id":"1329918532","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329918534":["hashtag1","hashtag2"]},{"1329918536":["hashtag1","hashtag2"]},{"1329918530":["hashtag1","hashtag2"]},{"1329918524":["hashtag1","hashtag2"]},{"1329918527":["hashtag1","hashtag2"]},{"1329918532":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329918534, 1329918536, 1329918530, 1329918524, 1329918527, 1329918532)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.55853891372681 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 02:07:22.605747
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/02/06/image_19012025_02_06_02_730273_0001.jpg', '/home/pi/Desktop/images/19012025/02/06/image_19012025_02_06_02_730273_0002.jpg', '/home/pi/Desktop/images/19012025/02/06/image_19012025_02_06_02_730273_0003.jpg', '/home/pi/Desktop/images/19012025/02/07/image_19012025_02_07_02_400104_0000.jpg', '/home/pi/Desktop/images/19012025/02/07/image_19012025_02_07_02_400104_0001.jpg', '/home/pi/Desktop/images/19012025/02/07/image_19012025_02_07_02_400104_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/02/06/image_19012025_02_06_02_730273_0001.jpg
/home/pi/Desktop/images/19012025/02/06/image_19012025_02_06_02_730273_0002.jpg
/home/pi/Desktop/images/19012025/02/06/image_19012025_02_06_02_730273_0003.jpg
/home/pi/Desktop/images/19012025/02/07/image_19012025_02_07_02_400104_0000.jpg
/home/pi/Desktop/images/19012025/02/07/image_19012025_02_07_02_400104_0001.jpg
/home/pi/Desktop/images/19012025/02/07/image_19012025_02_07_02_400104_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329918555","1329918549","1329918557","1329918551","1329918553","1329918547"],"photo_ids_order":["1329918547","1329918549","1329918551","1329918553","1329918555","1329918557"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/10df28b8ae46c1c840cd47b0e50ea444.jpg","text":"TemporaryFile(/tmp/multipartBody7067051522209964856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737248919449,"filename":"image_19012025_02_07_02_400104_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/302028d50c403ae24ab5bd99978686d8.jpg","text":"TemporaryFile(/tmp/multipartBody7510022770214728932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737248919449,"filename":"image_19012025_02_06_02_730273_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/5f9764ec81e079126adc04226f151298.jpg","text":"TemporaryFile(/tmp/multipartBody421449123344541077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737248919449,"filename":"image_19012025_02_07_02_400104_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/f6b2a8fd6cdaec1215f0d20f3624e827.jpg","text":"TemporaryFile(/tmp/multipartBody761847190639099316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737248919449,"filename":"image_19012025_02_06_02_730273_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/b43c346d874d9fe19460c33dd21ada6d.jpg","text":"TemporaryFile(/tmp/multipartBody6318665442375057776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737248919449,"filename":"image_19012025_02_07_02_400104_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/8ea8cf985531b224f4abb3b7a9bde4f9.jpg","text":"TemporaryFile(/tmp/multipartBody6175825459202852083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737248919449,"filename":"image_19012025_02_06_02_730273_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329918551","file1":"1329918549","file0":"1329918547","file4":"1329918555","file5":"1329918557","file3":"1329918553"},"map_files_photo_id_array":[{"photo_id":"1329918557","filename":"file5"},{"photo_id":"1329918551","filename":"file2"},{"photo_id":"1329918555","filename":"file4"},{"photo_id":"1329918549","filename":"file1"},{"photo_id":"1329918547","filename":"file0"},{"photo_id":"1329918553","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329918555":["hashtag1","hashtag2"]},{"1329918549":["hashtag1","hashtag2"]},{"1329918557":["hashtag1","hashtag2"]},{"1329918551":["hashtag1","hashtag2"]},{"1329918553":["hashtag1","hashtag2"]},{"1329918547":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329918555, 1329918549, 1329918557, 1329918551, 1329918553, 1329918547)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.94003129005432 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 02:08:21.992891
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/02/07/image_19012025_02_07_02_400104_0003.jpg', '/home/pi/Desktop/images/19012025/02/08/image_19012025_02_08_02_864662_0000.jpg', '/home/pi/Desktop/images/19012025/02/08/image_19012025_02_08_02_864662_0001.jpg', '/home/pi/Desktop/images/19012025/02/08/image_19012025_02_08_02_864662_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/02/07/image_19012025_02_07_02_400104_0003.jpg
/home/pi/Desktop/images/19012025/02/08/image_19012025_02_08_02_864662_0000.jpg
/home/pi/Desktop/images/19012025/02/08/image_19012025_02_08_02_864662_0001.jpg
/home/pi/Desktop/images/19012025/02/08/image_19012025_02_08_02_864662_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329918589","1329918576","1329918591","1329918579"],"photo_ids_order":["1329918576","1329918579","1329918589","1329918591"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/e9bb445c40593f650f1c0424d1c6152f.jpg","text":"TemporaryFile(/tmp/multipartBody4484047506487742795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737248973322,"filename":"image_19012025_02_08_02_864662_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/951feabeb0f88a21581bd7de921e3f87.jpg","text":"TemporaryFile(/tmp/multipartBody6595430411846710795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737248973322,"filename":"image_19012025_02_07_02_400104_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/4c5af65d32de47b2c85d23cc1e4f119b.jpg","text":"TemporaryFile(/tmp/multipartBody5546503080649822607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737248973322,"filename":"image_19012025_02_08_02_864662_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/980fb66eaca054f64893711b7e9b372f.jpg","text":"TemporaryFile(/tmp/multipartBody2229839179941810284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737248973322,"filename":"image_19012025_02_08_02_864662_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329918589","file1":"1329918579","file0":"1329918576","file3":"1329918591"},"map_files_photo_id_array":[{"photo_id":"1329918589","filename":"file2"},{"photo_id":"1329918579","filename":"file1"},{"photo_id":"1329918576","filename":"file0"},{"photo_id":"1329918591","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329918589":["hashtag1","hashtag2"]},{"1329918576":["hashtag1","hashtag2"]},{"1329918591":["hashtag1","hashtag2"]},{"1329918579":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329918589, 1329918576, 1329918591, 1329918579)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.968180656433105 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 02:09:03.058220
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
  port_id : 19698700
  datou_current_id : 2490825
in upload_from_sqlite, uploading in 19698700
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17012025/21/06/image_17012025_21_06_02_625012_0002.jpg', '/home/pi/Desktop/images/17012025/21/06/image_17012025_21_06_02_625012_0003.jpg', '/home/pi/Desktop/images/17012025/21/07/image_17012025_21_07_02_772029_0000.jpg', '/home/pi/Desktop/images/17012025/21/07/image_17012025_21_07_02_772029_0001.jpg', '/home/pi/Desktop/images/17012025/21/07/image_17012025_21_07_02_772029_0002.jpg', '/home/pi/Desktop/images/17012025/21/07/image_17012025_21_07_02_772029_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2490825&datou=0
/home/pi/Desktop/images/17012025/21/06/image_17012025_21_06_02_625012_0002.jpg
/home/pi/Desktop/images/17012025/21/06/image_17012025_21_06_02_625012_0003.jpg
/home/pi/Desktop/images/17012025/21/07/image_17012025_21_07_02_772029_0000.jpg
/home/pi/Desktop/images/17012025/21/07/image_17012025_21_07_02_772029_0001.jpg
/home/pi/Desktop/images/17012025/21/07/image_17012025_21_07_02_772029_0002.jpg
/home/pi/Desktop/images/17012025/21/07/image_17012025_21_07_02_772029_0003.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329919541","1329919550","1329919544","1329919546","1329919539","1329919548"],"photo_ids_order":["1329919539","1329919541","1329919544","1329919546","1329919548","1329919550"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/be255b5c1382363f507fdf6a6ecbc68c.jpg","text":"TemporaryFile(/tmp/multipartBody6143247390089608908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737249020330,"filename":"image_17012025_21_06_02_625012_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/10cc4f4c6d264483cce2ef8173e8b9e1.jpg","text":"TemporaryFile(/tmp/multipartBody8514712887766859900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737249020330,"filename":"image_17012025_21_07_02_772029_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/f83d04da8dfe029f1f3e1b591e154230.jpg","text":"TemporaryFile(/tmp/multipartBody432065206157991769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737249020330,"filename":"image_17012025_21_07_02_772029_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/dd9c156c7e614f8996f2a500b700b29f.jpg","text":"TemporaryFile(/tmp/multipartBody6443609093514353525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737249020330,"filename":"image_17012025_21_07_02_772029_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/5ccb880266eb756aeeee4079ca8041d0.jpg","text":"TemporaryFile(/tmp/multipartBody1283302135866677227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737249020330,"filename":"image_17012025_21_06_02_625012_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/a2ed2f682769423609b1f80df2842133.jpg","text":"TemporaryFile(/tmp/multipartBody700730112170797644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737249020330,"filename":"image_17012025_21_07_02_772029_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329919544","file1":"1329919541","file0":"1329919539","file4":"1329919548","file5":"1329919550","file3":"1329919546"},"map_files_photo_id_array":[{"photo_id":"1329919550","filename":"file5"},{"photo_id":"1329919544","filename":"file2"},{"photo_id":"1329919548","filename":"file4"},{"photo_id":"1329919541","filename":"file1"},{"photo_id":"1329919539","filename":"file0"},{"photo_id":"1329919546","filename":"file3"}],"portfolio_id":19698700,"hashtag_by_photo_ids":[{"1329919541":["hashtag1","hashtag2"]},{"1329919550":["hashtag1","hashtag2"]},{"1329919544":["hashtag1","hashtag2"]},{"1329919546":["hashtag1","hashtag2"]},{"1329919539":["hashtag1","hashtag2"]},{"1329919548":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698700 used, photo_id : ArrayBuffer(1329919541, 1329919550, 1329919544, 1329919546, 1329919539, 1329919548)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.73699378967285 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 02:10:02.643675
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/02/08/image_19012025_02_08_02_864662_0003.jpg', '/home/pi/Desktop/images/19012025/02/09/image_19012025_02_09_02_368615_0000.jpg', '/home/pi/Desktop/images/19012025/02/09/image_19012025_02_09_02_368615_0001.jpg', '/home/pi/Desktop/images/19012025/02/09/image_19012025_02_09_02_368615_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/02/08/image_19012025_02_08_02_864662_0003.jpg
/home/pi/Desktop/images/19012025/02/09/image_19012025_02_09_02_368615_0000.jpg
/home/pi/Desktop/images/19012025/02/09/image_19012025_02_09_02_368615_0001.jpg
/home/pi/Desktop/images/19012025/02/09/image_19012025_02_09_02_368615_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.877840518951416 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 02:10:22.219851
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/02/08/image_19012025_02_08_02_864662_0003.jpg', '/home/pi/Desktop/images/19012025/02/09/image_19012025_02_09_02_368615_0000.jpg', '/home/pi/Desktop/images/19012025/02/09/image_19012025_02_09_02_368615_0001.jpg', '/home/pi/Desktop/images/19012025/02/09/image_19012025_02_09_02_368615_0002.jpg', '/home/pi/Desktop/images/19012025/02/09/image_19012025_02_09_02_368615_0003.jpg', '/home/pi/Desktop/images/19012025/02/10/image_19012025_02_10_02_971033_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/02/08/image_19012025_02_08_02_864662_0003.jpg
/home/pi/Desktop/images/19012025/02/09/image_19012025_02_09_02_368615_0000.jpg
/home/pi/Desktop/images/19012025/02/09/image_19012025_02_09_02_368615_0001.jpg
/home/pi/Desktop/images/19012025/02/09/image_19012025_02_09_02_368615_0002.jpg
/home/pi/Desktop/images/19012025/02/09/image_19012025_02_09_02_368615_0003.jpg
/home/pi/Desktop/images/19012025/02/10/image_19012025_02_10_02_971033_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":["1329919937","1329919940","1329919808","1329919561","1329919566","1329919994"],"photo_ids_order":["1329919561","1329919566","1329919808","1329919937","1329919940","1329919994"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/d61216da64183f6f4d77db975bd54c3e.jpg","text":"TemporaryFile(/tmp/multipartBody6246604771270839099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737249098791,"filename":"image_19012025_02_09_02_368615_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/a771dba867a18952c40592a9d8c3d367.jpg","text":"TemporaryFile(/tmp/multipartBody1419633137168639370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737249098791,"filename":"image_19012025_02_09_02_368615_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/416a93127e0f3eeb1a80d5d1cdb90ddf.jpg","text":"TemporaryFile(/tmp/multipartBody7492251041204128156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737249098791,"filename":"image_19012025_02_09_02_368615_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/da455e63b42bf3bfbd05f03ab3ba3b73.jpg","text":"TemporaryFile(/tmp/multipartBody4357910105724149884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737249098791,"filename":"image_19012025_02_08_02_864662_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/3ab7e8e41d5f112bbcf223c2a8f8cd30.jpg","text":"TemporaryFile(/tmp/multipartBody1652387063972072941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737249098791,"filename":"image_19012025_02_09_02_368615_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/730323a60457fbdadbc81488d83c734f.jpg","text":"TemporaryFile(/tmp/multipartBody2468175390159997305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737249098791,"filename":"image_19012025_02_10_02_971033_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329919808","file1":"1329919566","file0":"1329919561","file4":"1329919940","file5":"1329919994","file3":"1329919937"},"map_files_photo_id_array":[{"photo_id":"1329919994","filename":"file5"},{"photo_id":"1329919808","filename":"file2"},{"photo_id":"1329919940","filename":"file4"},{"photo_id":"1329919566","filename":"file1"},{"photo_id":"1329919561","filename":"file0"},{"photo_id":"1329919937","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329919937":["hashtag1","hashtag2"]},{"1329919940":["hashtag1","hashtag2"]},{"1329919808":["hashtag1","hashtag2"]},{"1329919561":["hashtag1","hashtag2"]},{"1329919566":["hashtag1","hashtag2"]},{"1329919994":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329919937, 1329919940, 1329919808, 1329919561, 1329919566, 1329919994)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 61.623077154159546 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 02:12:02.811115
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/02/10/image_19012025_02_10_02_971033_0001.jpg', '/home/pi/Desktop/images/19012025/02/10/image_19012025_02_10_02_971033_0002.jpg', '/home/pi/Desktop/images/19012025/02/10/image_19012025_02_10_02_971033_0003.jpg', '/home/pi/Desktop/images/19012025/02/11/image_19012025_02_11_02_604970_0000.jpg', '/home/pi/Desktop/images/19012025/02/11/image_19012025_02_11_02_604970_0001.jpg', '/home/pi/Desktop/images/19012025/02/11/image_19012025_02_11_02_604970_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/02/10/image_19012025_02_10_02_971033_0001.jpg
/home/pi/Desktop/images/19012025/02/10/image_19012025_02_10_02_971033_0002.jpg
/home/pi/Desktop/images/19012025/02/10/image_19012025_02_10_02_971033_0003.jpg
/home/pi/Desktop/images/19012025/02/11/image_19012025_02_11_02_604970_0000.jpg
/home/pi/Desktop/images/19012025/02/11/image_19012025_02_11_02_604970_0001.jpg
/home/pi/Desktop/images/19012025/02/11/image_19012025_02_11_02_604970_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329920141","1329920150","1329920144","1329920147","1329920129","1329920128"],"photo_ids_order":["1329920128","1329920129","1329920141","1329920144","1329920147","1329920150"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/006a2bebf6dd5f51ecddecd089951c49.jpg","text":"TemporaryFile(/tmp/multipartBody3453464093270982921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737249199456,"filename":"image_19012025_02_10_02_971033_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/71eba0ef853fa8d0e995673e8f45726f.jpg","text":"TemporaryFile(/tmp/multipartBody4361948843634057556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737249199456,"filename":"image_19012025_02_11_02_604970_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/ff21c7982427dc368fbf49a752ea429d.jpg","text":"TemporaryFile(/tmp/multipartBody166118367682003746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737249199456,"filename":"image_19012025_02_11_02_604970_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/691465dcd6cbf4ad743757dbcf26ae64.jpg","text":"TemporaryFile(/tmp/multipartBody1836812362984642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737249199456,"filename":"image_19012025_02_11_02_604970_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/f95286b8e3eeaa79359450148a2334f3.jpg","text":"TemporaryFile(/tmp/multipartBody3294678041797292516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737249199456,"filename":"image_19012025_02_10_02_971033_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/33d348c60a6ad73e7ee57e02b2599d7b.jpg","text":"TemporaryFile(/tmp/multipartBody2188267573704023753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737249199456,"filename":"image_19012025_02_10_02_971033_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329920141","file1":"1329920129","file0":"1329920128","file4":"1329920147","file5":"1329920150","file3":"1329920144"},"map_files_photo_id_array":[{"photo_id":"1329920150","filename":"file5"},{"photo_id":"1329920141","filename":"file2"},{"photo_id":"1329920147","filename":"file4"},{"photo_id":"1329920129","filename":"file1"},{"photo_id":"1329920128","filename":"file0"},{"photo_id":"1329920144","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329920141":["hashtag1","hashtag2"]},{"1329920150":["hashtag1","hashtag2"]},{"1329920144":["hashtag1","hashtag2"]},{"1329920147":["hashtag1","hashtag2"]},{"1329920129":["hashtag1","hashtag2"]},{"1329920128":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329920141, 1329920150, 1329920144, 1329920147, 1329920129, 1329920128)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.75709557533264 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 02:13:02.436437
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/02/11/image_19012025_02_11_02_604970_0003.jpg', '/home/pi/Desktop/images/19012025/02/12/image_19012025_02_12_03_194374_0000.jpg', '/home/pi/Desktop/images/19012025/02/12/image_19012025_02_12_03_194374_0001.jpg', '/home/pi/Desktop/images/19012025/02/12/image_19012025_02_12_03_194374_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/02/11/image_19012025_02_11_02_604970_0003.jpg
/home/pi/Desktop/images/19012025/02/12/image_19012025_02_12_03_194374_0000.jpg
/home/pi/Desktop/images/19012025/02/12/image_19012025_02_12_03_194374_0001.jpg
/home/pi/Desktop/images/19012025/02/12/image_19012025_02_12_03_194374_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 11.055479288101196 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 02:13:21.812314
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/02/11/image_19012025_02_11_02_604970_0003.jpg', '/home/pi/Desktop/images/19012025/02/12/image_19012025_02_12_03_194374_0000.jpg', '/home/pi/Desktop/images/19012025/02/12/image_19012025_02_12_03_194374_0001.jpg', '/home/pi/Desktop/images/19012025/02/12/image_19012025_02_12_03_194374_0002.jpg', '/home/pi/Desktop/images/19012025/02/12/image_19012025_02_12_03_194374_0003.jpg', '/home/pi/Desktop/images/19012025/02/13/image_19012025_02_13_02_712156_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/02/11/image_19012025_02_11_02_604970_0003.jpg
/home/pi/Desktop/images/19012025/02/12/image_19012025_02_12_03_194374_0000.jpg
/home/pi/Desktop/images/19012025/02/12/image_19012025_02_12_03_194374_0001.jpg
/home/pi/Desktop/images/19012025/02/12/image_19012025_02_12_03_194374_0002.jpg
/home/pi/Desktop/images/19012025/02/12/image_19012025_02_12_03_194374_0003.jpg
/home/pi/Desktop/images/19012025/02/13/image_19012025_02_13_02_712156_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329920232","1329920226","1329920223","1329920234","1329920228","1329920230"],"photo_ids_order":["1329920223","1329920226","1329920228","1329920230","1329920232","1329920234"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/0aaa76eed04996df785180b57bb71991.jpg","text":"TemporaryFile(/tmp/multipartBody422093014061033267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737249278468,"filename":"image_19012025_02_12_03_194374_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/720beb349f3018939f9dcb68460cebff.jpg","text":"TemporaryFile(/tmp/multipartBody5373747531232361949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737249278468,"filename":"image_19012025_02_12_03_194374_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/d596a5dea4bf62bcf048049e926a039b.jpg","text":"TemporaryFile(/tmp/multipartBody5669994258566963838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737249278468,"filename":"image_19012025_02_11_02_604970_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/7a564e2cff8ee3d94f899e927c32d6f1.jpg","text":"TemporaryFile(/tmp/multipartBody3306683947477660051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737249278468,"filename":"image_19012025_02_13_02_712156_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/6c26be7d56a7020ad96a7846aa54a33f.jpg","text":"TemporaryFile(/tmp/multipartBody7124651231327224710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737249278468,"filename":"image_19012025_02_12_03_194374_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/2d47c95470e56f3e7db26f163da3ed25.jpg","text":"TemporaryFile(/tmp/multipartBody2869503330513413005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737249278468,"filename":"image_19012025_02_12_03_194374_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329920228","file1":"1329920226","file0":"1329920223","file4":"1329920232","file5":"1329920234","file3":"1329920230"},"map_files_photo_id_array":[{"photo_id":"1329920234","filename":"file5"},{"photo_id":"1329920228","filename":"file2"},{"photo_id":"1329920232","filename":"file4"},{"photo_id":"1329920226","filename":"file1"},{"photo_id":"1329920223","filename":"file0"},{"photo_id":"1329920230","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329920232":["hashtag1","hashtag2"]},{"1329920226":["hashtag1","hashtag2"]},{"1329920223":["hashtag1","hashtag2"]},{"1329920234":["hashtag1","hashtag2"]},{"1329920228":["hashtag1","hashtag2"]},{"1329920230":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329920232, 1329920226, 1329920223, 1329920234, 1329920228, 1329920230)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.56380009651184 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 02:14:22.468309
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/02/13/image_19012025_02_13_02_712156_0001.jpg', '/home/pi/Desktop/images/19012025/02/13/image_19012025_02_13_02_712156_0002.jpg', '/home/pi/Desktop/images/19012025/02/13/image_19012025_02_13_02_712156_0003.jpg', '/home/pi/Desktop/images/19012025/02/14/image_19012025_02_14_02_178041_0000.jpg', '/home/pi/Desktop/images/19012025/02/14/image_19012025_02_14_02_178041_0001.jpg', '/home/pi/Desktop/images/19012025/02/14/image_19012025_02_14_02_178041_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/02/13/image_19012025_02_13_02_712156_0001.jpg
/home/pi/Desktop/images/19012025/02/13/image_19012025_02_13_02_712156_0002.jpg
/home/pi/Desktop/images/19012025/02/13/image_19012025_02_13_02_712156_0003.jpg
/home/pi/Desktop/images/19012025/02/14/image_19012025_02_14_02_178041_0000.jpg
/home/pi/Desktop/images/19012025/02/14/image_19012025_02_14_02_178041_0001.jpg
/home/pi/Desktop/images/19012025/02/14/image_19012025_02_14_02_178041_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":["1329920241","1329920251","1329920245","1329920254","1329920248","1329920257"],"photo_ids_order":["1329920241","1329920245","1329920248","1329920251","1329920254","1329920257"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/842ffc29a55fce4e1e83ad92491c2148.jpg","text":"TemporaryFile(/tmp/multipartBody8020140286386638642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737249338754,"filename":"image_19012025_02_13_02_712156_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/53852fdcece756d31c104cd1d2d6dd8d.jpg","text":"TemporaryFile(/tmp/multipartBody6264396958265580282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737249338754,"filename":"image_19012025_02_14_02_178041_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/403b76c95b2007aa0a66afe0d78566fa.jpg","text":"TemporaryFile(/tmp/multipartBody6053037447799913673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737249338754,"filename":"image_19012025_02_13_02_712156_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/96d64a956b48d89770c03f4e0f941048.jpg","text":"TemporaryFile(/tmp/multipartBody6365808676734204247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737249338754,"filename":"image_19012025_02_14_02_178041_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/9824377ab70ec7d468afc65dd6ecd3b0.jpg","text":"TemporaryFile(/tmp/multipartBody4373932291218580101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737249338754,"filename":"image_19012025_02_13_02_712156_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/18371f49bd764f846e3f444bbf44118c.jpg","text":"TemporaryFile(/tmp/multipartBody4525520602018523012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737249338754,"filename":"image_19012025_02_14_02_178041_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329920248","file1":"1329920245","file0":"1329920241","file4":"1329920254","file5":"1329920257","file3":"1329920251"},"map_files_photo_id_array":[{"photo_id":"1329920257","filename":"file5"},{"photo_id":"1329920248","filename":"file2"},{"photo_id":"1329920254","filename":"file4"},{"photo_id":"1329920245","filename":"file1"},{"photo_id":"1329920241","filename":"file0"},{"photo_id":"1329920251","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329920241":["hashtag1","hashtag2"]},{"1329920251":["hashtag1","hashtag2"]},{"1329920245":["hashtag1","hashtag2"]},{"1329920254":["hashtag1","hashtag2"]},{"1329920248":["hashtag1","hashtag2"]},{"1329920257":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329920241, 1329920251, 1329920245, 1329920254, 1329920248, 1329920257)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 63.198944330215454 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 02:16:02.998127
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/02/14/image_19012025_02_14_02_178041_0003.jpg', '/home/pi/Desktop/images/19012025/02/15/image_19012025_02_15_02_846676_0000.jpg', '/home/pi/Desktop/images/19012025/02/15/image_19012025_02_15_02_846676_0001.jpg', '/home/pi/Desktop/images/19012025/02/15/image_19012025_02_15_02_846676_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/02/14/image_19012025_02_14_02_178041_0003.jpg
/home/pi/Desktop/images/19012025/02/15/image_19012025_02_15_02_846676_0000.jpg
/home/pi/Desktop/images/19012025/02/15/image_19012025_02_15_02_846676_0001.jpg
/home/pi/Desktop/images/19012025/02/15/image_19012025_02_15_02_846676_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.822734832763672 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 02:16:22.524473
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/02/14/image_19012025_02_14_02_178041_0003.jpg', '/home/pi/Desktop/images/19012025/02/15/image_19012025_02_15_02_846676_0000.jpg', '/home/pi/Desktop/images/19012025/02/15/image_19012025_02_15_02_846676_0001.jpg', '/home/pi/Desktop/images/19012025/02/15/image_19012025_02_15_02_846676_0002.jpg', '/home/pi/Desktop/images/19012025/02/15/image_19012025_02_15_02_846676_0003.jpg', '/home/pi/Desktop/images/19012025/02/16/image_19012025_02_16_02_377969_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/02/14/image_19012025_02_14_02_178041_0003.jpg
/home/pi/Desktop/images/19012025/02/15/image_19012025_02_15_02_846676_0000.jpg
/home/pi/Desktop/images/19012025/02/15/image_19012025_02_15_02_846676_0001.jpg
/home/pi/Desktop/images/19012025/02/15/image_19012025_02_15_02_846676_0002.jpg
/home/pi/Desktop/images/19012025/02/15/image_19012025_02_15_02_846676_0003.jpg
/home/pi/Desktop/images/19012025/02/16/image_19012025_02_16_02_377969_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329920643","1329920625","1329920619","1329920593","1329920644","1329920583"],"photo_ids_order":["1329920583","1329920593","1329920619","1329920625","1329920643","1329920644"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/c821feb15fdefb47d66355c7493d4252.jpg","text":"TemporaryFile(/tmp/multipartBody8553666346881547303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737249459107,"filename":"image_19012025_02_15_02_846676_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/209b2722c45005df709b24a7b6f7ed56.jpg","text":"TemporaryFile(/tmp/multipartBody1224684410568930173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737249459107,"filename":"image_19012025_02_15_02_846676_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/60cce963f0c51ed19fd1236d2f1e07dd.jpg","text":"TemporaryFile(/tmp/multipartBody8582744388810553375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737249459107,"filename":"image_19012025_02_15_02_846676_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/8ee8d7c148b7cb6cf26387dad1cb5bd3.jpg","text":"TemporaryFile(/tmp/multipartBody7800469768300990544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737249459107,"filename":"image_19012025_02_15_02_846676_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/16e0939b6dc392b815a52b322735944d.jpg","text":"TemporaryFile(/tmp/multipartBody1410808641792999353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737249459107,"filename":"image_19012025_02_16_02_377969_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/471ee2388b54b442b6b42a0f14f5830f.jpg","text":"TemporaryFile(/tmp/multipartBody4691837332177054116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737249459107,"filename":"image_19012025_02_14_02_178041_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329920619","file1":"1329920593","file0":"1329920583","file4":"1329920643","file5":"1329920644","file3":"1329920625"},"map_files_photo_id_array":[{"photo_id":"1329920644","filename":"file5"},{"photo_id":"1329920619","filename":"file2"},{"photo_id":"1329920643","filename":"file4"},{"photo_id":"1329920593","filename":"file1"},{"photo_id":"1329920583","filename":"file0"},{"photo_id":"1329920625","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329920643":["hashtag1","hashtag2"]},{"1329920625":["hashtag1","hashtag2"]},{"1329920619":["hashtag1","hashtag2"]},{"1329920593":["hashtag1","hashtag2"]},{"1329920644":["hashtag1","hashtag2"]},{"1329920583":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329920643, 1329920625, 1329920619, 1329920593, 1329920644, 1329920583)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.96144938468933 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 02:17:22.218899
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/02/16/image_19012025_02_16_02_377969_0001.jpg', '/home/pi/Desktop/images/19012025/02/16/image_19012025_02_16_02_377969_0002.jpg', '/home/pi/Desktop/images/19012025/02/16/image_19012025_02_16_02_377969_0003.jpg', '/home/pi/Desktop/images/19012025/02/17/image_19012025_02_17_02_959560_0000.jpg', '/home/pi/Desktop/images/19012025/02/17/image_19012025_02_17_02_959560_0001.jpg', '/home/pi/Desktop/images/19012025/02/17/image_19012025_02_17_02_959560_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/02/16/image_19012025_02_16_02_377969_0001.jpg
/home/pi/Desktop/images/19012025/02/16/image_19012025_02_16_02_377969_0002.jpg
/home/pi/Desktop/images/19012025/02/16/image_19012025_02_16_02_377969_0003.jpg
/home/pi/Desktop/images/19012025/02/17/image_19012025_02_17_02_959560_0000.jpg
/home/pi/Desktop/images/19012025/02/17/image_19012025_02_17_02_959560_0001.jpg
/home/pi/Desktop/images/19012025/02/17/image_19012025_02_17_02_959560_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329920715","1329920709","1329920690","1329920711","1329920650","1329920713"],"photo_ids_order":["1329920650","1329920690","1329920709","1329920711","1329920713","1329920715"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/c5cfdad361bc81eebadb0ce58972df26.jpg","text":"TemporaryFile(/tmp/multipartBody2385555961378895365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737249518644,"filename":"image_19012025_02_17_02_959560_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/9430e6c5c06c79e9b602dc1db96914e1.jpg","text":"TemporaryFile(/tmp/multipartBody2203840158810498849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737249518644,"filename":"image_19012025_02_16_02_377969_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/f11d6422b36ae26bc23fc82a699e24e6.jpg","text":"TemporaryFile(/tmp/multipartBody8598709441588578402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737249518644,"filename":"image_19012025_02_16_02_377969_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/8307f1c61cb1557c740a8d58879f9630.jpg","text":"TemporaryFile(/tmp/multipartBody4302181253182934360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737249518644,"filename":"image_19012025_02_17_02_959560_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/ab7d3a5e83ba19ff3e0e105688b0590f.jpg","text":"TemporaryFile(/tmp/multipartBody9024889433758204807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737249518644,"filename":"image_19012025_02_16_02_377969_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/e797394d6bd8d59a7b10bcf9644f7e14.jpg","text":"TemporaryFile(/tmp/multipartBody6895052127010304626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737249518644,"filename":"image_19012025_02_17_02_959560_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329920709","file1":"1329920690","file0":"1329920650","file4":"1329920713","file5":"1329920715","file3":"1329920711"},"map_files_photo_id_array":[{"photo_id":"1329920715","filename":"file5"},{"photo_id":"1329920709","filename":"file2"},{"photo_id":"1329920713","filename":"file4"},{"photo_id":"1329920690","filename":"file1"},{"photo_id":"1329920650","filename":"file0"},{"photo_id":"1329920711","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329920715":["hashtag1","hashtag2"]},{"1329920709":["hashtag1","hashtag2"]},{"1329920690":["hashtag1","hashtag2"]},{"1329920711":["hashtag1","hashtag2"]},{"1329920650":["hashtag1","hashtag2"]},{"1329920713":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329920715, 1329920709, 1329920690, 1329920711, 1329920650, 1329920713)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.63197183609009 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 02:18:22.657344
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/02/17/image_19012025_02_17_02_959560_0003.jpg', '/home/pi/Desktop/images/19012025/02/18/image_19012025_02_18_02_495512_0000.jpg', '/home/pi/Desktop/images/19012025/02/18/image_19012025_02_18_02_495512_0001.jpg', '/home/pi/Desktop/images/19012025/02/18/image_19012025_02_18_02_495512_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/02/17/image_19012025_02_17_02_959560_0003.jpg
/home/pi/Desktop/images/19012025/02/18/image_19012025_02_18_02_495512_0000.jpg
/home/pi/Desktop/images/19012025/02/18/image_19012025_02_18_02_495512_0001.jpg
/home/pi/Desktop/images/19012025/02/18/image_19012025_02_18_02_495512_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329920752","1329921234","1329921357","1329920925"],"photo_ids_order":["1329920752","1329920925","1329921234","1329921357"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/a9c2654e8a93977049ce6f3caad8caad.jpg","text":"TemporaryFile(/tmp/multipartBody283364133491850813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737249574136,"filename":"image_19012025_02_17_02_959560_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/a5cefc4b05a379b7283e343e78af62d0.jpg","text":"TemporaryFile(/tmp/multipartBody3621775055525720454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737249574136,"filename":"image_19012025_02_18_02_495512_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/b83442cab2efc012c97d37aa1e4aa2f0.jpg","text":"TemporaryFile(/tmp/multipartBody2698708558187381328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737249574136,"filename":"image_19012025_02_18_02_495512_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/8ad44e2e348e6c486d69cf294b64048e.jpg","text":"TemporaryFile(/tmp/multipartBody259773520684169364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737249574136,"filename":"image_19012025_02_18_02_495512_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329921234","file1":"1329920925","file0":"1329920752","file3":"1329921357"},"map_files_photo_id_array":[{"photo_id":"1329921234","filename":"file2"},{"photo_id":"1329920925","filename":"file1"},{"photo_id":"1329920752","filename":"file0"},{"photo_id":"1329921357","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329920752":["hashtag1","hashtag2"]},{"1329921234":["hashtag1","hashtag2"]},{"1329921357":["hashtag1","hashtag2"]},{"1329920925":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329920752, 1329921234, 1329921357, 1329920925)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.05441856384277 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 02:19:22.199959
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/02/18/image_19012025_02_18_02_495512_0003.jpg', '/home/pi/Desktop/images/19012025/02/19/image_19012025_02_19_03_052154_0000.jpg', '/home/pi/Desktop/images/19012025/02/19/image_19012025_02_19_03_052154_0001.jpg', '/home/pi/Desktop/images/19012025/02/19/image_19012025_02_19_03_052154_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/02/18/image_19012025_02_18_02_495512_0003.jpg
/home/pi/Desktop/images/19012025/02/19/image_19012025_02_19_03_052154_0000.jpg
/home/pi/Desktop/images/19012025/02/19/image_19012025_02_19_03_052154_0001.jpg
/home/pi/Desktop/images/19012025/02/19/image_19012025_02_19_03_052154_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329921668","1329921583","1329921637","1329921639"],"photo_ids_order":["1329921583","1329921637","1329921639","1329921668"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/95ef6311ff14a06b5283036cb33207f6.jpg","text":"TemporaryFile(/tmp/multipartBody3779214177664271015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737249633672,"filename":"image_19012025_02_19_03_052154_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/bfe525e37e5ecf5103d1536afaf73cb3.jpg","text":"TemporaryFile(/tmp/multipartBody6129837849996232280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737249633672,"filename":"image_19012025_02_18_02_495512_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/4110446ad90fe0a1975cca0cc05dd451.jpg","text":"TemporaryFile(/tmp/multipartBody7280094491013903196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737249633672,"filename":"image_19012025_02_19_03_052154_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/166c8ba9fd031b9980ab89083a07e10f.jpg","text":"TemporaryFile(/tmp/multipartBody2257054264360077699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737249633672,"filename":"image_19012025_02_19_03_052154_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329921639","file1":"1329921637","file0":"1329921583","file3":"1329921668"},"map_files_photo_id_array":[{"photo_id":"1329921639","filename":"file2"},{"photo_id":"1329921637","filename":"file1"},{"photo_id":"1329921583","filename":"file0"},{"photo_id":"1329921668","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329921668":["hashtag1","hashtag2"]},{"1329921583":["hashtag1","hashtag2"]},{"1329921637":["hashtag1","hashtag2"]},{"1329921639":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329921668, 1329921583, 1329921637, 1329921639)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.63199496269226 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 02:20:03.024802
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
  port_id : 19698700
  datou_current_id : 2490825
in upload_from_sqlite, uploading in 19698700
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17012025/21/08/image_17012025_21_08_02_933334_0000.jpg', '/home/pi/Desktop/images/17012025/21/08/image_17012025_21_08_02_933334_0001.jpg', '/home/pi/Desktop/images/17012025/21/08/image_17012025_21_08_02_933334_0002.jpg', '/home/pi/Desktop/images/17012025/21/08/image_17012025_21_08_02_933334_0003.jpg', '/home/pi/Desktop/images/17012025/21/09/image_17012025_21_09_03_193397_0000.jpg', '/home/pi/Desktop/images/17012025/21/09/image_17012025_21_09_03_193397_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2490825&datou=0
/home/pi/Desktop/images/17012025/21/08/image_17012025_21_08_02_933334_0000.jpg
/home/pi/Desktop/images/17012025/21/08/image_17012025_21_08_02_933334_0001.jpg
/home/pi/Desktop/images/17012025/21/08/image_17012025_21_08_02_933334_0002.jpg
/home/pi/Desktop/images/17012025/21/08/image_17012025_21_08_02_933334_0003.jpg
/home/pi/Desktop/images/17012025/21/09/image_17012025_21_09_03_193397_0000.jpg
/home/pi/Desktop/images/17012025/21/09/image_17012025_21_09_03_193397_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: 16.861743450164795 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 02:20:22.632258
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/02/19/image_19012025_02_19_03_052154_0003.jpg', '/home/pi/Desktop/images/19012025/02/20/image_19012025_02_20_02_516789_0000.jpg', '/home/pi/Desktop/images/19012025/02/20/image_19012025_02_20_02_516789_0001.jpg', '/home/pi/Desktop/images/19012025/02/20/image_19012025_02_20_02_516789_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/02/19/image_19012025_02_19_03_052154_0003.jpg
/home/pi/Desktop/images/19012025/02/20/image_19012025_02_20_02_516789_0000.jpg
/home/pi/Desktop/images/19012025/02/20/image_19012025_02_20_02_516789_0001.jpg
/home/pi/Desktop/images/19012025/02/20/image_19012025_02_20_02_516789_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329921751","1329921760","1329921757","1329921747"],"photo_ids_order":["1329921747","1329921751","1329921757","1329921760"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/797fdcc3ca93fcb25dd4e8ac912ec386.jpg","text":"TemporaryFile(/tmp/multipartBody1772115803273283950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737249693491,"filename":"image_19012025_02_20_02_516789_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/99316985108d61ed7868b85bc8ac2b35.jpg","text":"TemporaryFile(/tmp/multipartBody6273193723317887489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737249693491,"filename":"image_19012025_02_20_02_516789_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/a4d50805a2aec497d38e6256f816a989.jpg","text":"TemporaryFile(/tmp/multipartBody1668692634733586616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737249693491,"filename":"image_19012025_02_20_02_516789_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/e79807f6bc965f168fea808145da5e0a.jpg","text":"TemporaryFile(/tmp/multipartBody4171613750714078306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737249693491,"filename":"image_19012025_02_19_03_052154_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329921757","file1":"1329921751","file0":"1329921747","file3":"1329921760"},"map_files_photo_id_array":[{"photo_id":"1329921757","filename":"file2"},{"photo_id":"1329921751","filename":"file1"},{"photo_id":"1329921747","filename":"file0"},{"photo_id":"1329921760","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329921751":["hashtag1","hashtag2"]},{"1329921760":["hashtag1","hashtag2"]},{"1329921757":["hashtag1","hashtag2"]},{"1329921747":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329921751, 1329921760, 1329921757, 1329921747)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.92604732513428 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 02:21:02.842884
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
  port_id : 19698700
  datou_current_id : 2490825
in upload_from_sqlite, uploading in 19698700
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17012025/21/08/image_17012025_21_08_02_933334_0000.jpg', '/home/pi/Desktop/images/17012025/21/08/image_17012025_21_08_02_933334_0001.jpg', '/home/pi/Desktop/images/17012025/21/08/image_17012025_21_08_02_933334_0002.jpg', '/home/pi/Desktop/images/17012025/21/08/image_17012025_21_08_02_933334_0003.jpg', '/home/pi/Desktop/images/17012025/21/09/image_17012025_21_09_03_193397_0000.jpg', '/home/pi/Desktop/images/17012025/21/09/image_17012025_21_09_03_193397_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2490825&datou=0
/home/pi/Desktop/images/17012025/21/08/image_17012025_21_08_02_933334_0000.jpg
/home/pi/Desktop/images/17012025/21/08/image_17012025_21_08_02_933334_0001.jpg
/home/pi/Desktop/images/17012025/21/08/image_17012025_21_08_02_933334_0002.jpg
/home/pi/Desktop/images/17012025/21/08/image_17012025_21_08_02_933334_0003.jpg
/home/pi/Desktop/images/17012025/21/09/image_17012025_21_09_03_193397_0000.jpg
/home/pi/Desktop/images/17012025/21/09/image_17012025_21_09_03_193397_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329921767","1329921772","1329921775","1329921769","1329921777","1329921779"],"photo_ids_order":["1329921767","1329921769","1329921772","1329921775","1329921777","1329921779"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/5d0773df033a3505faef0363a926c2aa.jpg","text":"TemporaryFile(/tmp/multipartBody522721091201856622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737249740078,"filename":"image_17012025_21_08_02_933334_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/328f28e54548e7c7c872e5cd116b08c2.jpg","text":"TemporaryFile(/tmp/multipartBody3534810492514757131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737249740078,"filename":"image_17012025_21_08_02_933334_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/fa5efbdf129ed9798bcccbb91e8e784f.jpg","text":"TemporaryFile(/tmp/multipartBody51715429790692397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737249740078,"filename":"image_17012025_21_08_02_933334_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/76d4e65690e3e5c31debd769f5befc25.jpg","text":"TemporaryFile(/tmp/multipartBody2646482033103090049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737249740078,"filename":"image_17012025_21_08_02_933334_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/38da40a0d2cf94a1cee48e010adf95a1.jpg","text":"TemporaryFile(/tmp/multipartBody3675390068162837960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737249740078,"filename":"image_17012025_21_09_03_193397_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/b2051940249544aadc5adc28da8a9fc9.jpg","text":"TemporaryFile(/tmp/multipartBody7129511233720725923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737249740078,"filename":"image_17012025_21_09_03_193397_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329921772","file1":"1329921769","file0":"1329921767","file4":"1329921777","file5":"1329921779","file3":"1329921775"},"map_files_photo_id_array":[{"photo_id":"1329921779","filename":"file5"},{"photo_id":"1329921772","filename":"file2"},{"photo_id":"1329921777","filename":"file4"},{"photo_id":"1329921769","filename":"file1"},{"photo_id":"1329921767","filename":"file0"},{"photo_id":"1329921775","filename":"file3"}],"portfolio_id":19698700,"hashtag_by_photo_ids":[{"1329921767":["hashtag1","hashtag2"]},{"1329921772":["hashtag1","hashtag2"]},{"1329921775":["hashtag1","hashtag2"]},{"1329921769":["hashtag1","hashtag2"]},{"1329921777":["hashtag1","hashtag2"]},{"1329921779":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698700 used, photo_id : ArrayBuffer(1329921767, 1329921772, 1329921775, 1329921769, 1329921777, 1329921779)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.137606382369995 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 02:22:02.288765
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/02/20/image_19012025_02_20_02_516789_0003.jpg', '/home/pi/Desktop/images/19012025/02/21/image_19012025_02_21_03_052738_0000.jpg', '/home/pi/Desktop/images/19012025/02/21/image_19012025_02_21_03_052738_0001.jpg', '/home/pi/Desktop/images/19012025/02/21/image_19012025_02_21_03_052738_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/02/20/image_19012025_02_20_02_516789_0003.jpg
/home/pi/Desktop/images/19012025/02/21/image_19012025_02_21_03_052738_0000.jpg
/home/pi/Desktop/images/19012025/02/21/image_19012025_02_21_03_052738_0001.jpg
/home/pi/Desktop/images/19012025/02/21/image_19012025_02_21_03_052738_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329921784","1329921787","1329921789","1329921783"],"photo_ids_order":["1329921783","1329921784","1329921787","1329921789"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/956f8186e0e5bed51bc2eb058c19ffb6.jpg","text":"TemporaryFile(/tmp/multipartBody3534340668143981077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737249793604,"filename":"image_19012025_02_21_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/19/dbc8b0dcb64232ad8e5a585db759ff55.jpg","text":"TemporaryFile(/tmp/multipartBody7495780006274235291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737249793604,"filename":"image_19012025_02_21_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/19/fd109e8c78929b45af59241bfd0cb48e.jpg","text":"TemporaryFile(/tmp/multipartBody6280830850575084456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737249793604,"filename":"image_19012025_02_21_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/19/66382eb8d5ed1e19aba867e04e34d1c2.jpg","text":"TemporaryFile(/tmp/multipartBody8718302055852739038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737249793604,"filename":"image_19012025_02_20_02_516789_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329921787","file1":"1329921784","file0":"1329921783","file3":"1329921789"},"map_files_photo_id_array":[{"photo_id":"1329921787","filename":"file2"},{"photo_id":"1329921784","filename":"file1"},{"photo_id":"1329921783","filename":"file0"},{"photo_id":"1329921789","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329921784":["hashtag1","hashtag2"]},{"1329921787":["hashtag1","hashtag2"]},{"1329921789":["hashtag1","hashtag2"]},{"1329921783":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329921784, 1329921787, 1329921789, 1329921783)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.865604400634766 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 02:23:03.068964
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/02/21/image_19012025_02_21_03_052738_0003.jpg', '/home/pi/Desktop/images/19012025/02/22/image_19012025_02_22_02_570262_0000.jpg', '/home/pi/Desktop/images/19012025/02/22/image_19012025_02_22_02_570262_0001.jpg', '/home/pi/Desktop/images/19012025/02/22/image_19012025_02_22_02_570262_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/02/21/image_19012025_02_21_03_052738_0003.jpg
/home/pi/Desktop/images/19012025/02/22/image_19012025_02_22_02_570262_0000.jpg
/home/pi/Desktop/images/19012025/02/22/image_19012025_02_22_02_570262_0001.jpg
/home/pi/Desktop/images/19012025/02/22/image_19012025_02_22_02_570262_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329922028","1329921866","1329922030","1329922026"],"photo_ids_order":["1329921866","1329922026","1329922028","1329922030"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/9584a338d190b9b55a5103bfa4b2ef32.jpg","text":"TemporaryFile(/tmp/multipartBody3641972798917780126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737249854568,"filename":"image_19012025_02_22_02_570262_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/f80fb249f99a5a74b5c0814fb66523ae.jpg","text":"TemporaryFile(/tmp/multipartBody4258489803482205809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737249854568,"filename":"image_19012025_02_21_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/19/174ce1803b214535dcdafa1b012ee4ae.jpg","text":"TemporaryFile(/tmp/multipartBody2384546828878428468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737249854568,"filename":"image_19012025_02_22_02_570262_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/9f07e19d09ea8ae3b56d8ff59f74ca8e.jpg","text":"TemporaryFile(/tmp/multipartBody4512697194492068832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737249854568,"filename":"image_19012025_02_22_02_570262_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329922028","file1":"1329922026","file0":"1329921866","file3":"1329922030"},"map_files_photo_id_array":[{"photo_id":"1329922028","filename":"file2"},{"photo_id":"1329922026","filename":"file1"},{"photo_id":"1329921866","filename":"file0"},{"photo_id":"1329922030","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329922028":["hashtag1","hashtag2"]},{"1329921866":["hashtag1","hashtag2"]},{"1329922030":["hashtag1","hashtag2"]},{"1329922026":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329922028, 1329921866, 1329922030, 1329922026)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.536587953567505 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 02:24:02.376862
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/02/22/image_19012025_02_22_02_570262_0003.jpg', '/home/pi/Desktop/images/19012025/02/23/image_19012025_02_23_02_290197_0000.jpg', '/home/pi/Desktop/images/19012025/02/23/image_19012025_02_23_02_290197_0001.jpg', '/home/pi/Desktop/images/19012025/02/23/image_19012025_02_23_02_290197_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/02/22/image_19012025_02_22_02_570262_0003.jpg
/home/pi/Desktop/images/19012025/02/23/image_19012025_02_23_02_290197_0000.jpg
/home/pi/Desktop/images/19012025/02/23/image_19012025_02_23_02_290197_0001.jpg
/home/pi/Desktop/images/19012025/02/23/image_19012025_02_23_02_290197_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329922060","1329922129","1329922131","1329922110"],"photo_ids_order":["1329922060","1329922110","1329922129","1329922131"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/395738f0b5ecf915f958444e0e43597a.jpg","text":"TemporaryFile(/tmp/multipartBody2834534165675849256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737249914183,"filename":"image_19012025_02_22_02_570262_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/75ede7a229feb507dcdcafca16938458.jpg","text":"TemporaryFile(/tmp/multipartBody3830084610626581477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737249914183,"filename":"image_19012025_02_23_02_290197_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/d9fa573261cdf68d22d8d51c813c307c.jpg","text":"TemporaryFile(/tmp/multipartBody6212914659701882664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737249914183,"filename":"image_19012025_02_23_02_290197_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/585617e1c26307c47f94faeed697f1bc.jpg","text":"TemporaryFile(/tmp/multipartBody3467799476334562162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737249914183,"filename":"image_19012025_02_23_02_290197_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329922129","file1":"1329922110","file0":"1329922060","file3":"1329922131"},"map_files_photo_id_array":[{"photo_id":"1329922129","filename":"file2"},{"photo_id":"1329922110","filename":"file1"},{"photo_id":"1329922060","filename":"file0"},{"photo_id":"1329922131","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329922060":["hashtag1","hashtag2"]},{"1329922129":["hashtag1","hashtag2"]},{"1329922131":["hashtag1","hashtag2"]},{"1329922110":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329922060, 1329922129, 1329922131, 1329922110)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.440813064575195 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 02:25:03.326320
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/02/23/image_19012025_02_23_02_290197_0003.jpg', '/home/pi/Desktop/images/19012025/02/24/image_19012025_02_24_02_876380_0000.jpg', '/home/pi/Desktop/images/19012025/02/24/image_19012025_02_24_02_876380_0001.jpg', '/home/pi/Desktop/images/19012025/02/24/image_19012025_02_24_02_876380_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/02/23/image_19012025_02_23_02_290197_0003.jpg
/home/pi/Desktop/images/19012025/02/24/image_19012025_02_24_02_876380_0000.jpg
/home/pi/Desktop/images/19012025/02/24/image_19012025_02_24_02_876380_0001.jpg
/home/pi/Desktop/images/19012025/02/24/image_19012025_02_24_02_876380_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329922186","1329922216","1329922185","1329922188"],"photo_ids_order":["1329922185","1329922186","1329922188","1329922216"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/0db105bf997709a87c048827f5896411.jpg","text":"TemporaryFile(/tmp/multipartBody5775587606130676108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737249974915,"filename":"image_19012025_02_24_02_876380_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/6f80157b257058c5cebd6f159e5cf23c.jpg","text":"TemporaryFile(/tmp/multipartBody6865621562461252522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737249974915,"filename":"image_19012025_02_24_02_876380_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/860892dedf4c6d2a20c641508c69a49d.jpg","text":"TemporaryFile(/tmp/multipartBody2711247205146048792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737249974915,"filename":"image_19012025_02_23_02_290197_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/f7e308a20cf2a58036880ceeb4994ad1.jpg","text":"TemporaryFile(/tmp/multipartBody1841968573981331748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737249974915,"filename":"image_19012025_02_24_02_876380_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329922188","file1":"1329922186","file0":"1329922185","file3":"1329922216"},"map_files_photo_id_array":[{"photo_id":"1329922188","filename":"file2"},{"photo_id":"1329922186","filename":"file1"},{"photo_id":"1329922185","filename":"file0"},{"photo_id":"1329922216","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329922186":["hashtag1","hashtag2"]},{"1329922216":["hashtag1","hashtag2"]},{"1329922185":["hashtag1","hashtag2"]},{"1329922188":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329922186, 1329922216, 1329922185, 1329922188)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.59245777130127 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 02:26:02.573658
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/02/24/image_19012025_02_24_02_876380_0003.jpg', '/home/pi/Desktop/images/19012025/02/25/image_19012025_02_25_02_446047_0000.jpg', '/home/pi/Desktop/images/19012025/02/25/image_19012025_02_25_02_446047_0001.jpg', '/home/pi/Desktop/images/19012025/02/25/image_19012025_02_25_02_446047_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/02/24/image_19012025_02_24_02_876380_0003.jpg
/home/pi/Desktop/images/19012025/02/25/image_19012025_02_25_02_446047_0000.jpg
/home/pi/Desktop/images/19012025/02/25/image_19012025_02_25_02_446047_0001.jpg
/home/pi/Desktop/images/19012025/02/25/image_19012025_02_25_02_446047_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329922226","1329922225","1329922228","1329922230"],"photo_ids_order":["1329922225","1329922226","1329922228","1329922230"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/84fc8d74ac4be51a48a9fd60ef6d9838.jpg","text":"TemporaryFile(/tmp/multipartBody7433189786468421999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737250033974,"filename":"image_19012025_02_25_02_446047_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/04766282b9b489fdf82761bd8ab72061.jpg","text":"TemporaryFile(/tmp/multipartBody3753169239563428544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737250033974,"filename":"image_19012025_02_24_02_876380_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/bf11b47495d421e91ed6eb2691c3b38b.jpg","text":"TemporaryFile(/tmp/multipartBody5261894039199524273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737250033974,"filename":"image_19012025_02_25_02_446047_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/628d7fc17c907b7975e50363b632411c.jpg","text":"TemporaryFile(/tmp/multipartBody2399360715914184150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737250033974,"filename":"image_19012025_02_25_02_446047_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329922228","file1":"1329922226","file0":"1329922225","file3":"1329922230"},"map_files_photo_id_array":[{"photo_id":"1329922228","filename":"file2"},{"photo_id":"1329922226","filename":"file1"},{"photo_id":"1329922225","filename":"file0"},{"photo_id":"1329922230","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329922226":["hashtag1","hashtag2"]},{"1329922225":["hashtag1","hashtag2"]},{"1329922228":["hashtag1","hashtag2"]},{"1329922230":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329922226, 1329922225, 1329922228, 1329922230)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.68826770782471 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 02:27:02.373545
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/02/25/image_19012025_02_25_02_446047_0003.jpg', '/home/pi/Desktop/images/19012025/02/26/image_19012025_02_26_02_985455_0000.jpg', '/home/pi/Desktop/images/19012025/02/26/image_19012025_02_26_02_985455_0001.jpg', '/home/pi/Desktop/images/19012025/02/26/image_19012025_02_26_02_985455_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/02/25/image_19012025_02_25_02_446047_0003.jpg
/home/pi/Desktop/images/19012025/02/26/image_19012025_02_26_02_985455_0000.jpg
/home/pi/Desktop/images/19012025/02/26/image_19012025_02_26_02_985455_0001.jpg
/home/pi/Desktop/images/19012025/02/26/image_19012025_02_26_02_985455_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329922247","1329922246","1329922287","1329922272"],"photo_ids_order":["1329922246","1329922247","1329922272","1329922287"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/23dd15ea6572c74dfce7a7b602839e49.jpg","text":"TemporaryFile(/tmp/multipartBody9194075478549040421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737250093609,"filename":"image_19012025_02_26_02_985455_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/bd6f3ef11d269d5d494325644e3f9111.jpg","text":"TemporaryFile(/tmp/multipartBody7763646739795911079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737250093609,"filename":"image_19012025_02_25_02_446047_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/80bd839306298f276fb504cf7f62fcd8.jpg","text":"TemporaryFile(/tmp/multipartBody8834883872438870719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737250093609,"filename":"image_19012025_02_26_02_985455_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/7812bf38b7f65835a4af375b5760d637.jpg","text":"TemporaryFile(/tmp/multipartBody5760181936805917785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737250093609,"filename":"image_19012025_02_26_02_985455_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329922272","file1":"1329922247","file0":"1329922246","file3":"1329922287"},"map_files_photo_id_array":[{"photo_id":"1329922272","filename":"file2"},{"photo_id":"1329922247","filename":"file1"},{"photo_id":"1329922246","filename":"file0"},{"photo_id":"1329922287","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329922247":["hashtag1","hashtag2"]},{"1329922246":["hashtag1","hashtag2"]},{"1329922287":["hashtag1","hashtag2"]},{"1329922272":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329922247, 1329922246, 1329922287, 1329922272)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.10087537765503 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 02:28:02.744307
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/02/26/image_19012025_02_26_02_985455_0003.jpg', '/home/pi/Desktop/images/19012025/02/27/image_19012025_02_27_02_637237_0000.jpg', '/home/pi/Desktop/images/19012025/02/27/image_19012025_02_27_02_637237_0001.jpg', '/home/pi/Desktop/images/19012025/02/27/image_19012025_02_27_02_637237_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/02/26/image_19012025_02_26_02_985455_0003.jpg
/home/pi/Desktop/images/19012025/02/27/image_19012025_02_27_02_637237_0000.jpg
/home/pi/Desktop/images/19012025/02/27/image_19012025_02_27_02_637237_0001.jpg
/home/pi/Desktop/images/19012025/02/27/image_19012025_02_27_02_637237_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 11.253222465515137 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 02:28:22.360157
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/02/26/image_19012025_02_26_02_985455_0003.jpg', '/home/pi/Desktop/images/19012025/02/27/image_19012025_02_27_02_637237_0000.jpg', '/home/pi/Desktop/images/19012025/02/27/image_19012025_02_27_02_637237_0001.jpg', '/home/pi/Desktop/images/19012025/02/27/image_19012025_02_27_02_637237_0002.jpg', '/home/pi/Desktop/images/19012025/02/27/image_19012025_02_27_02_637237_0003.jpg', '/home/pi/Desktop/images/19012025/02/28/image_19012025_02_28_02_123789_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/02/26/image_19012025_02_26_02_985455_0003.jpg
/home/pi/Desktop/images/19012025/02/27/image_19012025_02_27_02_637237_0000.jpg
/home/pi/Desktop/images/19012025/02/27/image_19012025_02_27_02_637237_0001.jpg
/home/pi/Desktop/images/19012025/02/27/image_19012025_02_27_02_637237_0002.jpg
/home/pi/Desktop/images/19012025/02/27/image_19012025_02_27_02_637237_0003.jpg
/home/pi/Desktop/images/19012025/02/28/image_19012025_02_28_02_123789_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329922331","1329922328","1329922333","1329922347","1329922323","1329922349"],"photo_ids_order":["1329922323","1329922328","1329922331","1329922333","1329922347","1329922349"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/61eda86e8dd6aa92969fae2111b038f0.jpg","text":"TemporaryFile(/tmp/multipartBody1543931346259830373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737250179356,"filename":"image_19012025_02_27_02_637237_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/c937f2ec2b90f3f50f353e699c08a66e.jpg","text":"TemporaryFile(/tmp/multipartBody8698964623652491294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737250179356,"filename":"image_19012025_02_27_02_637237_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/9bf8a2012fd6e6aa333349be8ae77044.jpg","text":"TemporaryFile(/tmp/multipartBody6808435869738090650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737250179356,"filename":"image_19012025_02_27_02_637237_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/57621563632e014a196fb48b2ed4e53d.jpg","text":"TemporaryFile(/tmp/multipartBody2063958971883299456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737250179356,"filename":"image_19012025_02_27_02_637237_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/0df552aa1b7e3315b91ba1799152af9e.jpg","text":"TemporaryFile(/tmp/multipartBody5375546538283329604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737250179356,"filename":"image_19012025_02_26_02_985455_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/258d73c48d624511b606adc2336fcc75.jpg","text":"TemporaryFile(/tmp/multipartBody1325996197459018908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737250179356,"filename":"image_19012025_02_28_02_123789_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329922331","file1":"1329922328","file0":"1329922323","file4":"1329922347","file5":"1329922349","file3":"1329922333"},"map_files_photo_id_array":[{"photo_id":"1329922349","filename":"file5"},{"photo_id":"1329922331","filename":"file2"},{"photo_id":"1329922347","filename":"file4"},{"photo_id":"1329922328","filename":"file1"},{"photo_id":"1329922323","filename":"file0"},{"photo_id":"1329922333","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329922331":["hashtag1","hashtag2"]},{"1329922328":["hashtag1","hashtag2"]},{"1329922333":["hashtag1","hashtag2"]},{"1329922347":["hashtag1","hashtag2"]},{"1329922323":["hashtag1","hashtag2"]},{"1329922349":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329922331, 1329922328, 1329922333, 1329922347, 1329922323, 1329922349)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.633795499801636 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 02:29:21.878294
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/02/28/image_19012025_02_28_02_123789_0001.jpg', '/home/pi/Desktop/images/19012025/02/28/image_19012025_02_28_02_123789_0002.jpg', '/home/pi/Desktop/images/19012025/02/28/image_19012025_02_28_02_123789_0003.jpg', '/home/pi/Desktop/images/19012025/02/29/image_19012025_02_29_02_793024_0000.jpg', '/home/pi/Desktop/images/19012025/02/29/image_19012025_02_29_02_793024_0001.jpg', '/home/pi/Desktop/images/19012025/02/29/image_19012025_02_29_02_793024_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/02/28/image_19012025_02_28_02_123789_0001.jpg
/home/pi/Desktop/images/19012025/02/28/image_19012025_02_28_02_123789_0002.jpg
/home/pi/Desktop/images/19012025/02/28/image_19012025_02_28_02_123789_0003.jpg
/home/pi/Desktop/images/19012025/02/29/image_19012025_02_29_02_793024_0000.jpg
/home/pi/Desktop/images/19012025/02/29/image_19012025_02_29_02_793024_0001.jpg
/home/pi/Desktop/images/19012025/02/29/image_19012025_02_29_02_793024_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329922544","1329922538","1329922479","1329922518","1329922475","1329922541"],"photo_ids_order":["1329922475","1329922479","1329922518","1329922538","1329922541","1329922544"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/31e866e5cc3016128cef936bf95f38d1.jpg","text":"TemporaryFile(/tmp/multipartBody2120448984313971173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737250238973,"filename":"image_19012025_02_29_02_793024_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/79a10b9aecf8af6cd0a9b6eaccb74591.jpg","text":"TemporaryFile(/tmp/multipartBody4685827727573732531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737250238973,"filename":"image_19012025_02_29_02_793024_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/392b0c9d4cab216bbffc6c1c4e3bbf40.jpg","text":"TemporaryFile(/tmp/multipartBody2859034015332579796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737250238973,"filename":"image_19012025_02_28_02_123789_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/70a3d72a3b78534751b3b673f5737271.jpg","text":"TemporaryFile(/tmp/multipartBody7841583561493045328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737250238973,"filename":"image_19012025_02_28_02_123789_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/a6889bc635e07887c336ec269d8e7a23.jpg","text":"TemporaryFile(/tmp/multipartBody446916040353661671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737250238973,"filename":"image_19012025_02_28_02_123789_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/e6a50396cc64518a946e722add665993.jpg","text":"TemporaryFile(/tmp/multipartBody4071232130587678793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737250238973,"filename":"image_19012025_02_29_02_793024_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329922518","file1":"1329922479","file0":"1329922475","file4":"1329922541","file5":"1329922544","file3":"1329922538"},"map_files_photo_id_array":[{"photo_id":"1329922544","filename":"file5"},{"photo_id":"1329922518","filename":"file2"},{"photo_id":"1329922541","filename":"file4"},{"photo_id":"1329922479","filename":"file1"},{"photo_id":"1329922475","filename":"file0"},{"photo_id":"1329922538","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329922544":["hashtag1","hashtag2"]},{"1329922538":["hashtag1","hashtag2"]},{"1329922479":["hashtag1","hashtag2"]},{"1329922518":["hashtag1","hashtag2"]},{"1329922475":["hashtag1","hashtag2"]},{"1329922541":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329922544, 1329922538, 1329922479, 1329922518, 1329922475, 1329922541)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.7449688911438 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 02:30:22.595182
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/02/29/image_19012025_02_29_02_793024_0003.jpg', '/home/pi/Desktop/images/19012025/02/30/image_19012025_02_30_02_359490_0000.jpg', '/home/pi/Desktop/images/19012025/02/30/image_19012025_02_30_02_359490_0001.jpg', '/home/pi/Desktop/images/19012025/02/30/image_19012025_02_30_02_359490_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/02/29/image_19012025_02_29_02_793024_0003.jpg
/home/pi/Desktop/images/19012025/02/30/image_19012025_02_30_02_359490_0000.jpg
/home/pi/Desktop/images/19012025/02/30/image_19012025_02_30_02_359490_0001.jpg
/home/pi/Desktop/images/19012025/02/30/image_19012025_02_30_02_359490_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329922550","1329922554","1329922557","1329922547"],"photo_ids_order":["1329922547","1329922550","1329922554","1329922557"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/7e69d83b81bec2f081cbc2e67e3c020a.jpg","text":"TemporaryFile(/tmp/multipartBody5913996908498688823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737250294194,"filename":"image_19012025_02_30_02_359490_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/f85f4dd9a3d4c31124e06069b1daf0cc.jpg","text":"TemporaryFile(/tmp/multipartBody9105308548166375856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737250294194,"filename":"image_19012025_02_30_02_359490_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/04aeb52e0897fb7f49f6b93a343a0b7c.jpg","text":"TemporaryFile(/tmp/multipartBody1171594338395495145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737250294194,"filename":"image_19012025_02_30_02_359490_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/8994928a9f2726a8468fe9ac3ec543e9.jpg","text":"TemporaryFile(/tmp/multipartBody993527288079924787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737250294194,"filename":"image_19012025_02_29_02_793024_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329922554","file1":"1329922550","file0":"1329922547","file3":"1329922557"},"map_files_photo_id_array":[{"photo_id":"1329922554","filename":"file2"},{"photo_id":"1329922550","filename":"file1"},{"photo_id":"1329922547","filename":"file0"},{"photo_id":"1329922557","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329922550":["hashtag1","hashtag2"]},{"1329922554":["hashtag1","hashtag2"]},{"1329922557":["hashtag1","hashtag2"]},{"1329922547":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329922550, 1329922554, 1329922557, 1329922547)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.95811223983765 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 02:31:21.994054
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/02/30/image_19012025_02_30_02_359490_0003.jpg', '/home/pi/Desktop/images/19012025/02/31/image_19012025_02_31_02_860087_0000.jpg', '/home/pi/Desktop/images/19012025/02/31/image_19012025_02_31_02_860087_0001.jpg', '/home/pi/Desktop/images/19012025/02/31/image_19012025_02_31_02_860087_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/02/30/image_19012025_02_30_02_359490_0003.jpg
/home/pi/Desktop/images/19012025/02/31/image_19012025_02_31_02_860087_0000.jpg
/home/pi/Desktop/images/19012025/02/31/image_19012025_02_31_02_860087_0001.jpg
/home/pi/Desktop/images/19012025/02/31/image_19012025_02_31_02_860087_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329922570","1329922567","1329922572","1329922574"],"photo_ids_order":["1329922567","1329922570","1329922572","1329922574"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/91f0fec73ec6ef0955aa42b3b3a312ce.jpg","text":"TemporaryFile(/tmp/multipartBody5338092196742258906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737250353401,"filename":"image_19012025_02_31_02_860087_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/5c1414674f0ada4a9337cb7b33862e25.jpg","text":"TemporaryFile(/tmp/multipartBody881346635377658164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737250353401,"filename":"image_19012025_02_30_02_359490_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/ae9247d7a41fdd392831f345a17b69d8.jpg","text":"TemporaryFile(/tmp/multipartBody959780361553934371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737250353401,"filename":"image_19012025_02_31_02_860087_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/ad6e0b3d2569fc06c95b076253f2906f.jpg","text":"TemporaryFile(/tmp/multipartBody643209211378102372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737250353401,"filename":"image_19012025_02_31_02_860087_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329922572","file1":"1329922570","file0":"1329922567","file3":"1329922574"},"map_files_photo_id_array":[{"photo_id":"1329922572","filename":"file2"},{"photo_id":"1329922570","filename":"file1"},{"photo_id":"1329922567","filename":"file0"},{"photo_id":"1329922574","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329922570":["hashtag1","hashtag2"]},{"1329922567":["hashtag1","hashtag2"]},{"1329922572":["hashtag1","hashtag2"]},{"1329922574":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329922570, 1329922567, 1329922572, 1329922574)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.03136467933655 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-19 02:32:22.524818
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/02/31/image_19012025_02_31_02_860087_0003.jpg', '/home/pi/Desktop/images/19012025/02/32/image_19012025_02_32_02_389724_0000.jpg', '/home/pi/Desktop/images/19012025/02/32/image_19012025_02_32_02_389724_0001.jpg', '/home/pi/Desktop/images/19012025/02/32/image_19012025_02_32_02_389724_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/02/31/image_19012025_02_31_02_860087_0003.jpg
/home/pi/Desktop/images/19012025/02/32/image_19012025_02_32_02_389724_0000.jpg
/home/pi/Desktop/images/19012025/02/32/image_19012025_02_32_02_389724_0001.jpg
/home/pi/Desktop/images/19012025/02/32/image_19012025_02_32_02_389724_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 11.01730227470398 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 02:33:02.741185
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/02/31/image_19012025_02_31_02_860087_0003.jpg', '/home/pi/Desktop/images/19012025/02/32/image_19012025_02_32_02_389724_0000.jpg', '/home/pi/Desktop/images/19012025/02/32/image_19012025_02_32_02_389724_0001.jpg', '/home/pi/Desktop/images/19012025/02/32/image_19012025_02_32_02_389724_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/02/31/image_19012025_02_31_02_860087_0003.jpg
/home/pi/Desktop/images/19012025/02/32/image_19012025_02_32_02_389724_0000.jpg
/home/pi/Desktop/images/19012025/02/32/image_19012025_02_32_02_389724_0001.jpg
/home/pi/Desktop/images/19012025/02/32/image_19012025_02_32_02_389724_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329922637","1329922618","1329922638","1329922640"],"photo_ids_order":["1329922618","1329922637","1329922638","1329922640"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/406c1d1ae1a552aefe68bf5117066208.jpg","text":"TemporaryFile(/tmp/multipartBody3777332299149276173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737250454186,"filename":"image_19012025_02_32_02_389724_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/d70c56ee56c808c164ef1d41596a1041.jpg","text":"TemporaryFile(/tmp/multipartBody8118583795691108591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737250454186,"filename":"image_19012025_02_31_02_860087_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/4b77d418e7445fa36d72e0ff777d1275.jpg","text":"TemporaryFile(/tmp/multipartBody3366592683336426072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737250454186,"filename":"image_19012025_02_32_02_389724_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/47bb9bbd7f85b332cc921967158b3b54.jpg","text":"TemporaryFile(/tmp/multipartBody882737606124725844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737250454186,"filename":"image_19012025_02_32_02_389724_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329922638","file1":"1329922637","file0":"1329922618","file3":"1329922640"},"map_files_photo_id_array":[{"photo_id":"1329922638","filename":"file2"},{"photo_id":"1329922637","filename":"file1"},{"photo_id":"1329922618","filename":"file0"},{"photo_id":"1329922640","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329922637":["hashtag1","hashtag2"]},{"1329922618":["hashtag1","hashtag2"]},{"1329922638":["hashtag1","hashtag2"]},{"1329922640":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329922637, 1329922618, 1329922638, 1329922640)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.88685488700867 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 02:34:02.980776
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/02/32/image_19012025_02_32_02_389724_0003.jpg', '/home/pi/Desktop/images/19012025/02/33/image_19012025_02_33_02_867109_0000.jpg', '/home/pi/Desktop/images/19012025/02/33/image_19012025_02_33_02_867109_0001.jpg', '/home/pi/Desktop/images/19012025/02/33/image_19012025_02_33_02_867109_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/02/32/image_19012025_02_32_02_389724_0003.jpg
/home/pi/Desktop/images/19012025/02/33/image_19012025_02_33_02_867109_0000.jpg
/home/pi/Desktop/images/19012025/02/33/image_19012025_02_33_02_867109_0001.jpg
/home/pi/Desktop/images/19012025/02/33/image_19012025_02_33_02_867109_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 11.046960353851318 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 02:34:22.616468
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/02/32/image_19012025_02_32_02_389724_0003.jpg', '/home/pi/Desktop/images/19012025/02/33/image_19012025_02_33_02_867109_0000.jpg', '/home/pi/Desktop/images/19012025/02/33/image_19012025_02_33_02_867109_0001.jpg', '/home/pi/Desktop/images/19012025/02/33/image_19012025_02_33_02_867109_0002.jpg', '/home/pi/Desktop/images/19012025/02/33/image_19012025_02_33_02_867109_0003.jpg', '/home/pi/Desktop/images/19012025/02/34/image_19012025_02_34_02_346683_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/02/32/image_19012025_02_32_02_389724_0003.jpg
/home/pi/Desktop/images/19012025/02/33/image_19012025_02_33_02_867109_0000.jpg
/home/pi/Desktop/images/19012025/02/33/image_19012025_02_33_02_867109_0001.jpg
/home/pi/Desktop/images/19012025/02/33/image_19012025_02_33_02_867109_0002.jpg
/home/pi/Desktop/images/19012025/02/33/image_19012025_02_33_02_867109_0003.jpg
/home/pi/Desktop/images/19012025/02/34/image_19012025_02_34_02_346683_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329922814","1329922792","1329922795","1329922804","1329922815","1329922800"],"photo_ids_order":["1329922792","1329922795","1329922800","1329922804","1329922814","1329922815"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/4450fdbe731dffe09da8cf703bc206ef.jpg","text":"TemporaryFile(/tmp/multipartBody585401529910391441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737250539497,"filename":"image_19012025_02_33_02_867109_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/54c8a4c62aa1040ba8e9b9d1752ae722.jpg","text":"TemporaryFile(/tmp/multipartBody107933672591386996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737250539497,"filename":"image_19012025_02_32_02_389724_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/f8a0648f26245bca0f2bcaf897157458.jpg","text":"TemporaryFile(/tmp/multipartBody5049905716054018223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737250539497,"filename":"image_19012025_02_33_02_867109_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/a7a58cace6ab2eb6259a81dbd68e5048.jpg","text":"TemporaryFile(/tmp/multipartBody3248080189616027274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737250539497,"filename":"image_19012025_02_33_02_867109_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/1637b20cb22d1be4a77b5a8fe937b241.jpg","text":"TemporaryFile(/tmp/multipartBody1154282053539530803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737250539497,"filename":"image_19012025_02_34_02_346683_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/c9abde4f7df355d1e23771fc57bbae20.jpg","text":"TemporaryFile(/tmp/multipartBody5850180924095145899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737250539497,"filename":"image_19012025_02_33_02_867109_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329922800","file1":"1329922795","file0":"1329922792","file4":"1329922814","file5":"1329922815","file3":"1329922804"},"map_files_photo_id_array":[{"photo_id":"1329922815","filename":"file5"},{"photo_id":"1329922800","filename":"file2"},{"photo_id":"1329922814","filename":"file4"},{"photo_id":"1329922795","filename":"file1"},{"photo_id":"1329922792","filename":"file0"},{"photo_id":"1329922804","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329922814":["hashtag1","hashtag2"]},{"1329922792":["hashtag1","hashtag2"]},{"1329922795":["hashtag1","hashtag2"]},{"1329922804":["hashtag1","hashtag2"]},{"1329922815":["hashtag1","hashtag2"]},{"1329922800":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329922814, 1329922792, 1329922795, 1329922804, 1329922815, 1329922800)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.61472463607788 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 02:35:22.102310
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/02/34/image_19012025_02_34_02_346683_0001.jpg', '/home/pi/Desktop/images/19012025/02/34/image_19012025_02_34_02_346683_0002.jpg', '/home/pi/Desktop/images/19012025/02/34/image_19012025_02_34_02_346683_0003.jpg', '/home/pi/Desktop/images/19012025/02/35/image_19012025_02_35_02_953861_0000.jpg', '/home/pi/Desktop/images/19012025/02/35/image_19012025_02_35_02_953861_0001.jpg', '/home/pi/Desktop/images/19012025/02/35/image_19012025_02_35_02_953861_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/02/34/image_19012025_02_34_02_346683_0001.jpg
/home/pi/Desktop/images/19012025/02/34/image_19012025_02_34_02_346683_0002.jpg
/home/pi/Desktop/images/19012025/02/34/image_19012025_02_34_02_346683_0003.jpg
/home/pi/Desktop/images/19012025/02/35/image_19012025_02_35_02_953861_0000.jpg
/home/pi/Desktop/images/19012025/02/35/image_19012025_02_35_02_953861_0001.jpg
/home/pi/Desktop/images/19012025/02/35/image_19012025_02_35_02_953861_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329922843","1329922852","1329922896","1329922848","1329922892","1329922898"],"photo_ids_order":["1329922843","1329922848","1329922852","1329922892","1329922896","1329922898"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/2f388269cf377996aac5cf06ad23d422.jpg","text":"TemporaryFile(/tmp/multipartBody8284006266906379963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737250598760,"filename":"image_19012025_02_34_02_346683_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/3b81c9c1a66378fb71c421632423aa9a.jpg","text":"TemporaryFile(/tmp/multipartBody3419452791696939639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737250598760,"filename":"image_19012025_02_34_02_346683_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/8bc64a004bd9b509ef81c13e68149e02.jpg","text":"TemporaryFile(/tmp/multipartBody6686449248500557455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737250598760,"filename":"image_19012025_02_35_02_953861_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/cd51b09c4ef2217ccc387db0e50267a1.jpg","text":"TemporaryFile(/tmp/multipartBody8705086537552421778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737250598760,"filename":"image_19012025_02_34_02_346683_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/fdab51686df7fd1dc54edb8145df5644.jpg","text":"TemporaryFile(/tmp/multipartBody34060883886124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737250598760,"filename":"image_19012025_02_35_02_953861_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/6065e6a7084391728bf46ac13d52f981.jpg","text":"TemporaryFile(/tmp/multipartBody8298105202300645650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737250598760,"filename":"image_19012025_02_35_02_953861_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329922852","file1":"1329922848","file0":"1329922843","file4":"1329922896","file5":"1329922898","file3":"1329922892"},"map_files_photo_id_array":[{"photo_id":"1329922898","filename":"file5"},{"photo_id":"1329922852","filename":"file2"},{"photo_id":"1329922896","filename":"file4"},{"photo_id":"1329922848","filename":"file1"},{"photo_id":"1329922843","filename":"file0"},{"photo_id":"1329922892","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329922843":["hashtag1","hashtag2"]},{"1329922852":["hashtag1","hashtag2"]},{"1329922896":["hashtag1","hashtag2"]},{"1329922848":["hashtag1","hashtag2"]},{"1329922892":["hashtag1","hashtag2"]},{"1329922898":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329922843, 1329922852, 1329922896, 1329922848, 1329922892, 1329922898)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.907724142074585 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 02:36:22.603420
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/02/35/image_19012025_02_35_02_953861_0003.jpg', '/home/pi/Desktop/images/19012025/02/36/image_19012025_02_36_02_447293_0000.jpg', '/home/pi/Desktop/images/19012025/02/36/image_19012025_02_36_02_447293_0001.jpg', '/home/pi/Desktop/images/19012025/02/36/image_19012025_02_36_02_447293_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/02/35/image_19012025_02_35_02_953861_0003.jpg
/home/pi/Desktop/images/19012025/02/36/image_19012025_02_36_02_447293_0000.jpg
/home/pi/Desktop/images/19012025/02/36/image_19012025_02_36_02_447293_0001.jpg
/home/pi/Desktop/images/19012025/02/36/image_19012025_02_36_02_447293_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329922950","1329922944","1329922953","1329922956"],"photo_ids_order":["1329922944","1329922950","1329922953","1329922956"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/c905926b5261864758ee4703c8a8b1bd.jpg","text":"TemporaryFile(/tmp/multipartBody3580261782501294253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737250654111,"filename":"image_19012025_02_36_02_447293_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/412021ad768ec21a4a6128bc0cc4f506.jpg","text":"TemporaryFile(/tmp/multipartBody298345293005878430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737250654111,"filename":"image_19012025_02_35_02_953861_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/ccf45e5ef31790db0882d25d451c9e1c.jpg","text":"TemporaryFile(/tmp/multipartBody7680218689194824210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737250654111,"filename":"image_19012025_02_36_02_447293_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/c063f0e1e41a39fd910131279e901e7a.jpg","text":"TemporaryFile(/tmp/multipartBody7549656422795565624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737250654111,"filename":"image_19012025_02_36_02_447293_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329922953","file1":"1329922950","file0":"1329922944","file3":"1329922956"},"map_files_photo_id_array":[{"photo_id":"1329922953","filename":"file2"},{"photo_id":"1329922950","filename":"file1"},{"photo_id":"1329922944","filename":"file0"},{"photo_id":"1329922956","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329922950":["hashtag1","hashtag2"]},{"1329922944":["hashtag1","hashtag2"]},{"1329922953":["hashtag1","hashtag2"]},{"1329922956":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329922950, 1329922944, 1329922953, 1329922956)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.36885380744934 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 02:37:22.077538
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/02/36/image_19012025_02_36_02_447293_0003.jpg', '/home/pi/Desktop/images/19012025/02/37/image_19012025_02_37_02_956356_0000.jpg', '/home/pi/Desktop/images/19012025/02/37/image_19012025_02_37_02_956356_0001.jpg', '/home/pi/Desktop/images/19012025/02/37/image_19012025_02_37_02_956356_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/02/36/image_19012025_02_36_02_447293_0003.jpg
/home/pi/Desktop/images/19012025/02/37/image_19012025_02_37_02_956356_0000.jpg
/home/pi/Desktop/images/19012025/02/37/image_19012025_02_37_02_956356_0001.jpg
/home/pi/Desktop/images/19012025/02/37/image_19012025_02_37_02_956356_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329923617","1329924039","1329923883","1329923352"],"photo_ids_order":["1329923352","1329923617","1329923883","1329924039"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/0b3abcf8a8b6bd08783d5cfd0f86324f.jpg","text":"TemporaryFile(/tmp/multipartBody567607043902941368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737250713865,"filename":"image_19012025_02_37_02_956356_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/cb1b26d1d8026370dbcc15c51a36b9b3.jpg","text":"TemporaryFile(/tmp/multipartBody5374491136829110648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737250713865,"filename":"image_19012025_02_37_02_956356_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/147eb797a16b59d6992a3c70bb4eb734.jpg","text":"TemporaryFile(/tmp/multipartBody7952777253139165278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737250713865,"filename":"image_19012025_02_37_02_956356_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/43422d2266519c384c4f0cdd62dcbb9a.jpg","text":"TemporaryFile(/tmp/multipartBody3602762845724594944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737250713865,"filename":"image_19012025_02_36_02_447293_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329923883","file1":"1329923617","file0":"1329923352","file3":"1329924039"},"map_files_photo_id_array":[{"photo_id":"1329923883","filename":"file2"},{"photo_id":"1329923617","filename":"file1"},{"photo_id":"1329923352","filename":"file0"},{"photo_id":"1329924039","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329923617":["hashtag1","hashtag2"]},{"1329924039":["hashtag1","hashtag2"]},{"1329923883":["hashtag1","hashtag2"]},{"1329923352":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329923617, 1329924039, 1329923883, 1329923352)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.90996313095093 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 02:38:03.168902
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
  port_id : 19698700
  datou_current_id : 2490825
in upload_from_sqlite, uploading in 19698700
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17012025/21/09/image_17012025_21_09_03_193397_0002.jpg', '/home/pi/Desktop/images/17012025/21/09/image_17012025_21_09_03_193397_0003.jpg', '/home/pi/Desktop/images/17012025/21/10/image_17012025_21_10_02_326271_0000.jpg', '/home/pi/Desktop/images/17012025/21/10/image_17012025_21_10_02_326271_0001.jpg', '/home/pi/Desktop/images/17012025/21/10/image_17012025_21_10_02_326271_0002.jpg', '/home/pi/Desktop/images/17012025/21/10/image_17012025_21_10_02_326271_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2490825&datou=0
/home/pi/Desktop/images/17012025/21/09/image_17012025_21_09_03_193397_0002.jpg
/home/pi/Desktop/images/17012025/21/09/image_17012025_21_09_03_193397_0003.jpg
/home/pi/Desktop/images/17012025/21/10/image_17012025_21_10_02_326271_0000.jpg
/home/pi/Desktop/images/17012025/21/10/image_17012025_21_10_02_326271_0001.jpg
/home/pi/Desktop/images/17012025/21/10/image_17012025_21_10_02_326271_0002.jpg
/home/pi/Desktop/images/17012025/21/10/image_17012025_21_10_02_326271_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: 17.51720952987671 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 02:38:22.590213
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/02/37/image_19012025_02_37_02_956356_0003.jpg', '/home/pi/Desktop/images/19012025/02/38/image_19012025_02_38_02_408578_0000.jpg', '/home/pi/Desktop/images/19012025/02/38/image_19012025_02_38_02_408578_0001.jpg', '/home/pi/Desktop/images/19012025/02/38/image_19012025_02_38_02_408578_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/02/37/image_19012025_02_37_02_956356_0003.jpg
/home/pi/Desktop/images/19012025/02/38/image_19012025_02_38_02_408578_0000.jpg
/home/pi/Desktop/images/19012025/02/38/image_19012025_02_38_02_408578_0001.jpg
/home/pi/Desktop/images/19012025/02/38/image_19012025_02_38_02_408578_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329924081","1329924078","1329924329","1329924085"],"photo_ids_order":["1329924078","1329924081","1329924085","1329924329"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/f33925aa8430eeeee5afbe52b928a998.jpg","text":"TemporaryFile(/tmp/multipartBody6386778244496106049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737250774200,"filename":"image_19012025_02_38_02_408578_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/918ec64ac9bff5ca431d6375f598ad80.jpg","text":"TemporaryFile(/tmp/multipartBody352568789001140886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737250774200,"filename":"image_19012025_02_37_02_956356_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/34ca10399c4c90839f39a73815868ce2.jpg","text":"TemporaryFile(/tmp/multipartBody2919523325346359945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737250774200,"filename":"image_19012025_02_38_02_408578_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/3ae3521c91f17edd9bda8f3792a36e80.jpg","text":"TemporaryFile(/tmp/multipartBody6508893854808798307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737250774200,"filename":"image_19012025_02_38_02_408578_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329924085","file1":"1329924081","file0":"1329924078","file3":"1329924329"},"map_files_photo_id_array":[{"photo_id":"1329924085","filename":"file2"},{"photo_id":"1329924081","filename":"file1"},{"photo_id":"1329924078","filename":"file0"},{"photo_id":"1329924329","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329924081":["hashtag1","hashtag2"]},{"1329924078":["hashtag1","hashtag2"]},{"1329924329":["hashtag1","hashtag2"]},{"1329924085":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329924081, 1329924078, 1329924329, 1329924085)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.00802516937256 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 02:39:22.118314
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/02/38/image_19012025_02_38_02_408578_0003.jpg', '/home/pi/Desktop/images/19012025/02/39/image_19012025_02_39_02_952803_0000.jpg', '/home/pi/Desktop/images/19012025/02/39/image_19012025_02_39_02_952803_0001.jpg', '/home/pi/Desktop/images/19012025/02/39/image_19012025_02_39_02_952803_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/02/38/image_19012025_02_38_02_408578_0003.jpg
/home/pi/Desktop/images/19012025/02/39/image_19012025_02_39_02_952803_0000.jpg
/home/pi/Desktop/images/19012025/02/39/image_19012025_02_39_02_952803_0001.jpg
/home/pi/Desktop/images/19012025/02/39/image_19012025_02_39_02_952803_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329924461","1329924464","1329924458","1329924466"],"photo_ids_order":["1329924458","1329924461","1329924464","1329924466"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/af67d3dafadaea5e6ec0e6078fa9df8d.jpg","text":"TemporaryFile(/tmp/multipartBody957281820128833807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737250833570,"filename":"image_19012025_02_39_02_952803_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/249bb5f35065f541839528297ea62c60.jpg","text":"TemporaryFile(/tmp/multipartBody7218634851251708395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737250833570,"filename":"image_19012025_02_39_02_952803_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/40144af67d1ae001a28645d52af52f9f.jpg","text":"TemporaryFile(/tmp/multipartBody7298829983813277584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737250833570,"filename":"image_19012025_02_38_02_408578_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/aa79d06013a8343a5bce5e9c3b083fd6.jpg","text":"TemporaryFile(/tmp/multipartBody6995743504703516386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737250833570,"filename":"image_19012025_02_39_02_952803_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329924464","file1":"1329924461","file0":"1329924458","file3":"1329924466"},"map_files_photo_id_array":[{"photo_id":"1329924464","filename":"file2"},{"photo_id":"1329924461","filename":"file1"},{"photo_id":"1329924458","filename":"file0"},{"photo_id":"1329924466","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329924461":["hashtag1","hashtag2"]},{"1329924464":["hashtag1","hashtag2"]},{"1329924458":["hashtag1","hashtag2"]},{"1329924466":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329924461, 1329924464, 1329924458, 1329924466)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.24425220489502 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 02:40:22.553930
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/02/39/image_19012025_02_39_02_952803_0003.jpg', '/home/pi/Desktop/images/19012025/02/40/image_19012025_02_40_02_452545_0000.jpg', '/home/pi/Desktop/images/19012025/02/40/image_19012025_02_40_02_452545_0001.jpg', '/home/pi/Desktop/images/19012025/02/40/image_19012025_02_40_02_452545_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/02/39/image_19012025_02_39_02_952803_0003.jpg
/home/pi/Desktop/images/19012025/02/40/image_19012025_02_40_02_452545_0000.jpg
/home/pi/Desktop/images/19012025/02/40/image_19012025_02_40_02_452545_0001.jpg
/home/pi/Desktop/images/19012025/02/40/image_19012025_02_40_02_452545_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329924473","1329924476","1329924485","1329924481"],"photo_ids_order":["1329924473","1329924476","1329924481","1329924485"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/d9601954574a83d8d20dd77ad4bdd367.jpg","text":"TemporaryFile(/tmp/multipartBody1391757084330988102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737250893781,"filename":"image_19012025_02_39_02_952803_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/3a60f173aacb7fd9f27806a3ddd09b60.jpg","text":"TemporaryFile(/tmp/multipartBody4658820758482598700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737250893781,"filename":"image_19012025_02_40_02_452545_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/39c64e8f2ce7ab71e19d70370771a7b1.jpg","text":"TemporaryFile(/tmp/multipartBody1452808962030749805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737250893781,"filename":"image_19012025_02_40_02_452545_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/61a467a5317ea8948e330cd8b194ff13.jpg","text":"TemporaryFile(/tmp/multipartBody8580982639352642880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737250893781,"filename":"image_19012025_02_40_02_452545_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329924481","file1":"1329924476","file0":"1329924473","file3":"1329924485"},"map_files_photo_id_array":[{"photo_id":"1329924481","filename":"file2"},{"photo_id":"1329924476","filename":"file1"},{"photo_id":"1329924473","filename":"file0"},{"photo_id":"1329924485","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329924473":["hashtag1","hashtag2"]},{"1329924476":["hashtag1","hashtag2"]},{"1329924485":["hashtag1","hashtag2"]},{"1329924481":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329924473, 1329924476, 1329924485, 1329924481)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.81819415092468 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 02:41:22.109661
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/02/40/image_19012025_02_40_02_452545_0003.jpg', '/home/pi/Desktop/images/19012025/02/41/image_19012025_02_41_02_963264_0000.jpg', '/home/pi/Desktop/images/19012025/02/41/image_19012025_02_41_02_963264_0001.jpg', '/home/pi/Desktop/images/19012025/02/41/image_19012025_02_41_02_963264_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/02/40/image_19012025_02_40_02_452545_0003.jpg
/home/pi/Desktop/images/19012025/02/41/image_19012025_02_41_02_963264_0000.jpg
/home/pi/Desktop/images/19012025/02/41/image_19012025_02_41_02_963264_0001.jpg
/home/pi/Desktop/images/19012025/02/41/image_19012025_02_41_02_963264_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329924543","1329924546","1329924548","1329924550"],"photo_ids_order":["1329924543","1329924546","1329924548","1329924550"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/2836a1058e1ed6ffaac4241ca5231985.jpg","text":"TemporaryFile(/tmp/multipartBody8153156402564587969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737250953285,"filename":"image_19012025_02_40_02_452545_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/d66cf7d76add24e457d804d9f6554339.jpg","text":"TemporaryFile(/tmp/multipartBody925514588499969592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737250953285,"filename":"image_19012025_02_41_02_963264_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/9e3c833d6f12789e13596331430b9307.jpg","text":"TemporaryFile(/tmp/multipartBody7857008472502465421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737250953285,"filename":"image_19012025_02_41_02_963264_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/2a0aa7f8e9ac75ae3cd97a8f808d277c.jpg","text":"TemporaryFile(/tmp/multipartBody2886075487087546687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737250953285,"filename":"image_19012025_02_41_02_963264_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329924548","file1":"1329924546","file0":"1329924543","file3":"1329924550"},"map_files_photo_id_array":[{"photo_id":"1329924548","filename":"file2"},{"photo_id":"1329924546","filename":"file1"},{"photo_id":"1329924543","filename":"file0"},{"photo_id":"1329924550","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329924543":["hashtag1","hashtag2"]},{"1329924546":["hashtag1","hashtag2"]},{"1329924548":["hashtag1","hashtag2"]},{"1329924550":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329924543, 1329924546, 1329924548, 1329924550)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.87986087799072 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 02:42:03.058968
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
  port_id : 19698700
  datou_current_id : 2490825
in upload_from_sqlite, uploading in 19698700
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17012025/21/09/image_17012025_21_09_03_193397_0002.jpg', '/home/pi/Desktop/images/17012025/21/09/image_17012025_21_09_03_193397_0003.jpg', '/home/pi/Desktop/images/17012025/21/10/image_17012025_21_10_02_326271_0000.jpg', '/home/pi/Desktop/images/17012025/21/10/image_17012025_21_10_02_326271_0001.jpg', '/home/pi/Desktop/images/17012025/21/10/image_17012025_21_10_02_326271_0002.jpg', '/home/pi/Desktop/images/17012025/21/10/image_17012025_21_10_02_326271_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2490825&datou=0
/home/pi/Desktop/images/17012025/21/09/image_17012025_21_09_03_193397_0002.jpg
/home/pi/Desktop/images/17012025/21/09/image_17012025_21_09_03_193397_0003.jpg
/home/pi/Desktop/images/17012025/21/10/image_17012025_21_10_02_326271_0000.jpg
/home/pi/Desktop/images/17012025/21/10/image_17012025_21_10_02_326271_0001.jpg
/home/pi/Desktop/images/17012025/21/10/image_17012025_21_10_02_326271_0002.jpg
/home/pi/Desktop/images/17012025/21/10/image_17012025_21_10_02_326271_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: 17.377880573272705 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 02:42:22.642486
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/02/41/image_19012025_02_41_02_963264_0003.jpg', '/home/pi/Desktop/images/19012025/02/42/image_19012025_02_42_02_487506_0000.jpg', '/home/pi/Desktop/images/19012025/02/42/image_19012025_02_42_02_487506_0001.jpg', '/home/pi/Desktop/images/19012025/02/42/image_19012025_02_42_02_487506_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/02/41/image_19012025_02_41_02_963264_0003.jpg
/home/pi/Desktop/images/19012025/02/42/image_19012025_02_42_02_487506_0000.jpg
/home/pi/Desktop/images/19012025/02/42/image_19012025_02_42_02_487506_0001.jpg
/home/pi/Desktop/images/19012025/02/42/image_19012025_02_42_02_487506_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329924570","1329924564","1329924559","1329924568"],"photo_ids_order":["1329924559","1329924564","1329924568","1329924570"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/717c2a57624c14a3a5d7feefe1ced533.jpg","text":"TemporaryFile(/tmp/multipartBody3588589623163485732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737251013162,"filename":"image_19012025_02_42_02_487506_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/0b36a466f26bee6fd8e0e177cce05e19.jpg","text":"TemporaryFile(/tmp/multipartBody3302837384386426378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737251013162,"filename":"image_19012025_02_42_02_487506_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/b5b77d788af0e0140662db16e0322424.jpg","text":"TemporaryFile(/tmp/multipartBody3277767132159226716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737251013162,"filename":"image_19012025_02_41_02_963264_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/0860228415b8338e47b3dc237733398b.jpg","text":"TemporaryFile(/tmp/multipartBody813333906677279420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737251013162,"filename":"image_19012025_02_42_02_487506_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329924568","file1":"1329924564","file0":"1329924559","file3":"1329924570"},"map_files_photo_id_array":[{"photo_id":"1329924568","filename":"file2"},{"photo_id":"1329924564","filename":"file1"},{"photo_id":"1329924559","filename":"file0"},{"photo_id":"1329924570","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329924570":["hashtag1","hashtag2"]},{"1329924564":["hashtag1","hashtag2"]},{"1329924559":["hashtag1","hashtag2"]},{"1329924568":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329924570, 1329924564, 1329924559, 1329924568)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.27308368682861 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 02:43:22.129217
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/02/42/image_19012025_02_42_02_487506_0003.jpg', '/home/pi/Desktop/images/19012025/02/43/image_19012025_02_43_02_969643_0000.jpg', '/home/pi/Desktop/images/19012025/02/43/image_19012025_02_43_02_969643_0001.jpg', '/home/pi/Desktop/images/19012025/02/43/image_19012025_02_43_02_969643_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/02/42/image_19012025_02_42_02_487506_0003.jpg
/home/pi/Desktop/images/19012025/02/43/image_19012025_02_43_02_969643_0000.jpg
/home/pi/Desktop/images/19012025/02/43/image_19012025_02_43_02_969643_0001.jpg
/home/pi/Desktop/images/19012025/02/43/image_19012025_02_43_02_969643_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329924582","1329924585","1329924577","1329924580"],"photo_ids_order":["1329924577","1329924580","1329924582","1329924585"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/a67ff12bdd3681152dccc6d9eae296d4.jpg","text":"TemporaryFile(/tmp/multipartBody1347181399743239740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737251072254,"filename":"image_19012025_02_43_02_969643_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/827ea53281842bb9337d1e90a278800b.jpg","text":"TemporaryFile(/tmp/multipartBody6613224797497002287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737251072254,"filename":"image_19012025_02_43_02_969643_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/3da3a7f23ac9d3c4cc427282d0897cad.jpg","text":"TemporaryFile(/tmp/multipartBody5179403010344391795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737251072254,"filename":"image_19012025_02_42_02_487506_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/6f0e00d375566fc285cca0fddf63ab59.jpg","text":"TemporaryFile(/tmp/multipartBody8300026980866916281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737251072254,"filename":"image_19012025_02_43_02_969643_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329924582","file1":"1329924580","file0":"1329924577","file3":"1329924585"},"map_files_photo_id_array":[{"photo_id":"1329924582","filename":"file2"},{"photo_id":"1329924580","filename":"file1"},{"photo_id":"1329924577","filename":"file0"},{"photo_id":"1329924585","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329924582":["hashtag1","hashtag2"]},{"1329924585":["hashtag1","hashtag2"]},{"1329924577":["hashtag1","hashtag2"]},{"1329924580":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329924582, 1329924585, 1329924577, 1329924580)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 47.63617920875549 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 02:44:22.617879
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/02/43/image_19012025_02_43_02_969643_0003.jpg', '/home/pi/Desktop/images/19012025/02/44/image_19012025_02_44_02_437698_0000.jpg', '/home/pi/Desktop/images/19012025/02/44/image_19012025_02_44_02_437698_0001.jpg', '/home/pi/Desktop/images/19012025/02/44/image_19012025_02_44_02_437698_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/02/43/image_19012025_02_43_02_969643_0003.jpg
/home/pi/Desktop/images/19012025/02/44/image_19012025_02_44_02_437698_0000.jpg
/home/pi/Desktop/images/19012025/02/44/image_19012025_02_44_02_437698_0001.jpg
/home/pi/Desktop/images/19012025/02/44/image_19012025_02_44_02_437698_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329924616","1329924619","1329924621","1329924613"],"photo_ids_order":["1329924613","1329924616","1329924619","1329924621"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/dbc7d04c1f9067e15d5790a494a2f7d8.jpg","text":"TemporaryFile(/tmp/multipartBody4695093902272793395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737251133649,"filename":"image_19012025_02_44_02_437698_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/c02d5066c8e34525392df12c9a49bb6a.jpg","text":"TemporaryFile(/tmp/multipartBody5342247556288990451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737251133649,"filename":"image_19012025_02_44_02_437698_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/ff4a88074b7e4818e0d8f18c0b0248a9.jpg","text":"TemporaryFile(/tmp/multipartBody6678504150239385953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737251133649,"filename":"image_19012025_02_44_02_437698_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/484d3290c72b2e0357a112300406e0c1.jpg","text":"TemporaryFile(/tmp/multipartBody2376507170433002209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737251133649,"filename":"image_19012025_02_43_02_969643_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329924619","file1":"1329924616","file0":"1329924613","file3":"1329924621"},"map_files_photo_id_array":[{"photo_id":"1329924619","filename":"file2"},{"photo_id":"1329924616","filename":"file1"},{"photo_id":"1329924613","filename":"file0"},{"photo_id":"1329924621","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329924616":["hashtag1","hashtag2"]},{"1329924619":["hashtag1","hashtag2"]},{"1329924621":["hashtag1","hashtag2"]},{"1329924613":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329924616, 1329924619, 1329924621, 1329924613)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.74390625953674 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 02:45:22.110202
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/02/44/image_19012025_02_44_02_437698_0003.jpg', '/home/pi/Desktop/images/19012025/02/45/image_19012025_02_45_02_954150_0000.jpg', '/home/pi/Desktop/images/19012025/02/45/image_19012025_02_45_02_954150_0001.jpg', '/home/pi/Desktop/images/19012025/02/45/image_19012025_02_45_02_954150_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/02/44/image_19012025_02_44_02_437698_0003.jpg
/home/pi/Desktop/images/19012025/02/45/image_19012025_02_45_02_954150_0000.jpg
/home/pi/Desktop/images/19012025/02/45/image_19012025_02_45_02_954150_0001.jpg
/home/pi/Desktop/images/19012025/02/45/image_19012025_02_45_02_954150_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329924657","1329924653","1329924647","1329924655"],"photo_ids_order":["1329924647","1329924653","1329924655","1329924657"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/b639de70d98c65c3e6ae09d423582461.jpg","text":"TemporaryFile(/tmp/multipartBody5751720810359401862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737251193184,"filename":"image_19012025_02_45_02_954150_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/57d44320b6f28dcedbb1868adac827ea.jpg","text":"TemporaryFile(/tmp/multipartBody3817355022279413545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737251193184,"filename":"image_19012025_02_45_02_954150_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/e09aa3a6586999beef9861570e9eb6f6.jpg","text":"TemporaryFile(/tmp/multipartBody5995167107424772376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737251193184,"filename":"image_19012025_02_44_02_437698_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/87d4c5836a80884d01ecea3d808f738d.jpg","text":"TemporaryFile(/tmp/multipartBody1786664143207409982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737251193184,"filename":"image_19012025_02_45_02_954150_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329924655","file1":"1329924653","file0":"1329924647","file3":"1329924657"},"map_files_photo_id_array":[{"photo_id":"1329924655","filename":"file2"},{"photo_id":"1329924653","filename":"file1"},{"photo_id":"1329924647","filename":"file0"},{"photo_id":"1329924657","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329924657":["hashtag1","hashtag2"]},{"1329924653":["hashtag1","hashtag2"]},{"1329924647":["hashtag1","hashtag2"]},{"1329924655":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329924657, 1329924653, 1329924647, 1329924655)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.97956728935242 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-19 02:46:22.621901
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/02/45/image_19012025_02_45_02_954150_0003.jpg', '/home/pi/Desktop/images/19012025/02/46/image_19012025_02_46_02_402639_0000.jpg', '/home/pi/Desktop/images/19012025/02/46/image_19012025_02_46_02_402639_0001.jpg', '/home/pi/Desktop/images/19012025/02/46/image_19012025_02_46_02_402639_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/02/45/image_19012025_02_45_02_954150_0003.jpg
/home/pi/Desktop/images/19012025/02/46/image_19012025_02_46_02_402639_0000.jpg
/home/pi/Desktop/images/19012025/02/46/image_19012025_02_46_02_402639_0001.jpg
/home/pi/Desktop/images/19012025/02/46/image_19012025_02_46_02_402639_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.64998173713684 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 02:47:02.671067
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/02/45/image_19012025_02_45_02_954150_0003.jpg', '/home/pi/Desktop/images/19012025/02/46/image_19012025_02_46_02_402639_0000.jpg', '/home/pi/Desktop/images/19012025/02/46/image_19012025_02_46_02_402639_0001.jpg', '/home/pi/Desktop/images/19012025/02/46/image_19012025_02_46_02_402639_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/02/45/image_19012025_02_45_02_954150_0003.jpg
/home/pi/Desktop/images/19012025/02/46/image_19012025_02_46_02_402639_0000.jpg
/home/pi/Desktop/images/19012025/02/46/image_19012025_02_46_02_402639_0001.jpg
/home/pi/Desktop/images/19012025/02/46/image_19012025_02_46_02_402639_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329924715","1329924700","1329924717","1329924712"],"photo_ids_order":["1329924700","1329924712","1329924715","1329924717"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/b7961cf16be022cdcb2d55663dff96ce.jpg","text":"TemporaryFile(/tmp/multipartBody8799188276766416501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737251293789,"filename":"image_19012025_02_46_02_402639_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/038258e3d9a1bd75ac75a74d6287eb2f.jpg","text":"TemporaryFile(/tmp/multipartBody9042051893635860688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737251293789,"filename":"image_19012025_02_45_02_954150_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/47a24444006f7537886d990d94968ceb.jpg","text":"TemporaryFile(/tmp/multipartBody4148846814069337695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737251293789,"filename":"image_19012025_02_46_02_402639_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/25e51af81c74949b242d7d2e6e31115e.jpg","text":"TemporaryFile(/tmp/multipartBody1629071532359616761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737251293789,"filename":"image_19012025_02_46_02_402639_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329924715","file1":"1329924712","file0":"1329924700","file3":"1329924717"},"map_files_photo_id_array":[{"photo_id":"1329924715","filename":"file2"},{"photo_id":"1329924712","filename":"file1"},{"photo_id":"1329924700","filename":"file0"},{"photo_id":"1329924717","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329924715":["hashtag1","hashtag2"]},{"1329924700":["hashtag1","hashtag2"]},{"1329924717":["hashtag1","hashtag2"]},{"1329924712":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329924715, 1329924700, 1329924717, 1329924712)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 44.161036252975464 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 02:48:03.046256
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/02/46/image_19012025_02_46_02_402639_0003.jpg', '/home/pi/Desktop/images/19012025/02/47/image_19012025_02_47_02_960186_0000.jpg', '/home/pi/Desktop/images/19012025/02/47/image_19012025_02_47_02_960186_0001.jpg', '/home/pi/Desktop/images/19012025/02/47/image_19012025_02_47_02_960186_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/02/46/image_19012025_02_46_02_402639_0003.jpg
/home/pi/Desktop/images/19012025/02/47/image_19012025_02_47_02_960186_0000.jpg
/home/pi/Desktop/images/19012025/02/47/image_19012025_02_47_02_960186_0001.jpg
/home/pi/Desktop/images/19012025/02/47/image_19012025_02_47_02_960186_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329924814","1329924816","1329924812","1329924796"],"photo_ids_order":["1329924796","1329924812","1329924814","1329924816"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/798ff204b8f7e81ac042119ec387f386.jpg","text":"TemporaryFile(/tmp/multipartBody9125985499298556627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737251354272,"filename":"image_19012025_02_47_02_960186_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/21810bb689c1675c1fe220b2c3e87013.jpg","text":"TemporaryFile(/tmp/multipartBody2116913797906509859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737251354272,"filename":"image_19012025_02_47_02_960186_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/e9f6fec6cee0c989d9f9c53421f5587d.jpg","text":"TemporaryFile(/tmp/multipartBody6079143928660895667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737251354272,"filename":"image_19012025_02_47_02_960186_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/f09cba98cedef82130bb964424f50259.jpg","text":"TemporaryFile(/tmp/multipartBody8138836177353564351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737251354272,"filename":"image_19012025_02_46_02_402639_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329924814","file1":"1329924812","file0":"1329924796","file3":"1329924816"},"map_files_photo_id_array":[{"photo_id":"1329924814","filename":"file2"},{"photo_id":"1329924812","filename":"file1"},{"photo_id":"1329924796","filename":"file0"},{"photo_id":"1329924816","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329924814":["hashtag1","hashtag2"]},{"1329924816":["hashtag1","hashtag2"]},{"1329924812":["hashtag1","hashtag2"]},{"1329924796":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329924814, 1329924816, 1329924812, 1329924796)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.4095242023468 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 02:49:02.825786
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/02/47/image_19012025_02_47_02_960186_0003.jpg', '/home/pi/Desktop/images/19012025/02/48/image_19012025_02_48_02_418312_0000.jpg', '/home/pi/Desktop/images/19012025/02/48/image_19012025_02_48_02_418312_0001.jpg', '/home/pi/Desktop/images/19012025/02/48/image_19012025_02_48_02_418312_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/02/47/image_19012025_02_47_02_960186_0003.jpg
/home/pi/Desktop/images/19012025/02/48/image_19012025_02_48_02_418312_0000.jpg
/home/pi/Desktop/images/19012025/02/48/image_19012025_02_48_02_418312_0001.jpg
/home/pi/Desktop/images/19012025/02/48/image_19012025_02_48_02_418312_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329924941","1329924923","1329924958","1329925000"],"photo_ids_order":["1329924923","1329924941","1329924958","1329925000"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/926bc0a264dfed31b8fd3efedfbeaf7f.jpg","text":"TemporaryFile(/tmp/multipartBody2297559687526199683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737251413617,"filename":"image_19012025_02_48_02_418312_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/9c12d96e6363580a9a4e7f21c0bdffdb.jpg","text":"TemporaryFile(/tmp/multipartBody3343399256276710321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737251413617,"filename":"image_19012025_02_47_02_960186_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/1e33a5c300b515a71cc85d7b540a1af4.jpg","text":"TemporaryFile(/tmp/multipartBody3761120396112563189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737251413617,"filename":"image_19012025_02_48_02_418312_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/bbb38401dc092f85dd2e351f1742b57a.jpg","text":"TemporaryFile(/tmp/multipartBody3422784755450536900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737251413617,"filename":"image_19012025_02_48_02_418312_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329924958","file1":"1329924941","file0":"1329924923","file3":"1329925000"},"map_files_photo_id_array":[{"photo_id":"1329924958","filename":"file2"},{"photo_id":"1329924941","filename":"file1"},{"photo_id":"1329924923","filename":"file0"},{"photo_id":"1329925000","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329924941":["hashtag1","hashtag2"]},{"1329924923":["hashtag1","hashtag2"]},{"1329924958":["hashtag1","hashtag2"]},{"1329925000":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329924941, 1329924923, 1329924958, 1329925000)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.37754845619202 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 02:50:02.366008
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/02/48/image_19012025_02_48_02_418312_0003.jpg', '/home/pi/Desktop/images/19012025/02/49/image_19012025_02_49_03_107518_0000.jpg', '/home/pi/Desktop/images/19012025/02/49/image_19012025_02_49_03_107518_0001.jpg', '/home/pi/Desktop/images/19012025/02/49/image_19012025_02_49_03_107518_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/02/48/image_19012025_02_48_02_418312_0003.jpg
/home/pi/Desktop/images/19012025/02/49/image_19012025_02_49_03_107518_0000.jpg
/home/pi/Desktop/images/19012025/02/49/image_19012025_02_49_03_107518_0001.jpg
/home/pi/Desktop/images/19012025/02/49/image_19012025_02_49_03_107518_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329925055","1329925060","1329925054","1329925057"],"photo_ids_order":["1329925054","1329925055","1329925057","1329925060"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/4015c61192f6a23f01451783c7a6c3a0.jpg","text":"TemporaryFile(/tmp/multipartBody5902827179693046890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737251473657,"filename":"image_19012025_02_49_03_107518_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/09046d140768d1eebb146ca903921fb5.jpg","text":"TemporaryFile(/tmp/multipartBody1077724362357782966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737251473657,"filename":"image_19012025_02_49_03_107518_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/d6202e41fac4aed5a86ebb78af1cfc32.jpg","text":"TemporaryFile(/tmp/multipartBody3222720809095490335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737251473657,"filename":"image_19012025_02_48_02_418312_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/aa43c2e48fd8604151e344a7b1f7c5c4.jpg","text":"TemporaryFile(/tmp/multipartBody2463738595281055765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737251473657,"filename":"image_19012025_02_49_03_107518_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329925057","file1":"1329925055","file0":"1329925054","file3":"1329925060"},"map_files_photo_id_array":[{"photo_id":"1329925057","filename":"file2"},{"photo_id":"1329925055","filename":"file1"},{"photo_id":"1329925054","filename":"file0"},{"photo_id":"1329925060","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329925055":["hashtag1","hashtag2"]},{"1329925060":["hashtag1","hashtag2"]},{"1329925054":["hashtag1","hashtag2"]},{"1329925057":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329925055, 1329925060, 1329925054, 1329925057)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.342318058013916 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 02:51:03.077211
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/02/49/image_19012025_02_49_03_107518_0003.jpg', '/home/pi/Desktop/images/19012025/02/50/image_19012025_02_50_02_582977_0000.jpg', '/home/pi/Desktop/images/19012025/02/50/image_19012025_02_50_02_582977_0001.jpg', '/home/pi/Desktop/images/19012025/02/50/image_19012025_02_50_02_582977_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/02/49/image_19012025_02_49_03_107518_0003.jpg
/home/pi/Desktop/images/19012025/02/50/image_19012025_02_50_02_582977_0000.jpg
/home/pi/Desktop/images/19012025/02/50/image_19012025_02_50_02_582977_0001.jpg
/home/pi/Desktop/images/19012025/02/50/image_19012025_02_50_02_582977_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.745340347290039 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 02:51:22.348533
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/02/49/image_19012025_02_49_03_107518_0003.jpg', '/home/pi/Desktop/images/19012025/02/50/image_19012025_02_50_02_582977_0000.jpg', '/home/pi/Desktop/images/19012025/02/50/image_19012025_02_50_02_582977_0001.jpg', '/home/pi/Desktop/images/19012025/02/50/image_19012025_02_50_02_582977_0002.jpg', '/home/pi/Desktop/images/19012025/02/50/image_19012025_02_50_02_582977_0003.jpg', '/home/pi/Desktop/images/19012025/02/51/image_19012025_02_51_02_244382_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/02/49/image_19012025_02_49_03_107518_0003.jpg
/home/pi/Desktop/images/19012025/02/50/image_19012025_02_50_02_582977_0000.jpg
/home/pi/Desktop/images/19012025/02/50/image_19012025_02_50_02_582977_0001.jpg
/home/pi/Desktop/images/19012025/02/50/image_19012025_02_50_02_582977_0002.jpg
/home/pi/Desktop/images/19012025/02/50/image_19012025_02_50_02_582977_0003.jpg
/home/pi/Desktop/images/19012025/02/51/image_19012025_02_51_02_244382_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":["1329925125","1329925119","1329925121","1329925115","1329925123","1329925117"],"photo_ids_order":["1329925115","1329925117","1329925119","1329925121","1329925123","1329925125"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/6a27639ae7c7550ded93a52074d7ef1a.jpg","text":"TemporaryFile(/tmp/multipartBody4859287641494327962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737251558723,"filename":"image_19012025_02_51_02_244382_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/b169188f8ecb16198a2fc92f9e625916.jpg","text":"TemporaryFile(/tmp/multipartBody1658849331683947660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737251558723,"filename":"image_19012025_02_50_02_582977_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/d3498782be0fb0fbea9e99c65efbe17e.jpg","text":"TemporaryFile(/tmp/multipartBody5104773460283894933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737251558723,"filename":"image_19012025_02_50_02_582977_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/2022da437b4a203944de0e03a295255c.jpg","text":"TemporaryFile(/tmp/multipartBody217486453328067857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737251558723,"filename":"image_19012025_02_49_03_107518_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/2af6dec8195f5f1eff45b21a667ffb25.jpg","text":"TemporaryFile(/tmp/multipartBody2768236345450273679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737251558723,"filename":"image_19012025_02_50_02_582977_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/adebdb3b467eb7a95b4c87994df65019.jpg","text":"TemporaryFile(/tmp/multipartBody3887909453176608200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737251558723,"filename":"image_19012025_02_50_02_582977_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329925119","file1":"1329925117","file0":"1329925115","file4":"1329925123","file5":"1329925125","file3":"1329925121"},"map_files_photo_id_array":[{"photo_id":"1329925125","filename":"file5"},{"photo_id":"1329925119","filename":"file2"},{"photo_id":"1329925123","filename":"file4"},{"photo_id":"1329925117","filename":"file1"},{"photo_id":"1329925115","filename":"file0"},{"photo_id":"1329925121","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329925125":["hashtag1","hashtag2"]},{"1329925119":["hashtag1","hashtag2"]},{"1329925121":["hashtag1","hashtag2"]},{"1329925115":["hashtag1","hashtag2"]},{"1329925123":["hashtag1","hashtag2"]},{"1329925117":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329925125, 1329925119, 1329925121, 1329925115, 1329925123, 1329925117)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 61.448978662490845 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 02:53:03.103147
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/02/51/image_19012025_02_51_02_244382_0001.jpg', '/home/pi/Desktop/images/19012025/02/51/image_19012025_02_51_02_244382_0002.jpg', '/home/pi/Desktop/images/19012025/02/51/image_19012025_02_51_02_244382_0003.jpg', '/home/pi/Desktop/images/19012025/02/52/image_19012025_02_52_02_742349_0000.jpg', '/home/pi/Desktop/images/19012025/02/52/image_19012025_02_52_02_742349_0001.jpg', '/home/pi/Desktop/images/19012025/02/52/image_19012025_02_52_02_742349_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/02/51/image_19012025_02_51_02_244382_0001.jpg
/home/pi/Desktop/images/19012025/02/51/image_19012025_02_51_02_244382_0002.jpg
/home/pi/Desktop/images/19012025/02/51/image_19012025_02_51_02_244382_0003.jpg
/home/pi/Desktop/images/19012025/02/52/image_19012025_02_52_02_742349_0000.jpg
/home/pi/Desktop/images/19012025/02/52/image_19012025_02_52_02_742349_0001.jpg
/home/pi/Desktop/images/19012025/02/52/image_19012025_02_52_02_742349_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 16.509918212890625 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 02:53:22.312834
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/02/51/image_19012025_02_51_02_244382_0001.jpg', '/home/pi/Desktop/images/19012025/02/51/image_19012025_02_51_02_244382_0002.jpg', '/home/pi/Desktop/images/19012025/02/51/image_19012025_02_51_02_244382_0003.jpg', '/home/pi/Desktop/images/19012025/02/52/image_19012025_02_52_02_742349_0000.jpg', '/home/pi/Desktop/images/19012025/02/52/image_19012025_02_52_02_742349_0001.jpg', '/home/pi/Desktop/images/19012025/02/52/image_19012025_02_52_02_742349_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/02/51/image_19012025_02_51_02_244382_0001.jpg
/home/pi/Desktop/images/19012025/02/51/image_19012025_02_51_02_244382_0002.jpg
/home/pi/Desktop/images/19012025/02/51/image_19012025_02_51_02_244382_0003.jpg
/home/pi/Desktop/images/19012025/02/52/image_19012025_02_52_02_742349_0000.jpg
/home/pi/Desktop/images/19012025/02/52/image_19012025_02_52_02_742349_0001.jpg
/home/pi/Desktop/images/19012025/02/52/image_19012025_02_52_02_742349_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329926412","1329926375","1329926386","1329926410","1329926413","1329926397"],"photo_ids_order":["1329926375","1329926386","1329926397","1329926410","1329926412","1329926413"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/684ad2f4755511679b7c0b1cd747c382.jpg","text":"TemporaryFile(/tmp/multipartBody248870492375476906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737251679160,"filename":"image_19012025_02_52_02_742349_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/161429268331a8cbf78f04881f6a4af9.jpg","text":"TemporaryFile(/tmp/multipartBody7887527475443210481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737251679160,"filename":"image_19012025_02_51_02_244382_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/1169ba3ea6e075f1edc6bf541e780ed0.jpg","text":"TemporaryFile(/tmp/multipartBody6348236280269248992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737251679160,"filename":"image_19012025_02_51_02_244382_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/91518a40f7ef91e389ea8a8ca41dbcb8.jpg","text":"TemporaryFile(/tmp/multipartBody6514320601529725737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737251679160,"filename":"image_19012025_02_52_02_742349_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/61cff61043cf3df25c24fa7c01b80a24.jpg","text":"TemporaryFile(/tmp/multipartBody9142497361373550550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737251679160,"filename":"image_19012025_02_52_02_742349_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/32a44739ebeec5399a2396cabea38eac.jpg","text":"TemporaryFile(/tmp/multipartBody2652588958443720615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737251679160,"filename":"image_19012025_02_51_02_244382_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329926397","file1":"1329926386","file0":"1329926375","file4":"1329926412","file5":"1329926413","file3":"1329926410"},"map_files_photo_id_array":[{"photo_id":"1329926413","filename":"file5"},{"photo_id":"1329926397","filename":"file2"},{"photo_id":"1329926412","filename":"file4"},{"photo_id":"1329926386","filename":"file1"},{"photo_id":"1329926375","filename":"file0"},{"photo_id":"1329926410","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329926412":["hashtag1","hashtag2"]},{"1329926375":["hashtag1","hashtag2"]},{"1329926386":["hashtag1","hashtag2"]},{"1329926410":["hashtag1","hashtag2"]},{"1329926413":["hashtag1","hashtag2"]},{"1329926397":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329926412, 1329926375, 1329926386, 1329926410, 1329926413, 1329926397)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.68808341026306 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 02:54:22.064873
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/02/52/image_19012025_02_52_02_742349_0003.jpg', '/home/pi/Desktop/images/19012025/02/53/image_19012025_02_53_02_263357_0000.jpg', '/home/pi/Desktop/images/19012025/02/53/image_19012025_02_53_02_263357_0001.jpg', '/home/pi/Desktop/images/19012025/02/53/image_19012025_02_53_02_263357_0002.jpg', '/home/pi/Desktop/images/19012025/02/53/image_19012025_02_53_02_263357_0003.jpg', '/home/pi/Desktop/images/19012025/02/54/image_19012025_02_54_02_749300_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/02/52/image_19012025_02_52_02_742349_0003.jpg
/home/pi/Desktop/images/19012025/02/53/image_19012025_02_53_02_263357_0000.jpg
/home/pi/Desktop/images/19012025/02/53/image_19012025_02_53_02_263357_0001.jpg
/home/pi/Desktop/images/19012025/02/53/image_19012025_02_53_02_263357_0002.jpg
/home/pi/Desktop/images/19012025/02/53/image_19012025_02_53_02_263357_0003.jpg
/home/pi/Desktop/images/19012025/02/54/image_19012025_02_54_02_749300_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329926829","1329926820","1329926830","1329926803","1329926823","1329926826"],"photo_ids_order":["1329926803","1329926820","1329926823","1329926826","1329926829","1329926830"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/0c832830dda7f5a9d2addf529a540d23.jpg","text":"TemporaryFile(/tmp/multipartBody8877761662249463569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737251738725,"filename":"image_19012025_02_53_02_263357_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/c36cd2d9397ba7b704b795c2086c037b.jpg","text":"TemporaryFile(/tmp/multipartBody8934928047121917646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737251738725,"filename":"image_19012025_02_53_02_263357_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/996d317e08b3691d5ec07d5090bb5364.jpg","text":"TemporaryFile(/tmp/multipartBody6863412179335851763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737251738725,"filename":"image_19012025_02_54_02_749300_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/e6f70d8912a4ea1a0e366d50f185e6c8.jpg","text":"TemporaryFile(/tmp/multipartBody4615466909543347551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737251738725,"filename":"image_19012025_02_52_02_742349_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/01d80a6df50005a7d1e0dcc819888c49.jpg","text":"TemporaryFile(/tmp/multipartBody5575033495356635874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737251738725,"filename":"image_19012025_02_53_02_263357_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/1414f31fbb2d1df526001582d890bcbb.jpg","text":"TemporaryFile(/tmp/multipartBody1961326061172627836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737251738725,"filename":"image_19012025_02_53_02_263357_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329926823","file1":"1329926820","file0":"1329926803","file4":"1329926829","file5":"1329926830","file3":"1329926826"},"map_files_photo_id_array":[{"photo_id":"1329926830","filename":"file5"},{"photo_id":"1329926823","filename":"file2"},{"photo_id":"1329926829","filename":"file4"},{"photo_id":"1329926820","filename":"file1"},{"photo_id":"1329926803","filename":"file0"},{"photo_id":"1329926826","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329926829":["hashtag1","hashtag2"]},{"1329926820":["hashtag1","hashtag2"]},{"1329926830":["hashtag1","hashtag2"]},{"1329926803":["hashtag1","hashtag2"]},{"1329926823":["hashtag1","hashtag2"]},{"1329926826":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329926829, 1329926820, 1329926830, 1329926803, 1329926823, 1329926826)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.72965741157532 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 02:55:22.520798
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/02/54/image_19012025_02_54_02_749300_0001.jpg', '/home/pi/Desktop/images/19012025/02/54/image_19012025_02_54_02_749300_0002.jpg', '/home/pi/Desktop/images/19012025/02/54/image_19012025_02_54_02_749300_0003.jpg', '/home/pi/Desktop/images/19012025/02/55/image_19012025_02_55_02_430760_0000.jpg', '/home/pi/Desktop/images/19012025/02/55/image_19012025_02_55_02_430760_0001.jpg', '/home/pi/Desktop/images/19012025/02/55/image_19012025_02_55_02_430760_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/02/54/image_19012025_02_54_02_749300_0001.jpg
/home/pi/Desktop/images/19012025/02/54/image_19012025_02_54_02_749300_0002.jpg
/home/pi/Desktop/images/19012025/02/54/image_19012025_02_54_02_749300_0003.jpg
/home/pi/Desktop/images/19012025/02/55/image_19012025_02_55_02_430760_0000.jpg
/home/pi/Desktop/images/19012025/02/55/image_19012025_02_55_02_430760_0001.jpg
/home/pi/Desktop/images/19012025/02/55/image_19012025_02_55_02_430760_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329926980","1329926983","1329927022","1329926985","1329927015","1329927009"],"photo_ids_order":["1329926980","1329926983","1329926985","1329927009","1329927015","1329927022"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/548047aa494a9734b46f6b569b328112.jpg","text":"TemporaryFile(/tmp/multipartBody288683157214826913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737251799279,"filename":"image_19012025_02_54_02_749300_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/ad982afcc7438c5b4b85558603483a8a.jpg","text":"TemporaryFile(/tmp/multipartBody5957304695242429606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737251799279,"filename":"image_19012025_02_54_02_749300_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/00a37f7915fdfa26b2b6038877cd568e.jpg","text":"TemporaryFile(/tmp/multipartBody2900123741153367617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737251799279,"filename":"image_19012025_02_55_02_430760_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/5c1cfdadbaf506555aa651be0b82f06b.jpg","text":"TemporaryFile(/tmp/multipartBody6125400595658742805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737251799279,"filename":"image_19012025_02_54_02_749300_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/afa382ebd76926e3abcc727db3e9966d.jpg","text":"TemporaryFile(/tmp/multipartBody2358472791548113984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737251799279,"filename":"image_19012025_02_55_02_430760_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/d77ed892241eac1782c6d9e36dfa3b00.jpg","text":"TemporaryFile(/tmp/multipartBody5188527530350441247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737251799279,"filename":"image_19012025_02_55_02_430760_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329926985","file1":"1329926983","file0":"1329926980","file4":"1329927015","file5":"1329927022","file3":"1329927009"},"map_files_photo_id_array":[{"photo_id":"1329927022","filename":"file5"},{"photo_id":"1329926985","filename":"file2"},{"photo_id":"1329927015","filename":"file4"},{"photo_id":"1329926983","filename":"file1"},{"photo_id":"1329926980","filename":"file0"},{"photo_id":"1329927009","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329926980":["hashtag1","hashtag2"]},{"1329926983":["hashtag1","hashtag2"]},{"1329927022":["hashtag1","hashtag2"]},{"1329926985":["hashtag1","hashtag2"]},{"1329927015":["hashtag1","hashtag2"]},{"1329927009":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329926980, 1329926983, 1329927022, 1329926985, 1329927015, 1329927009)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.311784744262695 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 02:56:22.098244
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/02/55/image_19012025_02_55_02_430760_0003.jpg', '/home/pi/Desktop/images/19012025/02/56/image_19012025_02_56_02_971049_0000.jpg', '/home/pi/Desktop/images/19012025/02/56/image_19012025_02_56_02_971049_0001.jpg', '/home/pi/Desktop/images/19012025/02/56/image_19012025_02_56_02_971049_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/02/55/image_19012025_02_55_02_430760_0003.jpg
/home/pi/Desktop/images/19012025/02/56/image_19012025_02_56_02_971049_0000.jpg
/home/pi/Desktop/images/19012025/02/56/image_19012025_02_56_02_971049_0001.jpg
/home/pi/Desktop/images/19012025/02/56/image_19012025_02_56_02_971049_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329927043","1329927046","1329927049","1329927040"],"photo_ids_order":["1329927040","1329927043","1329927046","1329927049"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/378c1ee21cfc107076590043d3cd4a32.jpg","text":"TemporaryFile(/tmp/multipartBody2034414102094910508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737251853535,"filename":"image_19012025_02_56_02_971049_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/9f22fcadff2b30ca2d607d6709f7f81f.jpg","text":"TemporaryFile(/tmp/multipartBody1274825521237309029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737251853535,"filename":"image_19012025_02_56_02_971049_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/bcde49a2589707d452720658c10ee522.jpg","text":"TemporaryFile(/tmp/multipartBody8774415185263179732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737251853535,"filename":"image_19012025_02_56_02_971049_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/490561700c68fc2c446986cfa6e3d149.jpg","text":"TemporaryFile(/tmp/multipartBody307980408192417074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737251853535,"filename":"image_19012025_02_55_02_430760_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329927046","file1":"1329927043","file0":"1329927040","file3":"1329927049"},"map_files_photo_id_array":[{"photo_id":"1329927046","filename":"file2"},{"photo_id":"1329927043","filename":"file1"},{"photo_id":"1329927040","filename":"file0"},{"photo_id":"1329927049","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329927043":["hashtag1","hashtag2"]},{"1329927046":["hashtag1","hashtag2"]},{"1329927049":["hashtag1","hashtag2"]},{"1329927040":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329927043, 1329927046, 1329927049, 1329927040)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 4 photos
time to upload: 40.20002722740173 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 02:57:22.669396
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/02/56/image_19012025_02_56_02_971049_0003.jpg', '/home/pi/Desktop/images/19012025/02/57/image_19012025_02_57_02_487443_0000.jpg', '/home/pi/Desktop/images/19012025/02/57/image_19012025_02_57_02_487443_0001.jpg', '/home/pi/Desktop/images/19012025/02/57/image_19012025_02_57_02_487443_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/02/56/image_19012025_02_56_02_971049_0003.jpg
/home/pi/Desktop/images/19012025/02/57/image_19012025_02_57_02_487443_0000.jpg
/home/pi/Desktop/images/19012025/02/57/image_19012025_02_57_02_487443_0001.jpg
/home/pi/Desktop/images/19012025/02/57/image_19012025_02_57_02_487443_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-19 02:59:02.910058
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/02/56/image_19012025_02_56_02_971049_0003.jpg', '/home/pi/Desktop/images/19012025/02/57/image_19012025_02_57_02_487443_0000.jpg', '/home/pi/Desktop/images/19012025/02/57/image_19012025_02_57_02_487443_0001.jpg', '/home/pi/Desktop/images/19012025/02/57/image_19012025_02_57_02_487443_0002.jpg', '/home/pi/Desktop/images/19012025/02/57/image_19012025_02_57_02_487443_0003.jpg', '/home/pi/Desktop/images/19012025/02/58/image_19012025_02_58_02_982777_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/02/56/image_19012025_02_56_02_971049_0003.jpg
/home/pi/Desktop/images/19012025/02/57/image_19012025_02_57_02_487443_0000.jpg
/home/pi/Desktop/images/19012025/02/57/image_19012025_02_57_02_487443_0001.jpg
/home/pi/Desktop/images/19012025/02/57/image_19012025_02_57_02_487443_0002.jpg
/home/pi/Desktop/images/19012025/02/57/image_19012025_02_57_02_487443_0003.jpg
/home/pi/Desktop/images/19012025/02/58/image_19012025_02_58_02_982777_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":["1329927236","1329927259","1329927217","1329927247","1329927261","1329927234"],"photo_ids_order":["1329927217","1329927234","1329927236","1329927247","1329927259","1329927261"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/3ed4934205f646031c1ca7ad5f2d8401.jpg","text":"TemporaryFile(/tmp/multipartBody8902584763864151665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737252019820,"filename":"image_19012025_02_57_02_487443_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/3b5218889108e31301d02287e0fc5852.jpg","text":"TemporaryFile(/tmp/multipartBody438536808848934836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737252019820,"filename":"image_19012025_02_57_02_487443_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/e30509522142e24f839e048dedae192d.jpg","text":"TemporaryFile(/tmp/multipartBody4234676328196338243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737252019820,"filename":"image_19012025_02_56_02_971049_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/2716f63e9cfc258c202b1d5986f03978.jpg","text":"TemporaryFile(/tmp/multipartBody986274900661098813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737252019820,"filename":"image_19012025_02_57_02_487443_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/3c11d4ea0946f4c7ddc2fcf656848cfd.jpg","text":"TemporaryFile(/tmp/multipartBody6547408416583103067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737252019820,"filename":"image_19012025_02_58_02_982777_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/2c35ee3ad84256e19c2ceecec9177ed4.jpg","text":"TemporaryFile(/tmp/multipartBody2662835604983075096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737252019820,"filename":"image_19012025_02_57_02_487443_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329927236","file1":"1329927234","file0":"1329927217","file4":"1329927259","file5":"1329927261","file3":"1329927247"},"map_files_photo_id_array":[{"photo_id":"1329927261","filename":"file5"},{"photo_id":"1329927236","filename":"file2"},{"photo_id":"1329927259","filename":"file4"},{"photo_id":"1329927234","filename":"file1"},{"photo_id":"1329927217","filename":"file0"},{"photo_id":"1329927247","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329927236":["hashtag1","hashtag2"]},{"1329927259":["hashtag1","hashtag2"]},{"1329927217":["hashtag1","hashtag2"]},{"1329927247":["hashtag1","hashtag2"]},{"1329927261":["hashtag1","hashtag2"]},{"1329927234":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329927236, 1329927259, 1329927217, 1329927247, 1329927261, 1329927234)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.99227952957153 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 03:00:22.151878
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/02/58/image_19012025_02_58_02_982777_0001.jpg', '/home/pi/Desktop/images/19012025/02/58/image_19012025_02_58_02_982777_0002.jpg', '/home/pi/Desktop/images/19012025/02/58/image_19012025_02_58_02_982777_0003.jpg', '/home/pi/Desktop/images/19012025/02/59/image_19012025_02_59_02_525325_0000.jpg', '/home/pi/Desktop/images/19012025/02/59/image_19012025_02_59_02_525325_0001.jpg', '/home/pi/Desktop/images/19012025/02/59/image_19012025_02_59_02_525325_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/02/58/image_19012025_02_58_02_982777_0001.jpg
/home/pi/Desktop/images/19012025/02/58/image_19012025_02_58_02_982777_0002.jpg
/home/pi/Desktop/images/19012025/02/58/image_19012025_02_58_02_982777_0003.jpg
/home/pi/Desktop/images/19012025/02/59/image_19012025_02_59_02_525325_0000.jpg
/home/pi/Desktop/images/19012025/02/59/image_19012025_02_59_02_525325_0001.jpg
/home/pi/Desktop/images/19012025/02/59/image_19012025_02_59_02_525325_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329927344","1329927338","1329927335","1329927340","1329927334","1329927342"],"photo_ids_order":["1329927334","1329927335","1329927338","1329927340","1329927342","1329927344"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/89c44d0b5217ae52df12939f61ba3e1e.jpg","text":"TemporaryFile(/tmp/multipartBody2069399903171399206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737252098706,"filename":"image_19012025_02_59_02_525325_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/f4deafb4b41f0e68bcec3d8bce71c204.jpg","text":"TemporaryFile(/tmp/multipartBody918419815505433028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737252098706,"filename":"image_19012025_02_58_02_982777_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/14c55aa373a0e6cf866742f506fe26ae.jpg","text":"TemporaryFile(/tmp/multipartBody3892598781707725063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737252098706,"filename":"image_19012025_02_58_02_982777_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/dba8faea9857307de2680b34100ca14d.jpg","text":"TemporaryFile(/tmp/multipartBody3537390710190567660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737252098706,"filename":"image_19012025_02_59_02_525325_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/dba4e254e5b01d1065d8a7fa9b9be197.jpg","text":"TemporaryFile(/tmp/multipartBody1766681484716383915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737252098706,"filename":"image_19012025_02_58_02_982777_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/b9da43ff3524bd2e4d2d9ddf47ec49c2.jpg","text":"TemporaryFile(/tmp/multipartBody296935646049680760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737252098706,"filename":"image_19012025_02_59_02_525325_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329927338","file1":"1329927335","file0":"1329927334","file4":"1329927342","file5":"1329927344","file3":"1329927340"},"map_files_photo_id_array":[{"photo_id":"1329927344","filename":"file5"},{"photo_id":"1329927338","filename":"file2"},{"photo_id":"1329927342","filename":"file4"},{"photo_id":"1329927335","filename":"file1"},{"photo_id":"1329927334","filename":"file0"},{"photo_id":"1329927340","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329927344":["hashtag1","hashtag2"]},{"1329927338":["hashtag1","hashtag2"]},{"1329927335":["hashtag1","hashtag2"]},{"1329927340":["hashtag1","hashtag2"]},{"1329927334":["hashtag1","hashtag2"]},{"1329927342":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329927344, 1329927338, 1329927335, 1329927340, 1329927334, 1329927342)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.47499108314514 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 03:01:22.640385
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/02/59/image_19012025_02_59_02_525325_0003.jpg', '/home/pi/Desktop/images/19012025/03/00/image_19012025_03_00_02_721398_0000.jpg', '/home/pi/Desktop/images/19012025/03/00/image_19012025_03_00_02_721398_0001.jpg', '/home/pi/Desktop/images/19012025/03/00/image_19012025_03_00_02_721398_0002.jpg', '/home/pi/Desktop/images/19012025/03/00/image_19012025_03_00_02_721398_0003.jpg', '/home/pi/Desktop/images/19012025/03/01/image_19012025_03_01_02_456140_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/02/59/image_19012025_02_59_02_525325_0003.jpg
/home/pi/Desktop/images/19012025/03/00/image_19012025_03_00_02_721398_0000.jpg
/home/pi/Desktop/images/19012025/03/00/image_19012025_03_00_02_721398_0001.jpg
/home/pi/Desktop/images/19012025/03/00/image_19012025_03_00_02_721398_0002.jpg
/home/pi/Desktop/images/19012025/03/00/image_19012025_03_00_02_721398_0003.jpg
/home/pi/Desktop/images/19012025/03/01/image_19012025_03_01_02_456140_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329927359","1329927353","1329927361","1329927355","1329927351","1329927357"],"photo_ids_order":["1329927351","1329927353","1329927355","1329927357","1329927359","1329927361"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/2d81de2e24437a13c336fb14ea474d2e.jpg","text":"TemporaryFile(/tmp/multipartBody1401726245556214934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737252159196,"filename":"image_19012025_03_00_02_721398_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/e88b56ec597112c89615e95900e1abee.jpg","text":"TemporaryFile(/tmp/multipartBody2276484128129846863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737252159196,"filename":"image_19012025_03_00_02_721398_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/51a56039ded3e47dd33ae3d857574e79.jpg","text":"TemporaryFile(/tmp/multipartBody2228017390618177397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737252159196,"filename":"image_19012025_03_01_02_456140_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/4e5cff0570a80e9763223cf5feb241d4.jpg","text":"TemporaryFile(/tmp/multipartBody3195881880113955598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737252159196,"filename":"image_19012025_03_00_02_721398_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/012fcfc036a822ffb5802ca0f46a2259.jpg","text":"TemporaryFile(/tmp/multipartBody3834062437149433604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737252159196,"filename":"image_19012025_02_59_02_525325_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/0efcad6d075bc7d0e1cbdd7bacd2ffa6.jpg","text":"TemporaryFile(/tmp/multipartBody2435865210345347301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737252159196,"filename":"image_19012025_03_00_02_721398_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329927355","file1":"1329927353","file0":"1329927351","file4":"1329927359","file5":"1329927361","file3":"1329927357"},"map_files_photo_id_array":[{"photo_id":"1329927361","filename":"file5"},{"photo_id":"1329927355","filename":"file2"},{"photo_id":"1329927359","filename":"file4"},{"photo_id":"1329927353","filename":"file1"},{"photo_id":"1329927351","filename":"file0"},{"photo_id":"1329927357","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329927359":["hashtag1","hashtag2"]},{"1329927353":["hashtag1","hashtag2"]},{"1329927361":["hashtag1","hashtag2"]},{"1329927355":["hashtag1","hashtag2"]},{"1329927351":["hashtag1","hashtag2"]},{"1329927357":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329927359, 1329927353, 1329927361, 1329927355, 1329927351, 1329927357)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.55169868469238 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 03:02:22.216249
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/03/01/image_19012025_03_01_02_456140_0001.jpg', '/home/pi/Desktop/images/19012025/03/01/image_19012025_03_01_02_456140_0002.jpg', '/home/pi/Desktop/images/19012025/03/01/image_19012025_03_01_02_456140_0003.jpg', '/home/pi/Desktop/images/19012025/03/02/image_19012025_03_02_03_062020_0000.jpg', '/home/pi/Desktop/images/19012025/03/02/image_19012025_03_02_03_062020_0001.jpg', '/home/pi/Desktop/images/19012025/03/02/image_19012025_03_02_03_062020_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/03/01/image_19012025_03_01_02_456140_0001.jpg
/home/pi/Desktop/images/19012025/03/01/image_19012025_03_01_02_456140_0002.jpg
/home/pi/Desktop/images/19012025/03/01/image_19012025_03_01_02_456140_0003.jpg
/home/pi/Desktop/images/19012025/03/02/image_19012025_03_02_03_062020_0000.jpg
/home/pi/Desktop/images/19012025/03/02/image_19012025_03_02_03_062020_0001.jpg
/home/pi/Desktop/images/19012025/03/02/image_19012025_03_02_03_062020_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329927496","1329927499","1329927501","1329927491","1329927494","1329927488"],"photo_ids_order":["1329927488","1329927491","1329927494","1329927496","1329927499","1329927501"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/31f356fcd5d324b8af41e5ebe14365fd.jpg","text":"TemporaryFile(/tmp/multipartBody1152971921741957202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737252219538,"filename":"image_19012025_03_02_03_062020_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/0aebd0f1e96f5c87268cb60dba8c3918.jpg","text":"TemporaryFile(/tmp/multipartBody1050635598529083668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737252219538,"filename":"image_19012025_03_02_03_062020_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/c39397e5e23b13121f0056076df1dd52.jpg","text":"TemporaryFile(/tmp/multipartBody3154662183606477128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737252219538,"filename":"image_19012025_03_02_03_062020_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/806c450ba0d33d75a6f7b360c43bc0c4.jpg","text":"TemporaryFile(/tmp/multipartBody7670643399549650375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737252219538,"filename":"image_19012025_03_01_02_456140_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/278dee1984d5d0fad55b80964bfeadf4.jpg","text":"TemporaryFile(/tmp/multipartBody2807712790195736971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737252219538,"filename":"image_19012025_03_01_02_456140_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/5542bd7d648cb40b0e6acbc964821b1f.jpg","text":"TemporaryFile(/tmp/multipartBody5005672687723672732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737252219538,"filename":"image_19012025_03_01_02_456140_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329927494","file1":"1329927491","file0":"1329927488","file4":"1329927499","file5":"1329927501","file3":"1329927496"},"map_files_photo_id_array":[{"photo_id":"1329927501","filename":"file5"},{"photo_id":"1329927494","filename":"file2"},{"photo_id":"1329927499","filename":"file4"},{"photo_id":"1329927491","filename":"file1"},{"photo_id":"1329927488","filename":"file0"},{"photo_id":"1329927496","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329927496":["hashtag1","hashtag2"]},{"1329927499":["hashtag1","hashtag2"]},{"1329927501":["hashtag1","hashtag2"]},{"1329927491":["hashtag1","hashtag2"]},{"1329927494":["hashtag1","hashtag2"]},{"1329927488":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329927496, 1329927499, 1329927501, 1329927491, 1329927494, 1329927488)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.68712639808655 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 03:03:21.808195
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/03/02/image_19012025_03_02_03_062020_0003.jpg', '/home/pi/Desktop/images/19012025/03/03/image_19012025_03_03_02_608899_0000.jpg', '/home/pi/Desktop/images/19012025/03/03/image_19012025_03_03_02_608899_0001.jpg', '/home/pi/Desktop/images/19012025/03/03/image_19012025_03_03_02_608899_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/03/02/image_19012025_03_02_03_062020_0003.jpg
/home/pi/Desktop/images/19012025/03/03/image_19012025_03_03_02_608899_0000.jpg
/home/pi/Desktop/images/19012025/03/03/image_19012025_03_03_02_608899_0001.jpg
/home/pi/Desktop/images/19012025/03/03/image_19012025_03_03_02_608899_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329927521","1329927571","1329927519","1329927516"],"photo_ids_order":["1329927516","1329927519","1329927521","1329927571"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/349fbcf2c496897538ea48a2df46785d.jpg","text":"TemporaryFile(/tmp/multipartBody2859780916681311323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737252273005,"filename":"image_19012025_03_03_02_608899_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/85f9059f940b1fead1073247494f1890.jpg","text":"TemporaryFile(/tmp/multipartBody4716678756470836440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737252273005,"filename":"image_19012025_03_03_02_608899_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/df2b979710253984a9550a8d8dafd504.jpg","text":"TemporaryFile(/tmp/multipartBody8968730490054562007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737252273005,"filename":"image_19012025_03_03_02_608899_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/10defc84a273d4ab4f043134a678c63f.jpg","text":"TemporaryFile(/tmp/multipartBody7219948315814616718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737252273005,"filename":"image_19012025_03_02_03_062020_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329927521","file1":"1329927519","file0":"1329927516","file3":"1329927571"},"map_files_photo_id_array":[{"photo_id":"1329927521","filename":"file2"},{"photo_id":"1329927519","filename":"file1"},{"photo_id":"1329927516","filename":"file0"},{"photo_id":"1329927571","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329927521":["hashtag1","hashtag2"]},{"1329927571":["hashtag1","hashtag2"]},{"1329927519":["hashtag1","hashtag2"]},{"1329927516":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329927521, 1329927571, 1329927519, 1329927516)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.544259548187256 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 03:04:02.706821
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
  port_id : 19698700
  datou_current_id : 2490825
in upload_from_sqlite, uploading in 19698700
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17012025/21/09/image_17012025_21_09_03_193397_0002.jpg', '/home/pi/Desktop/images/17012025/21/09/image_17012025_21_09_03_193397_0003.jpg', '/home/pi/Desktop/images/17012025/21/10/image_17012025_21_10_02_326271_0000.jpg', '/home/pi/Desktop/images/17012025/21/10/image_17012025_21_10_02_326271_0001.jpg', '/home/pi/Desktop/images/17012025/21/10/image_17012025_21_10_02_326271_0002.jpg', '/home/pi/Desktop/images/17012025/21/10/image_17012025_21_10_02_326271_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2490825&datou=0
/home/pi/Desktop/images/17012025/21/09/image_17012025_21_09_03_193397_0002.jpg
/home/pi/Desktop/images/17012025/21/09/image_17012025_21_09_03_193397_0003.jpg
/home/pi/Desktop/images/17012025/21/10/image_17012025_21_10_02_326271_0000.jpg
/home/pi/Desktop/images/17012025/21/10/image_17012025_21_10_02_326271_0001.jpg
/home/pi/Desktop/images/17012025/21/10/image_17012025_21_10_02_326271_0002.jpg
/home/pi/Desktop/images/17012025/21/10/image_17012025_21_10_02_326271_0003.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329927647","1329927635","1329927661","1329927654","1329927657","1329927665"],"photo_ids_order":["1329927635","1329927647","1329927654","1329927657","1329927661","1329927665"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/10db94d58d684b1b4857fcae1098b6cc.jpg","text":"TemporaryFile(/tmp/multipartBody3977429954853535392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737252320506,"filename":"image_17012025_21_09_03_193397_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/264410990637212b7401c849489230d5.jpg","text":"TemporaryFile(/tmp/multipartBody8200062998958530282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737252320506,"filename":"image_17012025_21_09_03_193397_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/1f6448c3dc4c1a13736209308d6ea712.jpg","text":"TemporaryFile(/tmp/multipartBody2185903212145103343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737252320506,"filename":"image_17012025_21_10_02_326271_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/50de213d306b4ab192c92426689bb0b7.jpg","text":"TemporaryFile(/tmp/multipartBody8202489837813390151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737252320506,"filename":"image_17012025_21_10_02_326271_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/af16235e97c9c0cf46bb9fd9a998daec.jpg","text":"TemporaryFile(/tmp/multipartBody8646431552572278610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737252320506,"filename":"image_17012025_21_10_02_326271_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/c8eb9d837d5a2f7d401300ef6352c0a0.jpg","text":"TemporaryFile(/tmp/multipartBody5871853400922602599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737252320506,"filename":"image_17012025_21_10_02_326271_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329927654","file1":"1329927647","file0":"1329927635","file4":"1329927661","file5":"1329927665","file3":"1329927657"},"map_files_photo_id_array":[{"photo_id":"1329927665","filename":"file5"},{"photo_id":"1329927654","filename":"file2"},{"photo_id":"1329927661","filename":"file4"},{"photo_id":"1329927647","filename":"file1"},{"photo_id":"1329927635","filename":"file0"},{"photo_id":"1329927657","filename":"file3"}],"portfolio_id":19698700,"hashtag_by_photo_ids":[{"1329927647":["hashtag1","hashtag2"]},{"1329927635":["hashtag1","hashtag2"]},{"1329927661":["hashtag1","hashtag2"]},{"1329927654":["hashtag1","hashtag2"]},{"1329927657":["hashtag1","hashtag2"]},{"1329927665":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698700 used, photo_id : ArrayBuffer(1329927647, 1329927635, 1329927661, 1329927654, 1329927657, 1329927665)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.170674324035645 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 03:05:02.333510
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/03/03/image_19012025_03_03_02_608899_0003.jpg', '/home/pi/Desktop/images/19012025/03/04/image_19012025_03_04_02_196386_0000.jpg', '/home/pi/Desktop/images/19012025/03/04/image_19012025_03_04_02_196386_0001.jpg', '/home/pi/Desktop/images/19012025/03/04/image_19012025_03_04_02_196386_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/03/03/image_19012025_03_03_02_608899_0003.jpg
/home/pi/Desktop/images/19012025/03/04/image_19012025_03_04_02_196386_0000.jpg
/home/pi/Desktop/images/19012025/03/04/image_19012025_03_04_02_196386_0001.jpg
/home/pi/Desktop/images/19012025/03/04/image_19012025_03_04_02_196386_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329927707","1329927706","1329927709","1329927711"],"photo_ids_order":["1329927706","1329927707","1329927709","1329927711"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/feb7b31fb28f9e43c8ea92cc18b69f71.jpg","text":"TemporaryFile(/tmp/multipartBody8311848079863065467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737252373285,"filename":"image_19012025_03_04_02_196386_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/6cdac492396670fa5e2c392b7c2c5445.jpg","text":"TemporaryFile(/tmp/multipartBody4633893980330186753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737252373285,"filename":"image_19012025_03_03_02_608899_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/2c277481f388817303047c1f69e3b2d2.jpg","text":"TemporaryFile(/tmp/multipartBody9214327151355126045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737252373285,"filename":"image_19012025_03_04_02_196386_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/6db31d271ea968ee43a540f81f960fa8.jpg","text":"TemporaryFile(/tmp/multipartBody2866150904330121894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737252373285,"filename":"image_19012025_03_04_02_196386_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329927709","file1":"1329927707","file0":"1329927706","file3":"1329927711"},"map_files_photo_id_array":[{"photo_id":"1329927709","filename":"file2"},{"photo_id":"1329927707","filename":"file1"},{"photo_id":"1329927706","filename":"file0"},{"photo_id":"1329927711","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329927707":["hashtag1","hashtag2"]},{"1329927706":["hashtag1","hashtag2"]},{"1329927709":["hashtag1","hashtag2"]},{"1329927711":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329927707, 1329927706, 1329927709, 1329927711)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.35494136810303 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 03:06:02.735766
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/03/04/image_19012025_03_04_02_196386_0003.jpg', '/home/pi/Desktop/images/19012025/03/05/image_19012025_03_05_02_671725_0000.jpg', '/home/pi/Desktop/images/19012025/03/05/image_19012025_03_05_02_671725_0001.jpg', '/home/pi/Desktop/images/19012025/03/05/image_19012025_03_05_02_671725_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/03/04/image_19012025_03_04_02_196386_0003.jpg
/home/pi/Desktop/images/19012025/03/05/image_19012025_03_05_02_671725_0000.jpg
/home/pi/Desktop/images/19012025/03/05/image_19012025_03_05_02_671725_0001.jpg
/home/pi/Desktop/images/19012025/03/05/image_19012025_03_05_02_671725_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.450355768203735 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 03:06:22.327976
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/03/04/image_19012025_03_04_02_196386_0003.jpg', '/home/pi/Desktop/images/19012025/03/05/image_19012025_03_05_02_671725_0000.jpg', '/home/pi/Desktop/images/19012025/03/05/image_19012025_03_05_02_671725_0001.jpg', '/home/pi/Desktop/images/19012025/03/05/image_19012025_03_05_02_671725_0002.jpg', '/home/pi/Desktop/images/19012025/03/05/image_19012025_03_05_02_671725_0003.jpg', '/home/pi/Desktop/images/19012025/03/06/image_19012025_03_06_02_127016_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/03/04/image_19012025_03_04_02_196386_0003.jpg
/home/pi/Desktop/images/19012025/03/05/image_19012025_03_05_02_671725_0000.jpg
/home/pi/Desktop/images/19012025/03/05/image_19012025_03_05_02_671725_0001.jpg
/home/pi/Desktop/images/19012025/03/05/image_19012025_03_05_02_671725_0002.jpg
/home/pi/Desktop/images/19012025/03/05/image_19012025_03_05_02_671725_0003.jpg
/home/pi/Desktop/images/19012025/03/06/image_19012025_03_06_02_127016_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329927740","1329927734","1329927730","1329927736","1329927738","1329927732"],"photo_ids_order":["1329927730","1329927732","1329927734","1329927736","1329927738","1329927740"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/ae69689741a7a196c9f8b5e07773e0bb.jpg","text":"TemporaryFile(/tmp/multipartBody2466168358262376272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737252458330,"filename":"image_19012025_03_06_02_127016_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/ffc8f788b4c57a3d21e54f86d6a46830.jpg","text":"TemporaryFile(/tmp/multipartBody4139611576410949295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737252458330,"filename":"image_19012025_03_05_02_671725_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/0ad207bd21f92c7a26c1e2013fff0acf.jpg","text":"TemporaryFile(/tmp/multipartBody8298378838357012551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737252458330,"filename":"image_19012025_03_04_02_196386_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/f64af053f0a746ffa8711ddd136ff86f.jpg","text":"TemporaryFile(/tmp/multipartBody3735540421473600052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737252458330,"filename":"image_19012025_03_05_02_671725_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/ec7f83d4d141ec1042e892d827631f9c.jpg","text":"TemporaryFile(/tmp/multipartBody6107252853854599796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737252458330,"filename":"image_19012025_03_05_02_671725_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/48cdf3735cb884cbb6ea842498c9712d.jpg","text":"TemporaryFile(/tmp/multipartBody8554432585896620882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737252458330,"filename":"image_19012025_03_05_02_671725_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329927734","file1":"1329927732","file0":"1329927730","file4":"1329927738","file5":"1329927740","file3":"1329927736"},"map_files_photo_id_array":[{"photo_id":"1329927740","filename":"file5"},{"photo_id":"1329927734","filename":"file2"},{"photo_id":"1329927738","filename":"file4"},{"photo_id":"1329927732","filename":"file1"},{"photo_id":"1329927730","filename":"file0"},{"photo_id":"1329927736","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329927740":["hashtag1","hashtag2"]},{"1329927734":["hashtag1","hashtag2"]},{"1329927730":["hashtag1","hashtag2"]},{"1329927736":["hashtag1","hashtag2"]},{"1329927738":["hashtag1","hashtag2"]},{"1329927732":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329927740, 1329927734, 1329927730, 1329927736, 1329927738, 1329927732)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.6953547000885 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 03:07:21.822485
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/03/06/image_19012025_03_06_02_127016_0001.jpg', '/home/pi/Desktop/images/19012025/03/06/image_19012025_03_06_02_127016_0002.jpg', '/home/pi/Desktop/images/19012025/03/06/image_19012025_03_06_02_127016_0003.jpg', '/home/pi/Desktop/images/19012025/03/07/image_19012025_03_07_02_696569_0000.jpg', '/home/pi/Desktop/images/19012025/03/07/image_19012025_03_07_02_696569_0001.jpg', '/home/pi/Desktop/images/19012025/03/07/image_19012025_03_07_02_696569_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/03/06/image_19012025_03_06_02_127016_0001.jpg
/home/pi/Desktop/images/19012025/03/06/image_19012025_03_06_02_127016_0002.jpg
/home/pi/Desktop/images/19012025/03/06/image_19012025_03_06_02_127016_0003.jpg
/home/pi/Desktop/images/19012025/03/07/image_19012025_03_07_02_696569_0000.jpg
/home/pi/Desktop/images/19012025/03/07/image_19012025_03_07_02_696569_0001.jpg
/home/pi/Desktop/images/19012025/03/07/image_19012025_03_07_02_696569_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329927746","1329927755","1329927749","1329927757","1329927751","1329927753"],"photo_ids_order":["1329927746","1329927749","1329927751","1329927753","1329927755","1329927757"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/97c8874217b15e3986b04e4992229773.jpg","text":"TemporaryFile(/tmp/multipartBody7680123028410085105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737252518997,"filename":"image_19012025_03_06_02_127016_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/dcdcf9db742440feffb229cbd7a259ad.jpg","text":"TemporaryFile(/tmp/multipartBody7649729589118874355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737252518997,"filename":"image_19012025_03_07_02_696569_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/a50cd77dadcc597d38db76c4a4e34dce.jpg","text":"TemporaryFile(/tmp/multipartBody2210329314743001017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737252518997,"filename":"image_19012025_03_06_02_127016_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/ea08b304fbcc231fc501d4304b775473.jpg","text":"TemporaryFile(/tmp/multipartBody2011745290778242599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737252518997,"filename":"image_19012025_03_07_02_696569_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/ffea6d42c2f9235aaebdf0bb5a65570e.jpg","text":"TemporaryFile(/tmp/multipartBody1494290872560815746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737252518997,"filename":"image_19012025_03_06_02_127016_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/4bd8555104b115adce0e632fcd013543.jpg","text":"TemporaryFile(/tmp/multipartBody274227971325518353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737252518997,"filename":"image_19012025_03_07_02_696569_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329927751","file1":"1329927749","file0":"1329927746","file4":"1329927755","file5":"1329927757","file3":"1329927753"},"map_files_photo_id_array":[{"photo_id":"1329927757","filename":"file5"},{"photo_id":"1329927751","filename":"file2"},{"photo_id":"1329927755","filename":"file4"},{"photo_id":"1329927749","filename":"file1"},{"photo_id":"1329927746","filename":"file0"},{"photo_id":"1329927753","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329927746":["hashtag1","hashtag2"]},{"1329927755":["hashtag1","hashtag2"]},{"1329927749":["hashtag1","hashtag2"]},{"1329927757":["hashtag1","hashtag2"]},{"1329927751":["hashtag1","hashtag2"]},{"1329927753":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329927746, 1329927755, 1329927749, 1329927757, 1329927751, 1329927753)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.56767821311951 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 03:08:22.398348
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/03/07/image_19012025_03_07_02_696569_0003.jpg', '/home/pi/Desktop/images/19012025/03/08/image_19012025_03_08_02_206995_0000.jpg', '/home/pi/Desktop/images/19012025/03/08/image_19012025_03_08_02_206995_0001.jpg', '/home/pi/Desktop/images/19012025/03/08/image_19012025_03_08_02_206995_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/03/07/image_19012025_03_07_02_696569_0003.jpg
/home/pi/Desktop/images/19012025/03/08/image_19012025_03_08_02_206995_0000.jpg
/home/pi/Desktop/images/19012025/03/08/image_19012025_03_08_02_206995_0001.jpg
/home/pi/Desktop/images/19012025/03/08/image_19012025_03_08_02_206995_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329928660","1329928686","1329928652","1329928655"],"photo_ids_order":["1329928652","1329928655","1329928660","1329928686"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/c01671513896f1693cd179039e6787db.jpg","text":"TemporaryFile(/tmp/multipartBody4378461940001202143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737252573977,"filename":"image_19012025_03_08_02_206995_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/bdae23ec1b715b8f4d2e6d69dcae6094.jpg","text":"TemporaryFile(/tmp/multipartBody4149629087221129118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737252573977,"filename":"image_19012025_03_08_02_206995_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/e99164dd48d940773f3d1773c0146dbc.jpg","text":"TemporaryFile(/tmp/multipartBody1092987568911077241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737252573977,"filename":"image_19012025_03_07_02_696569_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/783b767d5242a88f6b7cd4ded38cc394.jpg","text":"TemporaryFile(/tmp/multipartBody6725786076234058704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737252573977,"filename":"image_19012025_03_08_02_206995_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329928660","file1":"1329928655","file0":"1329928652","file3":"1329928686"},"map_files_photo_id_array":[{"photo_id":"1329928660","filename":"file2"},{"photo_id":"1329928655","filename":"file1"},{"photo_id":"1329928652","filename":"file0"},{"photo_id":"1329928686","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329928660":["hashtag1","hashtag2"]},{"1329928686":["hashtag1","hashtag2"]},{"1329928652":["hashtag1","hashtag2"]},{"1329928655":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329928660, 1329928686, 1329928652, 1329928655)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.1263370513916 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 03:09:21.857926
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/03/08/image_19012025_03_08_02_206995_0003.jpg', '/home/pi/Desktop/images/19012025/03/09/image_19012025_03_09_02_737146_0000.jpg', '/home/pi/Desktop/images/19012025/03/09/image_19012025_03_09_02_737146_0001.jpg', '/home/pi/Desktop/images/19012025/03/09/image_19012025_03_09_02_737146_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/03/08/image_19012025_03_08_02_206995_0003.jpg
/home/pi/Desktop/images/19012025/03/09/image_19012025_03_09_02_737146_0000.jpg
/home/pi/Desktop/images/19012025/03/09/image_19012025_03_09_02_737146_0001.jpg
/home/pi/Desktop/images/19012025/03/09/image_19012025_03_09_02_737146_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329928831","1329928839","1329928854","1329928823"],"photo_ids_order":["1329928823","1329928831","1329928839","1329928854"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/7b8325b5f37b47b0eadbb1aee79ebfe5.jpg","text":"TemporaryFile(/tmp/multipartBody1088313460155350250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737252633405,"filename":"image_19012025_03_09_02_737146_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/cee3d75d483532fedef1cca0bcb85d82.jpg","text":"TemporaryFile(/tmp/multipartBody3117099184706307946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737252633405,"filename":"image_19012025_03_09_02_737146_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/c34c9e67eb5b6ae862777d267b49cf1b.jpg","text":"TemporaryFile(/tmp/multipartBody1626578731430712557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737252633405,"filename":"image_19012025_03_09_02_737146_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/1b3ab6feed09eadae345d01a3b41e08f.jpg","text":"TemporaryFile(/tmp/multipartBody3739256956240956311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737252633405,"filename":"image_19012025_03_08_02_206995_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329928839","file1":"1329928831","file0":"1329928823","file3":"1329928854"},"map_files_photo_id_array":[{"photo_id":"1329928839","filename":"file2"},{"photo_id":"1329928831","filename":"file1"},{"photo_id":"1329928823","filename":"file0"},{"photo_id":"1329928854","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329928831":["hashtag1","hashtag2"]},{"1329928839":["hashtag1","hashtag2"]},{"1329928854":["hashtag1","hashtag2"]},{"1329928823":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329928831, 1329928839, 1329928854, 1329928823)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.07606267929077 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 03:10:22.333476
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/03/09/image_19012025_03_09_02_737146_0003.jpg', '/home/pi/Desktop/images/19012025/03/10/image_19012025_03_10_02_229242_0000.jpg', '/home/pi/Desktop/images/19012025/03/10/image_19012025_03_10_02_229242_0001.jpg', '/home/pi/Desktop/images/19012025/03/10/image_19012025_03_10_02_229242_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/03/09/image_19012025_03_09_02_737146_0003.jpg
/home/pi/Desktop/images/19012025/03/10/image_19012025_03_10_02_229242_0000.jpg
/home/pi/Desktop/images/19012025/03/10/image_19012025_03_10_02_229242_0001.jpg
/home/pi/Desktop/images/19012025/03/10/image_19012025_03_10_02_229242_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329929398","1329929415","1329929409","1329929412"],"photo_ids_order":["1329929398","1329929409","1329929412","1329929415"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/268c8d9858f99406c6b1f4f2d5b3f887.jpg","text":"TemporaryFile(/tmp/multipartBody2578687636529409269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737252693968,"filename":"image_19012025_03_09_02_737146_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/c3784dba55e888ab73f3c2b6a5cccd8b.jpg","text":"TemporaryFile(/tmp/multipartBody5993558707482212921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737252693968,"filename":"image_19012025_03_10_02_229242_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/a5540ae1a8bfe5f8721eb4d80d7d499a.jpg","text":"TemporaryFile(/tmp/multipartBody1632075079669637121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737252693968,"filename":"image_19012025_03_10_02_229242_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/19edae1edf2c6717620939de9dc40566.jpg","text":"TemporaryFile(/tmp/multipartBody1792714147450140232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737252693968,"filename":"image_19012025_03_10_02_229242_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329929412","file1":"1329929409","file0":"1329929398","file3":"1329929415"},"map_files_photo_id_array":[{"photo_id":"1329929412","filename":"file2"},{"photo_id":"1329929409","filename":"file1"},{"photo_id":"1329929398","filename":"file0"},{"photo_id":"1329929415","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329929398":["hashtag1","hashtag2"]},{"1329929415":["hashtag1","hashtag2"]},{"1329929409":["hashtag1","hashtag2"]},{"1329929412":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329929398, 1329929415, 1329929409, 1329929412)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.79525184631348 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 03:11:21.862984
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/03/10/image_19012025_03_10_02_229242_0003.jpg', '/home/pi/Desktop/images/19012025/03/11/image_19012025_03_11_02_711850_0000.jpg', '/home/pi/Desktop/images/19012025/03/11/image_19012025_03_11_02_711850_0001.jpg', '/home/pi/Desktop/images/19012025/03/11/image_19012025_03_11_02_711850_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/03/10/image_19012025_03_10_02_229242_0003.jpg
/home/pi/Desktop/images/19012025/03/11/image_19012025_03_11_02_711850_0000.jpg
/home/pi/Desktop/images/19012025/03/11/image_19012025_03_11_02_711850_0001.jpg
/home/pi/Desktop/images/19012025/03/11/image_19012025_03_11_02_711850_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329929431","1329929425","1329929427","1329929429"],"photo_ids_order":["1329929425","1329929427","1329929429","1329929431"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/678cada896da4d5f86e6a1504f0c55fe.jpg","text":"TemporaryFile(/tmp/multipartBody5865471112325027723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737252753365,"filename":"image_19012025_03_11_02_711850_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/3bf1fed25a56db51152fc60cd07b9fbf.jpg","text":"TemporaryFile(/tmp/multipartBody1251224933163024806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737252753365,"filename":"image_19012025_03_10_02_229242_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/9aa35a48ec00f13b01e86348370a79fc.jpg","text":"TemporaryFile(/tmp/multipartBody6788966842424004715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737252753365,"filename":"image_19012025_03_11_02_711850_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/edc8c947cf5504055f0ad1712140b3e7.jpg","text":"TemporaryFile(/tmp/multipartBody3793355744742644276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737252753365,"filename":"image_19012025_03_11_02_711850_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329929429","file1":"1329929427","file0":"1329929425","file3":"1329929431"},"map_files_photo_id_array":[{"photo_id":"1329929429","filename":"file2"},{"photo_id":"1329929427","filename":"file1"},{"photo_id":"1329929425","filename":"file0"},{"photo_id":"1329929431","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329929431":["hashtag1","hashtag2"]},{"1329929425":["hashtag1","hashtag2"]},{"1329929427":["hashtag1","hashtag2"]},{"1329929429":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329929431, 1329929425, 1329929427, 1329929429)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.17220425605774 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 03:12:22.387055
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/03/11/image_19012025_03_11_02_711850_0003.jpg', '/home/pi/Desktop/images/19012025/03/12/image_19012025_03_12_02_235152_0000.jpg', '/home/pi/Desktop/images/19012025/03/12/image_19012025_03_12_02_235152_0001.jpg', '/home/pi/Desktop/images/19012025/03/12/image_19012025_03_12_02_235152_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/03/11/image_19012025_03_11_02_711850_0003.jpg
/home/pi/Desktop/images/19012025/03/12/image_19012025_03_12_02_235152_0000.jpg
/home/pi/Desktop/images/19012025/03/12/image_19012025_03_12_02_235152_0001.jpg
/home/pi/Desktop/images/19012025/03/12/image_19012025_03_12_02_235152_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 11.19503927230835 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 03:13:02.378644
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/03/11/image_19012025_03_11_02_711850_0003.jpg', '/home/pi/Desktop/images/19012025/03/12/image_19012025_03_12_02_235152_0000.jpg', '/home/pi/Desktop/images/19012025/03/12/image_19012025_03_12_02_235152_0001.jpg', '/home/pi/Desktop/images/19012025/03/12/image_19012025_03_12_02_235152_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/03/11/image_19012025_03_11_02_711850_0003.jpg
/home/pi/Desktop/images/19012025/03/12/image_19012025_03_12_02_235152_0000.jpg
/home/pi/Desktop/images/19012025/03/12/image_19012025_03_12_02_235152_0001.jpg
/home/pi/Desktop/images/19012025/03/12/image_19012025_03_12_02_235152_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329929455","1329929451","1329929450","1329929453"],"photo_ids_order":["1329929450","1329929451","1329929453","1329929455"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/6bbe5b5f705b61788c0a6ba90ccf935c.jpg","text":"TemporaryFile(/tmp/multipartBody3799179142905647605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737252854044,"filename":"image_19012025_03_12_02_235152_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/200c3b64d039b9e19398bac67910e62d.jpg","text":"TemporaryFile(/tmp/multipartBody1249510986571449189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737252854044,"filename":"image_19012025_03_12_02_235152_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/7777c1bd3fb925d21463b3de6345ff36.jpg","text":"TemporaryFile(/tmp/multipartBody3645830368515868678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737252854044,"filename":"image_19012025_03_11_02_711850_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/f5b817e7a22a568887a20ad8661f35ac.jpg","text":"TemporaryFile(/tmp/multipartBody1123409680919447101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737252854044,"filename":"image_19012025_03_12_02_235152_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329929453","file1":"1329929451","file0":"1329929450","file3":"1329929455"},"map_files_photo_id_array":[{"photo_id":"1329929453","filename":"file2"},{"photo_id":"1329929451","filename":"file1"},{"photo_id":"1329929450","filename":"file0"},{"photo_id":"1329929455","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329929455":["hashtag1","hashtag2"]},{"1329929451":["hashtag1","hashtag2"]},{"1329929450":["hashtag1","hashtag2"]},{"1329929453":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329929455, 1329929451, 1329929450, 1329929453)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.86862325668335 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 03:14:03.029014
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/03/12/image_19012025_03_12_02_235152_0003.jpg', '/home/pi/Desktop/images/19012025/03/13/image_19012025_03_13_02_753480_0000.jpg', '/home/pi/Desktop/images/19012025/03/13/image_19012025_03_13_02_753480_0001.jpg', '/home/pi/Desktop/images/19012025/03/13/image_19012025_03_13_02_753480_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/03/12/image_19012025_03_12_02_235152_0003.jpg
/home/pi/Desktop/images/19012025/03/13/image_19012025_03_13_02_753480_0000.jpg
/home/pi/Desktop/images/19012025/03/13/image_19012025_03_13_02_753480_0001.jpg
/home/pi/Desktop/images/19012025/03/13/image_19012025_03_13_02_753480_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329929553","1329929556","1329929558","1329929552"],"photo_ids_order":["1329929552","1329929553","1329929556","1329929558"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/a248d97bc21b6875e263e18e44c58215.jpg","text":"TemporaryFile(/tmp/multipartBody5442501498743560162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737252914561,"filename":"image_19012025_03_13_02_753480_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/a9bb7a2e88088fe24e4f9dfd81fe6265.jpg","text":"TemporaryFile(/tmp/multipartBody8005249990149322128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737252914561,"filename":"image_19012025_03_13_02_753480_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/049e82480506314c2becc73880ac15ee.jpg","text":"TemporaryFile(/tmp/multipartBody9157565731438641494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737252914561,"filename":"image_19012025_03_13_02_753480_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/c4f8230c41011be236613260d733f28e.jpg","text":"TemporaryFile(/tmp/multipartBody5875779225991737652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737252914561,"filename":"image_19012025_03_12_02_235152_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329929556","file1":"1329929553","file0":"1329929552","file3":"1329929558"},"map_files_photo_id_array":[{"photo_id":"1329929556","filename":"file2"},{"photo_id":"1329929553","filename":"file1"},{"photo_id":"1329929552","filename":"file0"},{"photo_id":"1329929558","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329929553":["hashtag1","hashtag2"]},{"1329929556":["hashtag1","hashtag2"]},{"1329929558":["hashtag1","hashtag2"]},{"1329929552":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329929553, 1329929556, 1329929558, 1329929552)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.44656205177307 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 03:15:02.674236
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/03/13/image_19012025_03_13_02_753480_0003.jpg', '/home/pi/Desktop/images/19012025/03/14/image_19012025_03_14_02_247110_0000.jpg', '/home/pi/Desktop/images/19012025/03/14/image_19012025_03_14_02_247110_0001.jpg', '/home/pi/Desktop/images/19012025/03/14/image_19012025_03_14_02_247110_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/03/13/image_19012025_03_13_02_753480_0003.jpg
/home/pi/Desktop/images/19012025/03/14/image_19012025_03_14_02_247110_0000.jpg
/home/pi/Desktop/images/19012025/03/14/image_19012025_03_14_02_247110_0001.jpg
/home/pi/Desktop/images/19012025/03/14/image_19012025_03_14_02_247110_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329929781","1329929841","1329929748","1329929780"],"photo_ids_order":["1329929748","1329929780","1329929781","1329929841"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/31d5bbd69caf62da6f29c6cee75d2308.jpg","text":"TemporaryFile(/tmp/multipartBody4144263852384683222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737252974139,"filename":"image_19012025_03_14_02_247110_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/721bacbf7b67747b28038ef2fb2c0819.jpg","text":"TemporaryFile(/tmp/multipartBody1183890073265749484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737252974139,"filename":"image_19012025_03_14_02_247110_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/33d26cd4986a4637cd4d330c8ee53bb9.jpg","text":"TemporaryFile(/tmp/multipartBody2053119332467435861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737252974139,"filename":"image_19012025_03_13_02_753480_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/d12718c699e8d8787ecc27938553cd9e.jpg","text":"TemporaryFile(/tmp/multipartBody3778473467561595978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737252974139,"filename":"image_19012025_03_14_02_247110_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329929781","file1":"1329929780","file0":"1329929748","file3":"1329929841"},"map_files_photo_id_array":[{"photo_id":"1329929781","filename":"file2"},{"photo_id":"1329929780","filename":"file1"},{"photo_id":"1329929748","filename":"file0"},{"photo_id":"1329929841","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329929781":["hashtag1","hashtag2"]},{"1329929841":["hashtag1","hashtag2"]},{"1329929748":["hashtag1","hashtag2"]},{"1329929780":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329929781, 1329929841, 1329929748, 1329929780)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.938416957855225 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 03:16:02.161108
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/03/14/image_19012025_03_14_02_247110_0003.jpg', '/home/pi/Desktop/images/19012025/03/15/image_19012025_03_15_02_900591_0000.jpg', '/home/pi/Desktop/images/19012025/03/15/image_19012025_03_15_02_900591_0001.jpg', '/home/pi/Desktop/images/19012025/03/15/image_19012025_03_15_02_900591_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/03/14/image_19012025_03_14_02_247110_0003.jpg
/home/pi/Desktop/images/19012025/03/15/image_19012025_03_15_02_900591_0000.jpg
/home/pi/Desktop/images/19012025/03/15/image_19012025_03_15_02_900591_0001.jpg
/home/pi/Desktop/images/19012025/03/15/image_19012025_03_15_02_900591_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329929851","1329929934","1329929850","1329929853"],"photo_ids_order":["1329929850","1329929851","1329929853","1329929934"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/479d696114cab1714a8fae2fe009cd7d.jpg","text":"TemporaryFile(/tmp/multipartBody7897790611177316527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737253033447,"filename":"image_19012025_03_15_02_900591_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/f5478009229d0e8fb3fd2cb88d974abf.jpg","text":"TemporaryFile(/tmp/multipartBody3442178161958516645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737253033447,"filename":"image_19012025_03_15_02_900591_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/70ea0d7edf7ed02f77a713a5eea77938.jpg","text":"TemporaryFile(/tmp/multipartBody7238406414969954472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737253033447,"filename":"image_19012025_03_14_02_247110_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/8e758aad8284ba87a4d14f54d3d6afa2.jpg","text":"TemporaryFile(/tmp/multipartBody8101360111512547938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737253033447,"filename":"image_19012025_03_15_02_900591_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329929853","file1":"1329929851","file0":"1329929850","file3":"1329929934"},"map_files_photo_id_array":[{"photo_id":"1329929853","filename":"file2"},{"photo_id":"1329929851","filename":"file1"},{"photo_id":"1329929850","filename":"file0"},{"photo_id":"1329929934","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329929851":["hashtag1","hashtag2"]},{"1329929934":["hashtag1","hashtag2"]},{"1329929850":["hashtag1","hashtag2"]},{"1329929853":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329929851, 1329929934, 1329929850, 1329929853)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.81024241447449 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 03:17:02.767008
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/03/15/image_19012025_03_15_02_900591_0003.jpg', '/home/pi/Desktop/images/19012025/03/16/image_19012025_03_16_02_416610_0000.jpg', '/home/pi/Desktop/images/19012025/03/16/image_19012025_03_16_02_416610_0001.jpg', '/home/pi/Desktop/images/19012025/03/16/image_19012025_03_16_02_416610_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/03/15/image_19012025_03_15_02_900591_0003.jpg
/home/pi/Desktop/images/19012025/03/16/image_19012025_03_16_02_416610_0000.jpg
/home/pi/Desktop/images/19012025/03/16/image_19012025_03_16_02_416610_0001.jpg
/home/pi/Desktop/images/19012025/03/16/image_19012025_03_16_02_416610_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 11.051918029785156 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 03:17:22.310487
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/03/15/image_19012025_03_15_02_900591_0003.jpg', '/home/pi/Desktop/images/19012025/03/16/image_19012025_03_16_02_416610_0000.jpg', '/home/pi/Desktop/images/19012025/03/16/image_19012025_03_16_02_416610_0001.jpg', '/home/pi/Desktop/images/19012025/03/16/image_19012025_03_16_02_416610_0002.jpg', '/home/pi/Desktop/images/19012025/03/16/image_19012025_03_16_02_416610_0003.jpg', '/home/pi/Desktop/images/19012025/03/17/image_19012025_03_17_02_230351_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/03/15/image_19012025_03_15_02_900591_0003.jpg
/home/pi/Desktop/images/19012025/03/16/image_19012025_03_16_02_416610_0000.jpg
/home/pi/Desktop/images/19012025/03/16/image_19012025_03_16_02_416610_0001.jpg
/home/pi/Desktop/images/19012025/03/16/image_19012025_03_16_02_416610_0002.jpg
/home/pi/Desktop/images/19012025/03/16/image_19012025_03_16_02_416610_0003.jpg
/home/pi/Desktop/images/19012025/03/17/image_19012025_03_17_02_230351_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329929986","1329929988","1329929982","1329929990","1329929984","1329929980"],"photo_ids_order":["1329929980","1329929982","1329929984","1329929986","1329929988","1329929990"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/be838c36abe7df73301a07d6765cb604.jpg","text":"TemporaryFile(/tmp/multipartBody8934661036651698025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737253118993,"filename":"image_19012025_03_16_02_416610_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/5028b66143b4bb319d3a5b82903297a7.jpg","text":"TemporaryFile(/tmp/multipartBody7032320338371945695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737253118993,"filename":"image_19012025_03_16_02_416610_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/46e1aec0998c5ada69582f059240c65c.jpg","text":"TemporaryFile(/tmp/multipartBody5587457154762218276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737253118993,"filename":"image_19012025_03_16_02_416610_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/9e9303c6ca4d6557e6f06949039e51e2.jpg","text":"TemporaryFile(/tmp/multipartBody7526059723144167662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737253118993,"filename":"image_19012025_03_17_02_230351_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/69f255cc04cb74292ca29e16c1b0961d.jpg","text":"TemporaryFile(/tmp/multipartBody8146281654942202734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737253118993,"filename":"image_19012025_03_16_02_416610_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/b888d4b89d300a2190a3e50fe7fd71be.jpg","text":"TemporaryFile(/tmp/multipartBody2416508554875031257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737253118993,"filename":"image_19012025_03_15_02_900591_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329929984","file1":"1329929982","file0":"1329929980","file4":"1329929988","file5":"1329929990","file3":"1329929986"},"map_files_photo_id_array":[{"photo_id":"1329929990","filename":"file5"},{"photo_id":"1329929984","filename":"file2"},{"photo_id":"1329929988","filename":"file4"},{"photo_id":"1329929982","filename":"file1"},{"photo_id":"1329929980","filename":"file0"},{"photo_id":"1329929986","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329929986":["hashtag1","hashtag2"]},{"1329929988":["hashtag1","hashtag2"]},{"1329929982":["hashtag1","hashtag2"]},{"1329929990":["hashtag1","hashtag2"]},{"1329929984":["hashtag1","hashtag2"]},{"1329929980":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329929986, 1329929988, 1329929982, 1329929990, 1329929984, 1329929980)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.558207988739014 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 03:18:21.968168
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/03/17/image_19012025_03_17_02_230351_0001.jpg', '/home/pi/Desktop/images/19012025/03/17/image_19012025_03_17_02_230351_0002.jpg', '/home/pi/Desktop/images/19012025/03/17/image_19012025_03_17_02_230351_0003.jpg', '/home/pi/Desktop/images/19012025/03/18/image_19012025_03_18_02_709022_0000.jpg', '/home/pi/Desktop/images/19012025/03/18/image_19012025_03_18_02_709022_0001.jpg', '/home/pi/Desktop/images/19012025/03/18/image_19012025_03_18_02_709022_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/03/17/image_19012025_03_17_02_230351_0001.jpg
/home/pi/Desktop/images/19012025/03/17/image_19012025_03_17_02_230351_0002.jpg
/home/pi/Desktop/images/19012025/03/17/image_19012025_03_17_02_230351_0003.jpg
/home/pi/Desktop/images/19012025/03/18/image_19012025_03_18_02_709022_0000.jpg
/home/pi/Desktop/images/19012025/03/18/image_19012025_03_18_02_709022_0001.jpg
/home/pi/Desktop/images/19012025/03/18/image_19012025_03_18_02_709022_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329930030","1329930024","1329930027","1329930006","1329930021","1329930032"],"photo_ids_order":["1329930006","1329930021","1329930024","1329930027","1329930030","1329930032"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/c69836cc1e8b4af7f06b35168aae8eb1.jpg","text":"TemporaryFile(/tmp/multipartBody8848516357195998087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737253178970,"filename":"image_19012025_03_18_02_709022_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/e96b73f68860a8237f8aa7b919284b6e.jpg","text":"TemporaryFile(/tmp/multipartBody7050608978709274803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737253178970,"filename":"image_19012025_03_17_02_230351_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/fe15da6f5d70b07786dea439c772e0a0.jpg","text":"TemporaryFile(/tmp/multipartBody6827242819606642560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737253178970,"filename":"image_19012025_03_18_02_709022_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/60d5499660b665ef6320c785c1688b65.jpg","text":"TemporaryFile(/tmp/multipartBody7961394241432002049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737253178970,"filename":"image_19012025_03_17_02_230351_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/2c6616e3c707d8a42cff261e11594f53.jpg","text":"TemporaryFile(/tmp/multipartBody8315299857332055884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737253178970,"filename":"image_19012025_03_17_02_230351_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/8138533251e611993f678182e3a83db1.jpg","text":"TemporaryFile(/tmp/multipartBody5483744629937148495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737253178970,"filename":"image_19012025_03_18_02_709022_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329930024","file1":"1329930021","file0":"1329930006","file4":"1329930030","file5":"1329930032","file3":"1329930027"},"map_files_photo_id_array":[{"photo_id":"1329930032","filename":"file5"},{"photo_id":"1329930024","filename":"file2"},{"photo_id":"1329930030","filename":"file4"},{"photo_id":"1329930021","filename":"file1"},{"photo_id":"1329930006","filename":"file0"},{"photo_id":"1329930027","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329930030":["hashtag1","hashtag2"]},{"1329930024":["hashtag1","hashtag2"]},{"1329930027":["hashtag1","hashtag2"]},{"1329930006":["hashtag1","hashtag2"]},{"1329930021":["hashtag1","hashtag2"]},{"1329930032":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329930030, 1329930024, 1329930027, 1329930006, 1329930021, 1329930032)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.85206866264343 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 03:19:22.457735
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/03/18/image_19012025_03_18_02_709022_0003.jpg', '/home/pi/Desktop/images/19012025/03/19/image_19012025_03_19_02_302810_0000.jpg', '/home/pi/Desktop/images/19012025/03/19/image_19012025_03_19_02_302810_0001.jpg', '/home/pi/Desktop/images/19012025/03/19/image_19012025_03_19_02_302810_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/03/18/image_19012025_03_18_02_709022_0003.jpg
/home/pi/Desktop/images/19012025/03/19/image_19012025_03_19_02_302810_0000.jpg
/home/pi/Desktop/images/19012025/03/19/image_19012025_03_19_02_302810_0001.jpg
/home/pi/Desktop/images/19012025/03/19/image_19012025_03_19_02_302810_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329930043","1329930040","1329930037","1329930045"],"photo_ids_order":["1329930037","1329930040","1329930043","1329930045"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/a79ef9debb5d49417a349872a32243ae.jpg","text":"TemporaryFile(/tmp/multipartBody4466697806214036263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737253234191,"filename":"image_19012025_03_19_02_302810_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/d2363a02824bf0eeb50ba098f66b8ea3.jpg","text":"TemporaryFile(/tmp/multipartBody361563938657553871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737253234191,"filename":"image_19012025_03_19_02_302810_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/587852050af7f55750917b0497142afe.jpg","text":"TemporaryFile(/tmp/multipartBody5415089778562479605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737253234191,"filename":"image_19012025_03_18_02_709022_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/f83c12a8aa43ab8c69b47c73e6727c91.jpg","text":"TemporaryFile(/tmp/multipartBody2344302762858295986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737253234191,"filename":"image_19012025_03_19_02_302810_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329930043","file1":"1329930040","file0":"1329930037","file3":"1329930045"},"map_files_photo_id_array":[{"photo_id":"1329930043","filename":"file2"},{"photo_id":"1329930040","filename":"file1"},{"photo_id":"1329930037","filename":"file0"},{"photo_id":"1329930045","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329930043":["hashtag1","hashtag2"]},{"1329930040":["hashtag1","hashtag2"]},{"1329930037":["hashtag1","hashtag2"]},{"1329930045":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329930043, 1329930040, 1329930037, 1329930045)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.057350397109985 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 03:20:21.984570
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/03/19/image_19012025_03_19_02_302810_0003.jpg', '/home/pi/Desktop/images/19012025/03/20/image_19012025_03_20_02_791684_0000.jpg', '/home/pi/Desktop/images/19012025/03/20/image_19012025_03_20_02_791684_0001.jpg', '/home/pi/Desktop/images/19012025/03/20/image_19012025_03_20_02_791684_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/03/19/image_19012025_03_19_02_302810_0003.jpg
/home/pi/Desktop/images/19012025/03/20/image_19012025_03_20_02_791684_0000.jpg
/home/pi/Desktop/images/19012025/03/20/image_19012025_03_20_02_791684_0001.jpg
/home/pi/Desktop/images/19012025/03/20/image_19012025_03_20_02_791684_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329930058","1329930054","1329930051","1329930062"],"photo_ids_order":["1329930051","1329930054","1329930058","1329930062"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/cffe4fc6db4045d1a21a26329c2b1be2.jpg","text":"TemporaryFile(/tmp/multipartBody712821230697022348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737253293465,"filename":"image_19012025_03_20_02_791684_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/66978200f5b72c46ad756e0684787889.jpg","text":"TemporaryFile(/tmp/multipartBody314446997857329551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737253293465,"filename":"image_19012025_03_20_02_791684_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/36269c27bda6f1bbaab8b7e1948b49f0.jpg","text":"TemporaryFile(/tmp/multipartBody3093646883912902819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737253293465,"filename":"image_19012025_03_19_02_302810_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/5df774f4ff98421ea84a5e5bc297bce9.jpg","text":"TemporaryFile(/tmp/multipartBody1548286591140399096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737253293465,"filename":"image_19012025_03_20_02_791684_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329930058","file1":"1329930054","file0":"1329930051","file3":"1329930062"},"map_files_photo_id_array":[{"photo_id":"1329930058","filename":"file2"},{"photo_id":"1329930054","filename":"file1"},{"photo_id":"1329930051","filename":"file0"},{"photo_id":"1329930062","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329930058":["hashtag1","hashtag2"]},{"1329930054":["hashtag1","hashtag2"]},{"1329930051":["hashtag1","hashtag2"]},{"1329930062":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329930058, 1329930054, 1329930051, 1329930062)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.55952310562134 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 03:21:22.391232
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/03/20/image_19012025_03_20_02_791684_0003.jpg', '/home/pi/Desktop/images/19012025/03/21/image_19012025_03_21_02_282021_0000.jpg', '/home/pi/Desktop/images/19012025/03/21/image_19012025_03_21_02_282021_0001.jpg', '/home/pi/Desktop/images/19012025/03/21/image_19012025_03_21_02_282021_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/03/20/image_19012025_03_20_02_791684_0003.jpg
/home/pi/Desktop/images/19012025/03/21/image_19012025_03_21_02_282021_0000.jpg
/home/pi/Desktop/images/19012025/03/21/image_19012025_03_21_02_282021_0001.jpg
/home/pi/Desktop/images/19012025/03/21/image_19012025_03_21_02_282021_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329930104","1329930085","1329930106","1329930098"],"photo_ids_order":["1329930085","1329930098","1329930104","1329930106"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/f652f6560f2f72fdb0a1beeb01cae8bb.jpg","text":"TemporaryFile(/tmp/multipartBody6539030524705195354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737253353691,"filename":"image_19012025_03_21_02_282021_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/a3cfd5537680b7566d19d3109b377205.jpg","text":"TemporaryFile(/tmp/multipartBody8342765206719951022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737253353691,"filename":"image_19012025_03_20_02_791684_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/d64ee6818de7c9a2a05332f2f44f588a.jpg","text":"TemporaryFile(/tmp/multipartBody9131452109130347391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737253353691,"filename":"image_19012025_03_21_02_282021_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/5e5ab5a1feb45f86c0a814f916d786d2.jpg","text":"TemporaryFile(/tmp/multipartBody1502609785413463996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737253353691,"filename":"image_19012025_03_21_02_282021_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329930104","file1":"1329930098","file0":"1329930085","file3":"1329930106"},"map_files_photo_id_array":[{"photo_id":"1329930104","filename":"file2"},{"photo_id":"1329930098","filename":"file1"},{"photo_id":"1329930085","filename":"file0"},{"photo_id":"1329930106","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329930104":["hashtag1","hashtag2"]},{"1329930085":["hashtag1","hashtag2"]},{"1329930106":["hashtag1","hashtag2"]},{"1329930098":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329930104, 1329930085, 1329930106, 1329930098)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.00243782997131 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 03:22:21.912286
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/03/21/image_19012025_03_21_02_282021_0003.jpg', '/home/pi/Desktop/images/19012025/03/22/image_19012025_03_22_02_766639_0000.jpg', '/home/pi/Desktop/images/19012025/03/22/image_19012025_03_22_02_766639_0001.jpg', '/home/pi/Desktop/images/19012025/03/22/image_19012025_03_22_02_766639_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/03/21/image_19012025_03_21_02_282021_0003.jpg
/home/pi/Desktop/images/19012025/03/22/image_19012025_03_22_02_766639_0000.jpg
/home/pi/Desktop/images/19012025/03/22/image_19012025_03_22_02_766639_0001.jpg
/home/pi/Desktop/images/19012025/03/22/image_19012025_03_22_02_766639_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.843568801879883 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 03:23:03.070354
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/03/21/image_19012025_03_21_02_282021_0003.jpg', '/home/pi/Desktop/images/19012025/03/22/image_19012025_03_22_02_766639_0000.jpg', '/home/pi/Desktop/images/19012025/03/22/image_19012025_03_22_02_766639_0001.jpg', '/home/pi/Desktop/images/19012025/03/22/image_19012025_03_22_02_766639_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/03/21/image_19012025_03_21_02_282021_0003.jpg
/home/pi/Desktop/images/19012025/03/22/image_19012025_03_22_02_766639_0000.jpg
/home/pi/Desktop/images/19012025/03/22/image_19012025_03_22_02_766639_0001.jpg
/home/pi/Desktop/images/19012025/03/22/image_19012025_03_22_02_766639_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329930215","1329930209","1329930210","1329930213"],"photo_ids_order":["1329930209","1329930210","1329930213","1329930215"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/99e51c377df29eb1a2565c441ec8c58a.jpg","text":"TemporaryFile(/tmp/multipartBody5661783702928489775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737253454377,"filename":"image_19012025_03_22_02_766639_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/609a3ae07bd0ba083e18293e47c7297a.jpg","text":"TemporaryFile(/tmp/multipartBody1745854522648271110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737253454377,"filename":"image_19012025_03_21_02_282021_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/0b66c7cea4ef057b6aa9f98dc2caffef.jpg","text":"TemporaryFile(/tmp/multipartBody2195738607741787033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737253454377,"filename":"image_19012025_03_22_02_766639_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/ff27e3b847219c03e0c78c62d2e5c368.jpg","text":"TemporaryFile(/tmp/multipartBody6165156129316539409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737253454377,"filename":"image_19012025_03_22_02_766639_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329930213","file1":"1329930210","file0":"1329930209","file3":"1329930215"},"map_files_photo_id_array":[{"photo_id":"1329930213","filename":"file2"},{"photo_id":"1329930210","filename":"file1"},{"photo_id":"1329930209","filename":"file0"},{"photo_id":"1329930215","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329930215":["hashtag1","hashtag2"]},{"1329930209":["hashtag1","hashtag2"]},{"1329930210":["hashtag1","hashtag2"]},{"1329930213":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329930215, 1329930209, 1329930210, 1329930213)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.49223184585571 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 03:24:02.398281
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/03/22/image_19012025_03_22_02_766639_0003.jpg', '/home/pi/Desktop/images/19012025/03/23/image_19012025_03_23_02_280125_0000.jpg', '/home/pi/Desktop/images/19012025/03/23/image_19012025_03_23_02_280125_0001.jpg', '/home/pi/Desktop/images/19012025/03/23/image_19012025_03_23_02_280125_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/03/22/image_19012025_03_22_02_766639_0003.jpg
/home/pi/Desktop/images/19012025/03/23/image_19012025_03_23_02_280125_0000.jpg
/home/pi/Desktop/images/19012025/03/23/image_19012025_03_23_02_280125_0001.jpg
/home/pi/Desktop/images/19012025/03/23/image_19012025_03_23_02_280125_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329930235","1329930240","1329930234","1329930237"],"photo_ids_order":["1329930234","1329930235","1329930237","1329930240"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/718bab4f99148c046779b75cd461a24b.jpg","text":"TemporaryFile(/tmp/multipartBody4401782473124400210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737253513715,"filename":"image_19012025_03_23_02_280125_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/bb802618b60ab01124b7fca9530689a7.jpg","text":"TemporaryFile(/tmp/multipartBody7419601483206840266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737253513715,"filename":"image_19012025_03_23_02_280125_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/07ba820549f003cb54bcbf13a3a85c5c.jpg","text":"TemporaryFile(/tmp/multipartBody174310626232890195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737253513715,"filename":"image_19012025_03_22_02_766639_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/4e63e3cc8e076b3cb67c5d983a8adde9.jpg","text":"TemporaryFile(/tmp/multipartBody5291859102867591684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737253513715,"filename":"image_19012025_03_23_02_280125_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329930237","file1":"1329930235","file0":"1329930234","file3":"1329930240"},"map_files_photo_id_array":[{"photo_id":"1329930237","filename":"file2"},{"photo_id":"1329930235","filename":"file1"},{"photo_id":"1329930234","filename":"file0"},{"photo_id":"1329930240","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329930235":["hashtag1","hashtag2"]},{"1329930240":["hashtag1","hashtag2"]},{"1329930234":["hashtag1","hashtag2"]},{"1329930237":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329930235, 1329930240, 1329930234, 1329930237)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.562333822250366 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 03:25:03.096169
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/03/23/image_19012025_03_23_02_280125_0003.jpg', '/home/pi/Desktop/images/19012025/03/24/image_19012025_03_24_02_777899_0000.jpg', '/home/pi/Desktop/images/19012025/03/24/image_19012025_03_24_02_777899_0001.jpg', '/home/pi/Desktop/images/19012025/03/24/image_19012025_03_24_02_777899_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/03/23/image_19012025_03_23_02_280125_0003.jpg
/home/pi/Desktop/images/19012025/03/24/image_19012025_03_24_02_777899_0000.jpg
/home/pi/Desktop/images/19012025/03/24/image_19012025_03_24_02_777899_0001.jpg
/home/pi/Desktop/images/19012025/03/24/image_19012025_03_24_02_777899_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329930280","1329930276","1329930275","1329930278"],"photo_ids_order":["1329930275","1329930276","1329930278","1329930280"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/dd35f5113b6ae77d6ad247712fa6beec.jpg","text":"TemporaryFile(/tmp/multipartBody7340753465775079317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737253574594,"filename":"image_19012025_03_24_02_777899_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/5a819b626b77a073ec2da1ff749976c4.jpg","text":"TemporaryFile(/tmp/multipartBody4196026833102968542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737253574594,"filename":"image_19012025_03_24_02_777899_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/da96180f7d8ada9830c76c1ab4e9a4c8.jpg","text":"TemporaryFile(/tmp/multipartBody7283749739322581386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737253574594,"filename":"image_19012025_03_23_02_280125_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/b4c642b4e9ba587f3a659b8b6e874093.jpg","text":"TemporaryFile(/tmp/multipartBody5668306189346375975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737253574594,"filename":"image_19012025_03_24_02_777899_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329930278","file1":"1329930276","file0":"1329930275","file3":"1329930280"},"map_files_photo_id_array":[{"photo_id":"1329930278","filename":"file2"},{"photo_id":"1329930276","filename":"file1"},{"photo_id":"1329930275","filename":"file0"},{"photo_id":"1329930280","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329930280":["hashtag1","hashtag2"]},{"1329930276":["hashtag1","hashtag2"]},{"1329930275":["hashtag1","hashtag2"]},{"1329930278":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329930280, 1329930276, 1329930275, 1329930278)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.40484166145325 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 03:26:02.506127
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/03/24/image_19012025_03_24_02_777899_0003.jpg', '/home/pi/Desktop/images/19012025/03/25/image_19012025_03_25_02_351685_0000.jpg', '/home/pi/Desktop/images/19012025/03/25/image_19012025_03_25_02_351685_0001.jpg', '/home/pi/Desktop/images/19012025/03/25/image_19012025_03_25_02_351685_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/03/24/image_19012025_03_24_02_777899_0003.jpg
/home/pi/Desktop/images/19012025/03/25/image_19012025_03_25_02_351685_0000.jpg
/home/pi/Desktop/images/19012025/03/25/image_19012025_03_25_02_351685_0001.jpg
/home/pi/Desktop/images/19012025/03/25/image_19012025_03_25_02_351685_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329930291","1329930293","1329930296","1329930290"],"photo_ids_order":["1329930290","1329930291","1329930293","1329930296"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/0da7dd740a9b3d2fcca0501dbe094d48.jpg","text":"TemporaryFile(/tmp/multipartBody7710156519591766990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737253634227,"filename":"image_19012025_03_25_02_351685_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/122aebcb0c2227f43c386712fa0a648f.jpg","text":"TemporaryFile(/tmp/multipartBody247282597341453847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737253634227,"filename":"image_19012025_03_25_02_351685_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/c8f1ad82bf07d436979714934d989276.jpg","text":"TemporaryFile(/tmp/multipartBody7008865590786329204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737253634227,"filename":"image_19012025_03_25_02_351685_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/4f280e728d9d7efcee202b6a7a462d30.jpg","text":"TemporaryFile(/tmp/multipartBody3130859854484826122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737253634227,"filename":"image_19012025_03_24_02_777899_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329930293","file1":"1329930291","file0":"1329930290","file3":"1329930296"},"map_files_photo_id_array":[{"photo_id":"1329930293","filename":"file2"},{"photo_id":"1329930291","filename":"file1"},{"photo_id":"1329930290","filename":"file0"},{"photo_id":"1329930296","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329930291":["hashtag1","hashtag2"]},{"1329930293":["hashtag1","hashtag2"]},{"1329930296":["hashtag1","hashtag2"]},{"1329930290":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329930291, 1329930293, 1329930296, 1329930290)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.93559527397156 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 03:27:03.350843
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/03/25/image_19012025_03_25_02_351685_0003.jpg', '/home/pi/Desktop/images/19012025/03/26/image_19012025_03_26_02_867580_0000.jpg', '/home/pi/Desktop/images/19012025/03/26/image_19012025_03_26_02_867580_0001.jpg', '/home/pi/Desktop/images/19012025/03/26/image_19012025_03_26_02_867580_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/03/25/image_19012025_03_25_02_351685_0003.jpg
/home/pi/Desktop/images/19012025/03/26/image_19012025_03_26_02_867580_0000.jpg
/home/pi/Desktop/images/19012025/03/26/image_19012025_03_26_02_867580_0001.jpg
/home/pi/Desktop/images/19012025/03/26/image_19012025_03_26_02_867580_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 11.457279443740845 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 03:27:22.652299
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/03/25/image_19012025_03_25_02_351685_0003.jpg', '/home/pi/Desktop/images/19012025/03/26/image_19012025_03_26_02_867580_0000.jpg', '/home/pi/Desktop/images/19012025/03/26/image_19012025_03_26_02_867580_0001.jpg', '/home/pi/Desktop/images/19012025/03/26/image_19012025_03_26_02_867580_0002.jpg', '/home/pi/Desktop/images/19012025/03/26/image_19012025_03_26_02_867580_0003.jpg', '/home/pi/Desktop/images/19012025/03/27/image_19012025_03_27_02_560580_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/03/25/image_19012025_03_25_02_351685_0003.jpg
/home/pi/Desktop/images/19012025/03/26/image_19012025_03_26_02_867580_0000.jpg
/home/pi/Desktop/images/19012025/03/26/image_19012025_03_26_02_867580_0001.jpg
/home/pi/Desktop/images/19012025/03/26/image_19012025_03_26_02_867580_0002.jpg
/home/pi/Desktop/images/19012025/03/26/image_19012025_03_26_02_867580_0003.jpg
/home/pi/Desktop/images/19012025/03/27/image_19012025_03_27_02_560580_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329930323","1329930340","1329930316","1329930313","1329930336","1329930338"],"photo_ids_order":["1329930313","1329930316","1329930323","1329930336","1329930338","1329930340"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/77adad189bb908deb8beeaed11e48304.jpg","text":"TemporaryFile(/tmp/multipartBody2597812302728214602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737253719900,"filename":"image_19012025_03_26_02_867580_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/3f9e5a42e4107734dc60202bedea434e.jpg","text":"TemporaryFile(/tmp/multipartBody8182108440267062508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737253719900,"filename":"image_19012025_03_27_02_560580_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/443d29c5a6bf8a5939ec2917d7889c42.jpg","text":"TemporaryFile(/tmp/multipartBody2944334622547905293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737253719900,"filename":"image_19012025_03_26_02_867580_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/adc4a01db5825cb3fe59ea86403196c8.jpg","text":"TemporaryFile(/tmp/multipartBody8819681918517950116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737253719900,"filename":"image_19012025_03_25_02_351685_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/41548d23e150552e8406c62db245a2f2.jpg","text":"TemporaryFile(/tmp/multipartBody808300419627472028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737253719900,"filename":"image_19012025_03_26_02_867580_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/fbcee61f273f6e7dc5f42fad24d813b9.jpg","text":"TemporaryFile(/tmp/multipartBody4487647534888015438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737253719900,"filename":"image_19012025_03_26_02_867580_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329930323","file1":"1329930316","file0":"1329930313","file4":"1329930338","file5":"1329930340","file3":"1329930336"},"map_files_photo_id_array":[{"photo_id":"1329930340","filename":"file5"},{"photo_id":"1329930323","filename":"file2"},{"photo_id":"1329930338","filename":"file4"},{"photo_id":"1329930316","filename":"file1"},{"photo_id":"1329930313","filename":"file0"},{"photo_id":"1329930336","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329930323":["hashtag1","hashtag2"]},{"1329930340":["hashtag1","hashtag2"]},{"1329930316":["hashtag1","hashtag2"]},{"1329930313":["hashtag1","hashtag2"]},{"1329930336":["hashtag1","hashtag2"]},{"1329930338":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329930323, 1329930340, 1329930316, 1329930313, 1329930336, 1329930338)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.73001408576965 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 03:28:22.336247
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/03/27/image_19012025_03_27_02_560580_0001.jpg', '/home/pi/Desktop/images/19012025/03/27/image_19012025_03_27_02_560580_0002.jpg', '/home/pi/Desktop/images/19012025/03/27/image_19012025_03_27_02_560580_0003.jpg', '/home/pi/Desktop/images/19012025/03/28/image_19012025_03_28_03_108083_0000.jpg', '/home/pi/Desktop/images/19012025/03/28/image_19012025_03_28_03_108083_0001.jpg', '/home/pi/Desktop/images/19012025/03/28/image_19012025_03_28_03_108083_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/03/27/image_19012025_03_27_02_560580_0001.jpg
/home/pi/Desktop/images/19012025/03/27/image_19012025_03_27_02_560580_0002.jpg
/home/pi/Desktop/images/19012025/03/27/image_19012025_03_27_02_560580_0003.jpg
/home/pi/Desktop/images/19012025/03/28/image_19012025_03_28_03_108083_0000.jpg
/home/pi/Desktop/images/19012025/03/28/image_19012025_03_28_03_108083_0001.jpg
/home/pi/Desktop/images/19012025/03/28/image_19012025_03_28_03_108083_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":["1329930416","1329930475","1329930454","1329930471","1329930473","1329930422"],"photo_ids_order":["1329930416","1329930422","1329930454","1329930471","1329930473","1329930475"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/4847424df88b208ea7674bbd0a826161.jpg","text":"TemporaryFile(/tmp/multipartBody7331286399738960808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737253779820,"filename":"image_19012025_03_27_02_560580_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/1e8035c50bcb80e728a0e38881ba582a.jpg","text":"TemporaryFile(/tmp/multipartBody2593331679768428670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737253779820,"filename":"image_19012025_03_28_03_108083_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/3072bcde26d28ddd1947b7a8b86f5535.jpg","text":"TemporaryFile(/tmp/multipartBody4882991610809957109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737253779820,"filename":"image_19012025_03_27_02_560580_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/45f8080f19d3ff85794aac237e72ed30.jpg","text":"TemporaryFile(/tmp/multipartBody2202396972478055945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737253779820,"filename":"image_19012025_03_28_03_108083_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/fbc2099f0f3f7e623907d51a6476ff9b.jpg","text":"TemporaryFile(/tmp/multipartBody817453699529396471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737253779820,"filename":"image_19012025_03_28_03_108083_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/c60f6619ca4935fc9e32bb9fb826bea0.jpg","text":"TemporaryFile(/tmp/multipartBody2202604093172483383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737253779820,"filename":"image_19012025_03_27_02_560580_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329930454","file1":"1329930422","file0":"1329930416","file4":"1329930473","file5":"1329930475","file3":"1329930471"},"map_files_photo_id_array":[{"photo_id":"1329930475","filename":"file5"},{"photo_id":"1329930454","filename":"file2"},{"photo_id":"1329930473","filename":"file4"},{"photo_id":"1329930422","filename":"file1"},{"photo_id":"1329930416","filename":"file0"},{"photo_id":"1329930471","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329930416":["hashtag1","hashtag2"]},{"1329930475":["hashtag1","hashtag2"]},{"1329930454":["hashtag1","hashtag2"]},{"1329930471":["hashtag1","hashtag2"]},{"1329930473":["hashtag1","hashtag2"]},{"1329930422":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329930416, 1329930475, 1329930454, 1329930471, 1329930473, 1329930422)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.858309507369995 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 03:30:02.874135
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/03/28/image_19012025_03_28_03_108083_0003.jpg', '/home/pi/Desktop/images/19012025/03/29/image_19012025_03_29_02_754858_0000.jpg', '/home/pi/Desktop/images/19012025/03/29/image_19012025_03_29_02_754858_0001.jpg', '/home/pi/Desktop/images/19012025/03/29/image_19012025_03_29_02_754858_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/03/28/image_19012025_03_28_03_108083_0003.jpg
/home/pi/Desktop/images/19012025/03/29/image_19012025_03_29_02_754858_0000.jpg
/home/pi/Desktop/images/19012025/03/29/image_19012025_03_29_02_754858_0001.jpg
/home/pi/Desktop/images/19012025/03/29/image_19012025_03_29_02_754858_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 11.358083963394165 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 03:30:22.386122
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/03/28/image_19012025_03_28_03_108083_0003.jpg', '/home/pi/Desktop/images/19012025/03/29/image_19012025_03_29_02_754858_0000.jpg', '/home/pi/Desktop/images/19012025/03/29/image_19012025_03_29_02_754858_0001.jpg', '/home/pi/Desktop/images/19012025/03/29/image_19012025_03_29_02_754858_0002.jpg', '/home/pi/Desktop/images/19012025/03/29/image_19012025_03_29_02_754858_0003.jpg', '/home/pi/Desktop/images/19012025/03/30/image_19012025_03_30_02_291959_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/03/28/image_19012025_03_28_03_108083_0003.jpg
/home/pi/Desktop/images/19012025/03/29/image_19012025_03_29_02_754858_0000.jpg
/home/pi/Desktop/images/19012025/03/29/image_19012025_03_29_02_754858_0001.jpg
/home/pi/Desktop/images/19012025/03/29/image_19012025_03_29_02_754858_0002.jpg
/home/pi/Desktop/images/19012025/03/29/image_19012025_03_29_02_754858_0003.jpg
/home/pi/Desktop/images/19012025/03/30/image_19012025_03_30_02_291959_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":["1329931723","1329931725","1329931719","1329931721","1329931715","1329931718"],"photo_ids_order":["1329931715","1329931718","1329931719","1329931721","1329931723","1329931725"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/ba94b3321081ddec12cecd5d4ec61df7.jpg","text":"TemporaryFile(/tmp/multipartBody8489370537609369911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737253899497,"filename":"image_19012025_03_29_02_754858_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/fb2fa0f556fde3df3b84b0cf75e4aacd.jpg","text":"TemporaryFile(/tmp/multipartBody2347029625775944868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737253899497,"filename":"image_19012025_03_30_02_291959_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/b2dcbc2bdfda61e5d44a872ef001cca5.jpg","text":"TemporaryFile(/tmp/multipartBody4841462654348797231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737253899497,"filename":"image_19012025_03_29_02_754858_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/7964440e7de71b4b63bb34def281d368.jpg","text":"TemporaryFile(/tmp/multipartBody4869829733112652775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737253899497,"filename":"image_19012025_03_29_02_754858_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/f18bf1a48a1f42f8efb80a3a40b370d2.jpg","text":"TemporaryFile(/tmp/multipartBody115060613523289735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737253899497,"filename":"image_19012025_03_28_03_108083_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/29d2744e81dd47fad01742f703786751.jpg","text":"TemporaryFile(/tmp/multipartBody2956588912618030254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737253899497,"filename":"image_19012025_03_29_02_754858_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329931719","file1":"1329931718","file0":"1329931715","file4":"1329931723","file5":"1329931725","file3":"1329931721"},"map_files_photo_id_array":[{"photo_id":"1329931725","filename":"file5"},{"photo_id":"1329931719","filename":"file2"},{"photo_id":"1329931723","filename":"file4"},{"photo_id":"1329931718","filename":"file1"},{"photo_id":"1329931715","filename":"file0"},{"photo_id":"1329931721","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329931723":["hashtag1","hashtag2"]},{"1329931725":["hashtag1","hashtag2"]},{"1329931719":["hashtag1","hashtag2"]},{"1329931721":["hashtag1","hashtag2"]},{"1329931715":["hashtag1","hashtag2"]},{"1329931718":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329931723, 1329931725, 1329931719, 1329931721, 1329931715, 1329931718)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.07525992393494 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 03:32:02.849022
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/03/30/image_19012025_03_30_02_291959_0001.jpg', '/home/pi/Desktop/images/19012025/03/30/image_19012025_03_30_02_291959_0002.jpg', '/home/pi/Desktop/images/19012025/03/30/image_19012025_03_30_02_291959_0003.jpg', '/home/pi/Desktop/images/19012025/03/31/image_19012025_03_31_02_779780_0000.jpg', '/home/pi/Desktop/images/19012025/03/31/image_19012025_03_31_02_779780_0001.jpg', '/home/pi/Desktop/images/19012025/03/31/image_19012025_03_31_02_779780_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/03/30/image_19012025_03_30_02_291959_0001.jpg
/home/pi/Desktop/images/19012025/03/30/image_19012025_03_30_02_291959_0002.jpg
/home/pi/Desktop/images/19012025/03/30/image_19012025_03_30_02_291959_0003.jpg
/home/pi/Desktop/images/19012025/03/31/image_19012025_03_31_02_779780_0000.jpg
/home/pi/Desktop/images/19012025/03/31/image_19012025_03_31_02_779780_0001.jpg
/home/pi/Desktop/images/19012025/03/31/image_19012025_03_31_02_779780_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329932145","1329932148","1329932141","1329932150","1329932143","1329932146"],"photo_ids_order":["1329932141","1329932143","1329932145","1329932146","1329932148","1329932150"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/6353788e1f31dcb2dbda9d904545866b.jpg","text":"TemporaryFile(/tmp/multipartBody2965427945713173841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737253999800,"filename":"image_19012025_03_30_02_291959_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/67038a18df561b58e263e9c41536ee5e.jpg","text":"TemporaryFile(/tmp/multipartBody1531550582429025239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737253999800,"filename":"image_19012025_03_31_02_779780_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/73b234137adda5fa904de2ba0df75f5c.jpg","text":"TemporaryFile(/tmp/multipartBody7960607443081369258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737253999800,"filename":"image_19012025_03_30_02_291959_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/fa4b730255346f693aadc879d7c8e5d4.jpg","text":"TemporaryFile(/tmp/multipartBody1088175795924302072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737253999800,"filename":"image_19012025_03_31_02_779780_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/9b01fde564530b3d1cda1a97bf883699.jpg","text":"TemporaryFile(/tmp/multipartBody2534751513945871315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737253999800,"filename":"image_19012025_03_30_02_291959_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/28645c7217afccdd449fddc67e09c96f.jpg","text":"TemporaryFile(/tmp/multipartBody4672414180962850730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737253999800,"filename":"image_19012025_03_31_02_779780_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329932145","file1":"1329932143","file0":"1329932141","file4":"1329932148","file5":"1329932150","file3":"1329932146"},"map_files_photo_id_array":[{"photo_id":"1329932150","filename":"file5"},{"photo_id":"1329932145","filename":"file2"},{"photo_id":"1329932148","filename":"file4"},{"photo_id":"1329932143","filename":"file1"},{"photo_id":"1329932141","filename":"file0"},{"photo_id":"1329932146","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329932145":["hashtag1","hashtag2"]},{"1329932148":["hashtag1","hashtag2"]},{"1329932141":["hashtag1","hashtag2"]},{"1329932150":["hashtag1","hashtag2"]},{"1329932143":["hashtag1","hashtag2"]},{"1329932146":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329932145, 1329932148, 1329932141, 1329932150, 1329932143, 1329932146)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.253560066223145 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 03:33:02.641289
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/03/31/image_19012025_03_31_02_779780_0003.jpg', '/home/pi/Desktop/images/19012025/03/32/image_19012025_03_32_02_261499_0000.jpg', '/home/pi/Desktop/images/19012025/03/32/image_19012025_03_32_02_261499_0001.jpg', '/home/pi/Desktop/images/19012025/03/32/image_19012025_03_32_02_261499_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/03/31/image_19012025_03_31_02_779780_0003.jpg
/home/pi/Desktop/images/19012025/03/32/image_19012025_03_32_02_261499_0000.jpg
/home/pi/Desktop/images/19012025/03/32/image_19012025_03_32_02_261499_0001.jpg
/home/pi/Desktop/images/19012025/03/32/image_19012025_03_32_02_261499_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.626209497451782 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 03:33:21.831477
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/03/31/image_19012025_03_31_02_779780_0003.jpg', '/home/pi/Desktop/images/19012025/03/32/image_19012025_03_32_02_261499_0000.jpg', '/home/pi/Desktop/images/19012025/03/32/image_19012025_03_32_02_261499_0001.jpg', '/home/pi/Desktop/images/19012025/03/32/image_19012025_03_32_02_261499_0002.jpg', '/home/pi/Desktop/images/19012025/03/32/image_19012025_03_32_02_261499_0003.jpg', '/home/pi/Desktop/images/19012025/03/33/image_19012025_03_33_02_728974_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/03/31/image_19012025_03_31_02_779780_0003.jpg
/home/pi/Desktop/images/19012025/03/32/image_19012025_03_32_02_261499_0000.jpg
/home/pi/Desktop/images/19012025/03/32/image_19012025_03_32_02_261499_0001.jpg
/home/pi/Desktop/images/19012025/03/32/image_19012025_03_32_02_261499_0002.jpg
/home/pi/Desktop/images/19012025/03/32/image_19012025_03_32_02_261499_0003.jpg
/home/pi/Desktop/images/19012025/03/33/image_19012025_03_33_02_728974_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329932178","1329932163","1329932166","1329932192","1329932168","1329932176"],"photo_ids_order":["1329932163","1329932166","1329932168","1329932176","1329932178","1329932192"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/99bb78d4aa02e8ee9c5a8e761b4e53c5.jpg","text":"TemporaryFile(/tmp/multipartBody1482225976734237606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737254077900,"filename":"image_19012025_03_32_02_261499_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/065112d3414dbff02287039da7822c2d.jpg","text":"TemporaryFile(/tmp/multipartBody7341167759343675454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737254077900,"filename":"image_19012025_03_31_02_779780_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/932bf827f3357e40073b9ed5c1a65170.jpg","text":"TemporaryFile(/tmp/multipartBody5467706697753610830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737254077900,"filename":"image_19012025_03_32_02_261499_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/51fc8063b24de4cc29c02d05a5b3de11.jpg","text":"TemporaryFile(/tmp/multipartBody1828896163709310613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737254077900,"filename":"image_19012025_03_33_02_728974_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/33197dd397942a54caab8eaf33433382.jpg","text":"TemporaryFile(/tmp/multipartBody3438621664451314046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737254077900,"filename":"image_19012025_03_32_02_261499_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/9bf0124cf6cdf91ef7e27eaf3bfa0739.jpg","text":"TemporaryFile(/tmp/multipartBody4855649363339608826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737254077900,"filename":"image_19012025_03_32_02_261499_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329932168","file1":"1329932166","file0":"1329932163","file4":"1329932178","file5":"1329932192","file3":"1329932176"},"map_files_photo_id_array":[{"photo_id":"1329932192","filename":"file5"},{"photo_id":"1329932168","filename":"file2"},{"photo_id":"1329932178","filename":"file4"},{"photo_id":"1329932166","filename":"file1"},{"photo_id":"1329932163","filename":"file0"},{"photo_id":"1329932176","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329932178":["hashtag1","hashtag2"]},{"1329932163":["hashtag1","hashtag2"]},{"1329932166":["hashtag1","hashtag2"]},{"1329932192":["hashtag1","hashtag2"]},{"1329932168":["hashtag1","hashtag2"]},{"1329932176":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329932178, 1329932163, 1329932166, 1329932192, 1329932168, 1329932176)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.634957790374756 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 03:34:22.494445
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/03/33/image_19012025_03_33_02_728974_0001.jpg', '/home/pi/Desktop/images/19012025/03/33/image_19012025_03_33_02_728974_0002.jpg', '/home/pi/Desktop/images/19012025/03/33/image_19012025_03_33_02_728974_0003.jpg', '/home/pi/Desktop/images/19012025/03/34/image_19012025_03_34_02_280334_0000.jpg', '/home/pi/Desktop/images/19012025/03/34/image_19012025_03_34_02_280334_0001.jpg', '/home/pi/Desktop/images/19012025/03/34/image_19012025_03_34_02_280334_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/03/33/image_19012025_03_33_02_728974_0001.jpg
/home/pi/Desktop/images/19012025/03/33/image_19012025_03_33_02_728974_0002.jpg
/home/pi/Desktop/images/19012025/03/33/image_19012025_03_33_02_728974_0003.jpg
/home/pi/Desktop/images/19012025/03/34/image_19012025_03_34_02_280334_0000.jpg
/home/pi/Desktop/images/19012025/03/34/image_19012025_03_34_02_280334_0001.jpg
/home/pi/Desktop/images/19012025/03/34/image_19012025_03_34_02_280334_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":["1329932862","1329932875","1329932872","1329932866","1329932947","1329932869"],"photo_ids_order":["1329932862","1329932866","1329932869","1329932872","1329932875","1329932947"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/05f2afaa2666f2ab601e7837a8d11fa9.jpg","text":"TemporaryFile(/tmp/multipartBody1924351776086534683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737254139202,"filename":"image_19012025_03_33_02_728974_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/b8908f00d50be7a47d2a8bebc097d124.jpg","text":"TemporaryFile(/tmp/multipartBody4215849342871530111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737254139202,"filename":"image_19012025_03_34_02_280334_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/c66aca1611b588caa05cc02c6f53f9ec.jpg","text":"TemporaryFile(/tmp/multipartBody2450238644488056762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737254139202,"filename":"image_19012025_03_34_02_280334_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/97eb02ceb64c2326e48d88002c635ec8.jpg","text":"TemporaryFile(/tmp/multipartBody4139564084870740109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737254139202,"filename":"image_19012025_03_33_02_728974_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/a31fa77b9c55b287ce20150ca6facc3d.jpg","text":"TemporaryFile(/tmp/multipartBody5352669542560372003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737254139202,"filename":"image_19012025_03_34_02_280334_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/0b010566fbe0986d979fd3fe69e9186b.jpg","text":"TemporaryFile(/tmp/multipartBody4294056316469778930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737254139202,"filename":"image_19012025_03_33_02_728974_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329932869","file1":"1329932866","file0":"1329932862","file4":"1329932875","file5":"1329932947","file3":"1329932872"},"map_files_photo_id_array":[{"photo_id":"1329932947","filename":"file5"},{"photo_id":"1329932869","filename":"file2"},{"photo_id":"1329932875","filename":"file4"},{"photo_id":"1329932866","filename":"file1"},{"photo_id":"1329932862","filename":"file0"},{"photo_id":"1329932872","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329932862":["hashtag1","hashtag2"]},{"1329932875":["hashtag1","hashtag2"]},{"1329932872":["hashtag1","hashtag2"]},{"1329932866":["hashtag1","hashtag2"]},{"1329932947":["hashtag1","hashtag2"]},{"1329932869":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329932862, 1329932875, 1329932872, 1329932866, 1329932947, 1329932869)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.53978753089905 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 03:36:03.070628
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/03/34/image_19012025_03_34_02_280334_0003.jpg', '/home/pi/Desktop/images/19012025/03/35/image_19012025_03_35_02_861402_0000.jpg', '/home/pi/Desktop/images/19012025/03/35/image_19012025_03_35_02_861402_0001.jpg', '/home/pi/Desktop/images/19012025/03/35/image_19012025_03_35_02_861402_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/03/34/image_19012025_03_34_02_280334_0003.jpg
/home/pi/Desktop/images/19012025/03/35/image_19012025_03_35_02_861402_0000.jpg
/home/pi/Desktop/images/19012025/03/35/image_19012025_03_35_02_861402_0001.jpg
/home/pi/Desktop/images/19012025/03/35/image_19012025_03_35_02_861402_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.843359470367432 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 03:36:22.565218
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/03/34/image_19012025_03_34_02_280334_0003.jpg', '/home/pi/Desktop/images/19012025/03/35/image_19012025_03_35_02_861402_0000.jpg', '/home/pi/Desktop/images/19012025/03/35/image_19012025_03_35_02_861402_0001.jpg', '/home/pi/Desktop/images/19012025/03/35/image_19012025_03_35_02_861402_0002.jpg', '/home/pi/Desktop/images/19012025/03/35/image_19012025_03_35_02_861402_0003.jpg', '/home/pi/Desktop/images/19012025/03/36/image_19012025_03_36_02_416090_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/03/34/image_19012025_03_34_02_280334_0003.jpg
/home/pi/Desktop/images/19012025/03/35/image_19012025_03_35_02_861402_0000.jpg
/home/pi/Desktop/images/19012025/03/35/image_19012025_03_35_02_861402_0001.jpg
/home/pi/Desktop/images/19012025/03/35/image_19012025_03_35_02_861402_0002.jpg
/home/pi/Desktop/images/19012025/03/35/image_19012025_03_35_02_861402_0003.jpg
/home/pi/Desktop/images/19012025/03/36/image_19012025_03_36_02_416090_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329933395","1329933397","1329933379","1329933393","1329933381","1329933399"],"photo_ids_order":["1329933379","1329933381","1329933393","1329933395","1329933397","1329933399"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/5fb3aaf6118748daf3363d6245629443.jpg","text":"TemporaryFile(/tmp/multipartBody2727478381240234952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737254259327,"filename":"image_19012025_03_35_02_861402_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/2b5b0a43b218051373ce4fc39b133cd8.jpg","text":"TemporaryFile(/tmp/multipartBody3164869119976902130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737254259327,"filename":"image_19012025_03_35_02_861402_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/cdeba648fa51731c7e9501913dcfee7e.jpg","text":"TemporaryFile(/tmp/multipartBody3655756408038495640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737254259327,"filename":"image_19012025_03_34_02_280334_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/f811148848c42f29a4b5c18fb1032f2b.jpg","text":"TemporaryFile(/tmp/multipartBody515128127397429554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737254259327,"filename":"image_19012025_03_35_02_861402_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/9b783b5bbc5986bc43b01f6694bbb2b0.jpg","text":"TemporaryFile(/tmp/multipartBody1492585390804637579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737254259327,"filename":"image_19012025_03_35_02_861402_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/93f9db95e99b6ba8808ece40ec58f309.jpg","text":"TemporaryFile(/tmp/multipartBody3846558680444688121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737254259327,"filename":"image_19012025_03_36_02_416090_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329933393","file1":"1329933381","file0":"1329933379","file4":"1329933397","file5":"1329933399","file3":"1329933395"},"map_files_photo_id_array":[{"photo_id":"1329933399","filename":"file5"},{"photo_id":"1329933393","filename":"file2"},{"photo_id":"1329933397","filename":"file4"},{"photo_id":"1329933381","filename":"file1"},{"photo_id":"1329933379","filename":"file0"},{"photo_id":"1329933395","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329933395":["hashtag1","hashtag2"]},{"1329933397":["hashtag1","hashtag2"]},{"1329933379":["hashtag1","hashtag2"]},{"1329933393":["hashtag1","hashtag2"]},{"1329933381":["hashtag1","hashtag2"]},{"1329933399":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329933395, 1329933397, 1329933379, 1329933393, 1329933381, 1329933399)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.520991563797 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 03:37:22.098624
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/03/36/image_19012025_03_36_02_416090_0001.jpg', '/home/pi/Desktop/images/19012025/03/36/image_19012025_03_36_02_416090_0002.jpg', '/home/pi/Desktop/images/19012025/03/36/image_19012025_03_36_02_416090_0003.jpg', '/home/pi/Desktop/images/19012025/03/37/image_19012025_03_37_02_930714_0000.jpg', '/home/pi/Desktop/images/19012025/03/37/image_19012025_03_37_02_930714_0001.jpg', '/home/pi/Desktop/images/19012025/03/37/image_19012025_03_37_02_930714_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/03/36/image_19012025_03_36_02_416090_0001.jpg
/home/pi/Desktop/images/19012025/03/36/image_19012025_03_36_02_416090_0002.jpg
/home/pi/Desktop/images/19012025/03/36/image_19012025_03_36_02_416090_0003.jpg
/home/pi/Desktop/images/19012025/03/37/image_19012025_03_37_02_930714_0000.jpg
/home/pi/Desktop/images/19012025/03/37/image_19012025_03_37_02_930714_0001.jpg
/home/pi/Desktop/images/19012025/03/37/image_19012025_03_37_02_930714_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329933465","1329933450","1329933443","1329933446","1329933463","1329933448"],"photo_ids_order":["1329933443","1329933446","1329933448","1329933450","1329933463","1329933465"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/e585203715cd171b8c0e5ebf60a30b09.jpg","text":"TemporaryFile(/tmp/multipartBody6537711441525988477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737254318736,"filename":"image_19012025_03_37_02_930714_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/384da7347be71a2f6fc889077eb6d466.jpg","text":"TemporaryFile(/tmp/multipartBody304110997101220483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737254318736,"filename":"image_19012025_03_37_02_930714_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/289d9b6e31913b9398d3ad97242fc184.jpg","text":"TemporaryFile(/tmp/multipartBody4086583886378847113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737254318736,"filename":"image_19012025_03_36_02_416090_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/3fb568a19c67662e030430e20e2df710.jpg","text":"TemporaryFile(/tmp/multipartBody52301061282838599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737254318736,"filename":"image_19012025_03_36_02_416090_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/acd8a9b404a4c01500e9f7173582f55a.jpg","text":"TemporaryFile(/tmp/multipartBody2740143392431377082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737254318736,"filename":"image_19012025_03_37_02_930714_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/ab2798cbac2393c262a70206676d78ac.jpg","text":"TemporaryFile(/tmp/multipartBody3552105807363665598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737254318736,"filename":"image_19012025_03_36_02_416090_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329933448","file1":"1329933446","file0":"1329933443","file4":"1329933463","file5":"1329933465","file3":"1329933450"},"map_files_photo_id_array":[{"photo_id":"1329933465","filename":"file5"},{"photo_id":"1329933448","filename":"file2"},{"photo_id":"1329933463","filename":"file4"},{"photo_id":"1329933446","filename":"file1"},{"photo_id":"1329933443","filename":"file0"},{"photo_id":"1329933450","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329933465":["hashtag1","hashtag2"]},{"1329933450":["hashtag1","hashtag2"]},{"1329933443":["hashtag1","hashtag2"]},{"1329933446":["hashtag1","hashtag2"]},{"1329933463":["hashtag1","hashtag2"]},{"1329933448":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329933465, 1329933450, 1329933443, 1329933446, 1329933463, 1329933448)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.994186878204346 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 03:38:22.578555
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/03/37/image_19012025_03_37_02_930714_0003.jpg', '/home/pi/Desktop/images/19012025/03/38/image_19012025_03_38_02_434461_0000.jpg', '/home/pi/Desktop/images/19012025/03/38/image_19012025_03_38_02_434461_0001.jpg', '/home/pi/Desktop/images/19012025/03/38/image_19012025_03_38_02_434461_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/03/37/image_19012025_03_37_02_930714_0003.jpg
/home/pi/Desktop/images/19012025/03/38/image_19012025_03_38_02_434461_0000.jpg
/home/pi/Desktop/images/19012025/03/38/image_19012025_03_38_02_434461_0001.jpg
/home/pi/Desktop/images/19012025/03/38/image_19012025_03_38_02_434461_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329933531","1329933525","1329933528","1329933521"],"photo_ids_order":["1329933521","1329933525","1329933528","1329933531"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/d5aabe385885292d35235095c07c0055.jpg","text":"TemporaryFile(/tmp/multipartBody3426949201583797700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737254374398,"filename":"image_19012025_03_38_02_434461_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/11ab73ef9c0d5c47bca9ec62917e40f2.jpg","text":"TemporaryFile(/tmp/multipartBody7093348159636785496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737254374398,"filename":"image_19012025_03_38_02_434461_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/07fd2f53956bab65e5e99fffa2d95604.jpg","text":"TemporaryFile(/tmp/multipartBody7736618448406201587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737254374398,"filename":"image_19012025_03_38_02_434461_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/8dcdf1fb273b4526462a70ceb7dd1301.jpg","text":"TemporaryFile(/tmp/multipartBody4962790057516189225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737254374398,"filename":"image_19012025_03_37_02_930714_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329933528","file1":"1329933525","file0":"1329933521","file3":"1329933531"},"map_files_photo_id_array":[{"photo_id":"1329933528","filename":"file2"},{"photo_id":"1329933525","filename":"file1"},{"photo_id":"1329933521","filename":"file0"},{"photo_id":"1329933531","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329933531":["hashtag1","hashtag2"]},{"1329933525":["hashtag1","hashtag2"]},{"1329933528":["hashtag1","hashtag2"]},{"1329933521":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329933531, 1329933525, 1329933528, 1329933521)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.2146954536438 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 03:39:22.123121
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/03/38/image_19012025_03_38_02_434461_0003.jpg', '/home/pi/Desktop/images/19012025/03/39/image_19012025_03_39_02_964703_0000.jpg', '/home/pi/Desktop/images/19012025/03/39/image_19012025_03_39_02_964703_0001.jpg', '/home/pi/Desktop/images/19012025/03/39/image_19012025_03_39_02_964703_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/03/38/image_19012025_03_38_02_434461_0003.jpg
/home/pi/Desktop/images/19012025/03/39/image_19012025_03_39_02_964703_0000.jpg
/home/pi/Desktop/images/19012025/03/39/image_19012025_03_39_02_964703_0001.jpg
/home/pi/Desktop/images/19012025/03/39/image_19012025_03_39_02_964703_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329933764","1329933758","1329933788","1329933755"],"photo_ids_order":["1329933755","1329933758","1329933764","1329933788"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/1589cf3ada0d5d731e50bf600677927b.jpg","text":"TemporaryFile(/tmp/multipartBody292319041839290210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737254433546,"filename":"image_19012025_03_39_02_964703_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/a5a05bee23d100581331d5464b806520.jpg","text":"TemporaryFile(/tmp/multipartBody5800297089098558514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737254433546,"filename":"image_19012025_03_39_02_964703_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/a7625ca8c22ac4b8bb3ffede377b8c68.jpg","text":"TemporaryFile(/tmp/multipartBody702019878068326193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737254433546,"filename":"image_19012025_03_39_02_964703_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/b3781c920260109d169e4a5aa01be847.jpg","text":"TemporaryFile(/tmp/multipartBody1254780117561781302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737254433546,"filename":"image_19012025_03_38_02_434461_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329933764","file1":"1329933758","file0":"1329933755","file3":"1329933788"},"map_files_photo_id_array":[{"photo_id":"1329933764","filename":"file2"},{"photo_id":"1329933758","filename":"file1"},{"photo_id":"1329933755","filename":"file0"},{"photo_id":"1329933788","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329933764":["hashtag1","hashtag2"]},{"1329933758":["hashtag1","hashtag2"]},{"1329933788":["hashtag1","hashtag2"]},{"1329933755":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329933764, 1329933758, 1329933788, 1329933755)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.7122015953064 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 03:40:22.643919
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/03/39/image_19012025_03_39_02_964703_0003.jpg', '/home/pi/Desktop/images/19012025/03/40/image_19012025_03_40_02_493642_0000.jpg', '/home/pi/Desktop/images/19012025/03/40/image_19012025_03_40_02_493642_0001.jpg', '/home/pi/Desktop/images/19012025/03/40/image_19012025_03_40_02_493642_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/03/39/image_19012025_03_39_02_964703_0003.jpg
/home/pi/Desktop/images/19012025/03/40/image_19012025_03_40_02_493642_0000.jpg
/home/pi/Desktop/images/19012025/03/40/image_19012025_03_40_02_493642_0001.jpg
/home/pi/Desktop/images/19012025/03/40/image_19012025_03_40_02_493642_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329933942","1329933875","1329933938","1329933934"],"photo_ids_order":["1329933875","1329933934","1329933938","1329933942"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/6f32c2599ee3aa2da1480685e2ec677f.jpg","text":"TemporaryFile(/tmp/multipartBody1676372440372175809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737254493919,"filename":"image_19012025_03_40_02_493642_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/c074768b7afcfa1b8ce73009daf96c74.jpg","text":"TemporaryFile(/tmp/multipartBody8520452710265826956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737254493919,"filename":"image_19012025_03_39_02_964703_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/29197bb8e2926517bc0ad47b8a063a1d.jpg","text":"TemporaryFile(/tmp/multipartBody1402934575392427126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737254493919,"filename":"image_19012025_03_40_02_493642_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/ef17c4f9fdc29bede42b47c86d0e4522.jpg","text":"TemporaryFile(/tmp/multipartBody1890153362912044081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737254493919,"filename":"image_19012025_03_40_02_493642_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329933938","file1":"1329933934","file0":"1329933875","file3":"1329933942"},"map_files_photo_id_array":[{"photo_id":"1329933938","filename":"file2"},{"photo_id":"1329933934","filename":"file1"},{"photo_id":"1329933875","filename":"file0"},{"photo_id":"1329933942","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329933942":["hashtag1","hashtag2"]},{"1329933875":["hashtag1","hashtag2"]},{"1329933938":["hashtag1","hashtag2"]},{"1329933934":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329933942, 1329933875, 1329933938, 1329933934)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.73960256576538 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 03:41:22.122832
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/03/40/image_19012025_03_40_02_493642_0003.jpg', '/home/pi/Desktop/images/19012025/03/41/image_19012025_03_41_03_007888_0000.jpg', '/home/pi/Desktop/images/19012025/03/41/image_19012025_03_41_03_007888_0001.jpg', '/home/pi/Desktop/images/19012025/03/41/image_19012025_03_41_03_007888_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/03/40/image_19012025_03_40_02_493642_0003.jpg
/home/pi/Desktop/images/19012025/03/41/image_19012025_03_41_03_007888_0000.jpg
/home/pi/Desktop/images/19012025/03/41/image_19012025_03_41_03_007888_0001.jpg
/home/pi/Desktop/images/19012025/03/41/image_19012025_03_41_03_007888_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329934091","1329934097","1329934025","1329934095"],"photo_ids_order":["1329934025","1329934091","1329934095","1329934097"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/12bd2a02d652cfdf577c6c3996b53655.jpg","text":"TemporaryFile(/tmp/multipartBody4544192152832942563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737254553655,"filename":"image_19012025_03_41_03_007888_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/19b6f76c38d45577b9f72682b45f6ec3.jpg","text":"TemporaryFile(/tmp/multipartBody2598171436007031322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737254553655,"filename":"image_19012025_03_41_03_007888_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/8ac561fb2c77761d12392286f92e8be1.jpg","text":"TemporaryFile(/tmp/multipartBody8875302994791612670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737254553655,"filename":"image_19012025_03_40_02_493642_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/67305a5296a5a760076fa875fb2f9cf0.jpg","text":"TemporaryFile(/tmp/multipartBody6133672922576621288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737254553655,"filename":"image_19012025_03_41_03_007888_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329934095","file1":"1329934091","file0":"1329934025","file3":"1329934097"},"map_files_photo_id_array":[{"photo_id":"1329934095","filename":"file2"},{"photo_id":"1329934091","filename":"file1"},{"photo_id":"1329934025","filename":"file0"},{"photo_id":"1329934097","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329934091":["hashtag1","hashtag2"]},{"1329934097":["hashtag1","hashtag2"]},{"1329934025":["hashtag1","hashtag2"]},{"1329934095":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329934091, 1329934097, 1329934025, 1329934095)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.27683234214783 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 03:42:02.937686
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
  port_id : 19698700
  datou_current_id : 2490825
in upload_from_sqlite, uploading in 19698700
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17012025/21/11/image_17012025_21_11_02_487107_0000.jpg', '/home/pi/Desktop/images/17012025/21/11/image_17012025_21_11_02_487107_0001.jpg', '/home/pi/Desktop/images/17012025/21/11/image_17012025_21_11_02_487107_0002.jpg', '/home/pi/Desktop/images/17012025/21/11/image_17012025_21_11_02_487107_0003.jpg', '/home/pi/Desktop/images/17012025/21/12/image_17012025_21_12_02_679911_0000.jpg', '/home/pi/Desktop/images/17012025/21/12/image_17012025_21_12_02_679911_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2490825&datou=0
/home/pi/Desktop/images/17012025/21/11/image_17012025_21_11_02_487107_0000.jpg
/home/pi/Desktop/images/17012025/21/11/image_17012025_21_11_02_487107_0001.jpg
/home/pi/Desktop/images/17012025/21/11/image_17012025_21_11_02_487107_0002.jpg
/home/pi/Desktop/images/17012025/21/11/image_17012025_21_11_02_487107_0003.jpg
/home/pi/Desktop/images/17012025/21/12/image_17012025_21_12_02_679911_0000.jpg
/home/pi/Desktop/images/17012025/21/12/image_17012025_21_12_02_679911_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: 17.425981760025024 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 03:42:22.610880
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/03/41/image_19012025_03_41_03_007888_0003.jpg', '/home/pi/Desktop/images/19012025/03/42/image_19012025_03_42_02_462085_0000.jpg', '/home/pi/Desktop/images/19012025/03/42/image_19012025_03_42_02_462085_0001.jpg', '/home/pi/Desktop/images/19012025/03/42/image_19012025_03_42_02_462085_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/03/41/image_19012025_03_41_03_007888_0003.jpg
/home/pi/Desktop/images/19012025/03/42/image_19012025_03_42_02_462085_0000.jpg
/home/pi/Desktop/images/19012025/03/42/image_19012025_03_42_02_462085_0001.jpg
/home/pi/Desktop/images/19012025/03/42/image_19012025_03_42_02_462085_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329934229","1329934142","1329934139","1329934233"],"photo_ids_order":["1329934139","1329934142","1329934229","1329934233"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/56132cc0012878a6d00ff31a4eb875fb.jpg","text":"TemporaryFile(/tmp/multipartBody2737214524113766682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737254614094,"filename":"image_19012025_03_42_02_462085_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/f0d7c2e49bf99ad46dd5adb06cf72b80.jpg","text":"TemporaryFile(/tmp/multipartBody2614547598804053755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737254614094,"filename":"image_19012025_03_42_02_462085_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/3994f57ca1ea2fdf29ab52390e7cba50.jpg","text":"TemporaryFile(/tmp/multipartBody2721692543877642039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737254614094,"filename":"image_19012025_03_41_03_007888_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/0257b27f0eb99ae289657778f7d6cf9b.jpg","text":"TemporaryFile(/tmp/multipartBody4443459842077370342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737254614094,"filename":"image_19012025_03_42_02_462085_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329934229","file1":"1329934142","file0":"1329934139","file3":"1329934233"},"map_files_photo_id_array":[{"photo_id":"1329934229","filename":"file2"},{"photo_id":"1329934142","filename":"file1"},{"photo_id":"1329934139","filename":"file0"},{"photo_id":"1329934233","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329934229":["hashtag1","hashtag2"]},{"1329934142":["hashtag1","hashtag2"]},{"1329934139":["hashtag1","hashtag2"]},{"1329934233":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329934229, 1329934142, 1329934139, 1329934233)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.79092359542847 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 03:43:22.115554
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/03/42/image_19012025_03_42_02_462085_0003.jpg', '/home/pi/Desktop/images/19012025/03/43/image_19012025_03_43_03_061417_0000.jpg', '/home/pi/Desktop/images/19012025/03/43/image_19012025_03_43_03_061417_0001.jpg', '/home/pi/Desktop/images/19012025/03/43/image_19012025_03_43_03_061417_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/03/42/image_19012025_03_42_02_462085_0003.jpg
/home/pi/Desktop/images/19012025/03/43/image_19012025_03_43_03_061417_0000.jpg
/home/pi/Desktop/images/19012025/03/43/image_19012025_03_43_03_061417_0001.jpg
/home/pi/Desktop/images/19012025/03/43/image_19012025_03_43_03_061417_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329934247","1329934242","1329934245","1329934239"],"photo_ids_order":["1329934239","1329934242","1329934245","1329934247"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/c2ea0dbb7324c82ea663b667d779f8df.jpg","text":"TemporaryFile(/tmp/multipartBody2979485295386889778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737254673632,"filename":"image_19012025_03_43_03_061417_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/86320b8594a672f333e60bb7ad464ba8.jpg","text":"TemporaryFile(/tmp/multipartBody4188726879133227290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737254673632,"filename":"image_19012025_03_43_03_061417_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/9304b4554342ebb5b7b3ce3434bf58c0.jpg","text":"TemporaryFile(/tmp/multipartBody6799062067714885369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737254673632,"filename":"image_19012025_03_43_03_061417_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/00b2667d295d04a3b6a36b1b298b372d.jpg","text":"TemporaryFile(/tmp/multipartBody853884195116394342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737254673632,"filename":"image_19012025_03_42_02_462085_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329934245","file1":"1329934242","file0":"1329934239","file3":"1329934247"},"map_files_photo_id_array":[{"photo_id":"1329934245","filename":"file2"},{"photo_id":"1329934242","filename":"file1"},{"photo_id":"1329934239","filename":"file0"},{"photo_id":"1329934247","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329934247":["hashtag1","hashtag2"]},{"1329934242":["hashtag1","hashtag2"]},{"1329934245":["hashtag1","hashtag2"]},{"1329934239":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329934247, 1329934242, 1329934245, 1329934239)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.51237654685974 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 03:44:22.673607
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/03/43/image_19012025_03_43_03_061417_0003.jpg', '/home/pi/Desktop/images/19012025/03/44/image_19012025_03_44_02_535113_0000.jpg', '/home/pi/Desktop/images/19012025/03/44/image_19012025_03_44_02_535113_0001.jpg', '/home/pi/Desktop/images/19012025/03/44/image_19012025_03_44_02_535113_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/03/43/image_19012025_03_43_03_061417_0003.jpg
/home/pi/Desktop/images/19012025/03/44/image_19012025_03_44_02_535113_0000.jpg
/home/pi/Desktop/images/19012025/03/44/image_19012025_03_44_02_535113_0001.jpg
/home/pi/Desktop/images/19012025/03/44/image_19012025_03_44_02_535113_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.718501091003418 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 03:45:02.931534
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/03/43/image_19012025_03_43_03_061417_0003.jpg', '/home/pi/Desktop/images/19012025/03/44/image_19012025_03_44_02_535113_0000.jpg', '/home/pi/Desktop/images/19012025/03/44/image_19012025_03_44_02_535113_0001.jpg', '/home/pi/Desktop/images/19012025/03/44/image_19012025_03_44_02_535113_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/03/43/image_19012025_03_43_03_061417_0003.jpg
/home/pi/Desktop/images/19012025/03/44/image_19012025_03_44_02_535113_0000.jpg
/home/pi/Desktop/images/19012025/03/44/image_19012025_03_44_02_535113_0001.jpg
/home/pi/Desktop/images/19012025/03/44/image_19012025_03_44_02_535113_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329934328","1329934325","1329934330","1329934326"],"photo_ids_order":["1329934325","1329934326","1329934328","1329934330"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/75fc6d70d6b329ae489d003fd59086d5.jpg","text":"TemporaryFile(/tmp/multipartBody3495187092900901131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737254774107,"filename":"image_19012025_03_44_02_535113_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/e0e67aa1892fb1de84f9af1759a2c0db.jpg","text":"TemporaryFile(/tmp/multipartBody5025871352719785204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737254774107,"filename":"image_19012025_03_43_03_061417_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/721235b0491ea3316e169aa3845d40fe.jpg","text":"TemporaryFile(/tmp/multipartBody1951852987738993013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737254774107,"filename":"image_19012025_03_44_02_535113_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/8a6581daf66738ced5f3401b144c1cf7.jpg","text":"TemporaryFile(/tmp/multipartBody1078658877786506103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737254774107,"filename":"image_19012025_03_44_02_535113_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329934328","file1":"1329934326","file0":"1329934325","file3":"1329934330"},"map_files_photo_id_array":[{"photo_id":"1329934328","filename":"file2"},{"photo_id":"1329934326","filename":"file1"},{"photo_id":"1329934325","filename":"file0"},{"photo_id":"1329934330","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329934328":["hashtag1","hashtag2"]},{"1329934325":["hashtag1","hashtag2"]},{"1329934330":["hashtag1","hashtag2"]},{"1329934326":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329934328, 1329934325, 1329934330, 1329934326)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.1249098777771 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 03:46:02.328476
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/03/44/image_19012025_03_44_02_535113_0003.jpg', '/home/pi/Desktop/images/19012025/03/45/image_19012025_03_45_03_119066_0000.jpg', '/home/pi/Desktop/images/19012025/03/45/image_19012025_03_45_03_119066_0001.jpg', '/home/pi/Desktop/images/19012025/03/45/image_19012025_03_45_03_119066_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/03/44/image_19012025_03_44_02_535113_0003.jpg
/home/pi/Desktop/images/19012025/03/45/image_19012025_03_45_03_119066_0000.jpg
/home/pi/Desktop/images/19012025/03/45/image_19012025_03_45_03_119066_0001.jpg
/home/pi/Desktop/images/19012025/03/45/image_19012025_03_45_03_119066_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.965102434158325 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 03:46:21.935782
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/03/44/image_19012025_03_44_02_535113_0003.jpg', '/home/pi/Desktop/images/19012025/03/45/image_19012025_03_45_03_119066_0000.jpg', '/home/pi/Desktop/images/19012025/03/45/image_19012025_03_45_03_119066_0001.jpg', '/home/pi/Desktop/images/19012025/03/45/image_19012025_03_45_03_119066_0002.jpg', '/home/pi/Desktop/images/19012025/03/45/image_19012025_03_45_03_119066_0003.jpg', '/home/pi/Desktop/images/19012025/03/46/image_19012025_03_46_02_626699_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/03/44/image_19012025_03_44_02_535113_0003.jpg
/home/pi/Desktop/images/19012025/03/45/image_19012025_03_45_03_119066_0000.jpg
/home/pi/Desktop/images/19012025/03/45/image_19012025_03_45_03_119066_0001.jpg
/home/pi/Desktop/images/19012025/03/45/image_19012025_03_45_03_119066_0002.jpg
/home/pi/Desktop/images/19012025/03/45/image_19012025_03_45_03_119066_0003.jpg
/home/pi/Desktop/images/19012025/03/46/image_19012025_03_46_02_626699_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329934385","1329934379","1329934381","1329934387","1329934383","1329934377"],"photo_ids_order":["1329934377","1329934379","1329934381","1329934383","1329934385","1329934387"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/4a3b28b37ceb5ac65621be1ee24cc05e.jpg","text":"TemporaryFile(/tmp/multipartBody1194223627956062350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737254858535,"filename":"image_19012025_03_45_03_119066_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/28fdf68beaff45bb718f75f1c75f9b89.jpg","text":"TemporaryFile(/tmp/multipartBody8166267005438981011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737254858535,"filename":"image_19012025_03_45_03_119066_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/72715d05d42286de082419b504cbfe96.jpg","text":"TemporaryFile(/tmp/multipartBody9037973913975491016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737254858535,"filename":"image_19012025_03_45_03_119066_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/ac381aba367298e17002c91760263ad5.jpg","text":"TemporaryFile(/tmp/multipartBody3208719567359131438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737254858535,"filename":"image_19012025_03_46_02_626699_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/be27219255043b294158bc81263a20ce.jpg","text":"TemporaryFile(/tmp/multipartBody6710156783975435379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737254858535,"filename":"image_19012025_03_45_03_119066_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/074e814fdc7e8d7d1de10427f59978fa.jpg","text":"TemporaryFile(/tmp/multipartBody2133254702153551355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737254858535,"filename":"image_19012025_03_44_02_535113_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329934381","file1":"1329934379","file0":"1329934377","file4":"1329934385","file5":"1329934387","file3":"1329934383"},"map_files_photo_id_array":[{"photo_id":"1329934387","filename":"file5"},{"photo_id":"1329934381","filename":"file2"},{"photo_id":"1329934385","filename":"file4"},{"photo_id":"1329934379","filename":"file1"},{"photo_id":"1329934377","filename":"file0"},{"photo_id":"1329934383","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329934385":["hashtag1","hashtag2"]},{"1329934379":["hashtag1","hashtag2"]},{"1329934381":["hashtag1","hashtag2"]},{"1329934387":["hashtag1","hashtag2"]},{"1329934383":["hashtag1","hashtag2"]},{"1329934377":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329934385, 1329934379, 1329934381, 1329934387, 1329934383, 1329934377)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.61463141441345 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 03:47:22.464003
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/03/46/image_19012025_03_46_02_626699_0001.jpg', '/home/pi/Desktop/images/19012025/03/46/image_19012025_03_46_02_626699_0002.jpg', '/home/pi/Desktop/images/19012025/03/46/image_19012025_03_46_02_626699_0003.jpg', '/home/pi/Desktop/images/19012025/03/47/image_19012025_03_47_02_314711_0000.jpg', '/home/pi/Desktop/images/19012025/03/47/image_19012025_03_47_02_314711_0001.jpg', '/home/pi/Desktop/images/19012025/03/47/image_19012025_03_47_02_314711_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/03/46/image_19012025_03_46_02_626699_0001.jpg
/home/pi/Desktop/images/19012025/03/46/image_19012025_03_46_02_626699_0002.jpg
/home/pi/Desktop/images/19012025/03/46/image_19012025_03_46_02_626699_0003.jpg
/home/pi/Desktop/images/19012025/03/47/image_19012025_03_47_02_314711_0000.jpg
/home/pi/Desktop/images/19012025/03/47/image_19012025_03_47_02_314711_0001.jpg
/home/pi/Desktop/images/19012025/03/47/image_19012025_03_47_02_314711_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329934544","1329934532","1329934529","1329934540","1329934392","1329934476"],"photo_ids_order":["1329934392","1329934476","1329934529","1329934532","1329934540","1329934544"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/73225e5a9bbd09c4a98013af329cddc8.jpg","text":"TemporaryFile(/tmp/multipartBody6794266260490780357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737254918299,"filename":"image_19012025_03_47_02_314711_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/7f3d30f5863e4b792b46198b793ed16f.jpg","text":"TemporaryFile(/tmp/multipartBody2101237362734932563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737254918299,"filename":"image_19012025_03_47_02_314711_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/bf842bff289b12d266a8b516238e7154.jpg","text":"TemporaryFile(/tmp/multipartBody3571632982234733551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737254918299,"filename":"image_19012025_03_46_02_626699_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/ce51df3a245271f4da40020da32beceb.jpg","text":"TemporaryFile(/tmp/multipartBody9078751039132679425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737254918299,"filename":"image_19012025_03_47_02_314711_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/37ecc7cf2485e3db3cdc0939b2cb01e7.jpg","text":"TemporaryFile(/tmp/multipartBody850248658059330780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737254918299,"filename":"image_19012025_03_46_02_626699_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/4cbba4f332913e6270ac7ccf95926eef.jpg","text":"TemporaryFile(/tmp/multipartBody8862237235101079621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737254918299,"filename":"image_19012025_03_46_02_626699_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329934529","file1":"1329934476","file0":"1329934392","file4":"1329934540","file5":"1329934544","file3":"1329934532"},"map_files_photo_id_array":[{"photo_id":"1329934544","filename":"file5"},{"photo_id":"1329934529","filename":"file2"},{"photo_id":"1329934540","filename":"file4"},{"photo_id":"1329934476","filename":"file1"},{"photo_id":"1329934392","filename":"file0"},{"photo_id":"1329934532","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329934544":["hashtag1","hashtag2"]},{"1329934532":["hashtag1","hashtag2"]},{"1329934529":["hashtag1","hashtag2"]},{"1329934540":["hashtag1","hashtag2"]},{"1329934392":["hashtag1","hashtag2"]},{"1329934476":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329934544, 1329934532, 1329934529, 1329934540, 1329934392, 1329934476)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.150501012802124 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 03:48:21.974426
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/03/47/image_19012025_03_47_02_314711_0003.jpg', '/home/pi/Desktop/images/19012025/03/48/image_19012025_03_48_02_821037_0000.jpg', '/home/pi/Desktop/images/19012025/03/48/image_19012025_03_48_02_821037_0001.jpg', '/home/pi/Desktop/images/19012025/03/48/image_19012025_03_48_02_821037_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/03/47/image_19012025_03_47_02_314711_0003.jpg
/home/pi/Desktop/images/19012025/03/48/image_19012025_03_48_02_821037_0000.jpg
/home/pi/Desktop/images/19012025/03/48/image_19012025_03_48_02_821037_0001.jpg
/home/pi/Desktop/images/19012025/03/48/image_19012025_03_48_02_821037_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329934626","1329934616","1329934648","1329934606"],"photo_ids_order":["1329934606","1329934616","1329934626","1329934648"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/7ed936ad471c3479d75b11c2d3bbdd5a.jpg","text":"TemporaryFile(/tmp/multipartBody6677031803794787910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737254972814,"filename":"image_19012025_03_48_02_821037_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/676880af70c867accf40030749642a1d.jpg","text":"TemporaryFile(/tmp/multipartBody7100688852301328019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737254972814,"filename":"image_19012025_03_48_02_821037_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/50e66a08ff5a6ae90f0e11b68edd3695.jpg","text":"TemporaryFile(/tmp/multipartBody46787610303667051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737254972814,"filename":"image_19012025_03_48_02_821037_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/da662c57e9577583ea21337946cc66ea.jpg","text":"TemporaryFile(/tmp/multipartBody5470020768855958924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737254972814,"filename":"image_19012025_03_47_02_314711_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329934626","file1":"1329934616","file0":"1329934606","file3":"1329934648"},"map_files_photo_id_array":[{"photo_id":"1329934626","filename":"file2"},{"photo_id":"1329934616","filename":"file1"},{"photo_id":"1329934606","filename":"file0"},{"photo_id":"1329934648","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329934626":["hashtag1","hashtag2"]},{"1329934616":["hashtag1","hashtag2"]},{"1329934648":["hashtag1","hashtag2"]},{"1329934606":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329934626, 1329934616, 1329934648, 1329934606)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.267589807510376 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 03:49:02.995590
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
  port_id : 19698700
  datou_current_id : 2490825
in upload_from_sqlite, uploading in 19698700
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17012025/21/11/image_17012025_21_11_02_487107_0000.jpg', '/home/pi/Desktop/images/17012025/21/11/image_17012025_21_11_02_487107_0001.jpg', '/home/pi/Desktop/images/17012025/21/11/image_17012025_21_11_02_487107_0002.jpg', '/home/pi/Desktop/images/17012025/21/11/image_17012025_21_11_02_487107_0003.jpg', '/home/pi/Desktop/images/17012025/21/12/image_17012025_21_12_02_679911_0000.jpg', '/home/pi/Desktop/images/17012025/21/12/image_17012025_21_12_02_679911_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2490825&datou=0
/home/pi/Desktop/images/17012025/21/11/image_17012025_21_11_02_487107_0000.jpg
/home/pi/Desktop/images/17012025/21/11/image_17012025_21_11_02_487107_0001.jpg
/home/pi/Desktop/images/17012025/21/11/image_17012025_21_11_02_487107_0002.jpg
/home/pi/Desktop/images/17012025/21/11/image_17012025_21_11_02_487107_0003.jpg
/home/pi/Desktop/images/17012025/21/12/image_17012025_21_12_02_679911_0000.jpg
/home/pi/Desktop/images/17012025/21/12/image_17012025_21_12_02_679911_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329935275","1329935278","1329935334","1329935529","1329935486","1329935549"],"photo_ids_order":["1329935275","1329935278","1329935334","1329935486","1329935529","1329935549"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/74d5465db230e6b6f0717788778a0fe5.jpg","text":"TemporaryFile(/tmp/multipartBody5000210705213149792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737255020789,"filename":"image_17012025_21_11_02_487107_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/6d832e523fec0a99478eb306a1900c78.jpg","text":"TemporaryFile(/tmp/multipartBody7541071856844688230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737255020789,"filename":"image_17012025_21_11_02_487107_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/2f3ec4be7d0b14e71847aa9ea374e1bf.jpg","text":"TemporaryFile(/tmp/multipartBody5290738363026309603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737255020789,"filename":"image_17012025_21_11_02_487107_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/3acfb46919588c3c0586c1ea6dc52911.jpg","text":"TemporaryFile(/tmp/multipartBody5085465629786972891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737255020789,"filename":"image_17012025_21_12_02_679911_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/d0f77ca67c3c0fb3d5a9cfc1f30b2fd8.jpg","text":"TemporaryFile(/tmp/multipartBody6563252776607131159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737255020789,"filename":"image_17012025_21_11_02_487107_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/0e4e407075441b0b21dc6e606529561a.jpg","text":"TemporaryFile(/tmp/multipartBody1292992729815691764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737255020789,"filename":"image_17012025_21_12_02_679911_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329935334","file1":"1329935278","file0":"1329935275","file4":"1329935529","file5":"1329935549","file3":"1329935486"},"map_files_photo_id_array":[{"photo_id":"1329935549","filename":"file5"},{"photo_id":"1329935334","filename":"file2"},{"photo_id":"1329935529","filename":"file4"},{"photo_id":"1329935278","filename":"file1"},{"photo_id":"1329935275","filename":"file0"},{"photo_id":"1329935486","filename":"file3"}],"portfolio_id":19698700,"hashtag_by_photo_ids":[{"1329935275":["hashtag1","hashtag2"]},{"1329935278":["hashtag1","hashtag2"]},{"1329935334":["hashtag1","hashtag2"]},{"1329935529":["hashtag1","hashtag2"]},{"1329935486":["hashtag1","hashtag2"]},{"1329935549":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698700 used, photo_id : ArrayBuffer(1329935275, 1329935278, 1329935334, 1329935529, 1329935486, 1329935549)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.208178758621216 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 03:50:02.344347
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/03/48/image_19012025_03_48_02_821037_0003.jpg', '/home/pi/Desktop/images/19012025/03/49/image_19012025_03_49_02_301562_0000.jpg', '/home/pi/Desktop/images/19012025/03/49/image_19012025_03_49_02_301562_0001.jpg', '/home/pi/Desktop/images/19012025/03/49/image_19012025_03_49_02_301562_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/03/48/image_19012025_03_48_02_821037_0003.jpg
/home/pi/Desktop/images/19012025/03/49/image_19012025_03_49_02_301562_0000.jpg
/home/pi/Desktop/images/19012025/03/49/image_19012025_03_49_02_301562_0001.jpg
/home/pi/Desktop/images/19012025/03/49/image_19012025_03_49_02_301562_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329935564","1329935630","1329935629","1329935583"],"photo_ids_order":["1329935564","1329935583","1329935629","1329935630"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/fa274a90fa258af8ddf8660b6c89e609.jpg","text":"TemporaryFile(/tmp/multipartBody236735434587789543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737255072828,"filename":"image_19012025_03_48_02_821037_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/1ff41df67954ac46f8421d1e9189edf4.jpg","text":"TemporaryFile(/tmp/multipartBody8626529552214284734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737255072828,"filename":"image_19012025_03_49_02_301562_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/07010f304e06babc02773648b9d6d483.jpg","text":"TemporaryFile(/tmp/multipartBody6799561858393803552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737255072828,"filename":"image_19012025_03_49_02_301562_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/5e474751cf59e35949a0d044b6439c2a.jpg","text":"TemporaryFile(/tmp/multipartBody8361868141325495356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737255072828,"filename":"image_19012025_03_49_02_301562_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329935629","file1":"1329935583","file0":"1329935564","file3":"1329935630"},"map_files_photo_id_array":[{"photo_id":"1329935629","filename":"file2"},{"photo_id":"1329935583","filename":"file1"},{"photo_id":"1329935564","filename":"file0"},{"photo_id":"1329935630","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329935564":["hashtag1","hashtag2"]},{"1329935630":["hashtag1","hashtag2"]},{"1329935629":["hashtag1","hashtag2"]},{"1329935583":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329935564, 1329935630, 1329935629, 1329935583)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.87232971191406 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 03:51:03.240069
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/03/49/image_19012025_03_49_02_301562_0003.jpg', '/home/pi/Desktop/images/19012025/03/50/image_19012025_03_50_02_814517_0000.jpg', '/home/pi/Desktop/images/19012025/03/50/image_19012025_03_50_02_814517_0001.jpg', '/home/pi/Desktop/images/19012025/03/50/image_19012025_03_50_02_814517_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/03/49/image_19012025_03_49_02_301562_0003.jpg
/home/pi/Desktop/images/19012025/03/50/image_19012025_03_50_02_814517_0000.jpg
/home/pi/Desktop/images/19012025/03/50/image_19012025_03_50_02_814517_0001.jpg
/home/pi/Desktop/images/19012025/03/50/image_19012025_03_50_02_814517_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329935645","1329935647","1329935644","1329935649"],"photo_ids_order":["1329935644","1329935645","1329935647","1329935649"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/91f1939780f4cb61189ca9736bd6893b.jpg","text":"TemporaryFile(/tmp/multipartBody3125594341766505357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737255133826,"filename":"image_19012025_03_50_02_814517_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/d33fe032521f73076abc4449a4341e23.jpg","text":"TemporaryFile(/tmp/multipartBody7779735582467345044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737255133826,"filename":"image_19012025_03_50_02_814517_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/7118e4ae74acaa59f34a8f37e3c0423b.jpg","text":"TemporaryFile(/tmp/multipartBody4552001548034171651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737255133826,"filename":"image_19012025_03_49_02_301562_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/1198fb17f50d5b811ce5b6858f96f4cb.jpg","text":"TemporaryFile(/tmp/multipartBody504734335634533001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737255133826,"filename":"image_19012025_03_50_02_814517_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329935647","file1":"1329935645","file0":"1329935644","file3":"1329935649"},"map_files_photo_id_array":[{"photo_id":"1329935647","filename":"file2"},{"photo_id":"1329935645","filename":"file1"},{"photo_id":"1329935644","filename":"file0"},{"photo_id":"1329935649","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329935645":["hashtag1","hashtag2"]},{"1329935647":["hashtag1","hashtag2"]},{"1329935644":["hashtag1","hashtag2"]},{"1329935649":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329935645, 1329935647, 1329935644, 1329935649)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.07781386375427 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 03:52:02.715100
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/03/50/image_19012025_03_50_02_814517_0003.jpg', '/home/pi/Desktop/images/19012025/03/51/image_19012025_03_51_02_475590_0000.jpg', '/home/pi/Desktop/images/19012025/03/51/image_19012025_03_51_02_475590_0001.jpg', '/home/pi/Desktop/images/19012025/03/51/image_19012025_03_51_02_475590_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/03/50/image_19012025_03_50_02_814517_0003.jpg
/home/pi/Desktop/images/19012025/03/51/image_19012025_03_51_02_475590_0000.jpg
/home/pi/Desktop/images/19012025/03/51/image_19012025_03_51_02_475590_0001.jpg
/home/pi/Desktop/images/19012025/03/51/image_19012025_03_51_02_475590_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329935875","1329935851","1329935880","1329935841"],"photo_ids_order":["1329935841","1329935851","1329935875","1329935880"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/77c041bcba8fab0128792aa98fadc7cb.jpg","text":"TemporaryFile(/tmp/multipartBody8632557939188880292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737255193984,"filename":"image_19012025_03_51_02_475590_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/8827eb427768f774d145301e140ee902.jpg","text":"TemporaryFile(/tmp/multipartBody8705913092715726259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737255193984,"filename":"image_19012025_03_51_02_475590_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/526c44d53505f147a2d85e7e85c644cb.jpg","text":"TemporaryFile(/tmp/multipartBody4071384376423842350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737255193984,"filename":"image_19012025_03_51_02_475590_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/84c0536944664e1e1cb4212acd565b77.jpg","text":"TemporaryFile(/tmp/multipartBody7084218161406641899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737255193984,"filename":"image_19012025_03_50_02_814517_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329935875","file1":"1329935851","file0":"1329935841","file3":"1329935880"},"map_files_photo_id_array":[{"photo_id":"1329935875","filename":"file2"},{"photo_id":"1329935851","filename":"file1"},{"photo_id":"1329935841","filename":"file0"},{"photo_id":"1329935880","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329935875":["hashtag1","hashtag2"]},{"1329935851":["hashtag1","hashtag2"]},{"1329935880":["hashtag1","hashtag2"]},{"1329935841":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329935875, 1329935851, 1329935880, 1329935841)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.56175899505615 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 03:53:02.367534
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/03/51/image_19012025_03_51_02_475590_0003.jpg', '/home/pi/Desktop/images/19012025/03/52/image_19012025_03_52_03_026401_0000.jpg', '/home/pi/Desktop/images/19012025/03/52/image_19012025_03_52_03_026401_0001.jpg', '/home/pi/Desktop/images/19012025/03/52/image_19012025_03_52_03_026401_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/03/51/image_19012025_03_51_02_475590_0003.jpg
/home/pi/Desktop/images/19012025/03/52/image_19012025_03_52_03_026401_0000.jpg
/home/pi/Desktop/images/19012025/03/52/image_19012025_03_52_03_026401_0001.jpg
/home/pi/Desktop/images/19012025/03/52/image_19012025_03_52_03_026401_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329936016","1329936018","1329936012","1329936014"],"photo_ids_order":["1329936012","1329936014","1329936016","1329936018"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/c0cbf92b10e368f837e51b3780a778cc.jpg","text":"TemporaryFile(/tmp/multipartBody1962022124380875774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737255253092,"filename":"image_19012025_03_52_03_026401_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/afb73869dacd67c15c1ce535ba73a3a1.jpg","text":"TemporaryFile(/tmp/multipartBody1436080829986723092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737255253092,"filename":"image_19012025_03_52_03_026401_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/d0bcde7426e793e6db839b56d5ceb883.jpg","text":"TemporaryFile(/tmp/multipartBody7373680914970111896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737255253092,"filename":"image_19012025_03_51_02_475590_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/1b1e896645af8dd309749c821c8c9e89.jpg","text":"TemporaryFile(/tmp/multipartBody986597565115405081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737255253092,"filename":"image_19012025_03_52_03_026401_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329936016","file1":"1329936014","file0":"1329936012","file3":"1329936018"},"map_files_photo_id_array":[{"photo_id":"1329936016","filename":"file2"},{"photo_id":"1329936014","filename":"file1"},{"photo_id":"1329936012","filename":"file0"},{"photo_id":"1329936018","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329936016":["hashtag1","hashtag2"]},{"1329936018":["hashtag1","hashtag2"]},{"1329936012":["hashtag1","hashtag2"]},{"1329936014":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329936016, 1329936018, 1329936012, 1329936014)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.887388467788696 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 03:54:02.745894
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/03/52/image_19012025_03_52_03_026401_0003.jpg', '/home/pi/Desktop/images/19012025/03/53/image_19012025_03_53_02_641738_0000.jpg', '/home/pi/Desktop/images/19012025/03/53/image_19012025_03_53_02_641738_0001.jpg', '/home/pi/Desktop/images/19012025/03/53/image_19012025_03_53_02_641738_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/03/52/image_19012025_03_52_03_026401_0003.jpg
/home/pi/Desktop/images/19012025/03/53/image_19012025_03_53_02_641738_0000.jpg
/home/pi/Desktop/images/19012025/03/53/image_19012025_03_53_02_641738_0001.jpg
/home/pi/Desktop/images/19012025/03/53/image_19012025_03_53_02_641738_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329936064","1329936066","1329936063","1329936068"],"photo_ids_order":["1329936063","1329936064","1329936066","1329936068"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/d0de279606195fb7a38d5baa701cccc8.jpg","text":"TemporaryFile(/tmp/multipartBody2191263215431729437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737255313870,"filename":"image_19012025_03_53_02_641738_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/7a679fec21c03b17eae2e8c8bb03bf38.jpg","text":"TemporaryFile(/tmp/multipartBody3895175927009123053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737255313870,"filename":"image_19012025_03_53_02_641738_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/d3a37e2cfdc790f145cb8e68bf6337cb.jpg","text":"TemporaryFile(/tmp/multipartBody5573771286122695869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737255313870,"filename":"image_19012025_03_52_03_026401_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/a04ebf9d1bdb2d688be2f623270b3d72.jpg","text":"TemporaryFile(/tmp/multipartBody1068820547380626973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737255313870,"filename":"image_19012025_03_53_02_641738_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329936066","file1":"1329936064","file0":"1329936063","file3":"1329936068"},"map_files_photo_id_array":[{"photo_id":"1329936066","filename":"file2"},{"photo_id":"1329936064","filename":"file1"},{"photo_id":"1329936063","filename":"file0"},{"photo_id":"1329936068","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329936064":["hashtag1","hashtag2"]},{"1329936066":["hashtag1","hashtag2"]},{"1329936063":["hashtag1","hashtag2"]},{"1329936068":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329936064, 1329936066, 1329936063, 1329936068)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.509814739227295 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 03:55:02.523043
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/03/53/image_19012025_03_53_02_641738_0003.jpg', '/home/pi/Desktop/images/19012025/03/54/image_19012025_03_54_02_189688_0000.jpg', '/home/pi/Desktop/images/19012025/03/54/image_19012025_03_54_02_189688_0001.jpg', '/home/pi/Desktop/images/19012025/03/54/image_19012025_03_54_02_189688_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/03/53/image_19012025_03_53_02_641738_0003.jpg
/home/pi/Desktop/images/19012025/03/54/image_19012025_03_54_02_189688_0000.jpg
/home/pi/Desktop/images/19012025/03/54/image_19012025_03_54_02_189688_0001.jpg
/home/pi/Desktop/images/19012025/03/54/image_19012025_03_54_02_189688_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329936085","1329936082","1329936087","1329936083"],"photo_ids_order":["1329936082","1329936083","1329936085","1329936087"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/27852d9783de417952d54f364c684201.jpg","text":"TemporaryFile(/tmp/multipartBody8820820085359694746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737255373450,"filename":"image_19012025_03_54_02_189688_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/5155e4f5b1b9aae2722d4230a3388b34.jpg","text":"TemporaryFile(/tmp/multipartBody6194688991206753832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737255373450,"filename":"image_19012025_03_53_02_641738_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/2760ffbbcd3a166ad25b3381a54cf5fa.jpg","text":"TemporaryFile(/tmp/multipartBody2178143862035512609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737255373450,"filename":"image_19012025_03_54_02_189688_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/e8bd6505d186d26a1530193886ba6fb2.jpg","text":"TemporaryFile(/tmp/multipartBody8616786151638646716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737255373450,"filename":"image_19012025_03_54_02_189688_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329936085","file1":"1329936083","file0":"1329936082","file3":"1329936087"},"map_files_photo_id_array":[{"photo_id":"1329936085","filename":"file2"},{"photo_id":"1329936083","filename":"file1"},{"photo_id":"1329936082","filename":"file0"},{"photo_id":"1329936087","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329936085":["hashtag1","hashtag2"]},{"1329936082":["hashtag1","hashtag2"]},{"1329936087":["hashtag1","hashtag2"]},{"1329936083":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329936085, 1329936082, 1329936087, 1329936083)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.116743326187134 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 03:56:02.884285
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/03/54/image_19012025_03_54_02_189688_0003.jpg', '/home/pi/Desktop/images/19012025/03/55/image_19012025_03_55_02_781760_0000.jpg', '/home/pi/Desktop/images/19012025/03/55/image_19012025_03_55_02_781760_0001.jpg', '/home/pi/Desktop/images/19012025/03/55/image_19012025_03_55_02_781760_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/03/54/image_19012025_03_54_02_189688_0003.jpg
/home/pi/Desktop/images/19012025/03/55/image_19012025_03_55_02_781760_0000.jpg
/home/pi/Desktop/images/19012025/03/55/image_19012025_03_55_02_781760_0001.jpg
/home/pi/Desktop/images/19012025/03/55/image_19012025_03_55_02_781760_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 11.07461428642273 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 03:56:22.522939
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/03/54/image_19012025_03_54_02_189688_0003.jpg', '/home/pi/Desktop/images/19012025/03/55/image_19012025_03_55_02_781760_0000.jpg', '/home/pi/Desktop/images/19012025/03/55/image_19012025_03_55_02_781760_0001.jpg', '/home/pi/Desktop/images/19012025/03/55/image_19012025_03_55_02_781760_0002.jpg', '/home/pi/Desktop/images/19012025/03/55/image_19012025_03_55_02_781760_0003.jpg', '/home/pi/Desktop/images/19012025/03/56/image_19012025_03_56_02_298171_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/03/54/image_19012025_03_54_02_189688_0003.jpg
/home/pi/Desktop/images/19012025/03/55/image_19012025_03_55_02_781760_0000.jpg
/home/pi/Desktop/images/19012025/03/55/image_19012025_03_55_02_781760_0001.jpg
/home/pi/Desktop/images/19012025/03/55/image_19012025_03_55_02_781760_0002.jpg
/home/pi/Desktop/images/19012025/03/55/image_19012025_03_55_02_781760_0003.jpg
/home/pi/Desktop/images/19012025/03/56/image_19012025_03_56_02_298171_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":["1329936127","1329936115","1329936129","1329936123","1329936125","1329936119"],"photo_ids_order":["1329936115","1329936119","1329936123","1329936125","1329936127","1329936129"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/b8a729e642d065a51e9bb4c891a8165b.jpg","text":"TemporaryFile(/tmp/multipartBody16563383743768856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737255459331,"filename":"image_19012025_03_55_02_781760_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/f43f6c1de47da1b59e15a5457536f6dd.jpg","text":"TemporaryFile(/tmp/multipartBody461666204803629394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737255459331,"filename":"image_19012025_03_54_02_189688_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/9124efa6aaa781eb8a85ed529f9a1fab.jpg","text":"TemporaryFile(/tmp/multipartBody409409598525587450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737255459331,"filename":"image_19012025_03_56_02_298171_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/5ec4c4afdb28dd8d9b63a6ca57adfffb.jpg","text":"TemporaryFile(/tmp/multipartBody4641557767586583912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737255459331,"filename":"image_19012025_03_55_02_781760_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/64b0fe587e602705c4d57e0c5dff553f.jpg","text":"TemporaryFile(/tmp/multipartBody6900469692434328219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737255459331,"filename":"image_19012025_03_55_02_781760_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/57e2fcfb1d0f2ee7d279e0e26563c52f.jpg","text":"TemporaryFile(/tmp/multipartBody5681416169035658301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737255459331,"filename":"image_19012025_03_55_02_781760_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329936123","file1":"1329936119","file0":"1329936115","file4":"1329936127","file5":"1329936129","file3":"1329936125"},"map_files_photo_id_array":[{"photo_id":"1329936129","filename":"file5"},{"photo_id":"1329936123","filename":"file2"},{"photo_id":"1329936127","filename":"file4"},{"photo_id":"1329936119","filename":"file1"},{"photo_id":"1329936115","filename":"file0"},{"photo_id":"1329936125","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329936127":["hashtag1","hashtag2"]},{"1329936115":["hashtag1","hashtag2"]},{"1329936129":["hashtag1","hashtag2"]},{"1329936123":["hashtag1","hashtag2"]},{"1329936125":["hashtag1","hashtag2"]},{"1329936119":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329936127, 1329936115, 1329936129, 1329936123, 1329936125, 1329936119)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 63.75458264350891 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 03:59:03.477220
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/03/56/image_19012025_03_56_02_298171_0001.jpg', '/home/pi/Desktop/images/19012025/03/56/image_19012025_03_56_02_298171_0002.jpg', '/home/pi/Desktop/images/19012025/03/56/image_19012025_03_56_02_298171_0003.jpg', '/home/pi/Desktop/images/19012025/03/57/image_19012025_03_57_02_937492_0000.jpg', '/home/pi/Desktop/images/19012025/03/57/image_19012025_03_57_02_937492_0001.jpg', '/home/pi/Desktop/images/19012025/03/57/image_19012025_03_57_02_937492_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/03/56/image_19012025_03_56_02_298171_0001.jpg
/home/pi/Desktop/images/19012025/03/56/image_19012025_03_56_02_298171_0002.jpg
/home/pi/Desktop/images/19012025/03/56/image_19012025_03_56_02_298171_0003.jpg
/home/pi/Desktop/images/19012025/03/57/image_19012025_03_57_02_937492_0000.jpg
/home/pi/Desktop/images/19012025/03/57/image_19012025_03_57_02_937492_0001.jpg
/home/pi/Desktop/images/19012025/03/57/image_19012025_03_57_02_937492_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329936157","1329936161","1329936179","1329936170","1329936164","1329936167"],"photo_ids_order":["1329936157","1329936161","1329936164","1329936167","1329936170","1329936179"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/319d6afbc7287679b672d6062bbed1df.jpg","text":"TemporaryFile(/tmp/multipartBody3500815495000503395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737255620209,"filename":"image_19012025_03_56_02_298171_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/eafe6e3ff3b4c59ae5f07c0a75b7deb1.jpg","text":"TemporaryFile(/tmp/multipartBody5784569482792100738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737255620209,"filename":"image_19012025_03_56_02_298171_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/75691fafeee2c598bb2d0bc219237956.jpg","text":"TemporaryFile(/tmp/multipartBody3126035848022896815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737255620209,"filename":"image_19012025_03_57_02_937492_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/3d803e5c291fad1b3f463fd28a6e51fb.jpg","text":"TemporaryFile(/tmp/multipartBody4382445546450113423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737255620209,"filename":"image_19012025_03_57_02_937492_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/28dabfbad773b49d19b38b86e507a7c0.jpg","text":"TemporaryFile(/tmp/multipartBody1605749490167309205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737255620209,"filename":"image_19012025_03_56_02_298171_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/cbfe60efb632b54f18e7714641f818fc.jpg","text":"TemporaryFile(/tmp/multipartBody163638037851840720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737255620209,"filename":"image_19012025_03_57_02_937492_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329936164","file1":"1329936161","file0":"1329936157","file4":"1329936170","file5":"1329936179","file3":"1329936167"},"map_files_photo_id_array":[{"photo_id":"1329936179","filename":"file5"},{"photo_id":"1329936164","filename":"file2"},{"photo_id":"1329936170","filename":"file4"},{"photo_id":"1329936161","filename":"file1"},{"photo_id":"1329936157","filename":"file0"},{"photo_id":"1329936167","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329936157":["hashtag1","hashtag2"]},{"1329936161":["hashtag1","hashtag2"]},{"1329936179":["hashtag1","hashtag2"]},{"1329936170":["hashtag1","hashtag2"]},{"1329936164":["hashtag1","hashtag2"]},{"1329936167":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329936157, 1329936161, 1329936179, 1329936170, 1329936164, 1329936167)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.91171407699585 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 04:00:02.793287
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/03/57/image_19012025_03_57_02_937492_0003.jpg', '/home/pi/Desktop/images/19012025/03/58/image_19012025_03_58_02_460582_0000.jpg', '/home/pi/Desktop/images/19012025/03/58/image_19012025_03_58_02_460582_0001.jpg', '/home/pi/Desktop/images/19012025/03/58/image_19012025_03_58_02_460582_0002.jpg', '/home/pi/Desktop/images/19012025/03/58/image_19012025_03_58_02_460582_0003.jpg', '/home/pi/Desktop/images/19012025/03/59/image_19012025_03_59_02_977560_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/03/57/image_19012025_03_57_02_937492_0003.jpg
/home/pi/Desktop/images/19012025/03/58/image_19012025_03_58_02_460582_0000.jpg
/home/pi/Desktop/images/19012025/03/58/image_19012025_03_58_02_460582_0001.jpg
/home/pi/Desktop/images/19012025/03/58/image_19012025_03_58_02_460582_0002.jpg
/home/pi/Desktop/images/19012025/03/58/image_19012025_03_58_02_460582_0003.jpg
/home/pi/Desktop/images/19012025/03/59/image_19012025_03_59_02_977560_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":["1329936221","1329936223","1329936231","1329936234","1329936228","1329936225"],"photo_ids_order":["1329936221","1329936223","1329936225","1329936228","1329936231","1329936234"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/9b4eb559afc600272c9b13c16cd1b2be.jpg","text":"TemporaryFile(/tmp/multipartBody5012846550907231994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737255679265,"filename":"image_19012025_03_57_02_937492_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/813bd6a585b965c4ac53d1be42f0dfd6.jpg","text":"TemporaryFile(/tmp/multipartBody7034905211399219069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737255679265,"filename":"image_19012025_03_58_02_460582_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/2039df56994fe31095a39156833f75a1.jpg","text":"TemporaryFile(/tmp/multipartBody4687781141940321482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737255679265,"filename":"image_19012025_03_58_02_460582_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/36b2ca81bfae36e62d90b510ce1b594f.jpg","text":"TemporaryFile(/tmp/multipartBody8648076538887301816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737255679265,"filename":"image_19012025_03_59_02_977560_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/a72615b9b9416c640d9988502a2d4dec.jpg","text":"TemporaryFile(/tmp/multipartBody6767968717744757846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737255679265,"filename":"image_19012025_03_58_02_460582_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/f19fa81c6b826bd2dd79971043f424ae.jpg","text":"TemporaryFile(/tmp/multipartBody7492190585425542962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737255679265,"filename":"image_19012025_03_58_02_460582_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329936225","file1":"1329936223","file0":"1329936221","file4":"1329936231","file5":"1329936234","file3":"1329936228"},"map_files_photo_id_array":[{"photo_id":"1329936234","filename":"file5"},{"photo_id":"1329936225","filename":"file2"},{"photo_id":"1329936231","filename":"file4"},{"photo_id":"1329936223","filename":"file1"},{"photo_id":"1329936221","filename":"file0"},{"photo_id":"1329936228","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329936221":["hashtag1","hashtag2"]},{"1329936223":["hashtag1","hashtag2"]},{"1329936231":["hashtag1","hashtag2"]},{"1329936234":["hashtag1","hashtag2"]},{"1329936228":["hashtag1","hashtag2"]},{"1329936225":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329936221, 1329936223, 1329936231, 1329936234, 1329936228, 1329936225)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 61.34208130836487 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 04:01:21.811373
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/03/59/image_19012025_03_59_02_977560_0001.jpg', '/home/pi/Desktop/images/19012025/03/59/image_19012025_03_59_02_977560_0002.jpg', '/home/pi/Desktop/images/19012025/03/59/image_19012025_03_59_02_977560_0003.jpg', '/home/pi/Desktop/images/19012025/04/00/image_19012025_04_00_03_103208_0000.jpg', '/home/pi/Desktop/images/19012025/04/00/image_19012025_04_00_03_103208_0001.jpg', '/home/pi/Desktop/images/19012025/04/00/image_19012025_04_00_03_103208_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/03/59/image_19012025_03_59_02_977560_0001.jpg
/home/pi/Desktop/images/19012025/03/59/image_19012025_03_59_02_977560_0002.jpg
/home/pi/Desktop/images/19012025/03/59/image_19012025_03_59_02_977560_0003.jpg
/home/pi/Desktop/images/19012025/04/00/image_19012025_04_00_03_103208_0000.jpg
/home/pi/Desktop/images/19012025/04/00/image_19012025_04_00_03_103208_0001.jpg
/home/pi/Desktop/images/19012025/04/00/image_19012025_04_00_03_103208_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329936955","1329936591","1329936957","1329936891","1329936375","1329936242"],"photo_ids_order":["1329936242","1329936375","1329936591","1329936891","1329936955","1329936957"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/c1f87238b76de0b609210e13ad8f2c04.jpg","text":"TemporaryFile(/tmp/multipartBody4809117609707914699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737255758508,"filename":"image_19012025_04_00_03_103208_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/dd53d3b8d9d72e73e848d01ba9e038b4.jpg","text":"TemporaryFile(/tmp/multipartBody4752126039688594888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737255758508,"filename":"image_19012025_03_59_02_977560_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/0919a50a5f2f624786e54031ef75fd8e.jpg","text":"TemporaryFile(/tmp/multipartBody9135267637932332271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737255758508,"filename":"image_19012025_04_00_03_103208_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/32a30b1535a97aa5f39cc6965191e481.jpg","text":"TemporaryFile(/tmp/multipartBody7208543781707137617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737255758508,"filename":"image_19012025_04_00_03_103208_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/9f62677725765278e950d16dfc08d57d.jpg","text":"TemporaryFile(/tmp/multipartBody136897557512566122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737255758508,"filename":"image_19012025_03_59_02_977560_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/60f497b13eb03e8084a2dc577f17ac7d.jpg","text":"TemporaryFile(/tmp/multipartBody453269758826528816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737255758508,"filename":"image_19012025_03_59_02_977560_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329936591","file1":"1329936375","file0":"1329936242","file4":"1329936955","file5":"1329936957","file3":"1329936891"},"map_files_photo_id_array":[{"photo_id":"1329936957","filename":"file5"},{"photo_id":"1329936591","filename":"file2"},{"photo_id":"1329936955","filename":"file4"},{"photo_id":"1329936375","filename":"file1"},{"photo_id":"1329936242","filename":"file0"},{"photo_id":"1329936891","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329936955":["hashtag1","hashtag2"]},{"1329936591":["hashtag1","hashtag2"]},{"1329936957":["hashtag1","hashtag2"]},{"1329936891":["hashtag1","hashtag2"]},{"1329936375":["hashtag1","hashtag2"]},{"1329936242":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329936955, 1329936591, 1329936957, 1329936891, 1329936375, 1329936242)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.4941189289093 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 04:02:22.385022
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/04/00/image_19012025_04_00_03_103208_0003.jpg', '/home/pi/Desktop/images/19012025/04/01/image_19012025_04_01_02_724394_0000.jpg', '/home/pi/Desktop/images/19012025/04/01/image_19012025_04_01_02_724394_0001.jpg', '/home/pi/Desktop/images/19012025/04/01/image_19012025_04_01_02_724394_0002.jpg', '/home/pi/Desktop/images/19012025/04/01/image_19012025_04_01_02_724394_0003.jpg', '/home/pi/Desktop/images/19012025/04/02/image_19012025_04_02_02_191371_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/04/00/image_19012025_04_00_03_103208_0003.jpg
/home/pi/Desktop/images/19012025/04/01/image_19012025_04_01_02_724394_0000.jpg
/home/pi/Desktop/images/19012025/04/01/image_19012025_04_01_02_724394_0001.jpg
/home/pi/Desktop/images/19012025/04/01/image_19012025_04_01_02_724394_0002.jpg
/home/pi/Desktop/images/19012025/04/01/image_19012025_04_01_02_724394_0003.jpg
/home/pi/Desktop/images/19012025/04/02/image_19012025_04_02_02_191371_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":["1329936979","1329936981","1329937365","1329937218","1329936977","1329937066"],"photo_ids_order":["1329936977","1329936979","1329936981","1329937066","1329937218","1329937365"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/f7bd34614bb9557d487886ca4126d55a.jpg","text":"TemporaryFile(/tmp/multipartBody1225569791520421317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737255818789,"filename":"image_19012025_04_01_02_724394_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/348cfdfb8fc2e31d69468de9d96f1fb9.jpg","text":"TemporaryFile(/tmp/multipartBody3406295207604236829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737255818789,"filename":"image_19012025_04_01_02_724394_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/cda26d44fee3c2901ec009866c04105a.jpg","text":"TemporaryFile(/tmp/multipartBody2384446902426077832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737255818789,"filename":"image_19012025_04_02_02_191371_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/bd36c51cdc8d8cdc0786c646f98d35ae.jpg","text":"TemporaryFile(/tmp/multipartBody1489329867140808671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737255818789,"filename":"image_19012025_04_01_02_724394_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/6d03ec01149469a282540c12b236a0e0.jpg","text":"TemporaryFile(/tmp/multipartBody6619612522729872274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737255818789,"filename":"image_19012025_04_00_03_103208_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/d6cda173865691b6edb1a1f8f81ae264.jpg","text":"TemporaryFile(/tmp/multipartBody3094915039492295040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737255818789,"filename":"image_19012025_04_01_02_724394_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329936981","file1":"1329936979","file0":"1329936977","file4":"1329937218","file5":"1329937365","file3":"1329937066"},"map_files_photo_id_array":[{"photo_id":"1329937365","filename":"file5"},{"photo_id":"1329936981","filename":"file2"},{"photo_id":"1329937218","filename":"file4"},{"photo_id":"1329936979","filename":"file1"},{"photo_id":"1329936977","filename":"file0"},{"photo_id":"1329937066","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329936979":["hashtag1","hashtag2"]},{"1329936981":["hashtag1","hashtag2"]},{"1329937365":["hashtag1","hashtag2"]},{"1329937218":["hashtag1","hashtag2"]},{"1329936977":["hashtag1","hashtag2"]},{"1329937066":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329936979, 1329936981, 1329937365, 1329937218, 1329936977, 1329937066)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 61.239001750946045 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 04:04:02.799025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/04/02/image_19012025_04_02_02_191371_0001.jpg', '/home/pi/Desktop/images/19012025/04/02/image_19012025_04_02_02_191371_0002.jpg', '/home/pi/Desktop/images/19012025/04/02/image_19012025_04_02_02_191371_0003.jpg', '/home/pi/Desktop/images/19012025/04/03/image_19012025_04_03_02_728619_0000.jpg', '/home/pi/Desktop/images/19012025/04/03/image_19012025_04_03_02_728619_0001.jpg', '/home/pi/Desktop/images/19012025/04/03/image_19012025_04_03_02_728619_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/04/02/image_19012025_04_02_02_191371_0001.jpg
/home/pi/Desktop/images/19012025/04/02/image_19012025_04_02_02_191371_0002.jpg
/home/pi/Desktop/images/19012025/04/02/image_19012025_04_02_02_191371_0003.jpg
/home/pi/Desktop/images/19012025/04/03/image_19012025_04_03_02_728619_0000.jpg
/home/pi/Desktop/images/19012025/04/03/image_19012025_04_03_02_728619_0001.jpg
/home/pi/Desktop/images/19012025/04/03/image_19012025_04_03_02_728619_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":["1329938221","1329938172","1329938217","1329938174","1329938176","1329938179"],"photo_ids_order":["1329938172","1329938174","1329938176","1329938179","1329938217","1329938221"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/12b52f8f6714689c5013e19f686e64f3.jpg","text":"TemporaryFile(/tmp/multipartBody4905700434372695070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737255919189,"filename":"image_19012025_04_03_02_728619_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/cf502691b629d45fb30bb95967b09026.jpg","text":"TemporaryFile(/tmp/multipartBody7753637100878650872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737255919189,"filename":"image_19012025_04_02_02_191371_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/8770dc87d45ca1f56a862176b2e7bbc6.jpg","text":"TemporaryFile(/tmp/multipartBody1146787341364141734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737255919189,"filename":"image_19012025_04_03_02_728619_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/b53dca288db59b7a0cfd2c215fdcf6a3.jpg","text":"TemporaryFile(/tmp/multipartBody8035239624120846345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737255919189,"filename":"image_19012025_04_02_02_191371_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/fa7c609f85762944f6d0a18a69b264e0.jpg","text":"TemporaryFile(/tmp/multipartBody7322754152437310654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737255919189,"filename":"image_19012025_04_02_02_191371_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/d20bb34e104ce321f086f9d5a7e3e786.jpg","text":"TemporaryFile(/tmp/multipartBody8587134010703970836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737255919189,"filename":"image_19012025_04_03_02_728619_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329938176","file1":"1329938174","file0":"1329938172","file4":"1329938217","file5":"1329938221","file3":"1329938179"},"map_files_photo_id_array":[{"photo_id":"1329938221","filename":"file5"},{"photo_id":"1329938176","filename":"file2"},{"photo_id":"1329938217","filename":"file4"},{"photo_id":"1329938174","filename":"file1"},{"photo_id":"1329938172","filename":"file0"},{"photo_id":"1329938179","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329938221":["hashtag1","hashtag2"]},{"1329938172":["hashtag1","hashtag2"]},{"1329938217":["hashtag1","hashtag2"]},{"1329938174":["hashtag1","hashtag2"]},{"1329938176":["hashtag1","hashtag2"]},{"1329938179":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329938221, 1329938172, 1329938217, 1329938174, 1329938176, 1329938179)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.070595264434814 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 04:05:21.865079
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/04/03/image_19012025_04_03_02_728619_0003.jpg', '/home/pi/Desktop/images/19012025/04/04/image_19012025_04_04_02_230686_0000.jpg', '/home/pi/Desktop/images/19012025/04/04/image_19012025_04_04_02_230686_0001.jpg', '/home/pi/Desktop/images/19012025/04/04/image_19012025_04_04_02_230686_0002.jpg', '/home/pi/Desktop/images/19012025/04/04/image_19012025_04_04_02_230686_0003.jpg', '/home/pi/Desktop/images/19012025/04/05/image_19012025_04_05_02_729356_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/04/03/image_19012025_04_03_02_728619_0003.jpg
/home/pi/Desktop/images/19012025/04/04/image_19012025_04_04_02_230686_0000.jpg
/home/pi/Desktop/images/19012025/04/04/image_19012025_04_04_02_230686_0001.jpg
/home/pi/Desktop/images/19012025/04/04/image_19012025_04_04_02_230686_0002.jpg
/home/pi/Desktop/images/19012025/04/04/image_19012025_04_04_02_230686_0003.jpg
/home/pi/Desktop/images/19012025/04/05/image_19012025_04_05_02_729356_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329938244","1329938238","1329938240","1329938234","1329938242","1329938236"],"photo_ids_order":["1329938234","1329938236","1329938238","1329938240","1329938242","1329938244"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/e25f8f9b664fb64b83df20ebf7336e2a.jpg","text":"TemporaryFile(/tmp/multipartBody4662345058263060499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737255998494,"filename":"image_19012025_04_05_02_729356_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/2b5ffb77db62c04858954430ba03eddb.jpg","text":"TemporaryFile(/tmp/multipartBody4810229331622684877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737255998494,"filename":"image_19012025_04_04_02_230686_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/35f996cdcd14535555d32434bf801438.jpg","text":"TemporaryFile(/tmp/multipartBody1537691937121997103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737255998494,"filename":"image_19012025_04_04_02_230686_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/9ce50772c10b32fbf701014c854dbb32.jpg","text":"TemporaryFile(/tmp/multipartBody419516454012684316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737255998494,"filename":"image_19012025_04_03_02_728619_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/49820e75dd90de0657bd9171fe8c4745.jpg","text":"TemporaryFile(/tmp/multipartBody572937094712590019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737255998494,"filename":"image_19012025_04_04_02_230686_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/70d6639f0609f1672619818fd78c350e.jpg","text":"TemporaryFile(/tmp/multipartBody7755438519436829993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737255998494,"filename":"image_19012025_04_04_02_230686_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329938238","file1":"1329938236","file0":"1329938234","file4":"1329938242","file5":"1329938244","file3":"1329938240"},"map_files_photo_id_array":[{"photo_id":"1329938244","filename":"file5"},{"photo_id":"1329938238","filename":"file2"},{"photo_id":"1329938242","filename":"file4"},{"photo_id":"1329938236","filename":"file1"},{"photo_id":"1329938234","filename":"file0"},{"photo_id":"1329938240","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329938244":["hashtag1","hashtag2"]},{"1329938238":["hashtag1","hashtag2"]},{"1329938240":["hashtag1","hashtag2"]},{"1329938234":["hashtag1","hashtag2"]},{"1329938242":["hashtag1","hashtag2"]},{"1329938236":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329938244, 1329938238, 1329938240, 1329938234, 1329938242, 1329938236)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.20430588722229 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 04:06:22.343938
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/04/05/image_19012025_04_05_02_729356_0001.jpg', '/home/pi/Desktop/images/19012025/04/05/image_19012025_04_05_02_729356_0002.jpg', '/home/pi/Desktop/images/19012025/04/05/image_19012025_04_05_02_729356_0003.jpg', '/home/pi/Desktop/images/19012025/04/06/image_19012025_04_06_02_225050_0000.jpg', '/home/pi/Desktop/images/19012025/04/06/image_19012025_04_06_02_225050_0001.jpg', '/home/pi/Desktop/images/19012025/04/06/image_19012025_04_06_02_225050_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/04/05/image_19012025_04_05_02_729356_0001.jpg
/home/pi/Desktop/images/19012025/04/05/image_19012025_04_05_02_729356_0002.jpg
/home/pi/Desktop/images/19012025/04/05/image_19012025_04_05_02_729356_0003.jpg
/home/pi/Desktop/images/19012025/04/06/image_19012025_04_06_02_225050_0000.jpg
/home/pi/Desktop/images/19012025/04/06/image_19012025_04_06_02_225050_0001.jpg
/home/pi/Desktop/images/19012025/04/06/image_19012025_04_06_02_225050_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329938289","1329938276","1329938287","1329938281","1329938284","1329938278"],"photo_ids_order":["1329938276","1329938278","1329938281","1329938284","1329938287","1329938289"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/6e21edc39d8760543f97b3f82b861c52.jpg","text":"TemporaryFile(/tmp/multipartBody1320001089990058035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737256058634,"filename":"image_19012025_04_06_02_225050_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/a01f8c4229b951d29befb5beb644ce96.jpg","text":"TemporaryFile(/tmp/multipartBody1236236827451352774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737256058634,"filename":"image_19012025_04_05_02_729356_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/bd67b1cf2da5fbd7aeba94b30eaeb800.jpg","text":"TemporaryFile(/tmp/multipartBody7949362518252306376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737256058634,"filename":"image_19012025_04_06_02_225050_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/78081f4cc4364473198d3dd0e779fa9d.jpg","text":"TemporaryFile(/tmp/multipartBody2773886626767684891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737256058634,"filename":"image_19012025_04_05_02_729356_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/920385ee1360b1dd887df06f30abe04c.jpg","text":"TemporaryFile(/tmp/multipartBody5927584375259180275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737256058634,"filename":"image_19012025_04_06_02_225050_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/43894a8185a264bf082e6d0b462d9737.jpg","text":"TemporaryFile(/tmp/multipartBody2007712596167487761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737256058634,"filename":"image_19012025_04_05_02_729356_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329938281","file1":"1329938278","file0":"1329938276","file4":"1329938287","file5":"1329938289","file3":"1329938284"},"map_files_photo_id_array":[{"photo_id":"1329938289","filename":"file5"},{"photo_id":"1329938281","filename":"file2"},{"photo_id":"1329938287","filename":"file4"},{"photo_id":"1329938278","filename":"file1"},{"photo_id":"1329938276","filename":"file0"},{"photo_id":"1329938284","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329938289":["hashtag1","hashtag2"]},{"1329938276":["hashtag1","hashtag2"]},{"1329938287":["hashtag1","hashtag2"]},{"1329938281":["hashtag1","hashtag2"]},{"1329938284":["hashtag1","hashtag2"]},{"1329938278":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329938289, 1329938276, 1329938287, 1329938281, 1329938284, 1329938278)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.89038586616516 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 04:07:21.827373
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/04/06/image_19012025_04_06_02_225050_0003.jpg', '/home/pi/Desktop/images/19012025/04/07/image_19012025_04_07_02_700975_0000.jpg', '/home/pi/Desktop/images/19012025/04/07/image_19012025_04_07_02_700975_0001.jpg', '/home/pi/Desktop/images/19012025/04/07/image_19012025_04_07_02_700975_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/04/06/image_19012025_04_06_02_225050_0003.jpg
/home/pi/Desktop/images/19012025/04/07/image_19012025_04_07_02_700975_0000.jpg
/home/pi/Desktop/images/19012025/04/07/image_19012025_04_07_02_700975_0001.jpg
/home/pi/Desktop/images/19012025/04/07/image_19012025_04_07_02_700975_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329938302","1329938297","1329938299","1329938295"],"photo_ids_order":["1329938295","1329938297","1329938299","1329938302"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/a6e5779587e0d8f99598a8be97687fca.jpg","text":"TemporaryFile(/tmp/multipartBody8609291312554759887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737256113323,"filename":"image_19012025_04_07_02_700975_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/638c75fbe054c3c185f8ae4dfe00a377.jpg","text":"TemporaryFile(/tmp/multipartBody2621451683860533336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737256113323,"filename":"image_19012025_04_07_02_700975_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/61b7f0ea5280665302dcd1d1f14ba2d6.jpg","text":"TemporaryFile(/tmp/multipartBody3909484776537615021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737256113323,"filename":"image_19012025_04_07_02_700975_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/0d7466b2cf84e50ef793cd1627e1b3e3.jpg","text":"TemporaryFile(/tmp/multipartBody2534520631050731736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737256113323,"filename":"image_19012025_04_06_02_225050_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329938299","file1":"1329938297","file0":"1329938295","file3":"1329938302"},"map_files_photo_id_array":[{"photo_id":"1329938299","filename":"file2"},{"photo_id":"1329938297","filename":"file1"},{"photo_id":"1329938295","filename":"file0"},{"photo_id":"1329938302","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329938302":["hashtag1","hashtag2"]},{"1329938297":["hashtag1","hashtag2"]},{"1329938299":["hashtag1","hashtag2"]},{"1329938295":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329938302, 1329938297, 1329938299, 1329938295)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.940993785858154 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 04:08:22.282766
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/04/07/image_19012025_04_07_02_700975_0003.jpg', '/home/pi/Desktop/images/19012025/04/08/image_19012025_04_08_02_189325_0000.jpg', '/home/pi/Desktop/images/19012025/04/08/image_19012025_04_08_02_189325_0001.jpg', '/home/pi/Desktop/images/19012025/04/08/image_19012025_04_08_02_189325_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/04/07/image_19012025_04_07_02_700975_0003.jpg
/home/pi/Desktop/images/19012025/04/08/image_19012025_04_08_02_189325_0000.jpg
/home/pi/Desktop/images/19012025/04/08/image_19012025_04_08_02_189325_0001.jpg
/home/pi/Desktop/images/19012025/04/08/image_19012025_04_08_02_189325_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329938463","1329938384","1329938363","1329938366"],"photo_ids_order":["1329938363","1329938366","1329938384","1329938463"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/2289b8c4d1968b57bd989297c3b51d5a.jpg","text":"TemporaryFile(/tmp/multipartBody7526187009411081533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737256173543,"filename":"image_19012025_04_08_02_189325_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/4d9a1543e2c4cd2700e55c02163893d5.jpg","text":"TemporaryFile(/tmp/multipartBody1031816788639615889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737256173543,"filename":"image_19012025_04_08_02_189325_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/1700f6a566cbfaec1d31e11d8b119914.jpg","text":"TemporaryFile(/tmp/multipartBody5148822097495819026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737256173543,"filename":"image_19012025_04_07_02_700975_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/8fcf9d4f2b69ea35c54f9da1ed5cedc4.jpg","text":"TemporaryFile(/tmp/multipartBody7776968384453245846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737256173543,"filename":"image_19012025_04_08_02_189325_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329938384","file1":"1329938366","file0":"1329938363","file3":"1329938463"},"map_files_photo_id_array":[{"photo_id":"1329938384","filename":"file2"},{"photo_id":"1329938366","filename":"file1"},{"photo_id":"1329938363","filename":"file0"},{"photo_id":"1329938463","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329938463":["hashtag1","hashtag2"]},{"1329938384":["hashtag1","hashtag2"]},{"1329938363":["hashtag1","hashtag2"]},{"1329938366":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329938463, 1329938384, 1329938363, 1329938366)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.57690787315369 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 04:09:21.854608
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/04/08/image_19012025_04_08_02_189325_0003.jpg', '/home/pi/Desktop/images/19012025/04/09/image_19012025_04_09_02_698114_0000.jpg', '/home/pi/Desktop/images/19012025/04/09/image_19012025_04_09_02_698114_0001.jpg', '/home/pi/Desktop/images/19012025/04/09/image_19012025_04_09_02_698114_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/04/08/image_19012025_04_08_02_189325_0003.jpg
/home/pi/Desktop/images/19012025/04/09/image_19012025_04_09_02_698114_0000.jpg
/home/pi/Desktop/images/19012025/04/09/image_19012025_04_09_02_698114_0001.jpg
/home/pi/Desktop/images/19012025/04/09/image_19012025_04_09_02_698114_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329938551","1329938569","1329938554","1329938557"],"photo_ids_order":["1329938551","1329938554","1329938557","1329938569"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/f6550526d7f64c737dd5d3c3c9a4ba71.jpg","text":"TemporaryFile(/tmp/multipartBody8436855755862933022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737256232903,"filename":"image_19012025_04_08_02_189325_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/99458d9321e7904c99516b276edff651.jpg","text":"TemporaryFile(/tmp/multipartBody5420505867207093734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737256232903,"filename":"image_19012025_04_09_02_698114_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/8123752f117448bb86753461d4c597e2.jpg","text":"TemporaryFile(/tmp/multipartBody7970142210551870080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737256232903,"filename":"image_19012025_04_09_02_698114_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/fb7a71993afc87a0f5f58b8fc76419b0.jpg","text":"TemporaryFile(/tmp/multipartBody9176418401901869175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737256232903,"filename":"image_19012025_04_09_02_698114_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329938557","file1":"1329938554","file0":"1329938551","file3":"1329938569"},"map_files_photo_id_array":[{"photo_id":"1329938557","filename":"file2"},{"photo_id":"1329938554","filename":"file1"},{"photo_id":"1329938551","filename":"file0"},{"photo_id":"1329938569","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329938551":["hashtag1","hashtag2"]},{"1329938569":["hashtag1","hashtag2"]},{"1329938554":["hashtag1","hashtag2"]},{"1329938557":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329938551, 1329938569, 1329938554, 1329938557)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.47502660751343 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 04:10:22.353035
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/04/09/image_19012025_04_09_02_698114_0003.jpg', '/home/pi/Desktop/images/19012025/04/10/image_19012025_04_10_02_239983_0000.jpg', '/home/pi/Desktop/images/19012025/04/10/image_19012025_04_10_02_239983_0001.jpg', '/home/pi/Desktop/images/19012025/04/10/image_19012025_04_10_02_239983_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/04/09/image_19012025_04_09_02_698114_0003.jpg
/home/pi/Desktop/images/19012025/04/10/image_19012025_04_10_02_239983_0000.jpg
/home/pi/Desktop/images/19012025/04/10/image_19012025_04_10_02_239983_0001.jpg
/home/pi/Desktop/images/19012025/04/10/image_19012025_04_10_02_239983_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.981517553329468 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 04:11:02.626564
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/04/09/image_19012025_04_09_02_698114_0003.jpg', '/home/pi/Desktop/images/19012025/04/10/image_19012025_04_10_02_239983_0000.jpg', '/home/pi/Desktop/images/19012025/04/10/image_19012025_04_10_02_239983_0001.jpg', '/home/pi/Desktop/images/19012025/04/10/image_19012025_04_10_02_239983_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/04/09/image_19012025_04_09_02_698114_0003.jpg
/home/pi/Desktop/images/19012025/04/10/image_19012025_04_10_02_239983_0000.jpg
/home/pi/Desktop/images/19012025/04/10/image_19012025_04_10_02_239983_0001.jpg
/home/pi/Desktop/images/19012025/04/10/image_19012025_04_10_02_239983_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329938621","1329938624","1329938620","1329938623"],"photo_ids_order":["1329938620","1329938621","1329938623","1329938624"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/d1a537c3171ce8c091eeb56f6e6a11aa.jpg","text":"TemporaryFile(/tmp/multipartBody531001081669451205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737256334028,"filename":"image_19012025_04_10_02_239983_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/1390749134ed6eabdb6a920a424732cc.jpg","text":"TemporaryFile(/tmp/multipartBody676012518002964319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737256334028,"filename":"image_19012025_04_10_02_239983_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/23ac21549c2697be3fad36ea385c90f7.jpg","text":"TemporaryFile(/tmp/multipartBody471325984967387266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737256334028,"filename":"image_19012025_04_09_02_698114_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/ff85a3455e1e10c267f940df39742ef4.jpg","text":"TemporaryFile(/tmp/multipartBody1246479300770835405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737256334028,"filename":"image_19012025_04_10_02_239983_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329938623","file1":"1329938621","file0":"1329938620","file3":"1329938624"},"map_files_photo_id_array":[{"photo_id":"1329938623","filename":"file2"},{"photo_id":"1329938621","filename":"file1"},{"photo_id":"1329938620","filename":"file0"},{"photo_id":"1329938624","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329938621":["hashtag1","hashtag2"]},{"1329938624":["hashtag1","hashtag2"]},{"1329938620":["hashtag1","hashtag2"]},{"1329938623":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329938621, 1329938624, 1329938620, 1329938623)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.188435554504395 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 04:12:03.020261
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/04/10/image_19012025_04_10_02_239983_0003.jpg', '/home/pi/Desktop/images/19012025/04/11/image_19012025_04_11_02_770766_0000.jpg', '/home/pi/Desktop/images/19012025/04/11/image_19012025_04_11_02_770766_0001.jpg', '/home/pi/Desktop/images/19012025/04/11/image_19012025_04_11_02_770766_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/04/10/image_19012025_04_10_02_239983_0003.jpg
/home/pi/Desktop/images/19012025/04/11/image_19012025_04_11_02_770766_0000.jpg
/home/pi/Desktop/images/19012025/04/11/image_19012025_04_11_02_770766_0001.jpg
/home/pi/Desktop/images/19012025/04/11/image_19012025_04_11_02_770766_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.559592247009277 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 04:12:22.498090
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/04/10/image_19012025_04_10_02_239983_0003.jpg', '/home/pi/Desktop/images/19012025/04/11/image_19012025_04_11_02_770766_0000.jpg', '/home/pi/Desktop/images/19012025/04/11/image_19012025_04_11_02_770766_0001.jpg', '/home/pi/Desktop/images/19012025/04/11/image_19012025_04_11_02_770766_0002.jpg', '/home/pi/Desktop/images/19012025/04/11/image_19012025_04_11_02_770766_0003.jpg', '/home/pi/Desktop/images/19012025/04/12/image_19012025_04_12_02_323307_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/04/10/image_19012025_04_10_02_239983_0003.jpg
/home/pi/Desktop/images/19012025/04/11/image_19012025_04_11_02_770766_0000.jpg
/home/pi/Desktop/images/19012025/04/11/image_19012025_04_11_02_770766_0001.jpg
/home/pi/Desktop/images/19012025/04/11/image_19012025_04_11_02_770766_0002.jpg
/home/pi/Desktop/images/19012025/04/11/image_19012025_04_11_02_770766_0003.jpg
/home/pi/Desktop/images/19012025/04/12/image_19012025_04_12_02_323307_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329938684","1329938678","1329938687","1329938681","1329938675","1329938689"],"photo_ids_order":["1329938675","1329938678","1329938681","1329938684","1329938687","1329938689"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/ee353d354e7394d784a1733e89f31767.jpg","text":"TemporaryFile(/tmp/multipartBody24143050650114367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737256418663,"filename":"image_19012025_04_11_02_770766_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/5daad3dd364fc754c105654b0c8906c9.jpg","text":"TemporaryFile(/tmp/multipartBody5788920574490745568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737256418663,"filename":"image_19012025_04_11_02_770766_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/670a3c25b53b646d601d3fffcece4ae8.jpg","text":"TemporaryFile(/tmp/multipartBody8919014603320050343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737256418663,"filename":"image_19012025_04_11_02_770766_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/40b8f61354e24f977ba8caba08879509.jpg","text":"TemporaryFile(/tmp/multipartBody438617482965287475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737256418663,"filename":"image_19012025_04_11_02_770766_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/ebe720ef456bc0dd332ad640c5ede538.jpg","text":"TemporaryFile(/tmp/multipartBody2199806032760345148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737256418663,"filename":"image_19012025_04_10_02_239983_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/bd89ad7cb70bb07902fd8ace7f1e8000.jpg","text":"TemporaryFile(/tmp/multipartBody4442045477596231189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737256418663,"filename":"image_19012025_04_12_02_323307_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329938681","file1":"1329938678","file0":"1329938675","file4":"1329938687","file5":"1329938689","file3":"1329938684"},"map_files_photo_id_array":[{"photo_id":"1329938689","filename":"file5"},{"photo_id":"1329938681","filename":"file2"},{"photo_id":"1329938687","filename":"file4"},{"photo_id":"1329938678","filename":"file1"},{"photo_id":"1329938675","filename":"file0"},{"photo_id":"1329938684","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329938684":["hashtag1","hashtag2"]},{"1329938678":["hashtag1","hashtag2"]},{"1329938687":["hashtag1","hashtag2"]},{"1329938681":["hashtag1","hashtag2"]},{"1329938675":["hashtag1","hashtag2"]},{"1329938689":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329938684, 1329938678, 1329938687, 1329938681, 1329938675, 1329938689)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.73401212692261 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 04:13:22.018306
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/04/12/image_19012025_04_12_02_323307_0001.jpg', '/home/pi/Desktop/images/19012025/04/12/image_19012025_04_12_02_323307_0002.jpg', '/home/pi/Desktop/images/19012025/04/12/image_19012025_04_12_02_323307_0003.jpg', '/home/pi/Desktop/images/19012025/04/13/image_19012025_04_13_02_880275_0000.jpg', '/home/pi/Desktop/images/19012025/04/13/image_19012025_04_13_02_880275_0001.jpg', '/home/pi/Desktop/images/19012025/04/13/image_19012025_04_13_02_880275_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/04/12/image_19012025_04_12_02_323307_0001.jpg
/home/pi/Desktop/images/19012025/04/12/image_19012025_04_12_02_323307_0002.jpg
/home/pi/Desktop/images/19012025/04/12/image_19012025_04_12_02_323307_0003.jpg
/home/pi/Desktop/images/19012025/04/13/image_19012025_04_13_02_880275_0000.jpg
/home/pi/Desktop/images/19012025/04/13/image_19012025_04_13_02_880275_0001.jpg
/home/pi/Desktop/images/19012025/04/13/image_19012025_04_13_02_880275_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329938747","1329938756","1329938695","1329938761","1329938698","1329938758"],"photo_ids_order":["1329938695","1329938698","1329938747","1329938756","1329938758","1329938761"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/b5c670bdf834d13cdb2cc7195e57a24c.jpg","text":"TemporaryFile(/tmp/multipartBody2579397895195453944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737256478758,"filename":"image_19012025_04_12_02_323307_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/e79b8b33f9e556b76e4d01b640a47dfb.jpg","text":"TemporaryFile(/tmp/multipartBody8264903644344294844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737256478758,"filename":"image_19012025_04_13_02_880275_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/0ad22afe9a3bf5cd2ec2b83ce18646b3.jpg","text":"TemporaryFile(/tmp/multipartBody2657610010302429715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737256478758,"filename":"image_19012025_04_12_02_323307_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/4c8101ac83e0c12e31185d674d39d5b9.jpg","text":"TemporaryFile(/tmp/multipartBody3795046805251013057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737256478758,"filename":"image_19012025_04_13_02_880275_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/af89ffb22aa0f152450e2487f0e3194b.jpg","text":"TemporaryFile(/tmp/multipartBody4647906993065311875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737256478758,"filename":"image_19012025_04_12_02_323307_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/6855d46fa844431a185c322371786544.jpg","text":"TemporaryFile(/tmp/multipartBody6713596919417782783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737256478758,"filename":"image_19012025_04_13_02_880275_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329938747","file1":"1329938698","file0":"1329938695","file4":"1329938758","file5":"1329938761","file3":"1329938756"},"map_files_photo_id_array":[{"photo_id":"1329938761","filename":"file5"},{"photo_id":"1329938747","filename":"file2"},{"photo_id":"1329938758","filename":"file4"},{"photo_id":"1329938698","filename":"file1"},{"photo_id":"1329938695","filename":"file0"},{"photo_id":"1329938756","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329938747":["hashtag1","hashtag2"]},{"1329938756":["hashtag1","hashtag2"]},{"1329938695":["hashtag1","hashtag2"]},{"1329938761":["hashtag1","hashtag2"]},{"1329938698":["hashtag1","hashtag2"]},{"1329938758":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329938747, 1329938756, 1329938695, 1329938761, 1329938698, 1329938758)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.197345495224 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 04:14:22.484631
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/04/13/image_19012025_04_13_02_880275_0003.jpg', '/home/pi/Desktop/images/19012025/04/14/image_19012025_04_14_02_393266_0000.jpg', '/home/pi/Desktop/images/19012025/04/14/image_19012025_04_14_02_393266_0001.jpg', '/home/pi/Desktop/images/19012025/04/14/image_19012025_04_14_02_393266_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/04/13/image_19012025_04_13_02_880275_0003.jpg
/home/pi/Desktop/images/19012025/04/14/image_19012025_04_14_02_393266_0000.jpg
/home/pi/Desktop/images/19012025/04/14/image_19012025_04_14_02_393266_0001.jpg
/home/pi/Desktop/images/19012025/04/14/image_19012025_04_14_02_393266_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.9068284034729 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 04:15:02.767608
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/04/13/image_19012025_04_13_02_880275_0003.jpg', '/home/pi/Desktop/images/19012025/04/14/image_19012025_04_14_02_393266_0000.jpg', '/home/pi/Desktop/images/19012025/04/14/image_19012025_04_14_02_393266_0001.jpg', '/home/pi/Desktop/images/19012025/04/14/image_19012025_04_14_02_393266_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/04/13/image_19012025_04_13_02_880275_0003.jpg
/home/pi/Desktop/images/19012025/04/14/image_19012025_04_14_02_393266_0000.jpg
/home/pi/Desktop/images/19012025/04/14/image_19012025_04_14_02_393266_0001.jpg
/home/pi/Desktop/images/19012025/04/14/image_19012025_04_14_02_393266_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329938778","1329938777","1329938780","1329938785"],"photo_ids_order":["1329938777","1329938778","1329938780","1329938785"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/5437ba0cdab4974e6fadad9b9903aac1.jpg","text":"TemporaryFile(/tmp/multipartBody6115176188455095295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737256574131,"filename":"image_19012025_04_14_02_393266_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/0e39fe119b08c16df3ac0832dca90383.jpg","text":"TemporaryFile(/tmp/multipartBody6416520547322462141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737256574131,"filename":"image_19012025_04_13_02_880275_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/50ebd9823719b138c2dc2b46cef5196f.jpg","text":"TemporaryFile(/tmp/multipartBody2180541190312252559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737256574131,"filename":"image_19012025_04_14_02_393266_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/bb9d4d23f63e102b5831e3bd9b10ea8e.jpg","text":"TemporaryFile(/tmp/multipartBody9039489189625909276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737256574131,"filename":"image_19012025_04_14_02_393266_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329938780","file1":"1329938778","file0":"1329938777","file3":"1329938785"},"map_files_photo_id_array":[{"photo_id":"1329938780","filename":"file2"},{"photo_id":"1329938778","filename":"file1"},{"photo_id":"1329938777","filename":"file0"},{"photo_id":"1329938785","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329938778":["hashtag1","hashtag2"]},{"1329938777":["hashtag1","hashtag2"]},{"1329938780":["hashtag1","hashtag2"]},{"1329938785":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329938778, 1329938777, 1329938780, 1329938785)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.70643734931946 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 04:16:02.998342
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/04/14/image_19012025_04_14_02_393266_0003.jpg', '/home/pi/Desktop/images/19012025/04/15/image_19012025_04_15_02_882668_0000.jpg', '/home/pi/Desktop/images/19012025/04/15/image_19012025_04_15_02_882668_0001.jpg', '/home/pi/Desktop/images/19012025/04/15/image_19012025_04_15_02_882668_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/04/14/image_19012025_04_14_02_393266_0003.jpg
/home/pi/Desktop/images/19012025/04/15/image_19012025_04_15_02_882668_0000.jpg
/home/pi/Desktop/images/19012025/04/15/image_19012025_04_15_02_882668_0001.jpg
/home/pi/Desktop/images/19012025/04/15/image_19012025_04_15_02_882668_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.864884614944458 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 04:16:22.718385
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/04/14/image_19012025_04_14_02_393266_0003.jpg', '/home/pi/Desktop/images/19012025/04/15/image_19012025_04_15_02_882668_0000.jpg', '/home/pi/Desktop/images/19012025/04/15/image_19012025_04_15_02_882668_0001.jpg', '/home/pi/Desktop/images/19012025/04/15/image_19012025_04_15_02_882668_0002.jpg', '/home/pi/Desktop/images/19012025/04/15/image_19012025_04_15_02_882668_0003.jpg', '/home/pi/Desktop/images/19012025/04/16/image_19012025_04_16_02_388791_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/04/14/image_19012025_04_14_02_393266_0003.jpg
/home/pi/Desktop/images/19012025/04/15/image_19012025_04_15_02_882668_0000.jpg
/home/pi/Desktop/images/19012025/04/15/image_19012025_04_15_02_882668_0001.jpg
/home/pi/Desktop/images/19012025/04/15/image_19012025_04_15_02_882668_0002.jpg
/home/pi/Desktop/images/19012025/04/15/image_19012025_04_15_02_882668_0003.jpg
/home/pi/Desktop/images/19012025/04/16/image_19012025_04_16_02_388791_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329938838","1329938832","1329938840","1329938834","1329938830","1329938836"],"photo_ids_order":["1329938830","1329938832","1329938834","1329938836","1329938838","1329938840"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/856fa5cc34b935187a89b42c7b2abdac.jpg","text":"TemporaryFile(/tmp/multipartBody4876908741248327426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737256659281,"filename":"image_19012025_04_15_02_882668_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/09fd191ade973348f54fa814b5b17b1f.jpg","text":"TemporaryFile(/tmp/multipartBody8214900206762455202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737256659281,"filename":"image_19012025_04_15_02_882668_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/5188535c9e5b54b8e91f5e6631393e47.jpg","text":"TemporaryFile(/tmp/multipartBody4446857582237012290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737256659281,"filename":"image_19012025_04_16_02_388791_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/636a01dca19fa28c2f8adb9640e97322.jpg","text":"TemporaryFile(/tmp/multipartBody6661862493163101993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737256659281,"filename":"image_19012025_04_15_02_882668_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/12c39e0b24a03553c0ebf16cdd86c351.jpg","text":"TemporaryFile(/tmp/multipartBody957989550367898225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737256659281,"filename":"image_19012025_04_14_02_393266_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/d044aeac396b9e5d1604b473ac9f74d0.jpg","text":"TemporaryFile(/tmp/multipartBody2834904903669194665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737256659281,"filename":"image_19012025_04_15_02_882668_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329938834","file1":"1329938832","file0":"1329938830","file4":"1329938838","file5":"1329938840","file3":"1329938836"},"map_files_photo_id_array":[{"photo_id":"1329938840","filename":"file5"},{"photo_id":"1329938834","filename":"file2"},{"photo_id":"1329938838","filename":"file4"},{"photo_id":"1329938832","filename":"file1"},{"photo_id":"1329938830","filename":"file0"},{"photo_id":"1329938836","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329938838":["hashtag1","hashtag2"]},{"1329938832":["hashtag1","hashtag2"]},{"1329938840":["hashtag1","hashtag2"]},{"1329938834":["hashtag1","hashtag2"]},{"1329938830":["hashtag1","hashtag2"]},{"1329938836":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329938838, 1329938832, 1329938840, 1329938834, 1329938830, 1329938836)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.05290222167969 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 04:17:22.360392
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/04/16/image_19012025_04_16_02_388791_0001.jpg', '/home/pi/Desktop/images/19012025/04/16/image_19012025_04_16_02_388791_0002.jpg', '/home/pi/Desktop/images/19012025/04/16/image_19012025_04_16_02_388791_0003.jpg', '/home/pi/Desktop/images/19012025/04/17/image_19012025_04_17_03_143124_0000.jpg', '/home/pi/Desktop/images/19012025/04/17/image_19012025_04_17_03_143124_0001.jpg', '/home/pi/Desktop/images/19012025/04/17/image_19012025_04_17_03_143124_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/04/16/image_19012025_04_16_02_388791_0001.jpg
/home/pi/Desktop/images/19012025/04/16/image_19012025_04_16_02_388791_0002.jpg
/home/pi/Desktop/images/19012025/04/16/image_19012025_04_16_02_388791_0003.jpg
/home/pi/Desktop/images/19012025/04/17/image_19012025_04_17_03_143124_0000.jpg
/home/pi/Desktop/images/19012025/04/17/image_19012025_04_17_03_143124_0001.jpg
/home/pi/Desktop/images/19012025/04/17/image_19012025_04_17_03_143124_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329938850","1329938852","1329938846","1329938857","1329938854","1329938848"],"photo_ids_order":["1329938846","1329938848","1329938850","1329938852","1329938854","1329938857"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/74fe0e4e1e313e8b6d5c336b90836b86.jpg","text":"TemporaryFile(/tmp/multipartBody800216075739603077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737256718483,"filename":"image_19012025_04_16_02_388791_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/0058ce74c404b6cbe531246c5961bc72.jpg","text":"TemporaryFile(/tmp/multipartBody6860974382769161166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737256718483,"filename":"image_19012025_04_17_03_143124_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/166807aa19584c8d52e9bdec37aabeda.jpg","text":"TemporaryFile(/tmp/multipartBody4888225707675946320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737256718483,"filename":"image_19012025_04_16_02_388791_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/ae69a853fc7fe9c313967fe8b31b73b1.jpg","text":"TemporaryFile(/tmp/multipartBody3609308454996733943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737256718483,"filename":"image_19012025_04_17_03_143124_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/797d765e76ff6f4266cbe82499cd6c65.jpg","text":"TemporaryFile(/tmp/multipartBody7611782359146672016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737256718483,"filename":"image_19012025_04_17_03_143124_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/0c31dc21b60a268d744b524fbd44312a.jpg","text":"TemporaryFile(/tmp/multipartBody6113293714232411934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737256718483,"filename":"image_19012025_04_16_02_388791_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329938850","file1":"1329938848","file0":"1329938846","file4":"1329938854","file5":"1329938857","file3":"1329938852"},"map_files_photo_id_array":[{"photo_id":"1329938857","filename":"file5"},{"photo_id":"1329938850","filename":"file2"},{"photo_id":"1329938854","filename":"file4"},{"photo_id":"1329938848","filename":"file1"},{"photo_id":"1329938846","filename":"file0"},{"photo_id":"1329938852","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329938850":["hashtag1","hashtag2"]},{"1329938852":["hashtag1","hashtag2"]},{"1329938846":["hashtag1","hashtag2"]},{"1329938857":["hashtag1","hashtag2"]},{"1329938854":["hashtag1","hashtag2"]},{"1329938848":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329938850, 1329938852, 1329938846, 1329938857, 1329938854, 1329938848)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.60022521018982 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 04:18:21.898770
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/04/17/image_19012025_04_17_03_143124_0003.jpg', '/home/pi/Desktop/images/19012025/04/18/image_19012025_04_18_02_718320_0000.jpg', '/home/pi/Desktop/images/19012025/04/18/image_19012025_04_18_02_718320_0001.jpg', '/home/pi/Desktop/images/19012025/04/18/image_19012025_04_18_02_718320_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/04/17/image_19012025_04_17_03_143124_0003.jpg
/home/pi/Desktop/images/19012025/04/18/image_19012025_04_18_02_718320_0000.jpg
/home/pi/Desktop/images/19012025/04/18/image_19012025_04_18_02_718320_0001.jpg
/home/pi/Desktop/images/19012025/04/18/image_19012025_04_18_02_718320_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 11.193155765533447 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 04:19:03.029996
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/04/17/image_19012025_04_17_03_143124_0003.jpg', '/home/pi/Desktop/images/19012025/04/18/image_19012025_04_18_02_718320_0000.jpg', '/home/pi/Desktop/images/19012025/04/18/image_19012025_04_18_02_718320_0001.jpg', '/home/pi/Desktop/images/19012025/04/18/image_19012025_04_18_02_718320_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/04/17/image_19012025_04_17_03_143124_0003.jpg
/home/pi/Desktop/images/19012025/04/18/image_19012025_04_18_02_718320_0000.jpg
/home/pi/Desktop/images/19012025/04/18/image_19012025_04_18_02_718320_0001.jpg
/home/pi/Desktop/images/19012025/04/18/image_19012025_04_18_02_718320_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329939033","1329939015","1329938885","1329938908"],"photo_ids_order":["1329938885","1329938908","1329939015","1329939033"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/8b5f3303c3b8738d2e139feb3cfacc5c.jpg","text":"TemporaryFile(/tmp/multipartBody1506779285853158475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737256814729,"filename":"image_19012025_04_18_02_718320_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/bb2d3e151f9d1bd1ef4bf22d9af67e48.jpg","text":"TemporaryFile(/tmp/multipartBody3482949340334373114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737256814729,"filename":"image_19012025_04_18_02_718320_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/2f93a21405fd4eb60affdc34999d1ea0.jpg","text":"TemporaryFile(/tmp/multipartBody1144643144137641313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737256814729,"filename":"image_19012025_04_17_03_143124_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/49ddaab08099f93e4365d23b05967c1e.jpg","text":"TemporaryFile(/tmp/multipartBody2108472340738321791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737256814729,"filename":"image_19012025_04_18_02_718320_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329939015","file1":"1329938908","file0":"1329938885","file3":"1329939033"},"map_files_photo_id_array":[{"photo_id":"1329939015","filename":"file2"},{"photo_id":"1329938908","filename":"file1"},{"photo_id":"1329938885","filename":"file0"},{"photo_id":"1329939033","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329939033":["hashtag1","hashtag2"]},{"1329939015":["hashtag1","hashtag2"]},{"1329938885":["hashtag1","hashtag2"]},{"1329938908":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329939033, 1329939015, 1329938885, 1329938908)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.696794748306274 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 04:20:02.607852
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/04/18/image_19012025_04_18_02_718320_0003.jpg', '/home/pi/Desktop/images/19012025/04/19/image_19012025_04_19_02_284105_0000.jpg', '/home/pi/Desktop/images/19012025/04/19/image_19012025_04_19_02_284105_0001.jpg', '/home/pi/Desktop/images/19012025/04/19/image_19012025_04_19_02_284105_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/04/18/image_19012025_04_18_02_718320_0003.jpg
/home/pi/Desktop/images/19012025/04/19/image_19012025_04_19_02_284105_0000.jpg
/home/pi/Desktop/images/19012025/04/19/image_19012025_04_19_02_284105_0001.jpg
/home/pi/Desktop/images/19012025/04/19/image_19012025_04_19_02_284105_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329939231","1329939225","1329939224","1329939238"],"photo_ids_order":["1329939224","1329939225","1329939231","1329939238"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/714e79fd5ed711249c70e1924d55c38f.jpg","text":"TemporaryFile(/tmp/multipartBody7827427063066493744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737256873891,"filename":"image_19012025_04_19_02_284105_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/6b7a0abaccf330f0fbb33ac3de7482f2.jpg","text":"TemporaryFile(/tmp/multipartBody7371233609839584686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737256873891,"filename":"image_19012025_04_19_02_284105_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/e391690504220b3da7f846fc5048ef5f.jpg","text":"TemporaryFile(/tmp/multipartBody7709128352297830454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737256873891,"filename":"image_19012025_04_18_02_718320_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/df650ce78f088326c64ed2746b0a8712.jpg","text":"TemporaryFile(/tmp/multipartBody45940796713069009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737256873891,"filename":"image_19012025_04_19_02_284105_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329939231","file1":"1329939225","file0":"1329939224","file3":"1329939238"},"map_files_photo_id_array":[{"photo_id":"1329939231","filename":"file2"},{"photo_id":"1329939225","filename":"file1"},{"photo_id":"1329939224","filename":"file0"},{"photo_id":"1329939238","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329939231":["hashtag1","hashtag2"]},{"1329939225":["hashtag1","hashtag2"]},{"1329939224":["hashtag1","hashtag2"]},{"1329939238":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329939231, 1329939225, 1329939224, 1329939238)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.07236862182617 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 04:21:03.262558
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/04/19/image_19012025_04_19_02_284105_0003.jpg', '/home/pi/Desktop/images/19012025/04/20/image_19012025_04_20_02_840454_0000.jpg', '/home/pi/Desktop/images/19012025/04/20/image_19012025_04_20_02_840454_0001.jpg', '/home/pi/Desktop/images/19012025/04/20/image_19012025_04_20_02_840454_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/04/19/image_19012025_04_19_02_284105_0003.jpg
/home/pi/Desktop/images/19012025/04/20/image_19012025_04_20_02_840454_0000.jpg
/home/pi/Desktop/images/19012025/04/20/image_19012025_04_20_02_840454_0001.jpg
/home/pi/Desktop/images/19012025/04/20/image_19012025_04_20_02_840454_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329939324","1329939327","1329939321","1329939322"],"photo_ids_order":["1329939321","1329939322","1329939324","1329939327"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/03654e322befd0d6bb1d92ea20e08917.jpg","text":"TemporaryFile(/tmp/multipartBody8414266613713730187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737256934654,"filename":"image_19012025_04_20_02_840454_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/498669a4ad2d07d475ec8c33a933a24c.jpg","text":"TemporaryFile(/tmp/multipartBody3025182908794677378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737256934654,"filename":"image_19012025_04_20_02_840454_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/8affc1c710ff5e8b6dfd31c7c117130f.jpg","text":"TemporaryFile(/tmp/multipartBody4979701097307273836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737256934654,"filename":"image_19012025_04_19_02_284105_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/2a0774dbf7fff8fbe6e7b023d0a3cb18.jpg","text":"TemporaryFile(/tmp/multipartBody2232914606429965775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737256934654,"filename":"image_19012025_04_20_02_840454_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329939324","file1":"1329939322","file0":"1329939321","file3":"1329939327"},"map_files_photo_id_array":[{"photo_id":"1329939324","filename":"file2"},{"photo_id":"1329939322","filename":"file1"},{"photo_id":"1329939321","filename":"file0"},{"photo_id":"1329939327","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329939324":["hashtag1","hashtag2"]},{"1329939327":["hashtag1","hashtag2"]},{"1329939321":["hashtag1","hashtag2"]},{"1329939322":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329939324, 1329939327, 1329939321, 1329939322)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.45331811904907 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 04:22:02.766869
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/04/20/image_19012025_04_20_02_840454_0003.jpg', '/home/pi/Desktop/images/19012025/04/21/image_19012025_04_21_02_544127_0000.jpg', '/home/pi/Desktop/images/19012025/04/21/image_19012025_04_21_02_544127_0001.jpg', '/home/pi/Desktop/images/19012025/04/21/image_19012025_04_21_02_544127_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/04/20/image_19012025_04_20_02_840454_0003.jpg
/home/pi/Desktop/images/19012025/04/21/image_19012025_04_21_02_544127_0000.jpg
/home/pi/Desktop/images/19012025/04/21/image_19012025_04_21_02_544127_0001.jpg
/home/pi/Desktop/images/19012025/04/21/image_19012025_04_21_02_544127_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329939417","1329939414","1329939374","1329939353"],"photo_ids_order":["1329939353","1329939374","1329939414","1329939417"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/138ba39960c881f0747afc2b2b735634.jpg","text":"TemporaryFile(/tmp/multipartBody5538211088420138111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737256994299,"filename":"image_19012025_04_21_02_544127_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/2111f8690d1f85600357e8ef50c53900.jpg","text":"TemporaryFile(/tmp/multipartBody7385394394308839951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737256994299,"filename":"image_19012025_04_21_02_544127_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/f4c9655f30ba8547aeafeda3a00841ef.jpg","text":"TemporaryFile(/tmp/multipartBody2354443243609028782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737256994299,"filename":"image_19012025_04_21_02_544127_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/ad0d3beea285eb7764783d294f5f10ad.jpg","text":"TemporaryFile(/tmp/multipartBody3996257845548482278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737256994299,"filename":"image_19012025_04_20_02_840454_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329939414","file1":"1329939374","file0":"1329939353","file3":"1329939417"},"map_files_photo_id_array":[{"photo_id":"1329939414","filename":"file2"},{"photo_id":"1329939374","filename":"file1"},{"photo_id":"1329939353","filename":"file0"},{"photo_id":"1329939417","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329939417":["hashtag1","hashtag2"]},{"1329939414":["hashtag1","hashtag2"]},{"1329939374":["hashtag1","hashtag2"]},{"1329939353":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329939417, 1329939414, 1329939374, 1329939353)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.95464372634888 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 04:23:02.413527
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/04/21/image_19012025_04_21_02_544127_0003.jpg', '/home/pi/Desktop/images/19012025/04/22/image_19012025_04_22_03_092437_0000.jpg', '/home/pi/Desktop/images/19012025/04/22/image_19012025_04_22_03_092437_0001.jpg', '/home/pi/Desktop/images/19012025/04/22/image_19012025_04_22_03_092437_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/04/21/image_19012025_04_21_02_544127_0003.jpg
/home/pi/Desktop/images/19012025/04/22/image_19012025_04_22_03_092437_0000.jpg
/home/pi/Desktop/images/19012025/04/22/image_19012025_04_22_03_092437_0001.jpg
/home/pi/Desktop/images/19012025/04/22/image_19012025_04_22_03_092437_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329939432","1329939428","1329939430","1329939427"],"photo_ids_order":["1329939427","1329939428","1329939430","1329939432"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/4099b393e441e3b629c7535e3525db85.jpg","text":"TemporaryFile(/tmp/multipartBody1627222496334262920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737257053606,"filename":"image_19012025_04_22_03_092437_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/548dcc40f41b351b0e6e14b83fba5e83.jpg","text":"TemporaryFile(/tmp/multipartBody5278211866542729129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737257053606,"filename":"image_19012025_04_22_03_092437_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/5e319088d17c70458938edd8886e9d94.jpg","text":"TemporaryFile(/tmp/multipartBody2601082548995682553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737257053606,"filename":"image_19012025_04_22_03_092437_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/f49133b213681b4dfe9c3a4e3d61cc48.jpg","text":"TemporaryFile(/tmp/multipartBody812699642432823623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737257053606,"filename":"image_19012025_04_21_02_544127_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329939430","file1":"1329939428","file0":"1329939427","file3":"1329939432"},"map_files_photo_id_array":[{"photo_id":"1329939430","filename":"file2"},{"photo_id":"1329939428","filename":"file1"},{"photo_id":"1329939427","filename":"file0"},{"photo_id":"1329939432","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329939432":["hashtag1","hashtag2"]},{"1329939428":["hashtag1","hashtag2"]},{"1329939430":["hashtag1","hashtag2"]},{"1329939427":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329939432, 1329939428, 1329939430, 1329939427)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.43951869010925 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 04:24:03.182232
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/04/22/image_19012025_04_22_03_092437_0003.jpg', '/home/pi/Desktop/images/19012025/04/23/image_19012025_04_23_02_810587_0000.jpg', '/home/pi/Desktop/images/19012025/04/23/image_19012025_04_23_02_810587_0001.jpg', '/home/pi/Desktop/images/19012025/04/23/image_19012025_04_23_02_810587_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/04/22/image_19012025_04_22_03_092437_0003.jpg
/home/pi/Desktop/images/19012025/04/23/image_19012025_04_23_02_810587_0000.jpg
/home/pi/Desktop/images/19012025/04/23/image_19012025_04_23_02_810587_0001.jpg
/home/pi/Desktop/images/19012025/04/23/image_19012025_04_23_02_810587_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329939581","1329939560","1329939592","1329939588"],"photo_ids_order":["1329939560","1329939581","1329939588","1329939592"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/e6578394c5cfe7fec86b4e7f26e36a04.jpg","text":"TemporaryFile(/tmp/multipartBody1081999072962071412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737257114506,"filename":"image_19012025_04_23_02_810587_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/4fd02e375e954ebdea178474a5bedea5.jpg","text":"TemporaryFile(/tmp/multipartBody481736955611818020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737257114506,"filename":"image_19012025_04_22_03_092437_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/c8c0e65a35836a5f92d7c277fdb54cdd.jpg","text":"TemporaryFile(/tmp/multipartBody2688210810033553284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737257114506,"filename":"image_19012025_04_23_02_810587_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/23b4f9a7c86b965a1966b166e1e0a48d.jpg","text":"TemporaryFile(/tmp/multipartBody1425317085705261136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737257114506,"filename":"image_19012025_04_23_02_810587_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329939588","file1":"1329939581","file0":"1329939560","file3":"1329939592"},"map_files_photo_id_array":[{"photo_id":"1329939588","filename":"file2"},{"photo_id":"1329939581","filename":"file1"},{"photo_id":"1329939560","filename":"file0"},{"photo_id":"1329939592","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329939581":["hashtag1","hashtag2"]},{"1329939560":["hashtag1","hashtag2"]},{"1329939592":["hashtag1","hashtag2"]},{"1329939588":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329939581, 1329939560, 1329939592, 1329939588)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.714508295059204 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 04:25:02.886003
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/04/23/image_19012025_04_23_02_810587_0003.jpg', '/home/pi/Desktop/images/19012025/04/24/image_19012025_04_24_02_374245_0000.jpg', '/home/pi/Desktop/images/19012025/04/24/image_19012025_04_24_02_374245_0001.jpg', '/home/pi/Desktop/images/19012025/04/24/image_19012025_04_24_02_374245_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/04/23/image_19012025_04_23_02_810587_0003.jpg
/home/pi/Desktop/images/19012025/04/24/image_19012025_04_24_02_374245_0000.jpg
/home/pi/Desktop/images/19012025/04/24/image_19012025_04_24_02_374245_0001.jpg
/home/pi/Desktop/images/19012025/04/24/image_19012025_04_24_02_374245_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329940824","1329940827","1329940829","1329940825"],"photo_ids_order":["1329940824","1329940825","1329940827","1329940829"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/5808563fe1f36a90cdab5def66ebdb19.jpg","text":"TemporaryFile(/tmp/multipartBody7074532255656880912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737257174134,"filename":"image_19012025_04_23_02_810587_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/3915c04532488526749764bf8491a3fd.jpg","text":"TemporaryFile(/tmp/multipartBody9070302115085664835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737257174134,"filename":"image_19012025_04_24_02_374245_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/626b29d2495875b5863addfef5427269.jpg","text":"TemporaryFile(/tmp/multipartBody2842359898804610972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737257174134,"filename":"image_19012025_04_24_02_374245_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/ae8f729d4b726de4e8ac845648b83614.jpg","text":"TemporaryFile(/tmp/multipartBody2406079039644816359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737257174134,"filename":"image_19012025_04_24_02_374245_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329940827","file1":"1329940825","file0":"1329940824","file3":"1329940829"},"map_files_photo_id_array":[{"photo_id":"1329940827","filename":"file2"},{"photo_id":"1329940825","filename":"file1"},{"photo_id":"1329940824","filename":"file0"},{"photo_id":"1329940829","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329940824":["hashtag1","hashtag2"]},{"1329940827":["hashtag1","hashtag2"]},{"1329940829":["hashtag1","hashtag2"]},{"1329940825":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329940824, 1329940827, 1329940829, 1329940825)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.34855341911316 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 04:26:03.099011
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/04/24/image_19012025_04_24_02_374245_0003.jpg', '/home/pi/Desktop/images/19012025/04/25/image_19012025_04_25_03_032453_0000.jpg', '/home/pi/Desktop/images/19012025/04/25/image_19012025_04_25_03_032453_0001.jpg', '/home/pi/Desktop/images/19012025/04/25/image_19012025_04_25_03_032453_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/04/24/image_19012025_04_24_02_374245_0003.jpg
/home/pi/Desktop/images/19012025/04/25/image_19012025_04_25_03_032453_0000.jpg
/home/pi/Desktop/images/19012025/04/25/image_19012025_04_25_03_032453_0001.jpg
/home/pi/Desktop/images/19012025/04/25/image_19012025_04_25_03_032453_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329941079","1329940842","1329940839","1329940840"],"photo_ids_order":["1329940839","1329940840","1329940842","1329941079"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/a3a55ca833d8fd257a253abb58fbfd7e.jpg","text":"TemporaryFile(/tmp/multipartBody715826723755639830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737257234421,"filename":"image_19012025_04_25_03_032453_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/6db2396c788c9c660623c1960c5ec3ca.jpg","text":"TemporaryFile(/tmp/multipartBody6628288256485383524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737257234421,"filename":"image_19012025_04_25_03_032453_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/a1b9ab85bc1ea6cc770121d3a680d20e.jpg","text":"TemporaryFile(/tmp/multipartBody6213756435237148689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737257234421,"filename":"image_19012025_04_24_02_374245_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/e719eb6cb5f757b82d1852ee64b3dc62.jpg","text":"TemporaryFile(/tmp/multipartBody6251601461611011355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737257234421,"filename":"image_19012025_04_25_03_032453_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329940842","file1":"1329940840","file0":"1329940839","file3":"1329941079"},"map_files_photo_id_array":[{"photo_id":"1329940842","filename":"file2"},{"photo_id":"1329940840","filename":"file1"},{"photo_id":"1329940839","filename":"file0"},{"photo_id":"1329941079","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329941079":["hashtag1","hashtag2"]},{"1329940842":["hashtag1","hashtag2"]},{"1329940839":["hashtag1","hashtag2"]},{"1329940840":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329941079, 1329940842, 1329940839, 1329940840)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.705074071884155 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 04:27:02.784356
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/04/25/image_19012025_04_25_03_032453_0003.jpg', '/home/pi/Desktop/images/19012025/04/26/image_19012025_04_26_02_514010_0000.jpg', '/home/pi/Desktop/images/19012025/04/26/image_19012025_04_26_02_514010_0001.jpg', '/home/pi/Desktop/images/19012025/04/26/image_19012025_04_26_02_514010_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/04/25/image_19012025_04_25_03_032453_0003.jpg
/home/pi/Desktop/images/19012025/04/26/image_19012025_04_26_02_514010_0000.jpg
/home/pi/Desktop/images/19012025/04/26/image_19012025_04_26_02_514010_0001.jpg
/home/pi/Desktop/images/19012025/04/26/image_19012025_04_26_02_514010_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329941304","1329941288","1329941306","1329941299"],"photo_ids_order":["1329941288","1329941299","1329941304","1329941306"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/954e01a5f5002a86c6fd936a22f692d4.jpg","text":"TemporaryFile(/tmp/multipartBody5832293527989579422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737257293969,"filename":"image_19012025_04_26_02_514010_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/e718255d9657ab617c889a4ba54b2c48.jpg","text":"TemporaryFile(/tmp/multipartBody6157757682178118439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737257293969,"filename":"image_19012025_04_25_03_032453_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/e8646c1562c65154560139265e5d9609.jpg","text":"TemporaryFile(/tmp/multipartBody3507738253693882054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737257293969,"filename":"image_19012025_04_26_02_514010_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/e67789b3877b07f3fa4d3a7b949c237e.jpg","text":"TemporaryFile(/tmp/multipartBody2737479292009570545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737257293969,"filename":"image_19012025_04_26_02_514010_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329941304","file1":"1329941299","file0":"1329941288","file3":"1329941306"},"map_files_photo_id_array":[{"photo_id":"1329941304","filename":"file2"},{"photo_id":"1329941299","filename":"file1"},{"photo_id":"1329941288","filename":"file0"},{"photo_id":"1329941306","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329941304":["hashtag1","hashtag2"]},{"1329941288":["hashtag1","hashtag2"]},{"1329941306":["hashtag1","hashtag2"]},{"1329941299":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329941304, 1329941288, 1329941306, 1329941299)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.393784523010254 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 04:28:02.342740
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/04/26/image_19012025_04_26_02_514010_0003.jpg', '/home/pi/Desktop/images/19012025/04/27/image_19012025_04_27_03_092980_0000.jpg', '/home/pi/Desktop/images/19012025/04/27/image_19012025_04_27_03_092980_0001.jpg', '/home/pi/Desktop/images/19012025/04/27/image_19012025_04_27_03_092980_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/04/26/image_19012025_04_26_02_514010_0003.jpg
/home/pi/Desktop/images/19012025/04/27/image_19012025_04_27_03_092980_0000.jpg
/home/pi/Desktop/images/19012025/04/27/image_19012025_04_27_03_092980_0001.jpg
/home/pi/Desktop/images/19012025/04/27/image_19012025_04_27_03_092980_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329941453","1329941455","1329941457","1329941451"],"photo_ids_order":["1329941451","1329941453","1329941455","1329941457"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/c3ff3b903ef0851ef2af959ef443adaf.jpg","text":"TemporaryFile(/tmp/multipartBody331786809206754603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737257353950,"filename":"image_19012025_04_27_03_092980_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/15c67387f2929cff5c39d7da84f80516.jpg","text":"TemporaryFile(/tmp/multipartBody8885043860552033991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737257353950,"filename":"image_19012025_04_27_03_092980_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/f35e9cdf7e1d74b5569248b01825759a.jpg","text":"TemporaryFile(/tmp/multipartBody2236645882852525882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737257353950,"filename":"image_19012025_04_27_03_092980_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/bede57ca7124c1e52c73aecb6ac953fb.jpg","text":"TemporaryFile(/tmp/multipartBody905305696115731935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737257353950,"filename":"image_19012025_04_26_02_514010_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329941455","file1":"1329941453","file0":"1329941451","file3":"1329941457"},"map_files_photo_id_array":[{"photo_id":"1329941455","filename":"file2"},{"photo_id":"1329941453","filename":"file1"},{"photo_id":"1329941451","filename":"file0"},{"photo_id":"1329941457","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329941453":["hashtag1","hashtag2"]},{"1329941455":["hashtag1","hashtag2"]},{"1329941457":["hashtag1","hashtag2"]},{"1329941451":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329941453, 1329941455, 1329941457, 1329941451)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.026604890823364 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 04:29:03.218745
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/04/27/image_19012025_04_27_03_092980_0003.jpg', '/home/pi/Desktop/images/19012025/04/28/image_19012025_04_28_02_611341_0000.jpg', '/home/pi/Desktop/images/19012025/04/28/image_19012025_04_28_02_611341_0001.jpg', '/home/pi/Desktop/images/19012025/04/28/image_19012025_04_28_02_611341_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/04/27/image_19012025_04_27_03_092980_0003.jpg
/home/pi/Desktop/images/19012025/04/28/image_19012025_04_28_02_611341_0000.jpg
/home/pi/Desktop/images/19012025/04/28/image_19012025_04_28_02_611341_0001.jpg
/home/pi/Desktop/images/19012025/04/28/image_19012025_04_28_02_611341_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329941567","1329941546","1329941572","1329941569"],"photo_ids_order":["1329941546","1329941567","1329941569","1329941572"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/afb3b9f9168d613c9f0d5211e8d23fe5.jpg","text":"TemporaryFile(/tmp/multipartBody439916659789815699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737257414137,"filename":"image_19012025_04_28_02_611341_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/862bf2ae99227b52f1f5cdd7db1a71dc.jpg","text":"TemporaryFile(/tmp/multipartBody220216505939356822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737257414137,"filename":"image_19012025_04_27_03_092980_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/dda89515811395c078744f876b80c991.jpg","text":"TemporaryFile(/tmp/multipartBody2626214773693831051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737257414137,"filename":"image_19012025_04_28_02_611341_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/d1f21a5c4ebe54ec264c9658850e300d.jpg","text":"TemporaryFile(/tmp/multipartBody5414513402044153708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737257414137,"filename":"image_19012025_04_28_02_611341_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329941569","file1":"1329941567","file0":"1329941546","file3":"1329941572"},"map_files_photo_id_array":[{"photo_id":"1329941569","filename":"file2"},{"photo_id":"1329941567","filename":"file1"},{"photo_id":"1329941546","filename":"file0"},{"photo_id":"1329941572","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329941567":["hashtag1","hashtag2"]},{"1329941546":["hashtag1","hashtag2"]},{"1329941572":["hashtag1","hashtag2"]},{"1329941569":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329941567, 1329941546, 1329941572, 1329941569)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.993370056152344 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 04:30:02.580802
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/04/28/image_19012025_04_28_02_611341_0003.jpg', '/home/pi/Desktop/images/19012025/04/29/image_19012025_04_29_02_376936_0001.jpg', '/home/pi/Desktop/images/19012025/04/29/image_19012025_04_29_02_376936_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/04/28/image_19012025_04_28_02_611341_0003.jpg
/home/pi/Desktop/images/19012025/04/29/image_19012025_04_29_02_376936_0001.jpg
/home/pi/Desktop/images/19012025/04/29/image_19012025_04_29_02_376936_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329941759","1329941758","1329941760"],"photo_ids_order":["1329941758","1329941759","1329941760"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/cbb301382d966865c4cc50a696828d91.jpg","text":"TemporaryFile(/tmp/multipartBody1205691880082087487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737257470749,"filename":"image_19012025_04_29_02_376936_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/2595478d33181c86cf66c51ebedd5dc0.jpg","text":"TemporaryFile(/tmp/multipartBody2109330764770451976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737257470749,"filename":"image_19012025_04_28_02_611341_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/16dae7d21116f5b8b0f0531ab97e9c32.jpg","text":"TemporaryFile(/tmp/multipartBody8852037024635114754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737257470749,"filename":"image_19012025_04_29_02_376936_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329941760","file1":"1329941759","file0":"1329941758"},"map_files_photo_id_array":[{"photo_id":"1329941760","filename":"file2"},{"photo_id":"1329941759","filename":"file1"},{"photo_id":"1329941758","filename":"file0"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329941759":["hashtag1","hashtag2"]},{"1329941758":["hashtag1","hashtag2"]},{"1329941760":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329941759, 1329941758, 1329941760)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.917539596557617 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 04:31:03.265563
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/04/29/image_19012025_04_29_02_376936_0003.jpg', '/home/pi/Desktop/images/19012025/04/30/image_19012025_04_30_02_900795_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/04/29/image_19012025_04_29_02_376936_0003.jpg
/home/pi/Desktop/images/19012025/04/30/image_19012025_04_30_02_900795_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329941814","1329941816"],"photo_ids_order":["1329941814","1329941816"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/77b4a7c8ac694ae496a9d104ea6ef902.jpg","text":"TemporaryFile(/tmp/multipartBody3318941371889306355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737257528852,"filename":"image_19012025_04_29_02_376936_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/d8fb807acc411581d78b49297a1bf2ef.jpg","text":"TemporaryFile(/tmp/multipartBody7416681427245940895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737257528852,"filename":"image_19012025_04_30_02_900795_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1329941816","file0":"1329941814"},"map_files_photo_id_array":[{"photo_id":"1329941816","filename":"file1"},{"photo_id":"1329941814","filename":"file0"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329941814":["hashtag1","hashtag2"]},{"1329941816":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329941814, 1329941816)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 23.10031270980835 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 04:32:02.817410
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/04/31/image_19012025_04_31_02_580615_0000.jpg', '/home/pi/Desktop/images/19012025/04/31/image_19012025_04_31_02_580615_0001.jpg', '/home/pi/Desktop/images/19012025/04/31/image_19012025_04_31_02_580615_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/04/31/image_19012025_04_31_02_580615_0000.jpg
/home/pi/Desktop/images/19012025/04/31/image_19012025_04_31_02_580615_0001.jpg
/home/pi/Desktop/images/19012025/04/31/image_19012025_04_31_02_580615_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.3647332191467285 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 04:32:22.345633
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/04/31/image_19012025_04_31_02_580615_0000.jpg', '/home/pi/Desktop/images/19012025/04/31/image_19012025_04_31_02_580615_0001.jpg', '/home/pi/Desktop/images/19012025/04/31/image_19012025_04_31_02_580615_0002.jpg', '/home/pi/Desktop/images/19012025/04/31/image_19012025_04_31_02_580615_0003.jpg', '/home/pi/Desktop/images/19012025/04/32/image_19012025_04_32_03_102070_0000.jpg', '/home/pi/Desktop/images/19012025/04/32/image_19012025_04_32_03_102070_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/04/31/image_19012025_04_31_02_580615_0000.jpg
/home/pi/Desktop/images/19012025/04/31/image_19012025_04_31_02_580615_0001.jpg
/home/pi/Desktop/images/19012025/04/31/image_19012025_04_31_02_580615_0002.jpg
/home/pi/Desktop/images/19012025/04/31/image_19012025_04_31_02_580615_0003.jpg
/home/pi/Desktop/images/19012025/04/32/image_19012025_04_32_03_102070_0000.jpg
/home/pi/Desktop/images/19012025/04/32/image_19012025_04_32_03_102070_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329941888","1329941881","1329941890","1329941848","1329941892","1329941886"],"photo_ids_order":["1329941848","1329941881","1329941886","1329941888","1329941890","1329941892"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/742f9e95626d4dff888ffcf40324eb9f.jpg","text":"TemporaryFile(/tmp/multipartBody114517154683539554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737257617016,"filename":"image_19012025_04_31_02_580615_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/0b979c76eaad7973c4488fcead33b830.jpg","text":"TemporaryFile(/tmp/multipartBody1293347957893889357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737257617016,"filename":"image_19012025_04_31_02_580615_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/7a078dd9bdd0837e4199834bf87f4611.jpg","text":"TemporaryFile(/tmp/multipartBody3794392771993583705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737257617016,"filename":"image_19012025_04_32_03_102070_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/2e4aebe2ad4b230094811005a6761dfc.jpg","text":"TemporaryFile(/tmp/multipartBody4932169183514832790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737257617016,"filename":"image_19012025_04_31_02_580615_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/9768ecac74cb3291da54aa9fe77d0589.jpg","text":"TemporaryFile(/tmp/multipartBody6045924374108330184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737257617016,"filename":"image_19012025_04_32_03_102070_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/3ada326552d06507f61798bb5ba7489a.jpg","text":"TemporaryFile(/tmp/multipartBody6986947418867813116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737257617016,"filename":"image_19012025_04_31_02_580615_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329941886","file1":"1329941881","file0":"1329941848","file4":"1329941890","file5":"1329941892","file3":"1329941888"},"map_files_photo_id_array":[{"photo_id":"1329941892","filename":"file5"},{"photo_id":"1329941886","filename":"file2"},{"photo_id":"1329941890","filename":"file4"},{"photo_id":"1329941881","filename":"file1"},{"photo_id":"1329941848","filename":"file0"},{"photo_id":"1329941888","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329941888":["hashtag1","hashtag2"]},{"1329941881":["hashtag1","hashtag2"]},{"1329941890":["hashtag1","hashtag2"]},{"1329941848":["hashtag1","hashtag2"]},{"1329941892":["hashtag1","hashtag2"]},{"1329941886":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329941888, 1329941881, 1329941890, 1329941848, 1329941892, 1329941886)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.5208535194397 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 04:33:21.867546
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/04/32/image_19012025_04_32_03_102070_0003.jpg', '/home/pi/Desktop/images/19012025/04/33/image_19012025_04_33_02_738895_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/04/32/image_19012025_04_32_03_102070_0003.jpg
/home/pi/Desktop/images/19012025/04/33/image_19012025_04_33_02_738895_0000.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329941925","1329941921"],"photo_ids_order":["1329941921","1329941925"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/bb903965396db20f94497b39f17a2135.jpg","text":"TemporaryFile(/tmp/multipartBody9217569555121048666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737257667269,"filename":"image_19012025_04_33_02_738895_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/35c916c7aa2db4a208a9599f07cd3e64.jpg","text":"TemporaryFile(/tmp/multipartBody6744273926691643159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737257667269,"filename":"image_19012025_04_32_03_102070_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1329941925","file0":"1329941921"},"map_files_photo_id_array":[{"photo_id":"1329941925","filename":"file1"},{"photo_id":"1329941921","filename":"file0"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329941925":["hashtag1","hashtag2"]},{"1329941921":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329941925, 1329941921)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 29.398075580596924 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 04:34:02.929676
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
  port_id : 19698700
  datou_current_id : 2490825
in upload_from_sqlite, uploading in 19698700
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17012025/21/12/image_17012025_21_12_02_679911_0002.jpg', '/home/pi/Desktop/images/17012025/21/12/image_17012025_21_12_02_679911_0003.jpg', '/home/pi/Desktop/images/17012025/21/13/image_17012025_21_13_02_849193_0000.jpg', '/home/pi/Desktop/images/17012025/21/13/image_17012025_21_13_02_849193_0001.jpg', '/home/pi/Desktop/images/17012025/21/13/image_17012025_21_13_02_849193_0002.jpg', '/home/pi/Desktop/images/17012025/21/13/image_17012025_21_13_02_849193_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2490825&datou=0
/home/pi/Desktop/images/17012025/21/12/image_17012025_21_12_02_679911_0002.jpg
/home/pi/Desktop/images/17012025/21/12/image_17012025_21_12_02_679911_0003.jpg
/home/pi/Desktop/images/17012025/21/13/image_17012025_21_13_02_849193_0000.jpg
/home/pi/Desktop/images/17012025/21/13/image_17012025_21_13_02_849193_0001.jpg
/home/pi/Desktop/images/17012025/21/13/image_17012025_21_13_02_849193_0002.jpg
/home/pi/Desktop/images/17012025/21/13/image_17012025_21_13_02_849193_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":["1329942011","1329942008","1329942064","1329942015","1329942117","1329942018"],"photo_ids_order":["1329942008","1329942011","1329942015","1329942018","1329942064","1329942117"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/1b38af810b15293391bc42e47873250a.jpg","text":"TemporaryFile(/tmp/multipartBody824553727541098436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737257721171,"filename":"image_17012025_21_12_02_679911_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/256440869a77111ed7b370d147fb270f.jpg","text":"TemporaryFile(/tmp/multipartBody1029225825090612935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737257721171,"filename":"image_17012025_21_12_02_679911_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/34f018e533bebe9bb7ae8780a665610c.jpg","text":"TemporaryFile(/tmp/multipartBody1527347445049354648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737257721171,"filename":"image_17012025_21_13_02_849193_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/22b7f2728055da78f7bd75a47833810b.jpg","text":"TemporaryFile(/tmp/multipartBody6309059133082316417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737257721171,"filename":"image_17012025_21_13_02_849193_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/6df49766ccb8f14145ea5c01eb4965b1.jpg","text":"TemporaryFile(/tmp/multipartBody1236883032171657915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737257721171,"filename":"image_17012025_21_13_02_849193_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/ec0d6a8ce3b3ceee0c5f2cd28f191918.jpg","text":"TemporaryFile(/tmp/multipartBody7058181599125028791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737257721171,"filename":"image_17012025_21_13_02_849193_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329942015","file1":"1329942011","file0":"1329942008","file4":"1329942064","file5":"1329942117","file3":"1329942018"},"map_files_photo_id_array":[{"photo_id":"1329942117","filename":"file5"},{"photo_id":"1329942015","filename":"file2"},{"photo_id":"1329942064","filename":"file4"},{"photo_id":"1329942011","filename":"file1"},{"photo_id":"1329942008","filename":"file0"},{"photo_id":"1329942018","filename":"file3"}],"portfolio_id":19698700,"hashtag_by_photo_ids":[{"1329942011":["hashtag1","hashtag2"]},{"1329942008":["hashtag1","hashtag2"]},{"1329942064":["hashtag1","hashtag2"]},{"1329942015":["hashtag1","hashtag2"]},{"1329942117":["hashtag1","hashtag2"]},{"1329942018":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698700 used, photo_id : ArrayBuffer(1329942011, 1329942008, 1329942064, 1329942015, 1329942117, 1329942018)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 70.5135064125061 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 04:35:21.958889
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/04/33/image_19012025_04_33_02_738895_0003.jpg', '/home/pi/Desktop/images/19012025/04/34/image_19012025_04_34_02_343166_0001.jpg', '/home/pi/Desktop/images/19012025/04/34/image_19012025_04_34_02_343166_0002.jpg', '/home/pi/Desktop/images/19012025/04/34/image_19012025_04_34_02_343166_0003.jpg', '/home/pi/Desktop/images/19012025/04/35/image_19012025_04_35_02_856325_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/04/33/image_19012025_04_33_02_738895_0003.jpg
/home/pi/Desktop/images/19012025/04/34/image_19012025_04_34_02_343166_0001.jpg
/home/pi/Desktop/images/19012025/04/34/image_19012025_04_34_02_343166_0002.jpg
/home/pi/Desktop/images/19012025/04/34/image_19012025_04_34_02_343166_0003.jpg
/home/pi/Desktop/images/19012025/04/35/image_19012025_04_35_02_856325_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329942182","1329942176","1329942178","1329942180","1329942174"],"photo_ids_order":["1329942174","1329942176","1329942178","1329942180","1329942182"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/4f029d42003070a52d51536c0228437f.jpg","text":"TemporaryFile(/tmp/multipartBody3124857334680852880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737257794591,"filename":"image_19012025_04_35_02_856325_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/7b8614d539af1c3cc11f6f839be3584f.jpg","text":"TemporaryFile(/tmp/multipartBody138337158489343800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737257794591,"filename":"image_19012025_04_34_02_343166_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/de0b97e54b4209f3c8233ab544b2c7e9.jpg","text":"TemporaryFile(/tmp/multipartBody3931743381603857836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737257794591,"filename":"image_19012025_04_34_02_343166_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/7d487476668da2472ed256c4bc04c6fd.jpg","text":"TemporaryFile(/tmp/multipartBody8569966617636407516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737257794591,"filename":"image_19012025_04_34_02_343166_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/7c83c2a91430ccfcbb10307ce3d7fbaa.jpg","text":"TemporaryFile(/tmp/multipartBody8514857559032109188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737257794591,"filename":"image_19012025_04_33_02_738895_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329942178","file1":"1329942176","file0":"1329942174","file4":"1329942182","file3":"1329942180"},"map_files_photo_id_array":[{"photo_id":"1329942178","filename":"file2"},{"photo_id":"1329942182","filename":"file4"},{"photo_id":"1329942176","filename":"file1"},{"photo_id":"1329942174","filename":"file0"},{"photo_id":"1329942180","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329942182":["hashtag1","hashtag2"]},{"1329942176":["hashtag1","hashtag2"]},{"1329942178":["hashtag1","hashtag2"]},{"1329942180":["hashtag1","hashtag2"]},{"1329942174":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329942182, 1329942176, 1329942178, 1329942180, 1329942174)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 47.54885983467102 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 04:36:22.509556
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
  port_id : 19698700
  datou_current_id : 2490825
in upload_from_sqlite, uploading in 19698700
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17012025/21/14/image_17012025_21_14_03_067933_0000.jpg', '/home/pi/Desktop/images/17012025/21/14/image_17012025_21_14_03_067933_0001.jpg', '/home/pi/Desktop/images/17012025/21/14/image_17012025_21_14_03_067933_0002.jpg', '/home/pi/Desktop/images/17012025/21/14/image_17012025_21_14_03_067933_0003.jpg', '/home/pi/Desktop/images/17012025/21/15/image_17012025_21_15_02_218731_0000.jpg', '/home/pi/Desktop/images/17012025/21/15/image_17012025_21_15_02_218731_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2490825&datou=0
/home/pi/Desktop/images/17012025/21/14/image_17012025_21_14_03_067933_0000.jpg
/home/pi/Desktop/images/17012025/21/14/image_17012025_21_14_03_067933_0001.jpg
/home/pi/Desktop/images/17012025/21/14/image_17012025_21_14_03_067933_0002.jpg
/home/pi/Desktop/images/17012025/21/14/image_17012025_21_14_03_067933_0003.jpg
/home/pi/Desktop/images/17012025/21/15/image_17012025_21_15_02_218731_0000.jpg
/home/pi/Desktop/images/17012025/21/15/image_17012025_21_15_02_218731_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329942295","1329942298","1329942292","1329942289","1329942301","1329942285"],"photo_ids_order":["1329942285","1329942289","1329942292","1329942295","1329942298","1329942301"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/7342dd71f78a37cf78173c6a721cdfd9.jpg","text":"TemporaryFile(/tmp/multipartBody347081309653205093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737257860524,"filename":"image_17012025_21_14_03_067933_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/530ad388dc60659e7bd003bed49925c5.jpg","text":"TemporaryFile(/tmp/multipartBody1140125445951473602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737257860524,"filename":"image_17012025_21_15_02_218731_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/02908f2b3f0f902d3d201c7b94a6ba43.jpg","text":"TemporaryFile(/tmp/multipartBody245429983415973791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737257860524,"filename":"image_17012025_21_14_03_067933_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/a5745a5c84103ac48a002fa27a20f170.jpg","text":"TemporaryFile(/tmp/multipartBody833210912881340643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737257860524,"filename":"image_17012025_21_14_03_067933_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/544053d593d918301125578e31ae1bb4.jpg","text":"TemporaryFile(/tmp/multipartBody4094377151038696082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737257860524,"filename":"image_17012025_21_15_02_218731_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/997cce7ef127559ac2a26a8731acf680.jpg","text":"TemporaryFile(/tmp/multipartBody3159463337744601100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737257860524,"filename":"image_17012025_21_14_03_067933_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329942292","file1":"1329942289","file0":"1329942285","file4":"1329942298","file5":"1329942301","file3":"1329942295"},"map_files_photo_id_array":[{"photo_id":"1329942301","filename":"file5"},{"photo_id":"1329942292","filename":"file2"},{"photo_id":"1329942298","filename":"file4"},{"photo_id":"1329942289","filename":"file1"},{"photo_id":"1329942285","filename":"file0"},{"photo_id":"1329942295","filename":"file3"}],"portfolio_id":19698700,"hashtag_by_photo_ids":[{"1329942295":["hashtag1","hashtag2"]},{"1329942298":["hashtag1","hashtag2"]},{"1329942292":["hashtag1","hashtag2"]},{"1329942289":["hashtag1","hashtag2"]},{"1329942301":["hashtag1","hashtag2"]},{"1329942285":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698700 used, photo_id : ArrayBuffer(1329942295, 1329942298, 1329942292, 1329942289, 1329942301, 1329942285)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.91688084602356 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 04:37:22.029898
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
  port_id : 19698700
  datou_current_id : 2490825
in upload_from_sqlite, uploading in 19698700
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17012025/21/15/image_17012025_21_15_02_218731_0002.jpg', '/home/pi/Desktop/images/17012025/21/15/image_17012025_21_15_02_218731_0003.jpg', '/home/pi/Desktop/images/17012025/21/16/image_17012025_21_16_02_401510_0000.jpg', '/home/pi/Desktop/images/17012025/21/16/image_17012025_21_16_02_401510_0001.jpg', '/home/pi/Desktop/images/17012025/21/16/image_17012025_21_16_02_401510_0002.jpg', '/home/pi/Desktop/images/17012025/21/16/image_17012025_21_16_02_401510_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2490825&datou=0
/home/pi/Desktop/images/17012025/21/15/image_17012025_21_15_02_218731_0002.jpg
/home/pi/Desktop/images/17012025/21/15/image_17012025_21_15_02_218731_0003.jpg
/home/pi/Desktop/images/17012025/21/16/image_17012025_21_16_02_401510_0000.jpg
/home/pi/Desktop/images/17012025/21/16/image_17012025_21_16_02_401510_0001.jpg
/home/pi/Desktop/images/17012025/21/16/image_17012025_21_16_02_401510_0002.jpg
/home/pi/Desktop/images/17012025/21/16/image_17012025_21_16_02_401510_0003.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329942318","1329942314","1329942308","1329942316","1329942319","1329942312"],"photo_ids_order":["1329942308","1329942312","1329942314","1329942316","1329942318","1329942319"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/30cc4c085cb5d3881bd6a5a2b3ff5d46.jpg","text":"TemporaryFile(/tmp/multipartBody7424397371705848924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737257919387,"filename":"image_17012025_21_16_02_401510_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/44ed059a9fc1a3727eadba0a21757d8a.jpg","text":"TemporaryFile(/tmp/multipartBody6290820434639160315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737257919387,"filename":"image_17012025_21_16_02_401510_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/cfd4b9143ed71aae7785e39b332ed3ba.jpg","text":"TemporaryFile(/tmp/multipartBody5389353211259483501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737257919387,"filename":"image_17012025_21_15_02_218731_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/1af2e5da15d161b8afa2ea6923277bc1.jpg","text":"TemporaryFile(/tmp/multipartBody2825203062015318243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737257919387,"filename":"image_17012025_21_16_02_401510_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/c987630e7cd2de9d9b1174e8cbf3c0bc.jpg","text":"TemporaryFile(/tmp/multipartBody5602300431727164009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737257919387,"filename":"image_17012025_21_16_02_401510_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/7622104b3a9a8bb5fa4f844129885024.jpg","text":"TemporaryFile(/tmp/multipartBody1996657563947273371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737257919387,"filename":"image_17012025_21_15_02_218731_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329942314","file1":"1329942312","file0":"1329942308","file4":"1329942318","file5":"1329942319","file3":"1329942316"},"map_files_photo_id_array":[{"photo_id":"1329942319","filename":"file5"},{"photo_id":"1329942314","filename":"file2"},{"photo_id":"1329942318","filename":"file4"},{"photo_id":"1329942312","filename":"file1"},{"photo_id":"1329942308","filename":"file0"},{"photo_id":"1329942316","filename":"file3"}],"portfolio_id":19698700,"hashtag_by_photo_ids":[{"1329942318":["hashtag1","hashtag2"]},{"1329942314":["hashtag1","hashtag2"]},{"1329942308":["hashtag1","hashtag2"]},{"1329942316":["hashtag1","hashtag2"]},{"1329942319":["hashtag1","hashtag2"]},{"1329942312":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698700 used, photo_id : ArrayBuffer(1329942318, 1329942314, 1329942308, 1329942316, 1329942319, 1329942312)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.90461874008179 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 04:38:22.455546
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
  port_id : 19698700
  datou_current_id : 2490825
in upload_from_sqlite, uploading in 19698700
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17012025/21/17/image_17012025_21_17_02_515060_0000.jpg', '/home/pi/Desktop/images/17012025/21/17/image_17012025_21_17_02_515060_0001.jpg', '/home/pi/Desktop/images/17012025/21/17/image_17012025_21_17_02_515060_0002.jpg', '/home/pi/Desktop/images/17012025/21/17/image_17012025_21_17_02_515060_0003.jpg', '/home/pi/Desktop/images/17012025/21/18/image_17012025_21_18_02_765874_0000.jpg', '/home/pi/Desktop/images/17012025/21/18/image_17012025_21_18_02_765874_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2490825&datou=0
/home/pi/Desktop/images/17012025/21/17/image_17012025_21_17_02_515060_0000.jpg
/home/pi/Desktop/images/17012025/21/17/image_17012025_21_17_02_515060_0001.jpg
/home/pi/Desktop/images/17012025/21/17/image_17012025_21_17_02_515060_0002.jpg
/home/pi/Desktop/images/17012025/21/17/image_17012025_21_17_02_515060_0003.jpg
/home/pi/Desktop/images/17012025/21/18/image_17012025_21_18_02_765874_0000.jpg
/home/pi/Desktop/images/17012025/21/18/image_17012025_21_18_02_765874_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: 17.237239599227905 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 04:39:02.676741
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
  port_id : 19698700
  datou_current_id : 2490825
in upload_from_sqlite, uploading in 19698700
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17012025/21/17/image_17012025_21_17_02_515060_0000.jpg', '/home/pi/Desktop/images/17012025/21/17/image_17012025_21_17_02_515060_0001.jpg', '/home/pi/Desktop/images/17012025/21/17/image_17012025_21_17_02_515060_0002.jpg', '/home/pi/Desktop/images/17012025/21/17/image_17012025_21_17_02_515060_0003.jpg', '/home/pi/Desktop/images/17012025/21/18/image_17012025_21_18_02_765874_0000.jpg', '/home/pi/Desktop/images/17012025/21/18/image_17012025_21_18_02_765874_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2490825&datou=0
/home/pi/Desktop/images/17012025/21/17/image_17012025_21_17_02_515060_0000.jpg
/home/pi/Desktop/images/17012025/21/17/image_17012025_21_17_02_515060_0001.jpg
/home/pi/Desktop/images/17012025/21/17/image_17012025_21_17_02_515060_0002.jpg
/home/pi/Desktop/images/17012025/21/17/image_17012025_21_17_02_515060_0003.jpg
/home/pi/Desktop/images/17012025/21/18/image_17012025_21_18_02_765874_0000.jpg
/home/pi/Desktop/images/17012025/21/18/image_17012025_21_18_02_765874_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329943121","1329943019","1329942908","1329942792","1329943227","1329943367"],"photo_ids_order":["1329942792","1329942908","1329943019","1329943121","1329943227","1329943367"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/08180f01f26f04584612faca5d3374f9.jpg","text":"TemporaryFile(/tmp/multipartBody7757020488806484834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737258020214,"filename":"image_17012025_21_17_02_515060_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/c76ded088dcc591c6ee1b19793b30340.jpg","text":"TemporaryFile(/tmp/multipartBody6421558176064814055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737258020214,"filename":"image_17012025_21_17_02_515060_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/e188598c6675e36bff6e76dc07f9a01b.jpg","text":"TemporaryFile(/tmp/multipartBody8665904501294876160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737258020214,"filename":"image_17012025_21_17_02_515060_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/b3fd62eb6ec9d31ed298b9af5a585626.jpg","text":"TemporaryFile(/tmp/multipartBody3665986874193458364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737258020214,"filename":"image_17012025_21_17_02_515060_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/31794af6542c9ee490f80714866eaaf7.jpg","text":"TemporaryFile(/tmp/multipartBody4762314274342121227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737258020214,"filename":"image_17012025_21_18_02_765874_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/b934f7ff2d71104f6369640d7a4b4b74.jpg","text":"TemporaryFile(/tmp/multipartBody925270374020654039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737258020214,"filename":"image_17012025_21_18_02_765874_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329943019","file1":"1329942908","file0":"1329942792","file4":"1329943227","file5":"1329943367","file3":"1329943121"},"map_files_photo_id_array":[{"photo_id":"1329943367","filename":"file5"},{"photo_id":"1329943019","filename":"file2"},{"photo_id":"1329943227","filename":"file4"},{"photo_id":"1329942908","filename":"file1"},{"photo_id":"1329942792","filename":"file0"},{"photo_id":"1329943121","filename":"file3"}],"portfolio_id":19698700,"hashtag_by_photo_ids":[{"1329943121":["hashtag1","hashtag2"]},{"1329943019":["hashtag1","hashtag2"]},{"1329942908":["hashtag1","hashtag2"]},{"1329942792":["hashtag1","hashtag2"]},{"1329943227":["hashtag1","hashtag2"]},{"1329943367":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698700 used, photo_id : ArrayBuffer(1329943121, 1329943019, 1329942908, 1329942792, 1329943227, 1329943367)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.62799572944641 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 04:40:02.989381
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
  port_id : 19698700
  datou_current_id : 2490825
in upload_from_sqlite, uploading in 19698700
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17012025/21/18/image_17012025_21_18_02_765874_0002.jpg', '/home/pi/Desktop/images/17012025/21/18/image_17012025_21_18_02_765874_0003.jpg', '/home/pi/Desktop/images/17012025/21/19/image_17012025_21_19_02_876801_0000.jpg', '/home/pi/Desktop/images/17012025/21/19/image_17012025_21_19_02_876801_0001.jpg', '/home/pi/Desktop/images/17012025/21/19/image_17012025_21_19_02_876801_0002.jpg', '/home/pi/Desktop/images/17012025/21/19/image_17012025_21_19_02_876801_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2490825&datou=0
/home/pi/Desktop/images/17012025/21/18/image_17012025_21_18_02_765874_0002.jpg
/home/pi/Desktop/images/17012025/21/18/image_17012025_21_18_02_765874_0003.jpg
/home/pi/Desktop/images/17012025/21/19/image_17012025_21_19_02_876801_0000.jpg
/home/pi/Desktop/images/17012025/21/19/image_17012025_21_19_02_876801_0001.jpg
/home/pi/Desktop/images/17012025/21/19/image_17012025_21_19_02_876801_0002.jpg
/home/pi/Desktop/images/17012025/21/19/image_17012025_21_19_02_876801_0003.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 16.99020743370056 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 04:40:22.631065
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
  port_id : 19698700
  datou_current_id : 2490825
in upload_from_sqlite, uploading in 19698700
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17012025/21/18/image_17012025_21_18_02_765874_0002.jpg', '/home/pi/Desktop/images/17012025/21/18/image_17012025_21_18_02_765874_0003.jpg', '/home/pi/Desktop/images/17012025/21/19/image_17012025_21_19_02_876801_0000.jpg', '/home/pi/Desktop/images/17012025/21/19/image_17012025_21_19_02_876801_0001.jpg', '/home/pi/Desktop/images/17012025/21/19/image_17012025_21_19_02_876801_0002.jpg', '/home/pi/Desktop/images/17012025/21/19/image_17012025_21_19_02_876801_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2490825&datou=0
/home/pi/Desktop/images/17012025/21/18/image_17012025_21_18_02_765874_0002.jpg
/home/pi/Desktop/images/17012025/21/18/image_17012025_21_18_02_765874_0003.jpg
/home/pi/Desktop/images/17012025/21/19/image_17012025_21_19_02_876801_0000.jpg
/home/pi/Desktop/images/17012025/21/19/image_17012025_21_19_02_876801_0001.jpg
/home/pi/Desktop/images/17012025/21/19/image_17012025_21_19_02_876801_0002.jpg
/home/pi/Desktop/images/17012025/21/19/image_17012025_21_19_02_876801_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":["1329943607","1329943520","1329943523","1329943516","1329943525","1329943710"],"photo_ids_order":["1329943516","1329943520","1329943523","1329943525","1329943607","1329943710"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/304307237d8b1188509e9182892a263d.jpg","text":"TemporaryFile(/tmp/multipartBody7995713334293050429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737258099806,"filename":"image_17012025_21_19_02_876801_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/44f3888d0295e3b310d4e4c4a11bab6b.jpg","text":"TemporaryFile(/tmp/multipartBody4392656968861421218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737258099806,"filename":"image_17012025_21_18_02_765874_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/7dbd8cf90677148d08d55936c02a623b.jpg","text":"TemporaryFile(/tmp/multipartBody5886653124375078972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737258099806,"filename":"image_17012025_21_19_02_876801_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/592ecc9cbd315fa8a85618dee8a2b062.jpg","text":"TemporaryFile(/tmp/multipartBody4699609018539610596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737258099806,"filename":"image_17012025_21_18_02_765874_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/57eded4fe9b29d56af662c5dd9457181.jpg","text":"TemporaryFile(/tmp/multipartBody3300358453293499545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737258099806,"filename":"image_17012025_21_19_02_876801_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/12f9908391316197c04c28ebf63ae534.jpg","text":"TemporaryFile(/tmp/multipartBody1312605505842842116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737258099806,"filename":"image_17012025_21_19_02_876801_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329943523","file1":"1329943520","file0":"1329943516","file4":"1329943607","file5":"1329943710","file3":"1329943525"},"map_files_photo_id_array":[{"photo_id":"1329943710","filename":"file5"},{"photo_id":"1329943523","filename":"file2"},{"photo_id":"1329943607","filename":"file4"},{"photo_id":"1329943520","filename":"file1"},{"photo_id":"1329943516","filename":"file0"},{"photo_id":"1329943525","filename":"file3"}],"portfolio_id":19698700,"hashtag_by_photo_ids":[{"1329943607":["hashtag1","hashtag2"]},{"1329943520":["hashtag1","hashtag2"]},{"1329943523":["hashtag1","hashtag2"]},{"1329943516":["hashtag1","hashtag2"]},{"1329943525":["hashtag1","hashtag2"]},{"1329943710":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698700 used, photo_id : ArrayBuffer(1329943607, 1329943520, 1329943523, 1329943516, 1329943525, 1329943710)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 63.49014496803284 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 04:42:03.040737
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
  port_id : 19698700
  datou_current_id : 2490825
in upload_from_sqlite, uploading in 19698700
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17012025/21/20/image_17012025_21_20_03_067697_0000.jpg', '/home/pi/Desktop/images/17012025/21/20/image_17012025_21_20_03_067697_0001.jpg', '/home/pi/Desktop/images/17012025/21/20/image_17012025_21_20_03_067697_0002.jpg', '/home/pi/Desktop/images/17012025/21/20/image_17012025_21_20_03_067697_0003.jpg', '/home/pi/Desktop/images/17012025/21/21/image_17012025_21_21_02_206404_0000.jpg', '/home/pi/Desktop/images/17012025/21/21/image_17012025_21_21_02_206404_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2490825&datou=0
/home/pi/Desktop/images/17012025/21/20/image_17012025_21_20_03_067697_0000.jpg
/home/pi/Desktop/images/17012025/21/20/image_17012025_21_20_03_067697_0001.jpg
/home/pi/Desktop/images/17012025/21/20/image_17012025_21_20_03_067697_0002.jpg
/home/pi/Desktop/images/17012025/21/20/image_17012025_21_20_03_067697_0003.jpg
/home/pi/Desktop/images/17012025/21/21/image_17012025_21_21_02_206404_0000.jpg
/home/pi/Desktop/images/17012025/21/21/image_17012025_21_21_02_206404_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329944094","1329944046","1329944096","1329944090","1329944084","1329944087"],"photo_ids_order":["1329944046","1329944084","1329944087","1329944090","1329944094","1329944096"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/28b4ef30b9dd06bea09a59eb4b5c19eb.jpg","text":"TemporaryFile(/tmp/multipartBody1400460252595634185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737258200596,"filename":"image_17012025_21_21_02_206404_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/26106bec51c256f7ebc6e6dfbe470e8f.jpg","text":"TemporaryFile(/tmp/multipartBody2846748945697819272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737258200596,"filename":"image_17012025_21_20_03_067697_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/2b243c372570fb0d25e10e529b751a1c.jpg","text":"TemporaryFile(/tmp/multipartBody6973119979901609208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737258200596,"filename":"image_17012025_21_21_02_206404_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/624da579770fea30c3cef8206284c1ff.jpg","text":"TemporaryFile(/tmp/multipartBody8812914271222127956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737258200596,"filename":"image_17012025_21_20_03_067697_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/56ea4b08a595d64eeb46a20c81f71c2f.jpg","text":"TemporaryFile(/tmp/multipartBody8512653281068693027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737258200596,"filename":"image_17012025_21_20_03_067697_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/1c7c6d00bd81782d8dcfbaacfa25bff5.jpg","text":"TemporaryFile(/tmp/multipartBody5963450307212091116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737258200596,"filename":"image_17012025_21_20_03_067697_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329944087","file1":"1329944084","file0":"1329944046","file4":"1329944094","file5":"1329944096","file3":"1329944090"},"map_files_photo_id_array":[{"photo_id":"1329944096","filename":"file5"},{"photo_id":"1329944087","filename":"file2"},{"photo_id":"1329944094","filename":"file4"},{"photo_id":"1329944084","filename":"file1"},{"photo_id":"1329944046","filename":"file0"},{"photo_id":"1329944090","filename":"file3"}],"portfolio_id":19698700,"hashtag_by_photo_ids":[{"1329944094":["hashtag1","hashtag2"]},{"1329944046":["hashtag1","hashtag2"]},{"1329944096":["hashtag1","hashtag2"]},{"1329944090":["hashtag1","hashtag2"]},{"1329944084":["hashtag1","hashtag2"]},{"1329944087":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698700 used, photo_id : ArrayBuffer(1329944094, 1329944046, 1329944096, 1329944090, 1329944084, 1329944087)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.02380299568176 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 04:43:02.782782
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
  port_id : 19698700
  datou_current_id : 2490825
in upload_from_sqlite, uploading in 19698700
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17012025/21/21/image_17012025_21_21_02_206404_0002.jpg', '/home/pi/Desktop/images/17012025/21/21/image_17012025_21_21_02_206404_0003.jpg', '/home/pi/Desktop/images/17012025/21/22/image_17012025_21_22_02_444084_0000.jpg', '/home/pi/Desktop/images/17012025/21/22/image_17012025_21_22_02_444084_0001.jpg', '/home/pi/Desktop/images/17012025/21/22/image_17012025_21_22_02_444084_0002.jpg', '/home/pi/Desktop/images/17012025/21/22/image_17012025_21_22_02_444084_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2490825&datou=0
/home/pi/Desktop/images/17012025/21/21/image_17012025_21_21_02_206404_0002.jpg
/home/pi/Desktop/images/17012025/21/21/image_17012025_21_21_02_206404_0003.jpg
/home/pi/Desktop/images/17012025/21/22/image_17012025_21_22_02_444084_0000.jpg
/home/pi/Desktop/images/17012025/21/22/image_17012025_21_22_02_444084_0001.jpg
/home/pi/Desktop/images/17012025/21/22/image_17012025_21_22_02_444084_0002.jpg
/home/pi/Desktop/images/17012025/21/22/image_17012025_21_22_02_444084_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":["1329944449","1329944419","1329944451","1329944445","1329944439","1329944579"],"photo_ids_order":["1329944419","1329944439","1329944445","1329944449","1329944451","1329944579"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/12fbdac4cbadb3f8f10f7cdef1a3054e.jpg","text":"TemporaryFile(/tmp/multipartBody2631559453524656601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737258260261,"filename":"image_17012025_21_22_02_444084_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/5886ef50abbd81f165359564f5dc6e50.jpg","text":"TemporaryFile(/tmp/multipartBody8519998121288635401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737258260261,"filename":"image_17012025_21_21_02_206404_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/1d7519a7dd3e2f0f34c525d3c96b4078.jpg","text":"TemporaryFile(/tmp/multipartBody7427774984713447844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737258260261,"filename":"image_17012025_21_22_02_444084_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/bd86d48fc482c0a19819ea235bb2b6bf.jpg","text":"TemporaryFile(/tmp/multipartBody6509097922897219999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737258260261,"filename":"image_17012025_21_22_02_444084_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/2f4e16ee7bc1ed87f8ac5056136deb51.jpg","text":"TemporaryFile(/tmp/multipartBody8879482184022654884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737258260261,"filename":"image_17012025_21_21_02_206404_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/bb999df6e7bf152db4d86a1e87bbc1c5.jpg","text":"TemporaryFile(/tmp/multipartBody624520428311608167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737258260261,"filename":"image_17012025_21_22_02_444084_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329944445","file1":"1329944439","file0":"1329944419","file4":"1329944451","file5":"1329944579","file3":"1329944449"},"map_files_photo_id_array":[{"photo_id":"1329944579","filename":"file5"},{"photo_id":"1329944445","filename":"file2"},{"photo_id":"1329944451","filename":"file4"},{"photo_id":"1329944439","filename":"file1"},{"photo_id":"1329944419","filename":"file0"},{"photo_id":"1329944449","filename":"file3"}],"portfolio_id":19698700,"hashtag_by_photo_ids":[{"1329944449":["hashtag1","hashtag2"]},{"1329944419":["hashtag1","hashtag2"]},{"1329944451":["hashtag1","hashtag2"]},{"1329944445":["hashtag1","hashtag2"]},{"1329944439":["hashtag1","hashtag2"]},{"1329944579":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698700 used, photo_id : ArrayBuffer(1329944449, 1329944419, 1329944451, 1329944445, 1329944439, 1329944579)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.562387466430664 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 04:44:21.869802
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
  port_id : 19698700
  datou_current_id : 2490825
in upload_from_sqlite, uploading in 19698700
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17012025/21/23/image_17012025_21_23_02_495777_0000.jpg', '/home/pi/Desktop/images/17012025/21/23/image_17012025_21_23_02_495777_0001.jpg', '/home/pi/Desktop/images/17012025/21/23/image_17012025_21_23_02_495777_0002.jpg', '/home/pi/Desktop/images/17012025/21/23/image_17012025_21_23_02_495777_0003.jpg', '/home/pi/Desktop/images/17012025/21/24/image_17012025_21_24_02_707909_0000.jpg', '/home/pi/Desktop/images/17012025/21/24/image_17012025_21_24_02_707909_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2490825&datou=0
/home/pi/Desktop/images/17012025/21/23/image_17012025_21_23_02_495777_0000.jpg
/home/pi/Desktop/images/17012025/21/23/image_17012025_21_23_02_495777_0001.jpg
/home/pi/Desktop/images/17012025/21/23/image_17012025_21_23_02_495777_0002.jpg
/home/pi/Desktop/images/17012025/21/23/image_17012025_21_23_02_495777_0003.jpg
/home/pi/Desktop/images/17012025/21/24/image_17012025_21_24_02_707909_0000.jpg
/home/pi/Desktop/images/17012025/21/24/image_17012025_21_24_02_707909_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329944665","1329944651","1329944669","1329944660","1329944663","1329944657"],"photo_ids_order":["1329944651","1329944657","1329944660","1329944663","1329944665","1329944669"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/3cfa84c1abfa551557e7c7a0aceb15aa.jpg","text":"TemporaryFile(/tmp/multipartBody8480115444842526074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737258339232,"filename":"image_17012025_21_24_02_707909_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/9a665486227b27b28d2d2ba898df82e2.jpg","text":"TemporaryFile(/tmp/multipartBody3674321964496014130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737258339232,"filename":"image_17012025_21_23_02_495777_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/962a8a8f5110c84c6046de54b1f8339b.jpg","text":"TemporaryFile(/tmp/multipartBody7144589359854244530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737258339232,"filename":"image_17012025_21_24_02_707909_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/179b99eaa83dd4f1768e185ec523b44e.jpg","text":"TemporaryFile(/tmp/multipartBody574714887954498137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737258339232,"filename":"image_17012025_21_23_02_495777_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/225619add72b378e1734a9d222d031d9.jpg","text":"TemporaryFile(/tmp/multipartBody3452264507976470979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737258339232,"filename":"image_17012025_21_23_02_495777_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/d87c53cc523cdd448d44012727abb4df.jpg","text":"TemporaryFile(/tmp/multipartBody3771173994140444592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737258339232,"filename":"image_17012025_21_23_02_495777_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329944660","file1":"1329944657","file0":"1329944651","file4":"1329944665","file5":"1329944669","file3":"1329944663"},"map_files_photo_id_array":[{"photo_id":"1329944669","filename":"file5"},{"photo_id":"1329944660","filename":"file2"},{"photo_id":"1329944665","filename":"file4"},{"photo_id":"1329944657","filename":"file1"},{"photo_id":"1329944651","filename":"file0"},{"photo_id":"1329944663","filename":"file3"}],"portfolio_id":19698700,"hashtag_by_photo_ids":[{"1329944665":["hashtag1","hashtag2"]},{"1329944651":["hashtag1","hashtag2"]},{"1329944669":["hashtag1","hashtag2"]},{"1329944660":["hashtag1","hashtag2"]},{"1329944663":["hashtag1","hashtag2"]},{"1329944657":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698700 used, photo_id : ArrayBuffer(1329944665, 1329944651, 1329944669, 1329944660, 1329944663, 1329944657)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.63641428947449 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 04:45:22.295283
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
  port_id : 19698700
  datou_current_id : 2490825
in upload_from_sqlite, uploading in 19698700
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17012025/21/24/image_17012025_21_24_02_707909_0002.jpg', '/home/pi/Desktop/images/17012025/21/24/image_17012025_21_24_02_707909_0003.jpg', '/home/pi/Desktop/images/17012025/21/25/image_17012025_21_25_02_963085_0000.jpg', '/home/pi/Desktop/images/17012025/21/25/image_17012025_21_25_02_963085_0001.jpg', '/home/pi/Desktop/images/17012025/21/25/image_17012025_21_25_02_963085_0002.jpg', '/home/pi/Desktop/images/17012025/21/25/image_17012025_21_25_02_963085_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2490825&datou=0
/home/pi/Desktop/images/17012025/21/24/image_17012025_21_24_02_707909_0002.jpg
/home/pi/Desktop/images/17012025/21/24/image_17012025_21_24_02_707909_0003.jpg
/home/pi/Desktop/images/17012025/21/25/image_17012025_21_25_02_963085_0000.jpg
/home/pi/Desktop/images/17012025/21/25/image_17012025_21_25_02_963085_0001.jpg
/home/pi/Desktop/images/17012025/21/25/image_17012025_21_25_02_963085_0002.jpg
/home/pi/Desktop/images/17012025/21/25/image_17012025_21_25_02_963085_0003.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329946386","1329945363","1329945617","1329946537","1329945871","1329946129"],"photo_ids_order":["1329945363","1329945617","1329945871","1329946129","1329946386","1329946537"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/38244345287c0652bda56d07289dd6ea.jpg","text":"TemporaryFile(/tmp/multipartBody1824539311384098518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737258399776,"filename":"image_17012025_21_25_02_963085_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/a5fdd9d0174a3b5b0ed95aaf4b244a44.jpg","text":"TemporaryFile(/tmp/multipartBody1301198816640439032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737258399776,"filename":"image_17012025_21_24_02_707909_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/e9e0953c86962566d9ee35ec26c1da0c.jpg","text":"TemporaryFile(/tmp/multipartBody3033008390794418004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737258399776,"filename":"image_17012025_21_24_02_707909_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/9f885958f00339b7ec325c0bc7cf7418.jpg","text":"TemporaryFile(/tmp/multipartBody7581789257617314015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737258399776,"filename":"image_17012025_21_25_02_963085_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/e815d7c1cfd7ef17b77fa2c2d6c7571d.jpg","text":"TemporaryFile(/tmp/multipartBody3115223206001297148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737258399776,"filename":"image_17012025_21_25_02_963085_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/f7ede228b9cd06b4e6c4bc4e8c92d2d3.jpg","text":"TemporaryFile(/tmp/multipartBody4074325151489578027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737258399776,"filename":"image_17012025_21_25_02_963085_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329945871","file1":"1329945617","file0":"1329945363","file4":"1329946386","file5":"1329946537","file3":"1329946129"},"map_files_photo_id_array":[{"photo_id":"1329946537","filename":"file5"},{"photo_id":"1329945871","filename":"file2"},{"photo_id":"1329946386","filename":"file4"},{"photo_id":"1329945617","filename":"file1"},{"photo_id":"1329945363","filename":"file0"},{"photo_id":"1329946129","filename":"file3"}],"portfolio_id":19698700,"hashtag_by_photo_ids":[{"1329946386":["hashtag1","hashtag2"]},{"1329945363":["hashtag1","hashtag2"]},{"1329945617":["hashtag1","hashtag2"]},{"1329946537":["hashtag1","hashtag2"]},{"1329945871":["hashtag1","hashtag2"]},{"1329946129":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698700 used, photo_id : ArrayBuffer(1329946386, 1329945363, 1329945617, 1329946537, 1329945871, 1329946129)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.118508100509644 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 04:46:21.801096
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
  port_id : 19698700
  datou_current_id : 2490825
in upload_from_sqlite, uploading in 19698700
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17012025/21/26/image_17012025_21_26_03_022552_0000.jpg', '/home/pi/Desktop/images/17012025/21/26/image_17012025_21_26_03_022552_0001.jpg', '/home/pi/Desktop/images/17012025/21/26/image_17012025_21_26_03_022552_0002.jpg', '/home/pi/Desktop/images/17012025/21/26/image_17012025_21_26_03_022552_0003.jpg', '/home/pi/Desktop/images/17012025/21/27/image_17012025_21_27_02_267495_0000.jpg', '/home/pi/Desktop/images/17012025/21/27/image_17012025_21_27_02_267495_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2490825&datou=0
/home/pi/Desktop/images/17012025/21/26/image_17012025_21_26_03_022552_0000.jpg
/home/pi/Desktop/images/17012025/21/26/image_17012025_21_26_03_022552_0001.jpg
/home/pi/Desktop/images/17012025/21/26/image_17012025_21_26_03_022552_0002.jpg
/home/pi/Desktop/images/17012025/21/26/image_17012025_21_26_03_022552_0003.jpg
/home/pi/Desktop/images/17012025/21/27/image_17012025_21_27_02_267495_0000.jpg
/home/pi/Desktop/images/17012025/21/27/image_17012025_21_27_02_267495_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329946557","1329946551","1329946559","1329946544","1329946547","1329946549"],"photo_ids_order":["1329946544","1329946547","1329946549","1329946551","1329946557","1329946559"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/49dda1463934a23d4db49f400dabe7a8.jpg","text":"TemporaryFile(/tmp/multipartBody1493358176829364453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737258459494,"filename":"image_17012025_21_27_02_267495_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/fb11a21a05fad063995474b9365cf891.jpg","text":"TemporaryFile(/tmp/multipartBody6592118043488971065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737258459494,"filename":"image_17012025_21_26_03_022552_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/59cef2464d3f6834f52009f05a5959c9.jpg","text":"TemporaryFile(/tmp/multipartBody6318470532136642596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737258459494,"filename":"image_17012025_21_27_02_267495_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/8777c733c1a9b40aa28b8ab361f67223.jpg","text":"TemporaryFile(/tmp/multipartBody7376811666656857194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737258459494,"filename":"image_17012025_21_26_03_022552_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/c2364670785e3ff14c75217cbf414b7f.jpg","text":"TemporaryFile(/tmp/multipartBody1140450476651770727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737258459494,"filename":"image_17012025_21_26_03_022552_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/1667949c0237132ab9eae05a08a8dcd9.jpg","text":"TemporaryFile(/tmp/multipartBody315630551257171168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737258459494,"filename":"image_17012025_21_26_03_022552_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329946549","file1":"1329946547","file0":"1329946544","file4":"1329946557","file5":"1329946559","file3":"1329946551"},"map_files_photo_id_array":[{"photo_id":"1329946559","filename":"file5"},{"photo_id":"1329946549","filename":"file2"},{"photo_id":"1329946557","filename":"file4"},{"photo_id":"1329946547","filename":"file1"},{"photo_id":"1329946544","filename":"file0"},{"photo_id":"1329946551","filename":"file3"}],"portfolio_id":19698700,"hashtag_by_photo_ids":[{"1329946557":["hashtag1","hashtag2"]},{"1329946551":["hashtag1","hashtag2"]},{"1329946559":["hashtag1","hashtag2"]},{"1329946544":["hashtag1","hashtag2"]},{"1329946547":["hashtag1","hashtag2"]},{"1329946549":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698700 used, photo_id : ArrayBuffer(1329946557, 1329946551, 1329946559, 1329946544, 1329946547, 1329946549)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.667582511901855 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 04:47:22.304750
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
  port_id : 19698700
  datou_current_id : 2490825
in upload_from_sqlite, uploading in 19698700
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17012025/21/27/image_17012025_21_27_02_267495_0002.jpg', '/home/pi/Desktop/images/17012025/21/27/image_17012025_21_27_02_267495_0003.jpg', '/home/pi/Desktop/images/17012025/21/28/image_17012025_21_28_02_378562_0000.jpg', '/home/pi/Desktop/images/17012025/21/28/image_17012025_21_28_02_378562_0001.jpg', '/home/pi/Desktop/images/17012025/21/28/image_17012025_21_28_02_378562_0002.jpg', '/home/pi/Desktop/images/17012025/21/28/image_17012025_21_28_02_378562_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2490825&datou=0
/home/pi/Desktop/images/17012025/21/27/image_17012025_21_27_02_267495_0002.jpg
/home/pi/Desktop/images/17012025/21/27/image_17012025_21_27_02_267495_0003.jpg
/home/pi/Desktop/images/17012025/21/28/image_17012025_21_28_02_378562_0000.jpg
/home/pi/Desktop/images/17012025/21/28/image_17012025_21_28_02_378562_0001.jpg
/home/pi/Desktop/images/17012025/21/28/image_17012025_21_28_02_378562_0002.jpg
/home/pi/Desktop/images/17012025/21/28/image_17012025_21_28_02_378562_0003.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329946617","1329946605","1329946595","1329946619","1329946597","1329946621"],"photo_ids_order":["1329946595","1329946597","1329946605","1329946617","1329946619","1329946621"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/39c54c8c62a9b22b752a3031d52ddc2c.jpg","text":"TemporaryFile(/tmp/multipartBody5852440577242463904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737258519974,"filename":"image_17012025_21_28_02_378562_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/6b57d78fd848eccd4a535b02f509f5c5.jpg","text":"TemporaryFile(/tmp/multipartBody6465645464414933606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737258519974,"filename":"image_17012025_21_28_02_378562_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/c1ea8955eddcd259a859299ca96a1096.jpg","text":"TemporaryFile(/tmp/multipartBody5766368007226149400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737258519974,"filename":"image_17012025_21_27_02_267495_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/92349668aee2107a7eebc52900b315f6.jpg","text":"TemporaryFile(/tmp/multipartBody2236081698134331427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737258519974,"filename":"image_17012025_21_28_02_378562_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/04ae39925e73039362c41fd4985083d8.jpg","text":"TemporaryFile(/tmp/multipartBody2704274546187136664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737258519974,"filename":"image_17012025_21_27_02_267495_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/86049fe9d9be87830a2345e8841e833b.jpg","text":"TemporaryFile(/tmp/multipartBody3916734104359763161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737258519974,"filename":"image_17012025_21_28_02_378562_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329946605","file1":"1329946597","file0":"1329946595","file4":"1329946619","file5":"1329946621","file3":"1329946617"},"map_files_photo_id_array":[{"photo_id":"1329946621","filename":"file5"},{"photo_id":"1329946605","filename":"file2"},{"photo_id":"1329946619","filename":"file4"},{"photo_id":"1329946597","filename":"file1"},{"photo_id":"1329946595","filename":"file0"},{"photo_id":"1329946617","filename":"file3"}],"portfolio_id":19698700,"hashtag_by_photo_ids":[{"1329946617":["hashtag1","hashtag2"]},{"1329946605":["hashtag1","hashtag2"]},{"1329946595":["hashtag1","hashtag2"]},{"1329946619":["hashtag1","hashtag2"]},{"1329946597":["hashtag1","hashtag2"]},{"1329946621":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698700 used, photo_id : ArrayBuffer(1329946617, 1329946605, 1329946595, 1329946619, 1329946597, 1329946621)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.32878756523132 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 04:48:22.078920
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
  port_id : 19698700
  datou_current_id : 2490825
in upload_from_sqlite, uploading in 19698700
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17012025/21/29/image_17012025_21_29_02_589488_0000.jpg', '/home/pi/Desktop/images/17012025/21/29/image_17012025_21_29_02_589488_0001.jpg', '/home/pi/Desktop/images/17012025/21/29/image_17012025_21_29_02_589488_0002.jpg', '/home/pi/Desktop/images/17012025/21/29/image_17012025_21_29_02_589488_0003.jpg', '/home/pi/Desktop/images/17012025/21/30/image_17012025_21_30_02_846032_0000.jpg', '/home/pi/Desktop/images/17012025/21/30/image_17012025_21_30_02_846032_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2490825&datou=0
/home/pi/Desktop/images/17012025/21/29/image_17012025_21_29_02_589488_0000.jpg
/home/pi/Desktop/images/17012025/21/29/image_17012025_21_29_02_589488_0001.jpg
/home/pi/Desktop/images/17012025/21/29/image_17012025_21_29_02_589488_0002.jpg
/home/pi/Desktop/images/17012025/21/29/image_17012025_21_29_02_589488_0003.jpg
/home/pi/Desktop/images/17012025/21/30/image_17012025_21_30_02_846032_0000.jpg
/home/pi/Desktop/images/17012025/21/30/image_17012025_21_30_02_846032_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":["1329946638","1329946728","1329946809","1329946631","1329946634","1329946627"],"photo_ids_order":["1329946627","1329946631","1329946634","1329946638","1329946728","1329946809"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/c253c995887d7ed1976106fb98fd85ab.jpg","text":"TemporaryFile(/tmp/multipartBody5696771874558315093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737258579609,"filename":"image_17012025_21_29_02_589488_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/4f5a8e22c2dec1983f8ecee4258f5057.jpg","text":"TemporaryFile(/tmp/multipartBody480500933940368464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737258579609,"filename":"image_17012025_21_30_02_846032_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/502742326e188f3d78e051001775d11e.jpg","text":"TemporaryFile(/tmp/multipartBody2678993905660965018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737258579609,"filename":"image_17012025_21_30_02_846032_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/fd88db9fb91afdef21e8bb385d0ecc64.jpg","text":"TemporaryFile(/tmp/multipartBody8074136022147693793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737258579609,"filename":"image_17012025_21_29_02_589488_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/8e8f739cfd832fd1a349ae9ef50f4c99.jpg","text":"TemporaryFile(/tmp/multipartBody4181485446800753954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737258579609,"filename":"image_17012025_21_29_02_589488_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/a05022084f0edb6a3c348f88ea2f5e38.jpg","text":"TemporaryFile(/tmp/multipartBody7884010349955084348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737258579609,"filename":"image_17012025_21_29_02_589488_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329946634","file1":"1329946631","file0":"1329946627","file4":"1329946728","file5":"1329946809","file3":"1329946638"},"map_files_photo_id_array":[{"photo_id":"1329946809","filename":"file5"},{"photo_id":"1329946634","filename":"file2"},{"photo_id":"1329946728","filename":"file4"},{"photo_id":"1329946631","filename":"file1"},{"photo_id":"1329946627","filename":"file0"},{"photo_id":"1329946638","filename":"file3"}],"portfolio_id":19698700,"hashtag_by_photo_ids":[{"1329946638":["hashtag1","hashtag2"]},{"1329946728":["hashtag1","hashtag2"]},{"1329946809":["hashtag1","hashtag2"]},{"1329946631":["hashtag1","hashtag2"]},{"1329946634":["hashtag1","hashtag2"]},{"1329946627":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698700 used, photo_id : ArrayBuffer(1329946638, 1329946728, 1329946809, 1329946631, 1329946634, 1329946627)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 63.671433210372925 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 04:50:02.491926
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
  port_id : 19698700
  datou_current_id : 2490825
in upload_from_sqlite, uploading in 19698700
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17012025/21/30/image_17012025_21_30_02_846032_0002.jpg', '/home/pi/Desktop/images/17012025/21/30/image_17012025_21_30_02_846032_0003.jpg', '/home/pi/Desktop/images/17012025/21/31/image_17012025_21_31_02_975773_0000.jpg', '/home/pi/Desktop/images/17012025/21/31/image_17012025_21_31_02_975773_0001.jpg', '/home/pi/Desktop/images/17012025/21/31/image_17012025_21_31_02_975773_0002.jpg', '/home/pi/Desktop/images/17012025/21/31/image_17012025_21_31_02_975773_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2490825&datou=0
/home/pi/Desktop/images/17012025/21/30/image_17012025_21_30_02_846032_0002.jpg
/home/pi/Desktop/images/17012025/21/30/image_17012025_21_30_02_846032_0003.jpg
/home/pi/Desktop/images/17012025/21/31/image_17012025_21_31_02_975773_0000.jpg
/home/pi/Desktop/images/17012025/21/31/image_17012025_21_31_02_975773_0001.jpg
/home/pi/Desktop/images/17012025/21/31/image_17012025_21_31_02_975773_0002.jpg
/home/pi/Desktop/images/17012025/21/31/image_17012025_21_31_02_975773_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: 17.073692798614502 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 04:50:22.021466
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
  port_id : 19698700
  datou_current_id : 2490825
in upload_from_sqlite, uploading in 19698700
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17012025/21/30/image_17012025_21_30_02_846032_0002.jpg', '/home/pi/Desktop/images/17012025/21/30/image_17012025_21_30_02_846032_0003.jpg', '/home/pi/Desktop/images/17012025/21/31/image_17012025_21_31_02_975773_0000.jpg', '/home/pi/Desktop/images/17012025/21/31/image_17012025_21_31_02_975773_0001.jpg', '/home/pi/Desktop/images/17012025/21/31/image_17012025_21_31_02_975773_0002.jpg', '/home/pi/Desktop/images/17012025/21/31/image_17012025_21_31_02_975773_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2490825&datou=0
/home/pi/Desktop/images/17012025/21/30/image_17012025_21_30_02_846032_0002.jpg
/home/pi/Desktop/images/17012025/21/30/image_17012025_21_30_02_846032_0003.jpg
/home/pi/Desktop/images/17012025/21/31/image_17012025_21_31_02_975773_0000.jpg
/home/pi/Desktop/images/17012025/21/31/image_17012025_21_31_02_975773_0001.jpg
/home/pi/Desktop/images/17012025/21/31/image_17012025_21_31_02_975773_0002.jpg
/home/pi/Desktop/images/17012025/21/31/image_17012025_21_31_02_975773_0003.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329947624","1329947618","1329947626","1329947620","1329947614","1329947622"],"photo_ids_order":["1329947614","1329947618","1329947620","1329947622","1329947624","1329947626"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/0acca1cd7e98b40b2f0bba8d24046842.jpg","text":"TemporaryFile(/tmp/multipartBody7810648077415262052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737258699306,"filename":"image_17012025_21_31_02_975773_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/6b999acd9ee68f85f78c5d9362f724ad.jpg","text":"TemporaryFile(/tmp/multipartBody2950095116478436223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737258699306,"filename":"image_17012025_21_30_02_846032_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/b6dc73f488f637dfe3cdae7ef2036c8f.jpg","text":"TemporaryFile(/tmp/multipartBody8699295189691539324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737258699306,"filename":"image_17012025_21_31_02_975773_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/e46bedcdb5da47347d6abbdd9c94bcb4.jpg","text":"TemporaryFile(/tmp/multipartBody7748562834132621450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737258699306,"filename":"image_17012025_21_31_02_975773_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/61eb695ff5ff9c49d54daa74be6df64d.jpg","text":"TemporaryFile(/tmp/multipartBody1093055953661543919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737258699306,"filename":"image_17012025_21_30_02_846032_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/d8f8632459a76970347604b6abe6dadc.jpg","text":"TemporaryFile(/tmp/multipartBody3241808513408428538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737258699306,"filename":"image_17012025_21_31_02_975773_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329947620","file1":"1329947618","file0":"1329947614","file4":"1329947624","file5":"1329947626","file3":"1329947622"},"map_files_photo_id_array":[{"photo_id":"1329947626","filename":"file5"},{"photo_id":"1329947620","filename":"file2"},{"photo_id":"1329947624","filename":"file4"},{"photo_id":"1329947618","filename":"file1"},{"photo_id":"1329947614","filename":"file0"},{"photo_id":"1329947622","filename":"file3"}],"portfolio_id":19698700,"hashtag_by_photo_ids":[{"1329947624":["hashtag1","hashtag2"]},{"1329947618":["hashtag1","hashtag2"]},{"1329947626":["hashtag1","hashtag2"]},{"1329947620":["hashtag1","hashtag2"]},{"1329947614":["hashtag1","hashtag2"]},{"1329947622":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698700 used, photo_id : ArrayBuffer(1329947624, 1329947618, 1329947626, 1329947620, 1329947614, 1329947622)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.59218883514404 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 04:51:22.478562
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
  port_id : 19698700
  datou_current_id : 2490825
in upload_from_sqlite, uploading in 19698700
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17012025/21/32/image_17012025_21_32_02_220471_0000.jpg', '/home/pi/Desktop/images/17012025/21/32/image_17012025_21_32_02_220471_0001.jpg', '/home/pi/Desktop/images/17012025/21/32/image_17012025_21_32_02_220471_0002.jpg', '/home/pi/Desktop/images/17012025/21/32/image_17012025_21_32_02_220471_0003.jpg', '/home/pi/Desktop/images/17012025/21/33/image_17012025_21_33_02_330831_0000.jpg', '/home/pi/Desktop/images/17012025/21/33/image_17012025_21_33_02_330831_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2490825&datou=0
/home/pi/Desktop/images/17012025/21/32/image_17012025_21_32_02_220471_0000.jpg
/home/pi/Desktop/images/17012025/21/32/image_17012025_21_32_02_220471_0001.jpg
/home/pi/Desktop/images/17012025/21/32/image_17012025_21_32_02_220471_0002.jpg
/home/pi/Desktop/images/17012025/21/32/image_17012025_21_32_02_220471_0003.jpg
/home/pi/Desktop/images/17012025/21/33/image_17012025_21_33_02_330831_0000.jpg
/home/pi/Desktop/images/17012025/21/33/image_17012025_21_33_02_330831_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":["1329947943","1329947936","1329947944","1329947938","1329947932","1329947940"],"photo_ids_order":["1329947932","1329947936","1329947938","1329947940","1329947943","1329947944"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/f67811992250f0fec72de2febfea1ee4.jpg","text":"TemporaryFile(/tmp/multipartBody8275580635167482915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737258760143,"filename":"image_17012025_21_33_02_330831_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/b07c9818703b180e3173c2eb1e8a918e.jpg","text":"TemporaryFile(/tmp/multipartBody7050586706460855963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737258760143,"filename":"image_17012025_21_32_02_220471_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/ce1d2d8beb6905b5071bf115a70b1359.jpg","text":"TemporaryFile(/tmp/multipartBody6014152205649493717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737258760143,"filename":"image_17012025_21_33_02_330831_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/02d0b88c4ee02af9ef8cd67c09fed404.jpg","text":"TemporaryFile(/tmp/multipartBody1752428875063214461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737258760143,"filename":"image_17012025_21_32_02_220471_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/ca877277bc27c9ce82466f8bf9164fa2.jpg","text":"TemporaryFile(/tmp/multipartBody8478896595438549427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737258760143,"filename":"image_17012025_21_32_02_220471_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/bf181299f92d8147474fde6297e93f4f.jpg","text":"TemporaryFile(/tmp/multipartBody1430899292066296077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737258760143,"filename":"image_17012025_21_32_02_220471_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329947938","file1":"1329947936","file0":"1329947932","file4":"1329947943","file5":"1329947944","file3":"1329947940"},"map_files_photo_id_array":[{"photo_id":"1329947944","filename":"file5"},{"photo_id":"1329947938","filename":"file2"},{"photo_id":"1329947943","filename":"file4"},{"photo_id":"1329947936","filename":"file1"},{"photo_id":"1329947932","filename":"file0"},{"photo_id":"1329947940","filename":"file3"}],"portfolio_id":19698700,"hashtag_by_photo_ids":[{"1329947943":["hashtag1","hashtag2"]},{"1329947936":["hashtag1","hashtag2"]},{"1329947944":["hashtag1","hashtag2"]},{"1329947938":["hashtag1","hashtag2"]},{"1329947932":["hashtag1","hashtag2"]},{"1329947940":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698700 used, photo_id : ArrayBuffer(1329947943, 1329947936, 1329947944, 1329947938, 1329947932, 1329947940)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.7776939868927 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 04:53:03.167484
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
  port_id : 19698700
  datou_current_id : 2490825
in upload_from_sqlite, uploading in 19698700
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17012025/21/33/image_17012025_21_33_02_330831_0002.jpg', '/home/pi/Desktop/images/17012025/21/33/image_17012025_21_33_02_330831_0003.jpg', '/home/pi/Desktop/images/17012025/21/34/image_17012025_21_34_02_557544_0000.jpg', '/home/pi/Desktop/images/17012025/21/34/image_17012025_21_34_02_557544_0001.jpg', '/home/pi/Desktop/images/17012025/21/34/image_17012025_21_34_02_557544_0002.jpg', '/home/pi/Desktop/images/17012025/21/34/image_17012025_21_34_02_557544_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2490825&datou=0
/home/pi/Desktop/images/17012025/21/33/image_17012025_21_33_02_330831_0002.jpg
/home/pi/Desktop/images/17012025/21/33/image_17012025_21_33_02_330831_0003.jpg
/home/pi/Desktop/images/17012025/21/34/image_17012025_21_34_02_557544_0000.jpg
/home/pi/Desktop/images/17012025/21/34/image_17012025_21_34_02_557544_0001.jpg
/home/pi/Desktop/images/17012025/21/34/image_17012025_21_34_02_557544_0002.jpg
/home/pi/Desktop/images/17012025/21/34/image_17012025_21_34_02_557544_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":["1329947972","1329947975","1329947969","1329947954","1329947957","1329947977"],"photo_ids_order":["1329947954","1329947957","1329947969","1329947972","1329947975","1329947977"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/947aec220df26fa75e7e5bef3c2f4777.jpg","text":"TemporaryFile(/tmp/multipartBody8309903486580268012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737258861395,"filename":"image_17012025_21_34_02_557544_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/ea80600e500d277ef1e6df6029ff1063.jpg","text":"TemporaryFile(/tmp/multipartBody4367276842071832529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737258861395,"filename":"image_17012025_21_34_02_557544_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/acaae3c5d68d0894b125c4c2677421ad.jpg","text":"TemporaryFile(/tmp/multipartBody7511140301065142025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737258861395,"filename":"image_17012025_21_34_02_557544_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/40e5790187a97edb7d555e8c720b715c.jpg","text":"TemporaryFile(/tmp/multipartBody8839918621202519602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737258861395,"filename":"image_17012025_21_33_02_330831_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/3ba1359d25aa7ef2a5e5064ad163422e.jpg","text":"TemporaryFile(/tmp/multipartBody549684749783060619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737258861395,"filename":"image_17012025_21_33_02_330831_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/e1fffe0df31704280c87e6d3cf1f26e6.jpg","text":"TemporaryFile(/tmp/multipartBody6653895092672533467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737258861395,"filename":"image_17012025_21_34_02_557544_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329947969","file1":"1329947957","file0":"1329947954","file4":"1329947975","file5":"1329947977","file3":"1329947972"},"map_files_photo_id_array":[{"photo_id":"1329947977","filename":"file5"},{"photo_id":"1329947969","filename":"file2"},{"photo_id":"1329947975","filename":"file4"},{"photo_id":"1329947957","filename":"file1"},{"photo_id":"1329947954","filename":"file0"},{"photo_id":"1329947972","filename":"file3"}],"portfolio_id":19698700,"hashtag_by_photo_ids":[{"1329947972":["hashtag1","hashtag2"]},{"1329947975":["hashtag1","hashtag2"]},{"1329947969":["hashtag1","hashtag2"]},{"1329947954":["hashtag1","hashtag2"]},{"1329947957":["hashtag1","hashtag2"]},{"1329947977":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698700 used, photo_id : ArrayBuffer(1329947972, 1329947975, 1329947969, 1329947954, 1329947957, 1329947977)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.04223012924194 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 04:54:22.047606
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
  port_id : 19698700
  datou_current_id : 2490825
in upload_from_sqlite, uploading in 19698700
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17012025/21/35/image_17012025_21_35_02_772895_0000.jpg', '/home/pi/Desktop/images/17012025/21/35/image_17012025_21_35_02_772895_0001.jpg', '/home/pi/Desktop/images/17012025/21/35/image_17012025_21_35_02_772895_0002.jpg', '/home/pi/Desktop/images/17012025/21/35/image_17012025_21_35_02_772895_0003.jpg', '/home/pi/Desktop/images/17012025/21/36/image_17012025_21_36_02_885803_0000.jpg', '/home/pi/Desktop/images/17012025/21/36/image_17012025_21_36_02_885803_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2490825&datou=0
/home/pi/Desktop/images/17012025/21/35/image_17012025_21_35_02_772895_0000.jpg
/home/pi/Desktop/images/17012025/21/35/image_17012025_21_35_02_772895_0001.jpg
/home/pi/Desktop/images/17012025/21/35/image_17012025_21_35_02_772895_0002.jpg
/home/pi/Desktop/images/17012025/21/35/image_17012025_21_35_02_772895_0003.jpg
/home/pi/Desktop/images/17012025/21/36/image_17012025_21_36_02_885803_0000.jpg
/home/pi/Desktop/images/17012025/21/36/image_17012025_21_36_02_885803_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: 17.261608600616455 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 04:55:03.250032
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
  port_id : 19698700
  datou_current_id : 2490825
in upload_from_sqlite, uploading in 19698700
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17012025/21/35/image_17012025_21_35_02_772895_0000.jpg', '/home/pi/Desktop/images/17012025/21/35/image_17012025_21_35_02_772895_0001.jpg', '/home/pi/Desktop/images/17012025/21/35/image_17012025_21_35_02_772895_0002.jpg', '/home/pi/Desktop/images/17012025/21/35/image_17012025_21_35_02_772895_0003.jpg', '/home/pi/Desktop/images/17012025/21/36/image_17012025_21_36_02_885803_0000.jpg', '/home/pi/Desktop/images/17012025/21/36/image_17012025_21_36_02_885803_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2490825&datou=0
/home/pi/Desktop/images/17012025/21/35/image_17012025_21_35_02_772895_0000.jpg
/home/pi/Desktop/images/17012025/21/35/image_17012025_21_35_02_772895_0001.jpg
/home/pi/Desktop/images/17012025/21/35/image_17012025_21_35_02_772895_0002.jpg
/home/pi/Desktop/images/17012025/21/35/image_17012025_21_35_02_772895_0003.jpg
/home/pi/Desktop/images/17012025/21/36/image_17012025_21_36_02_885803_0000.jpg
/home/pi/Desktop/images/17012025/21/36/image_17012025_21_36_02_885803_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":["1329949211","1329948917","1329948914","1329948922","1329948919","1329949094"],"photo_ids_order":["1329948914","1329948917","1329948919","1329948922","1329949094","1329949211"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/14b2eeea6d3b7a7cb3af6a1f371f6adf.jpg","text":"TemporaryFile(/tmp/multipartBody3633761754543741484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737258980948,"filename":"image_17012025_21_36_02_885803_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/c667b0b9e7ce00acad558266a13afa3d.jpg","text":"TemporaryFile(/tmp/multipartBody7096758804449094561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737258980948,"filename":"image_17012025_21_35_02_772895_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/509339b9b67e98cf19dc016ac7e6143b.jpg","text":"TemporaryFile(/tmp/multipartBody8674431820865407930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737258980948,"filename":"image_17012025_21_35_02_772895_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/9c2611026e214fa467ea3ff2384a71d8.jpg","text":"TemporaryFile(/tmp/multipartBody8754013708391541295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737258980948,"filename":"image_17012025_21_35_02_772895_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/67db1fed305b7ad94f05c27bfcfbb826.jpg","text":"TemporaryFile(/tmp/multipartBody6729564966978315080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737258980948,"filename":"image_17012025_21_35_02_772895_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/17751712c072e25d36eef57e247e55f2.jpg","text":"TemporaryFile(/tmp/multipartBody2762666523527829450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737258980948,"filename":"image_17012025_21_36_02_885803_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329948919","file1":"1329948917","file0":"1329948914","file4":"1329949094","file5":"1329949211","file3":"1329948922"},"map_files_photo_id_array":[{"photo_id":"1329949211","filename":"file5"},{"photo_id":"1329948919","filename":"file2"},{"photo_id":"1329949094","filename":"file4"},{"photo_id":"1329948917","filename":"file1"},{"photo_id":"1329948914","filename":"file0"},{"photo_id":"1329948922","filename":"file3"}],"portfolio_id":19698700,"hashtag_by_photo_ids":[{"1329949211":["hashtag1","hashtag2"]},{"1329948917":["hashtag1","hashtag2"]},{"1329948914":["hashtag1","hashtag2"]},{"1329948922":["hashtag1","hashtag2"]},{"1329948919":["hashtag1","hashtag2"]},{"1329949094":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698700 used, photo_id : ArrayBuffer(1329949211, 1329948917, 1329948914, 1329948922, 1329948919, 1329949094)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.34803318977356 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 04:56:22.260379
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
  port_id : 19698700
  datou_current_id : 2490825
in upload_from_sqlite, uploading in 19698700
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17012025/21/36/image_17012025_21_36_02_885803_0002.jpg', '/home/pi/Desktop/images/17012025/21/36/image_17012025_21_36_02_885803_0003.jpg', '/home/pi/Desktop/images/17012025/21/37/image_17012025_21_37_02_223799_0000.jpg', '/home/pi/Desktop/images/17012025/21/37/image_17012025_21_37_02_223799_0001.jpg', '/home/pi/Desktop/images/17012025/21/37/image_17012025_21_37_02_223799_0002.jpg', '/home/pi/Desktop/images/17012025/21/37/image_17012025_21_37_02_223799_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2490825&datou=0
/home/pi/Desktop/images/17012025/21/36/image_17012025_21_36_02_885803_0002.jpg
/home/pi/Desktop/images/17012025/21/36/image_17012025_21_36_02_885803_0003.jpg
/home/pi/Desktop/images/17012025/21/37/image_17012025_21_37_02_223799_0000.jpg
/home/pi/Desktop/images/17012025/21/37/image_17012025_21_37_02_223799_0001.jpg
/home/pi/Desktop/images/17012025/21/37/image_17012025_21_37_02_223799_0002.jpg
/home/pi/Desktop/images/17012025/21/37/image_17012025_21_37_02_223799_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: 17.487809658050537 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 04:57:02.514621
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
  port_id : 19698700
  datou_current_id : 2490825
in upload_from_sqlite, uploading in 19698700
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17012025/21/36/image_17012025_21_36_02_885803_0002.jpg', '/home/pi/Desktop/images/17012025/21/36/image_17012025_21_36_02_885803_0003.jpg', '/home/pi/Desktop/images/17012025/21/37/image_17012025_21_37_02_223799_0000.jpg', '/home/pi/Desktop/images/17012025/21/37/image_17012025_21_37_02_223799_0001.jpg', '/home/pi/Desktop/images/17012025/21/37/image_17012025_21_37_02_223799_0002.jpg', '/home/pi/Desktop/images/17012025/21/37/image_17012025_21_37_02_223799_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2490825&datou=0
/home/pi/Desktop/images/17012025/21/36/image_17012025_21_36_02_885803_0002.jpg
/home/pi/Desktop/images/17012025/21/36/image_17012025_21_36_02_885803_0003.jpg
/home/pi/Desktop/images/17012025/21/37/image_17012025_21_37_02_223799_0000.jpg
/home/pi/Desktop/images/17012025/21/37/image_17012025_21_37_02_223799_0001.jpg
/home/pi/Desktop/images/17012025/21/37/image_17012025_21_37_02_223799_0002.jpg
/home/pi/Desktop/images/17012025/21/37/image_17012025_21_37_02_223799_0003.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329949604","1329949427","1329949613","1329949607","1329949615","1329949611"],"photo_ids_order":["1329949427","1329949604","1329949607","1329949611","1329949613","1329949615"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/9df9f400f0c8d4255ddd55f679a93712.jpg","text":"TemporaryFile(/tmp/multipartBody7201448093948358916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737259100352,"filename":"image_17012025_21_36_02_885803_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/b9873dc3dce2001a951f5a03b9cbfecf.jpg","text":"TemporaryFile(/tmp/multipartBody249508345958637827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737259100352,"filename":"image_17012025_21_36_02_885803_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/bf1b5dd9b6071f40ec25297635f7e9ab.jpg","text":"TemporaryFile(/tmp/multipartBody5979595264157417015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737259100352,"filename":"image_17012025_21_37_02_223799_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/3817c343e7aec080345d09b15063a201.jpg","text":"TemporaryFile(/tmp/multipartBody7130788708132365690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737259100352,"filename":"image_17012025_21_37_02_223799_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/2cef7f086eb343d727493cad12f3d87b.jpg","text":"TemporaryFile(/tmp/multipartBody1387023892903558757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737259100352,"filename":"image_17012025_21_37_02_223799_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/a9923c0961b326d2acda6b51772ccd7e.jpg","text":"TemporaryFile(/tmp/multipartBody8159650841508897417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737259100352,"filename":"image_17012025_21_37_02_223799_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329949607","file1":"1329949604","file0":"1329949427","file4":"1329949613","file5":"1329949615","file3":"1329949611"},"map_files_photo_id_array":[{"photo_id":"1329949615","filename":"file5"},{"photo_id":"1329949607","filename":"file2"},{"photo_id":"1329949613","filename":"file4"},{"photo_id":"1329949604","filename":"file1"},{"photo_id":"1329949427","filename":"file0"},{"photo_id":"1329949611","filename":"file3"}],"portfolio_id":19698700,"hashtag_by_photo_ids":[{"1329949604":["hashtag1","hashtag2"]},{"1329949427":["hashtag1","hashtag2"]},{"1329949613":["hashtag1","hashtag2"]},{"1329949607":["hashtag1","hashtag2"]},{"1329949615":["hashtag1","hashtag2"]},{"1329949611":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698700 used, photo_id : ArrayBuffer(1329949604, 1329949427, 1329949613, 1329949607, 1329949615, 1329949611)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.925055265426636 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 04:59:03.175571
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
  port_id : 19698700
  datou_current_id : 2490825
in upload_from_sqlite, uploading in 19698700
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17012025/21/38/image_17012025_21_38_02_302323_0000.jpg', '/home/pi/Desktop/images/17012025/21/38/image_17012025_21_38_02_302323_0001.jpg', '/home/pi/Desktop/images/17012025/21/38/image_17012025_21_38_02_302323_0002.jpg', '/home/pi/Desktop/images/17012025/21/38/image_17012025_21_38_02_302323_0003.jpg', '/home/pi/Desktop/images/17012025/21/39/image_17012025_21_39_02_521293_0000.jpg', '/home/pi/Desktop/images/17012025/21/39/image_17012025_21_39_02_521293_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2490825&datou=0
/home/pi/Desktop/images/17012025/21/38/image_17012025_21_38_02_302323_0000.jpg
/home/pi/Desktop/images/17012025/21/38/image_17012025_21_38_02_302323_0001.jpg
/home/pi/Desktop/images/17012025/21/38/image_17012025_21_38_02_302323_0002.jpg
/home/pi/Desktop/images/17012025/21/38/image_17012025_21_38_02_302323_0003.jpg
/home/pi/Desktop/images/17012025/21/39/image_17012025_21_39_02_521293_0000.jpg
/home/pi/Desktop/images/17012025/21/39/image_17012025_21_39_02_521293_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":["1329949802","1329949805","1329949807","1329949796","1329949799","1329949790"],"photo_ids_order":["1329949790","1329949796","1329949799","1329949802","1329949805","1329949807"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/5cc7f779adfea728cc9e937899875dbe.jpg","text":"TemporaryFile(/tmp/multipartBody6528625670274858750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737259221767,"filename":"image_17012025_21_38_02_302323_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/22d7c23d177e1fa7a7cad259a4e456dc.jpg","text":"TemporaryFile(/tmp/multipartBody1984058443472849201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737259221767,"filename":"image_17012025_21_39_02_521293_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/e0fad37f663aa5af7bfa27d4e6a85d12.jpg","text":"TemporaryFile(/tmp/multipartBody2041550646055197102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737259221767,"filename":"image_17012025_21_39_02_521293_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/563d48b9373f85f6e3765f1124966887.jpg","text":"TemporaryFile(/tmp/multipartBody612479509317502591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737259221767,"filename":"image_17012025_21_38_02_302323_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/81e7f3a8ab5d2c6c5966b31fb0442c0a.jpg","text":"TemporaryFile(/tmp/multipartBody1274411736645250547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737259221767,"filename":"image_17012025_21_38_02_302323_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/5ac667c931574f9baae19dad5f3da349.jpg","text":"TemporaryFile(/tmp/multipartBody4646272164828596771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737259221767,"filename":"image_17012025_21_38_02_302323_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329949799","file1":"1329949796","file0":"1329949790","file4":"1329949805","file5":"1329949807","file3":"1329949802"},"map_files_photo_id_array":[{"photo_id":"1329949807","filename":"file5"},{"photo_id":"1329949799","filename":"file2"},{"photo_id":"1329949805","filename":"file4"},{"photo_id":"1329949796","filename":"file1"},{"photo_id":"1329949790","filename":"file0"},{"photo_id":"1329949802","filename":"file3"}],"portfolio_id":19698700,"hashtag_by_photo_ids":[{"1329949802":["hashtag1","hashtag2"]},{"1329949805":["hashtag1","hashtag2"]},{"1329949807":["hashtag1","hashtag2"]},{"1329949796":["hashtag1","hashtag2"]},{"1329949799":["hashtag1","hashtag2"]},{"1329949790":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698700 used, photo_id : ArrayBuffer(1329949802, 1329949805, 1329949807, 1329949796, 1329949799, 1329949790)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.37866234779358 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 05:00:22.111995
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
  port_id : 19698700
  datou_current_id : 2490825
in upload_from_sqlite, uploading in 19698700
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17012025/21/39/image_17012025_21_39_02_521293_0002.jpg', '/home/pi/Desktop/images/17012025/21/39/image_17012025_21_39_02_521293_0003.jpg', '/home/pi/Desktop/images/17012025/21/40/image_17012025_21_40_02_712740_0000.jpg', '/home/pi/Desktop/images/17012025/21/40/image_17012025_21_40_02_712740_0001.jpg', '/home/pi/Desktop/images/17012025/21/40/image_17012025_21_40_02_712740_0002.jpg', '/home/pi/Desktop/images/17012025/21/40/image_17012025_21_40_02_712740_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2490825&datou=0
/home/pi/Desktop/images/17012025/21/39/image_17012025_21_39_02_521293_0002.jpg
/home/pi/Desktop/images/17012025/21/39/image_17012025_21_39_02_521293_0003.jpg
/home/pi/Desktop/images/17012025/21/40/image_17012025_21_40_02_712740_0000.jpg
/home/pi/Desktop/images/17012025/21/40/image_17012025_21_40_02_712740_0001.jpg
/home/pi/Desktop/images/17012025/21/40/image_17012025_21_40_02_712740_0002.jpg
/home/pi/Desktop/images/17012025/21/40/image_17012025_21_40_02_712740_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":["1329949882","1329949876","1329949872","1329949878","1329949880","1329949874"],"photo_ids_order":["1329949872","1329949874","1329949876","1329949878","1329949880","1329949882"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/29474273e2a3300522c1707721adf6f0.jpg","text":"TemporaryFile(/tmp/multipartBody271726116154769722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737259300367,"filename":"image_17012025_21_40_02_712740_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/e5ab922842ac588538d91d92b462c3f3.jpg","text":"TemporaryFile(/tmp/multipartBody6476566510829929463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737259300367,"filename":"image_17012025_21_40_02_712740_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/ce4c264de188c60088d43bdf0f8340a4.jpg","text":"TemporaryFile(/tmp/multipartBody5332963197743820327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737259300367,"filename":"image_17012025_21_39_02_521293_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/442b36816cde31337e9531422dd864fe.jpg","text":"TemporaryFile(/tmp/multipartBody4121968564982821979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737259300367,"filename":"image_17012025_21_40_02_712740_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/8f0ff8e51712eb00387963c09fdaae45.jpg","text":"TemporaryFile(/tmp/multipartBody2441151545629086157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737259300367,"filename":"image_17012025_21_40_02_712740_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/ea7935827c6419e9211914dff3d6412b.jpg","text":"TemporaryFile(/tmp/multipartBody2202459572225743376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737259300367,"filename":"image_17012025_21_39_02_521293_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329949876","file1":"1329949874","file0":"1329949872","file4":"1329949880","file5":"1329949882","file3":"1329949878"},"map_files_photo_id_array":[{"photo_id":"1329949882","filename":"file5"},{"photo_id":"1329949876","filename":"file2"},{"photo_id":"1329949880","filename":"file4"},{"photo_id":"1329949874","filename":"file1"},{"photo_id":"1329949872","filename":"file0"},{"photo_id":"1329949878","filename":"file3"}],"portfolio_id":19698700,"hashtag_by_photo_ids":[{"1329949882":["hashtag1","hashtag2"]},{"1329949876":["hashtag1","hashtag2"]},{"1329949872":["hashtag1","hashtag2"]},{"1329949878":["hashtag1","hashtag2"]},{"1329949880":["hashtag1","hashtag2"]},{"1329949874":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698700 used, photo_id : ArrayBuffer(1329949882, 1329949876, 1329949872, 1329949878, 1329949880, 1329949874)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.057074785232544 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 05:02:02.682222
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/05/01/image_19012025_05_01_02_511324_0001.jpg', '/home/pi/Desktop/images/19012025/05/01/image_19012025_05_01_02_511324_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/05/01/image_19012025_05_01_02_511324_0001.jpg
/home/pi/Desktop/images/19012025/05/01/image_19012025_05_01_02_511324_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 4.975586175918579 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 05:02:22.191126
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/05/01/image_19012025_05_01_02_511324_0001.jpg', '/home/pi/Desktop/images/19012025/05/01/image_19012025_05_01_02_511324_0002.jpg', '/home/pi/Desktop/images/19012025/05/01/image_19012025_05_01_02_511324_0003.jpg', '/home/pi/Desktop/images/19012025/05/02/image_19012025_05_02_03_080183_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/05/01/image_19012025_05_01_02_511324_0001.jpg
/home/pi/Desktop/images/19012025/05/01/image_19012025_05_01_02_511324_0002.jpg
/home/pi/Desktop/images/19012025/05/01/image_19012025_05_01_02_511324_0003.jpg
/home/pi/Desktop/images/19012025/05/02/image_19012025_05_02_03_080183_0000.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329949906","1329949909","1329949903","1329949911"],"photo_ids_order":["1329949903","1329949906","1329949909","1329949911"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/c23811fa286d3d9149ef8532b619d97d.jpg","text":"TemporaryFile(/tmp/multipartBody3122973520027537266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737259412076,"filename":"image_19012025_05_01_02_511324_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/0fa550ab298b62822e7e00d91704e4cc.jpg","text":"TemporaryFile(/tmp/multipartBody4785998801968057441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737259412076,"filename":"image_19012025_05_01_02_511324_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/49734893ffe3011a0cf183905699d2ed.jpg","text":"TemporaryFile(/tmp/multipartBody5932046082175307149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737259412076,"filename":"image_19012025_05_01_02_511324_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/80a54802321dc7df684fe34b751c1b75.jpg","text":"TemporaryFile(/tmp/multipartBody2334322191326233920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737259412076,"filename":"image_19012025_05_02_03_080183_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329949909","file1":"1329949906","file0":"1329949903","file3":"1329949911"},"map_files_photo_id_array":[{"photo_id":"1329949909","filename":"file2"},{"photo_id":"1329949906","filename":"file1"},{"photo_id":"1329949903","filename":"file0"},{"photo_id":"1329949911","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329949906":["hashtag1","hashtag2"]},{"1329949909":["hashtag1","hashtag2"]},{"1329949903":["hashtag1","hashtag2"]},{"1329949911":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329949906, 1329949909, 1329949903, 1329949911)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.786826848983765 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 05:03:03.472592
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
  port_id : 19698700
  datou_current_id : 2490825
in upload_from_sqlite, uploading in 19698700
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17012025/21/41/image_17012025_21_41_02_872875_0000.jpg', '/home/pi/Desktop/images/17012025/21/41/image_17012025_21_41_02_872875_0001.jpg', '/home/pi/Desktop/images/17012025/21/41/image_17012025_21_41_02_872875_0002.jpg', '/home/pi/Desktop/images/17012025/21/41/image_17012025_21_41_02_872875_0003.jpg', '/home/pi/Desktop/images/17012025/21/42/image_17012025_21_42_03_138455_0000.jpg', '/home/pi/Desktop/images/17012025/21/42/image_17012025_21_42_03_138455_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2490825&datou=0
/home/pi/Desktop/images/17012025/21/41/image_17012025_21_41_02_872875_0000.jpg
/home/pi/Desktop/images/17012025/21/41/image_17012025_21_41_02_872875_0001.jpg
/home/pi/Desktop/images/17012025/21/41/image_17012025_21_41_02_872875_0002.jpg
/home/pi/Desktop/images/17012025/21/41/image_17012025_21_41_02_872875_0003.jpg
/home/pi/Desktop/images/17012025/21/42/image_17012025_21_42_03_138455_0000.jpg
/home/pi/Desktop/images/17012025/21/42/image_17012025_21_42_03_138455_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":["1329950186","1329950144","1329950141","1329950146","1329950136","1329950139"],"photo_ids_order":["1329950136","1329950139","1329950141","1329950144","1329950146","1329950186"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/69a3b4c40ecb7ba2ff467c288c8c97e2.jpg","text":"TemporaryFile(/tmp/multipartBody6499722766748500280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737259461358,"filename":"image_17012025_21_42_03_138455_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/1d0f8013212a11497a7acc853d746b56.jpg","text":"TemporaryFile(/tmp/multipartBody6678145304555394464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737259461358,"filename":"image_17012025_21_41_02_872875_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/6640a4b4b7f8554203d55a1c6eedc4bc.jpg","text":"TemporaryFile(/tmp/multipartBody8515491486112690567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737259461358,"filename":"image_17012025_21_41_02_872875_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/1ede56aba90b9eaf4d24e68e302f0540.jpg","text":"TemporaryFile(/tmp/multipartBody5023301244292460526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737259461358,"filename":"image_17012025_21_42_03_138455_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/dc2f6b9ab23ef0d0a737f6ac88626545.jpg","text":"TemporaryFile(/tmp/multipartBody3522735658093427476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737259461358,"filename":"image_17012025_21_41_02_872875_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/a3f9855e69743be587ee9738e9eba96c.jpg","text":"TemporaryFile(/tmp/multipartBody1015096152718634642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737259461358,"filename":"image_17012025_21_41_02_872875_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329950141","file1":"1329950139","file0":"1329950136","file4":"1329950146","file5":"1329950186","file3":"1329950144"},"map_files_photo_id_array":[{"photo_id":"1329950186","filename":"file5"},{"photo_id":"1329950141","filename":"file2"},{"photo_id":"1329950146","filename":"file4"},{"photo_id":"1329950139","filename":"file1"},{"photo_id":"1329950136","filename":"file0"},{"photo_id":"1329950144","filename":"file3"}],"portfolio_id":19698700,"hashtag_by_photo_ids":[{"1329950186":["hashtag1","hashtag2"]},{"1329950144":["hashtag1","hashtag2"]},{"1329950141":["hashtag1","hashtag2"]},{"1329950146":["hashtag1","hashtag2"]},{"1329950136":["hashtag1","hashtag2"]},{"1329950139":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698700 used, photo_id : ArrayBuffer(1329950186, 1329950144, 1329950141, 1329950146, 1329950136, 1329950139)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.418511629104614 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 05:04:22.353202
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/05/02/image_19012025_05_02_03_080183_0003.jpg', '/home/pi/Desktop/images/19012025/05/03/image_19012025_05_03_02_574107_0000.jpg', '/home/pi/Desktop/images/19012025/05/03/image_19012025_05_03_02_574107_0001.jpg', '/home/pi/Desktop/images/19012025/05/03/image_19012025_05_03_02_574107_0002.jpg', '/home/pi/Desktop/images/19012025/05/03/image_19012025_05_03_02_574107_0003.jpg', '/home/pi/Desktop/images/19012025/05/04/image_19012025_05_04_03_094575_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/05/02/image_19012025_05_02_03_080183_0003.jpg
/home/pi/Desktop/images/19012025/05/03/image_19012025_05_03_02_574107_0000.jpg
/home/pi/Desktop/images/19012025/05/03/image_19012025_05_03_02_574107_0001.jpg
/home/pi/Desktop/images/19012025/05/03/image_19012025_05_03_02_574107_0002.jpg
/home/pi/Desktop/images/19012025/05/03/image_19012025_05_03_02_574107_0003.jpg
/home/pi/Desktop/images/19012025/05/04/image_19012025_05_04_03_094575_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.534971714019775 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 05:05:02.469617
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/05/02/image_19012025_05_02_03_080183_0003.jpg', '/home/pi/Desktop/images/19012025/05/03/image_19012025_05_03_02_574107_0000.jpg', '/home/pi/Desktop/images/19012025/05/03/image_19012025_05_03_02_574107_0001.jpg', '/home/pi/Desktop/images/19012025/05/03/image_19012025_05_03_02_574107_0002.jpg', '/home/pi/Desktop/images/19012025/05/03/image_19012025_05_03_02_574107_0003.jpg', '/home/pi/Desktop/images/19012025/05/04/image_19012025_05_04_03_094575_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/05/02/image_19012025_05_02_03_080183_0003.jpg
/home/pi/Desktop/images/19012025/05/03/image_19012025_05_03_02_574107_0000.jpg
/home/pi/Desktop/images/19012025/05/03/image_19012025_05_03_02_574107_0001.jpg
/home/pi/Desktop/images/19012025/05/03/image_19012025_05_03_02_574107_0002.jpg
/home/pi/Desktop/images/19012025/05/03/image_19012025_05_03_02_574107_0003.jpg
/home/pi/Desktop/images/19012025/05/04/image_19012025_05_04_03_094575_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329950264","1329950240","1329950287","1329950242","1329950289","1329950238"],"photo_ids_order":["1329950238","1329950240","1329950242","1329950264","1329950287","1329950289"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/5d2158978d32f789d32fea5030464c4e.jpg","text":"TemporaryFile(/tmp/multipartBody7751485645897984070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737259578535,"filename":"image_19012025_05_03_02_574107_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/f247e812bb54e15a5aeb9f168dd00c90.jpg","text":"TemporaryFile(/tmp/multipartBody63150246295728671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737259578535,"filename":"image_19012025_05_03_02_574107_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/de5514b760a3ce80fe09b25b4f0f4495.jpg","text":"TemporaryFile(/tmp/multipartBody8183948910691581506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737259578535,"filename":"image_19012025_05_03_02_574107_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/e7151ef300d676ee1fb44c2a9f6e7024.jpg","text":"TemporaryFile(/tmp/multipartBody6734173825251823084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737259578535,"filename":"image_19012025_05_03_02_574107_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/3efa40e9c8687d83de77824aaa6c5a97.jpg","text":"TemporaryFile(/tmp/multipartBody3609965793276872769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737259578535,"filename":"image_19012025_05_04_03_094575_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/5532ebfae4b14ff3fc7838fcb2a05c32.jpg","text":"TemporaryFile(/tmp/multipartBody8847701076119041692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737259578535,"filename":"image_19012025_05_02_03_080183_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329950242","file1":"1329950240","file0":"1329950238","file4":"1329950287","file5":"1329950289","file3":"1329950264"},"map_files_photo_id_array":[{"photo_id":"1329950289","filename":"file5"},{"photo_id":"1329950242","filename":"file2"},{"photo_id":"1329950287","filename":"file4"},{"photo_id":"1329950240","filename":"file1"},{"photo_id":"1329950238","filename":"file0"},{"photo_id":"1329950264","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329950264":["hashtag1","hashtag2"]},{"1329950240":["hashtag1","hashtag2"]},{"1329950287":["hashtag1","hashtag2"]},{"1329950242":["hashtag1","hashtag2"]},{"1329950289":["hashtag1","hashtag2"]},{"1329950238":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329950264, 1329950240, 1329950287, 1329950242, 1329950289, 1329950238)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.256712675094604 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 05:06:03.016691
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/05/04/image_19012025_05_04_03_094575_0001.jpg', '/home/pi/Desktop/images/19012025/05/04/image_19012025_05_04_03_094575_0002.jpg', '/home/pi/Desktop/images/19012025/05/04/image_19012025_05_04_03_094575_0003.jpg', '/home/pi/Desktop/images/19012025/05/05/image_19012025_05_05_02_710287_0000.jpg', '/home/pi/Desktop/images/19012025/05/05/image_19012025_05_05_02_710287_0001.jpg', '/home/pi/Desktop/images/19012025/05/05/image_19012025_05_05_02_710287_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/05/04/image_19012025_05_04_03_094575_0001.jpg
/home/pi/Desktop/images/19012025/05/04/image_19012025_05_04_03_094575_0002.jpg
/home/pi/Desktop/images/19012025/05/04/image_19012025_05_04_03_094575_0003.jpg
/home/pi/Desktop/images/19012025/05/05/image_19012025_05_05_02_710287_0000.jpg
/home/pi/Desktop/images/19012025/05/05/image_19012025_05_05_02_710287_0001.jpg
/home/pi/Desktop/images/19012025/05/05/image_19012025_05_05_02_710287_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.270963191986084 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 05:06:22.516275
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/05/04/image_19012025_05_04_03_094575_0001.jpg', '/home/pi/Desktop/images/19012025/05/04/image_19012025_05_04_03_094575_0002.jpg', '/home/pi/Desktop/images/19012025/05/04/image_19012025_05_04_03_094575_0003.jpg', '/home/pi/Desktop/images/19012025/05/05/image_19012025_05_05_02_710287_0000.jpg', '/home/pi/Desktop/images/19012025/05/05/image_19012025_05_05_02_710287_0001.jpg', '/home/pi/Desktop/images/19012025/05/05/image_19012025_05_05_02_710287_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/05/04/image_19012025_05_04_03_094575_0001.jpg
/home/pi/Desktop/images/19012025/05/04/image_19012025_05_04_03_094575_0002.jpg
/home/pi/Desktop/images/19012025/05/04/image_19012025_05_04_03_094575_0003.jpg
/home/pi/Desktop/images/19012025/05/05/image_19012025_05_05_02_710287_0000.jpg
/home/pi/Desktop/images/19012025/05/05/image_19012025_05_05_02_710287_0001.jpg
/home/pi/Desktop/images/19012025/05/05/image_19012025_05_05_02_710287_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":["1329950846","1329950807","1329950887","1329951261","1329951150","1329950910"],"photo_ids_order":["1329950807","1329950846","1329950887","1329950910","1329951150","1329951261"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/9f6b7502087f741837d9d4f1873210c6.jpg","text":"TemporaryFile(/tmp/multipartBody5387826129143110757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737259658186,"filename":"image_19012025_05_04_03_094575_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/cd2255a368353f8b05f70fdb8d35c0d3.jpg","text":"TemporaryFile(/tmp/multipartBody769033141172531882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737259658186,"filename":"image_19012025_05_04_03_094575_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/afb631b23b509af609e03bb81cb84443.jpg","text":"TemporaryFile(/tmp/multipartBody6339899472882649536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737259658186,"filename":"image_19012025_05_04_03_094575_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/5076e1cf779a909031a6255a78259afd.jpg","text":"TemporaryFile(/tmp/multipartBody9131503908095138374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737259658186,"filename":"image_19012025_05_05_02_710287_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/c887b7930f1abf98310e4915f7f00b3b.jpg","text":"TemporaryFile(/tmp/multipartBody2150383555642608437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737259658186,"filename":"image_19012025_05_05_02_710287_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/c3999efb161f848cf37235bf981ae8d5.jpg","text":"TemporaryFile(/tmp/multipartBody123966426620563560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737259658186,"filename":"image_19012025_05_05_02_710287_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329950887","file1":"1329950846","file0":"1329950807","file4":"1329951150","file5":"1329951261","file3":"1329950910"},"map_files_photo_id_array":[{"photo_id":"1329951261","filename":"file5"},{"photo_id":"1329950887","filename":"file2"},{"photo_id":"1329951150","filename":"file4"},{"photo_id":"1329950846","filename":"file1"},{"photo_id":"1329950807","filename":"file0"},{"photo_id":"1329950910","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329950846":["hashtag1","hashtag2"]},{"1329950807":["hashtag1","hashtag2"]},{"1329950887":["hashtag1","hashtag2"]},{"1329951261":["hashtag1","hashtag2"]},{"1329951150":["hashtag1","hashtag2"]},{"1329950910":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329950846, 1329950807, 1329950887, 1329951261, 1329951150, 1329950910)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 61.169580936431885 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 05:08:03.144034
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/05/05/image_19012025_05_05_02_710287_0003.jpg', '/home/pi/Desktop/images/19012025/05/06/image_19012025_05_06_02_238239_0000.jpg', '/home/pi/Desktop/images/19012025/05/06/image_19012025_05_06_02_238239_0001.jpg', '/home/pi/Desktop/images/19012025/05/06/image_19012025_05_06_02_238239_0002.jpg', '/home/pi/Desktop/images/19012025/05/06/image_19012025_05_06_02_238239_0003.jpg', '/home/pi/Desktop/images/19012025/05/07/image_19012025_05_07_02_940184_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/05/05/image_19012025_05_05_02_710287_0003.jpg
/home/pi/Desktop/images/19012025/05/06/image_19012025_05_06_02_238239_0000.jpg
/home/pi/Desktop/images/19012025/05/06/image_19012025_05_06_02_238239_0001.jpg
/home/pi/Desktop/images/19012025/05/06/image_19012025_05_06_02_238239_0002.jpg
/home/pi/Desktop/images/19012025/05/06/image_19012025_05_06_02_238239_0003.jpg
/home/pi/Desktop/images/19012025/05/07/image_19012025_05_07_02_940184_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329951598","1329951595","1329951601","1329951564","1329951561","1329951603"],"photo_ids_order":["1329951561","1329951564","1329951595","1329951598","1329951601","1329951603"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/59b04d927b75d684f1e419471277904b.jpg","text":"TemporaryFile(/tmp/multipartBody6728551475631619068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737259759416,"filename":"image_19012025_05_06_02_238239_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/01d11f7b0a9764b7f4b0f345a1b4beba.jpg","text":"TemporaryFile(/tmp/multipartBody5493546580932076594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737259759416,"filename":"image_19012025_05_06_02_238239_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/344e42dcc4569a3a4aa743abe76b6715.jpg","text":"TemporaryFile(/tmp/multipartBody4398823771411142031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737259759416,"filename":"image_19012025_05_06_02_238239_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/055730e88c057b6d7728f9daa6ceeba1.jpg","text":"TemporaryFile(/tmp/multipartBody6182230960980655640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737259759416,"filename":"image_19012025_05_06_02_238239_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/0a9ab965a1d590936bab6e36f248c4d4.jpg","text":"TemporaryFile(/tmp/multipartBody4443317063595956359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737259759416,"filename":"image_19012025_05_05_02_710287_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/19c9bc99459c6a0ffeb0638ab6277da2.jpg","text":"TemporaryFile(/tmp/multipartBody4742428227680588396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737259759416,"filename":"image_19012025_05_07_02_940184_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329951595","file1":"1329951564","file0":"1329951561","file4":"1329951601","file5":"1329951603","file3":"1329951598"},"map_files_photo_id_array":[{"photo_id":"1329951603","filename":"file5"},{"photo_id":"1329951595","filename":"file2"},{"photo_id":"1329951601","filename":"file4"},{"photo_id":"1329951564","filename":"file1"},{"photo_id":"1329951561","filename":"file0"},{"photo_id":"1329951598","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329951598":["hashtag1","hashtag2"]},{"1329951595":["hashtag1","hashtag2"]},{"1329951601":["hashtag1","hashtag2"]},{"1329951564":["hashtag1","hashtag2"]},{"1329951561":["hashtag1","hashtag2"]},{"1329951603":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329951598, 1329951595, 1329951601, 1329951564, 1329951561, 1329951603)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.334898471832275 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 05:09:02.973714
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/05/07/image_19012025_05_07_02_940184_0001.jpg', '/home/pi/Desktop/images/19012025/05/07/image_19012025_05_07_02_940184_0002.jpg', '/home/pi/Desktop/images/19012025/05/07/image_19012025_05_07_02_940184_0003.jpg', '/home/pi/Desktop/images/19012025/05/08/image_19012025_05_08_02_476334_0000.jpg', '/home/pi/Desktop/images/19012025/05/08/image_19012025_05_08_02_476334_0001.jpg', '/home/pi/Desktop/images/19012025/05/08/image_19012025_05_08_02_476334_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/05/07/image_19012025_05_07_02_940184_0001.jpg
/home/pi/Desktop/images/19012025/05/07/image_19012025_05_07_02_940184_0002.jpg
/home/pi/Desktop/images/19012025/05/07/image_19012025_05_07_02_940184_0003.jpg
/home/pi/Desktop/images/19012025/05/08/image_19012025_05_08_02_476334_0000.jpg
/home/pi/Desktop/images/19012025/05/08/image_19012025_05_08_02_476334_0001.jpg
/home/pi/Desktop/images/19012025/05/08/image_19012025_05_08_02_476334_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 16.0224392414093 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 05:09:22.176677
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/05/07/image_19012025_05_07_02_940184_0001.jpg', '/home/pi/Desktop/images/19012025/05/07/image_19012025_05_07_02_940184_0002.jpg', '/home/pi/Desktop/images/19012025/05/07/image_19012025_05_07_02_940184_0003.jpg', '/home/pi/Desktop/images/19012025/05/08/image_19012025_05_08_02_476334_0000.jpg', '/home/pi/Desktop/images/19012025/05/08/image_19012025_05_08_02_476334_0001.jpg', '/home/pi/Desktop/images/19012025/05/08/image_19012025_05_08_02_476334_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/05/07/image_19012025_05_07_02_940184_0001.jpg
/home/pi/Desktop/images/19012025/05/07/image_19012025_05_07_02_940184_0002.jpg
/home/pi/Desktop/images/19012025/05/07/image_19012025_05_07_02_940184_0003.jpg
/home/pi/Desktop/images/19012025/05/08/image_19012025_05_08_02_476334_0000.jpg
/home/pi/Desktop/images/19012025/05/08/image_19012025_05_08_02_476334_0001.jpg
/home/pi/Desktop/images/19012025/05/08/image_19012025_05_08_02_476334_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":["1329951641","1329951658","1329951619","1329951666","1329951615","1329951677"],"photo_ids_order":["1329951615","1329951619","1329951641","1329951658","1329951666","1329951677"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/e3cae2dccbc52efb10e488f17fd44296.jpg","text":"TemporaryFile(/tmp/multipartBody5888780029411531617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737259838573,"filename":"image_19012025_05_07_02_940184_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/e45aa19603556b081a60828b5619837f.jpg","text":"TemporaryFile(/tmp/multipartBody1125496084751668980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737259838573,"filename":"image_19012025_05_08_02_476334_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/f81432e2b694986b9d349a792bb1728f.jpg","text":"TemporaryFile(/tmp/multipartBody8392801056883129138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737259838573,"filename":"image_19012025_05_07_02_940184_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/f5e367993eba77d9e27f7ac4fda8ae30.jpg","text":"TemporaryFile(/tmp/multipartBody4132253657283142747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737259838573,"filename":"image_19012025_05_08_02_476334_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/ccf20c830f8d3160c60c80a428575c6d.jpg","text":"TemporaryFile(/tmp/multipartBody8341426469582454857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737259838573,"filename":"image_19012025_05_07_02_940184_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/39136748979123db8b7d215b1624941d.jpg","text":"TemporaryFile(/tmp/multipartBody5548150024685636749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737259838573,"filename":"image_19012025_05_08_02_476334_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329951641","file1":"1329951619","file0":"1329951615","file4":"1329951666","file5":"1329951677","file3":"1329951658"},"map_files_photo_id_array":[{"photo_id":"1329951677","filename":"file5"},{"photo_id":"1329951641","filename":"file2"},{"photo_id":"1329951666","filename":"file4"},{"photo_id":"1329951619","filename":"file1"},{"photo_id":"1329951615","filename":"file0"},{"photo_id":"1329951658","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329951641":["hashtag1","hashtag2"]},{"1329951658":["hashtag1","hashtag2"]},{"1329951619":["hashtag1","hashtag2"]},{"1329951666":["hashtag1","hashtag2"]},{"1329951615":["hashtag1","hashtag2"]},{"1329951677":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329951641, 1329951658, 1329951619, 1329951666, 1329951615, 1329951677)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.17459964752197 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 05:11:03.121277
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/05/08/image_19012025_05_08_02_476334_0003.jpg', '/home/pi/Desktop/images/19012025/05/09/image_19012025_05_09_03_049141_0000.jpg', '/home/pi/Desktop/images/19012025/05/09/image_19012025_05_09_03_049141_0001.jpg', '/home/pi/Desktop/images/19012025/05/09/image_19012025_05_09_03_049141_0002.jpg', '/home/pi/Desktop/images/19012025/05/09/image_19012025_05_09_03_049141_0003.jpg', '/home/pi/Desktop/images/19012025/05/10/image_19012025_05_10_02_566561_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/05/08/image_19012025_05_08_02_476334_0003.jpg
/home/pi/Desktop/images/19012025/05/09/image_19012025_05_09_03_049141_0000.jpg
/home/pi/Desktop/images/19012025/05/09/image_19012025_05_09_03_049141_0001.jpg
/home/pi/Desktop/images/19012025/05/09/image_19012025_05_09_03_049141_0002.jpg
/home/pi/Desktop/images/19012025/05/09/image_19012025_05_09_03_049141_0003.jpg
/home/pi/Desktop/images/19012025/05/10/image_19012025_05_10_02_566561_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: 16.458898544311523 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 05:11:22.405016
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/05/08/image_19012025_05_08_02_476334_0003.jpg', '/home/pi/Desktop/images/19012025/05/09/image_19012025_05_09_03_049141_0000.jpg', '/home/pi/Desktop/images/19012025/05/09/image_19012025_05_09_03_049141_0001.jpg', '/home/pi/Desktop/images/19012025/05/09/image_19012025_05_09_03_049141_0002.jpg', '/home/pi/Desktop/images/19012025/05/09/image_19012025_05_09_03_049141_0003.jpg', '/home/pi/Desktop/images/19012025/05/10/image_19012025_05_10_02_566561_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/05/08/image_19012025_05_08_02_476334_0003.jpg
/home/pi/Desktop/images/19012025/05/09/image_19012025_05_09_03_049141_0000.jpg
/home/pi/Desktop/images/19012025/05/09/image_19012025_05_09_03_049141_0001.jpg
/home/pi/Desktop/images/19012025/05/09/image_19012025_05_09_03_049141_0002.jpg
/home/pi/Desktop/images/19012025/05/09/image_19012025_05_09_03_049141_0003.jpg
/home/pi/Desktop/images/19012025/05/10/image_19012025_05_10_02_566561_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329951859","1329952117","1329951840","1329952142","1329952115","1329951878"],"photo_ids_order":["1329951840","1329951859","1329951878","1329952115","1329952117","1329952142"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/71d0cf52b78f00ebc217bdd67d680c46.jpg","text":"TemporaryFile(/tmp/multipartBody2526585397130730886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737259959209,"filename":"image_19012025_05_09_03_049141_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/cd0d85239dc18ee268ce32bb69dc6705.jpg","text":"TemporaryFile(/tmp/multipartBody8568585762731330796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737259959209,"filename":"image_19012025_05_09_03_049141_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/456db7842340d8dfd277c513571db297.jpg","text":"TemporaryFile(/tmp/multipartBody1421481918015723996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737259959209,"filename":"image_19012025_05_08_02_476334_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/c33c64bfe28ab6721e00a342bbdde958.jpg","text":"TemporaryFile(/tmp/multipartBody2053301007140584938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737259959209,"filename":"image_19012025_05_10_02_566561_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/d401216d81d851944260c05a48c0f8d8.jpg","text":"TemporaryFile(/tmp/multipartBody1277091187363115343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737259959209,"filename":"image_19012025_05_09_03_049141_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/2d554a120c8b0092bb104f583a644a48.jpg","text":"TemporaryFile(/tmp/multipartBody2815776975495868760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737259959209,"filename":"image_19012025_05_09_03_049141_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329951878","file1":"1329951859","file0":"1329951840","file4":"1329952117","file5":"1329952142","file3":"1329952115"},"map_files_photo_id_array":[{"photo_id":"1329952142","filename":"file5"},{"photo_id":"1329951878","filename":"file2"},{"photo_id":"1329952117","filename":"file4"},{"photo_id":"1329951859","filename":"file1"},{"photo_id":"1329951840","filename":"file0"},{"photo_id":"1329952115","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329951859":["hashtag1","hashtag2"]},{"1329952117":["hashtag1","hashtag2"]},{"1329951840":["hashtag1","hashtag2"]},{"1329952142":["hashtag1","hashtag2"]},{"1329952115":["hashtag1","hashtag2"]},{"1329951878":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329951859, 1329952117, 1329951840, 1329952142, 1329952115, 1329951878)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.528867959976196 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 05:12:22.106580
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/05/10/image_19012025_05_10_02_566561_0001.jpg', '/home/pi/Desktop/images/19012025/05/10/image_19012025_05_10_02_566561_0002.jpg', '/home/pi/Desktop/images/19012025/05/10/image_19012025_05_10_02_566561_0003.jpg', '/home/pi/Desktop/images/19012025/05/11/image_19012025_05_11_02_279873_0000.jpg', '/home/pi/Desktop/images/19012025/05/11/image_19012025_05_11_02_279873_0001.jpg', '/home/pi/Desktop/images/19012025/05/11/image_19012025_05_11_02_279873_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/05/10/image_19012025_05_10_02_566561_0001.jpg
/home/pi/Desktop/images/19012025/05/10/image_19012025_05_10_02_566561_0002.jpg
/home/pi/Desktop/images/19012025/05/10/image_19012025_05_10_02_566561_0003.jpg
/home/pi/Desktop/images/19012025/05/11/image_19012025_05_11_02_279873_0000.jpg
/home/pi/Desktop/images/19012025/05/11/image_19012025_05_11_02_279873_0001.jpg
/home/pi/Desktop/images/19012025/05/11/image_19012025_05_11_02_279873_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329952282","1329952234","1329952269","1329952320","1329952322","1329952288"],"photo_ids_order":["1329952234","1329952269","1329952282","1329952288","1329952320","1329952322"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/a94f90cbc02ebc71c51c143fa500ff53.jpg","text":"TemporaryFile(/tmp/multipartBody5713799059038700589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737260019280,"filename":"image_19012025_05_10_02_566561_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/fd4abba8d4dbcdd61c0fe116a421406c.jpg","text":"TemporaryFile(/tmp/multipartBody7851660317556764523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737260019280,"filename":"image_19012025_05_10_02_566561_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/206df24b845f114e7b64073223fc5069.jpg","text":"TemporaryFile(/tmp/multipartBody8642195654202516852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737260019280,"filename":"image_19012025_05_10_02_566561_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/89e000a9bb5f72675f793af9b6ba2510.jpg","text":"TemporaryFile(/tmp/multipartBody8261359060176559140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737260019280,"filename":"image_19012025_05_11_02_279873_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/253cf6de025e0a133f3c8b1c516609de.jpg","text":"TemporaryFile(/tmp/multipartBody4081733232525227013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737260019280,"filename":"image_19012025_05_11_02_279873_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/83dac5a9550132f6ee42da2a0d8fc47c.jpg","text":"TemporaryFile(/tmp/multipartBody7401431872728657924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737260019280,"filename":"image_19012025_05_11_02_279873_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329952282","file1":"1329952269","file0":"1329952234","file4":"1329952320","file5":"1329952322","file3":"1329952288"},"map_files_photo_id_array":[{"photo_id":"1329952322","filename":"file5"},{"photo_id":"1329952282","filename":"file2"},{"photo_id":"1329952320","filename":"file4"},{"photo_id":"1329952269","filename":"file1"},{"photo_id":"1329952234","filename":"file0"},{"photo_id":"1329952288","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329952282":["hashtag1","hashtag2"]},{"1329952234":["hashtag1","hashtag2"]},{"1329952269":["hashtag1","hashtag2"]},{"1329952320":["hashtag1","hashtag2"]},{"1329952322":["hashtag1","hashtag2"]},{"1329952288":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329952282, 1329952234, 1329952269, 1329952320, 1329952322, 1329952288)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.699554204940796 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 05:13:22.635817
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/05/11/image_19012025_05_11_02_279873_0003.jpg', '/home/pi/Desktop/images/19012025/05/12/image_19012025_05_12_02_860854_0000.jpg', '/home/pi/Desktop/images/19012025/05/12/image_19012025_05_12_02_860854_0001.jpg', '/home/pi/Desktop/images/19012025/05/12/image_19012025_05_12_02_860854_0002.jpg', '/home/pi/Desktop/images/19012025/05/12/image_19012025_05_12_02_860854_0003.jpg', '/home/pi/Desktop/images/19012025/05/13/image_19012025_05_13_02_519245_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/05/11/image_19012025_05_11_02_279873_0003.jpg
/home/pi/Desktop/images/19012025/05/12/image_19012025_05_12_02_860854_0000.jpg
/home/pi/Desktop/images/19012025/05/12/image_19012025_05_12_02_860854_0001.jpg
/home/pi/Desktop/images/19012025/05/12/image_19012025_05_12_02_860854_0002.jpg
/home/pi/Desktop/images/19012025/05/12/image_19012025_05_12_02_860854_0003.jpg
/home/pi/Desktop/images/19012025/05/13/image_19012025_05_13_02_519245_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":["1329952339","1329952333","1329952335","1329952329","1329952340","1329952337"],"photo_ids_order":["1329952329","1329952333","1329952335","1329952337","1329952339","1329952340"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/d5d21878aaae0242522016b07f87bd8d.jpg","text":"TemporaryFile(/tmp/multipartBody4192071972231996384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737260080038,"filename":"image_19012025_05_12_02_860854_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/9c1701cf9506d78a144b127c31d62e3f.jpg","text":"TemporaryFile(/tmp/multipartBody4967670033813206483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737260080038,"filename":"image_19012025_05_12_02_860854_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/8d0dfd468dabeeca5b178878a7009cf3.jpg","text":"TemporaryFile(/tmp/multipartBody7287070630796399917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737260080038,"filename":"image_19012025_05_12_02_860854_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/8f23e05a1b2e7745ec2ec03b34e098dd.jpg","text":"TemporaryFile(/tmp/multipartBody6029349363530731282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737260080038,"filename":"image_19012025_05_11_02_279873_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/e95d627aa0e077173ead8aacfaf3517a.jpg","text":"TemporaryFile(/tmp/multipartBody1811828989274477576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737260080038,"filename":"image_19012025_05_13_02_519245_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/0de7dff7213ef17b17da83fd3fa246dc.jpg","text":"TemporaryFile(/tmp/multipartBody7564333923624959894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737260080038,"filename":"image_19012025_05_12_02_860854_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329952335","file1":"1329952333","file0":"1329952329","file4":"1329952339","file5":"1329952340","file3":"1329952337"},"map_files_photo_id_array":[{"photo_id":"1329952340","filename":"file5"},{"photo_id":"1329952335","filename":"file2"},{"photo_id":"1329952339","filename":"file4"},{"photo_id":"1329952333","filename":"file1"},{"photo_id":"1329952329","filename":"file0"},{"photo_id":"1329952337","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329952339":["hashtag1","hashtag2"]},{"1329952333":["hashtag1","hashtag2"]},{"1329952335":["hashtag1","hashtag2"]},{"1329952329":["hashtag1","hashtag2"]},{"1329952340":["hashtag1","hashtag2"]},{"1329952337":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329952339, 1329952333, 1329952335, 1329952329, 1329952340, 1329952337)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.09492063522339 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 05:15:03.364040
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/05/13/image_19012025_05_13_02_519245_0001.jpg', '/home/pi/Desktop/images/19012025/05/13/image_19012025_05_13_02_519245_0002.jpg', '/home/pi/Desktop/images/19012025/05/13/image_19012025_05_13_02_519245_0003.jpg', '/home/pi/Desktop/images/19012025/05/14/image_19012025_05_14_03_056759_0000.jpg', '/home/pi/Desktop/images/19012025/05/14/image_19012025_05_14_03_056759_0001.jpg', '/home/pi/Desktop/images/19012025/05/14/image_19012025_05_14_03_056759_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/05/13/image_19012025_05_13_02_519245_0001.jpg
/home/pi/Desktop/images/19012025/05/13/image_19012025_05_13_02_519245_0002.jpg
/home/pi/Desktop/images/19012025/05/13/image_19012025_05_13_02_519245_0003.jpg
/home/pi/Desktop/images/19012025/05/14/image_19012025_05_14_03_056759_0000.jpg
/home/pi/Desktop/images/19012025/05/14/image_19012025_05_14_03_056759_0001.jpg
/home/pi/Desktop/images/19012025/05/14/image_19012025_05_14_03_056759_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329952354","1329952356","1329952361","1329952364","1329952358","1329952366"],"photo_ids_order":["1329952354","1329952356","1329952358","1329952361","1329952364","1329952366"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/c9c61f339d632481bdb29d57a36eb19c.jpg","text":"TemporaryFile(/tmp/multipartBody5354598864139597414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737260180161,"filename":"image_19012025_05_13_02_519245_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/4e2f1489854f6f50d432ba68d98c524b.jpg","text":"TemporaryFile(/tmp/multipartBody8940904789922003131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737260180161,"filename":"image_19012025_05_13_02_519245_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/0af85dc4cd658dd9974094bd3e81f8e9.jpg","text":"TemporaryFile(/tmp/multipartBody4178781428117198684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737260180161,"filename":"image_19012025_05_14_03_056759_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/8b4b85f4c7a6893514841c718ee0853e.jpg","text":"TemporaryFile(/tmp/multipartBody2551779515376162904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737260180161,"filename":"image_19012025_05_14_03_056759_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/6c3deec41bd7f55ab1fc69678dd98aef.jpg","text":"TemporaryFile(/tmp/multipartBody4564967933067137493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737260180161,"filename":"image_19012025_05_13_02_519245_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/de511f17b95080b8b2d71d9c3a3aa73e.jpg","text":"TemporaryFile(/tmp/multipartBody4898021626376991352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737260180161,"filename":"image_19012025_05_14_03_056759_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329952358","file1":"1329952356","file0":"1329952354","file4":"1329952364","file5":"1329952366","file3":"1329952361"},"map_files_photo_id_array":[{"photo_id":"1329952366","filename":"file5"},{"photo_id":"1329952358","filename":"file2"},{"photo_id":"1329952364","filename":"file4"},{"photo_id":"1329952356","filename":"file1"},{"photo_id":"1329952354","filename":"file0"},{"photo_id":"1329952361","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329952354":["hashtag1","hashtag2"]},{"1329952356":["hashtag1","hashtag2"]},{"1329952361":["hashtag1","hashtag2"]},{"1329952364":["hashtag1","hashtag2"]},{"1329952358":["hashtag1","hashtag2"]},{"1329952366":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329952354, 1329952356, 1329952361, 1329952364, 1329952358, 1329952366)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.76981997489929 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 05:16:02.739285
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/05/14/image_19012025_05_14_03_056759_0003.jpg', '/home/pi/Desktop/images/19012025/05/15/image_19012025_05_15_02_566582_0000.jpg', '/home/pi/Desktop/images/19012025/05/15/image_19012025_05_15_02_566582_0001.jpg', '/home/pi/Desktop/images/19012025/05/15/image_19012025_05_15_02_566582_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/05/14/image_19012025_05_14_03_056759_0003.jpg
/home/pi/Desktop/images/19012025/05/15/image_19012025_05_15_02_566582_0000.jpg
/home/pi/Desktop/images/19012025/05/15/image_19012025_05_15_02_566582_0001.jpg
/home/pi/Desktop/images/19012025/05/15/image_19012025_05_15_02_566582_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.6281418800354 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 05:16:22.246996
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/05/14/image_19012025_05_14_03_056759_0003.jpg', '/home/pi/Desktop/images/19012025/05/15/image_19012025_05_15_02_566582_0000.jpg', '/home/pi/Desktop/images/19012025/05/15/image_19012025_05_15_02_566582_0001.jpg', '/home/pi/Desktop/images/19012025/05/15/image_19012025_05_15_02_566582_0002.jpg', '/home/pi/Desktop/images/19012025/05/15/image_19012025_05_15_02_566582_0003.jpg', '/home/pi/Desktop/images/19012025/05/16/image_19012025_05_16_03_062511_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/05/14/image_19012025_05_14_03_056759_0003.jpg
/home/pi/Desktop/images/19012025/05/15/image_19012025_05_15_02_566582_0000.jpg
/home/pi/Desktop/images/19012025/05/15/image_19012025_05_15_02_566582_0001.jpg
/home/pi/Desktop/images/19012025/05/15/image_19012025_05_15_02_566582_0002.jpg
/home/pi/Desktop/images/19012025/05/15/image_19012025_05_15_02_566582_0003.jpg
/home/pi/Desktop/images/19012025/05/16/image_19012025_05_16_03_062511_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329952477","1329952513","1329952482","1329952515","1329952496","1329952517"],"photo_ids_order":["1329952477","1329952482","1329952496","1329952513","1329952515","1329952517"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/9a04fb91aede05c10c0eb462514628f1.jpg","text":"TemporaryFile(/tmp/multipartBody1239750229651980120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737260258516,"filename":"image_19012025_05_14_03_056759_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/533b6c8e223cf2565d5b2a6a56e7dcc8.jpg","text":"TemporaryFile(/tmp/multipartBody1063786239810631894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737260258516,"filename":"image_19012025_05_15_02_566582_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/071cfbe4c1e226baf1e29b28d17f2564.jpg","text":"TemporaryFile(/tmp/multipartBody7458405256535699150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737260258516,"filename":"image_19012025_05_15_02_566582_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/ae23c9e0311b3e7347f038e98e3714cb.jpg","text":"TemporaryFile(/tmp/multipartBody3767585781907053237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737260258516,"filename":"image_19012025_05_15_02_566582_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/c35a9cf34d0d77f7ceaf70861dfef813.jpg","text":"TemporaryFile(/tmp/multipartBody7133858605738653648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737260258516,"filename":"image_19012025_05_15_02_566582_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/b0e245022a8711b16d399a40f072697c.jpg","text":"TemporaryFile(/tmp/multipartBody4587738668882337707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737260258516,"filename":"image_19012025_05_16_03_062511_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329952496","file1":"1329952482","file0":"1329952477","file4":"1329952515","file5":"1329952517","file3":"1329952513"},"map_files_photo_id_array":[{"photo_id":"1329952517","filename":"file5"},{"photo_id":"1329952496","filename":"file2"},{"photo_id":"1329952515","filename":"file4"},{"photo_id":"1329952482","filename":"file1"},{"photo_id":"1329952477","filename":"file0"},{"photo_id":"1329952513","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329952477":["hashtag1","hashtag2"]},{"1329952513":["hashtag1","hashtag2"]},{"1329952482":["hashtag1","hashtag2"]},{"1329952515":["hashtag1","hashtag2"]},{"1329952496":["hashtag1","hashtag2"]},{"1329952517":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329952477, 1329952513, 1329952482, 1329952515, 1329952496, 1329952517)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.569552183151245 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 05:17:21.842162
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/05/16/image_19012025_05_16_03_062511_0001.jpg', '/home/pi/Desktop/images/19012025/05/16/image_19012025_05_16_03_062511_0002.jpg', '/home/pi/Desktop/images/19012025/05/16/image_19012025_05_16_03_062511_0003.jpg', '/home/pi/Desktop/images/19012025/05/17/image_19012025_05_17_02_682978_0000.jpg', '/home/pi/Desktop/images/19012025/05/17/image_19012025_05_17_02_682978_0001.jpg', '/home/pi/Desktop/images/19012025/05/17/image_19012025_05_17_02_682978_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/05/16/image_19012025_05_16_03_062511_0001.jpg
/home/pi/Desktop/images/19012025/05/16/image_19012025_05_16_03_062511_0002.jpg
/home/pi/Desktop/images/19012025/05/16/image_19012025_05_16_03_062511_0003.jpg
/home/pi/Desktop/images/19012025/05/17/image_19012025_05_17_02_682978_0000.jpg
/home/pi/Desktop/images/19012025/05/17/image_19012025_05_17_02_682978_0001.jpg
/home/pi/Desktop/images/19012025/05/17/image_19012025_05_17_02_682978_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329952593","1329952740","1329952656","1329952743","1329952595","1329952733"],"photo_ids_order":["1329952593","1329952595","1329952656","1329952733","1329952740","1329952743"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/bf59390fea4a685e0e61ad0409340f33.jpg","text":"TemporaryFile(/tmp/multipartBody4364792395910608094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737260318112,"filename":"image_19012025_05_16_03_062511_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/92890ad28a566f29e9ce914d6e28faeb.jpg","text":"TemporaryFile(/tmp/multipartBody4337941388267177134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737260318112,"filename":"image_19012025_05_17_02_682978_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/e62392c05bdd7b21952e4c2b83a2135a.jpg","text":"TemporaryFile(/tmp/multipartBody5768180760555585142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737260318112,"filename":"image_19012025_05_16_03_062511_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/5cc0a94add945258efa3b5a327799a90.jpg","text":"TemporaryFile(/tmp/multipartBody2081732912359527244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737260318112,"filename":"image_19012025_05_17_02_682978_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/05349fc1310ecb55d3c9e29539e6f482.jpg","text":"TemporaryFile(/tmp/multipartBody7366133708961837677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737260318112,"filename":"image_19012025_05_16_03_062511_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/1d76512b9a9bbef82e20eee3dae87c4a.jpg","text":"TemporaryFile(/tmp/multipartBody2045889980827998122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737260318112,"filename":"image_19012025_05_17_02_682978_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329952656","file1":"1329952595","file0":"1329952593","file4":"1329952740","file5":"1329952743","file3":"1329952733"},"map_files_photo_id_array":[{"photo_id":"1329952743","filename":"file5"},{"photo_id":"1329952656","filename":"file2"},{"photo_id":"1329952740","filename":"file4"},{"photo_id":"1329952595","filename":"file1"},{"photo_id":"1329952593","filename":"file0"},{"photo_id":"1329952733","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329952593":["hashtag1","hashtag2"]},{"1329952740":["hashtag1","hashtag2"]},{"1329952656":["hashtag1","hashtag2"]},{"1329952743":["hashtag1","hashtag2"]},{"1329952595":["hashtag1","hashtag2"]},{"1329952733":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329952593, 1329952740, 1329952656, 1329952743, 1329952595, 1329952733)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.00616502761841 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 05:18:22.388794
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/05/17/image_19012025_05_17_02_682978_0003.jpg', '/home/pi/Desktop/images/19012025/05/18/image_19012025_05_18_02_209942_0000.jpg', '/home/pi/Desktop/images/19012025/05/18/image_19012025_05_18_02_209942_0001.jpg', '/home/pi/Desktop/images/19012025/05/18/image_19012025_05_18_02_209942_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/05/17/image_19012025_05_17_02_682978_0003.jpg
/home/pi/Desktop/images/19012025/05/18/image_19012025_05_18_02_209942_0000.jpg
/home/pi/Desktop/images/19012025/05/18/image_19012025_05_18_02_209942_0001.jpg
/home/pi/Desktop/images/19012025/05/18/image_19012025_05_18_02_209942_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329952788","1329953406","1329953174","1329952811"],"photo_ids_order":["1329952788","1329952811","1329953174","1329953406"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/38d82f64425cf86fb5d61a430042a571.jpg","text":"TemporaryFile(/tmp/multipartBody4409291439311491393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737260373621,"filename":"image_19012025_05_17_02_682978_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/315144be8b96cd78b8a449c2a8b904b8.jpg","text":"TemporaryFile(/tmp/multipartBody5459863812421483199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737260373621,"filename":"image_19012025_05_18_02_209942_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/0036608af256af6d17966ca108c812bd.jpg","text":"TemporaryFile(/tmp/multipartBody7330457903372160888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737260373621,"filename":"image_19012025_05_18_02_209942_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/75ccd28c7c7fd31b2715b802b90f4177.jpg","text":"TemporaryFile(/tmp/multipartBody5314242198017800135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737260373621,"filename":"image_19012025_05_18_02_209942_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329953174","file1":"1329952811","file0":"1329952788","file3":"1329953406"},"map_files_photo_id_array":[{"photo_id":"1329953174","filename":"file2"},{"photo_id":"1329952811","filename":"file1"},{"photo_id":"1329952788","filename":"file0"},{"photo_id":"1329953406","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329952788":["hashtag1","hashtag2"]},{"1329953406":["hashtag1","hashtag2"]},{"1329953174":["hashtag1","hashtag2"]},{"1329952811":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329952788, 1329953406, 1329953174, 1329952811)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.08385610580444 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 05:19:21.851878
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/05/18/image_19012025_05_18_02_209942_0003.jpg', '/home/pi/Desktop/images/19012025/05/19/image_19012025_05_19_02_713612_0000.jpg', '/home/pi/Desktop/images/19012025/05/19/image_19012025_05_19_02_713612_0001.jpg', '/home/pi/Desktop/images/19012025/05/19/image_19012025_05_19_02_713612_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/05/18/image_19012025_05_18_02_209942_0003.jpg
/home/pi/Desktop/images/19012025/05/19/image_19012025_05_19_02_713612_0000.jpg
/home/pi/Desktop/images/19012025/05/19/image_19012025_05_19_02_713612_0001.jpg
/home/pi/Desktop/images/19012025/05/19/image_19012025_05_19_02_713612_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329953580","1329953621","1329953618","1329953650"],"photo_ids_order":["1329953580","1329953618","1329953621","1329953650"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/a161ff6c1983a49db021b9b8870310e6.jpg","text":"TemporaryFile(/tmp/multipartBody8822520866627546399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737260433752,"filename":"image_19012025_05_18_02_209942_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/5821e4665f72e7f162a5948bb759628c.jpg","text":"TemporaryFile(/tmp/multipartBody5304082747253742311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737260433752,"filename":"image_19012025_05_19_02_713612_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/c8c65a41d2a7c04a28c478a6dcb9c362.jpg","text":"TemporaryFile(/tmp/multipartBody892871005842624718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737260433752,"filename":"image_19012025_05_19_02_713612_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/8c897bc2b6ee46f0b53aa244ef262ad6.jpg","text":"TemporaryFile(/tmp/multipartBody8156394049423365156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737260433752,"filename":"image_19012025_05_19_02_713612_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329953621","file1":"1329953618","file0":"1329953580","file3":"1329953650"},"map_files_photo_id_array":[{"photo_id":"1329953621","filename":"file2"},{"photo_id":"1329953618","filename":"file1"},{"photo_id":"1329953580","filename":"file0"},{"photo_id":"1329953650","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329953580":["hashtag1","hashtag2"]},{"1329953621":["hashtag1","hashtag2"]},{"1329953618":["hashtag1","hashtag2"]},{"1329953650":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329953580, 1329953621, 1329953618, 1329953650)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.595574617385864 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 05:20:22.330013
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/05/19/image_19012025_05_19_02_713612_0003.jpg', '/home/pi/Desktop/images/19012025/05/20/image_19012025_05_20_02_194032_0000.jpg', '/home/pi/Desktop/images/19012025/05/20/image_19012025_05_20_02_194032_0001.jpg', '/home/pi/Desktop/images/19012025/05/20/image_19012025_05_20_02_194032_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/05/19/image_19012025_05_19_02_713612_0003.jpg
/home/pi/Desktop/images/19012025/05/20/image_19012025_05_20_02_194032_0000.jpg
/home/pi/Desktop/images/19012025/05/20/image_19012025_05_20_02_194032_0001.jpg
/home/pi/Desktop/images/19012025/05/20/image_19012025_05_20_02_194032_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.881125926971436 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 05:21:02.407820
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/05/19/image_19012025_05_19_02_713612_0003.jpg', '/home/pi/Desktop/images/19012025/05/20/image_19012025_05_20_02_194032_0000.jpg', '/home/pi/Desktop/images/19012025/05/20/image_19012025_05_20_02_194032_0001.jpg', '/home/pi/Desktop/images/19012025/05/20/image_19012025_05_20_02_194032_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/05/19/image_19012025_05_19_02_713612_0003.jpg
/home/pi/Desktop/images/19012025/05/20/image_19012025_05_20_02_194032_0000.jpg
/home/pi/Desktop/images/19012025/05/20/image_19012025_05_20_02_194032_0001.jpg
/home/pi/Desktop/images/19012025/05/20/image_19012025_05_20_02_194032_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329953727","1329953738","1329953755","1329953740"],"photo_ids_order":["1329953727","1329953738","1329953740","1329953755"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/80bff7ae6c8f1cf1fa315e5472df4483.jpg","text":"TemporaryFile(/tmp/multipartBody7650793089671369216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737260533779,"filename":"image_19012025_05_19_02_713612_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/387693f3e98171257f6c985376c5533a.jpg","text":"TemporaryFile(/tmp/multipartBody6870268142600126040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737260533779,"filename":"image_19012025_05_20_02_194032_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/a56c91676f9ed244c5e32c8c2342304a.jpg","text":"TemporaryFile(/tmp/multipartBody6422300160686904101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737260533779,"filename":"image_19012025_05_20_02_194032_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/2b58fd304b56183769c0898a5a60a063.jpg","text":"TemporaryFile(/tmp/multipartBody8869477363962646429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737260533779,"filename":"image_19012025_05_20_02_194032_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329953740","file1":"1329953738","file0":"1329953727","file3":"1329953755"},"map_files_photo_id_array":[{"photo_id":"1329953740","filename":"file2"},{"photo_id":"1329953738","filename":"file1"},{"photo_id":"1329953727","filename":"file0"},{"photo_id":"1329953755","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329953727":["hashtag1","hashtag2"]},{"1329953738":["hashtag1","hashtag2"]},{"1329953755":["hashtag1","hashtag2"]},{"1329953740":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329953727, 1329953738, 1329953755, 1329953740)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.515888690948486 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 05:22:02.993387
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/05/20/image_19012025_05_20_02_194032_0003.jpg', '/home/pi/Desktop/images/19012025/05/21/image_19012025_05_21_02_712159_0000.jpg', '/home/pi/Desktop/images/19012025/05/21/image_19012025_05_21_02_712159_0001.jpg', '/home/pi/Desktop/images/19012025/05/21/image_19012025_05_21_02_712159_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/05/20/image_19012025_05_20_02_194032_0003.jpg
/home/pi/Desktop/images/19012025/05/21/image_19012025_05_21_02_712159_0000.jpg
/home/pi/Desktop/images/19012025/05/21/image_19012025_05_21_02_712159_0001.jpg
/home/pi/Desktop/images/19012025/05/21/image_19012025_05_21_02_712159_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 11.066713094711304 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 05:22:22.540038
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/05/20/image_19012025_05_20_02_194032_0003.jpg', '/home/pi/Desktop/images/19012025/05/21/image_19012025_05_21_02_712159_0000.jpg', '/home/pi/Desktop/images/19012025/05/21/image_19012025_05_21_02_712159_0001.jpg', '/home/pi/Desktop/images/19012025/05/21/image_19012025_05_21_02_712159_0002.jpg', '/home/pi/Desktop/images/19012025/05/21/image_19012025_05_21_02_712159_0003.jpg', '/home/pi/Desktop/images/19012025/05/22/image_19012025_05_22_02_215264_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/05/20/image_19012025_05_20_02_194032_0003.jpg
/home/pi/Desktop/images/19012025/05/21/image_19012025_05_21_02_712159_0000.jpg
/home/pi/Desktop/images/19012025/05/21/image_19012025_05_21_02_712159_0001.jpg
/home/pi/Desktop/images/19012025/05/21/image_19012025_05_21_02_712159_0002.jpg
/home/pi/Desktop/images/19012025/05/21/image_19012025_05_21_02_712159_0003.jpg
/home/pi/Desktop/images/19012025/05/22/image_19012025_05_22_02_215264_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":["1329953889","1329953898","1329953892","1329953907","1329953901","1329953891"],"photo_ids_order":["1329953889","1329953891","1329953892","1329953898","1329953901","1329953907"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/5eedd034ab1d4e811d5a121de4f3d0da.jpg","text":"TemporaryFile(/tmp/multipartBody5069362291435513183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737260619444,"filename":"image_19012025_05_20_02_194032_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/ffe68a64fef891ba6c8d5efaa76208bc.jpg","text":"TemporaryFile(/tmp/multipartBody7230348492797493693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737260619444,"filename":"image_19012025_05_21_02_712159_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/2c812fb457c7b65d76ac930ae22d8ace.jpg","text":"TemporaryFile(/tmp/multipartBody2684134549913331594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737260619444,"filename":"image_19012025_05_21_02_712159_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/507b9db0740b7af8877525061b94c9fa.jpg","text":"TemporaryFile(/tmp/multipartBody7277020275492399520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737260619444,"filename":"image_19012025_05_22_02_215264_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/feb41180a25ec3512d994025efdbe1b8.jpg","text":"TemporaryFile(/tmp/multipartBody6277009620428626651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737260619444,"filename":"image_19012025_05_21_02_712159_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/7b5b7ee56d9dc78aa4c71807c9c390e1.jpg","text":"TemporaryFile(/tmp/multipartBody3331477416439314627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737260619444,"filename":"image_19012025_05_21_02_712159_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329953892","file1":"1329953891","file0":"1329953889","file4":"1329953901","file5":"1329953907","file3":"1329953898"},"map_files_photo_id_array":[{"photo_id":"1329953907","filename":"file5"},{"photo_id":"1329953892","filename":"file2"},{"photo_id":"1329953901","filename":"file4"},{"photo_id":"1329953891","filename":"file1"},{"photo_id":"1329953889","filename":"file0"},{"photo_id":"1329953898","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329953889":["hashtag1","hashtag2"]},{"1329953898":["hashtag1","hashtag2"]},{"1329953892":["hashtag1","hashtag2"]},{"1329953907":["hashtag1","hashtag2"]},{"1329953901":["hashtag1","hashtag2"]},{"1329953891":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329953889, 1329953898, 1329953892, 1329953907, 1329953901, 1329953891)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.553892850875854 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 05:24:03.033611
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/05/22/image_19012025_05_22_02_215264_0001.jpg', '/home/pi/Desktop/images/19012025/05/22/image_19012025_05_22_02_215264_0002.jpg', '/home/pi/Desktop/images/19012025/05/22/image_19012025_05_22_02_215264_0003.jpg', '/home/pi/Desktop/images/19012025/05/23/image_19012025_05_23_02_953298_0000.jpg', '/home/pi/Desktop/images/19012025/05/23/image_19012025_05_23_02_953298_0001.jpg', '/home/pi/Desktop/images/19012025/05/23/image_19012025_05_23_02_953298_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/05/22/image_19012025_05_22_02_215264_0001.jpg
/home/pi/Desktop/images/19012025/05/22/image_19012025_05_22_02_215264_0002.jpg
/home/pi/Desktop/images/19012025/05/22/image_19012025_05_22_02_215264_0003.jpg
/home/pi/Desktop/images/19012025/05/23/image_19012025_05_23_02_953298_0000.jpg
/home/pi/Desktop/images/19012025/05/23/image_19012025_05_23_02_953298_0001.jpg
/home/pi/Desktop/images/19012025/05/23/image_19012025_05_23_02_953298_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329954024","1329954027","1329954021","1329954017","1329954029","1329954019"],"photo_ids_order":["1329954017","1329954019","1329954021","1329954024","1329954027","1329954029"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/7112e1b4b706ed80e108b2d527910c22.jpg","text":"TemporaryFile(/tmp/multipartBody3088615610524245550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737260719792,"filename":"image_19012025_05_23_02_953298_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/8f0b032efc2c2e1940cd3d21808db9f2.jpg","text":"TemporaryFile(/tmp/multipartBody1460341404993012045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737260719792,"filename":"image_19012025_05_23_02_953298_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/af337544401269f997a842975585afe6.jpg","text":"TemporaryFile(/tmp/multipartBody5513230447942258269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737260719792,"filename":"image_19012025_05_22_02_215264_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/e6babfbd396740aba14a3548f53da0c2.jpg","text":"TemporaryFile(/tmp/multipartBody1778986271805811018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737260719792,"filename":"image_19012025_05_22_02_215264_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/0022de7741d5f317eb270d3f5815079e.jpg","text":"TemporaryFile(/tmp/multipartBody9187506049367647823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737260719792,"filename":"image_19012025_05_23_02_953298_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/7a521b255df1bcadf23629060ca139b5.jpg","text":"TemporaryFile(/tmp/multipartBody7269207086522770051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737260719792,"filename":"image_19012025_05_22_02_215264_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329954021","file1":"1329954019","file0":"1329954017","file4":"1329954027","file5":"1329954029","file3":"1329954024"},"map_files_photo_id_array":[{"photo_id":"1329954029","filename":"file5"},{"photo_id":"1329954021","filename":"file2"},{"photo_id":"1329954027","filename":"file4"},{"photo_id":"1329954019","filename":"file1"},{"photo_id":"1329954017","filename":"file0"},{"photo_id":"1329954024","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329954024":["hashtag1","hashtag2"]},{"1329954027":["hashtag1","hashtag2"]},{"1329954021":["hashtag1","hashtag2"]},{"1329954017":["hashtag1","hashtag2"]},{"1329954029":["hashtag1","hashtag2"]},{"1329954019":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329954024, 1329954027, 1329954021, 1329954017, 1329954029, 1329954019)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.2508909702301 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 05:25:02.648753
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/05/23/image_19012025_05_23_02_953298_0003.jpg', '/home/pi/Desktop/images/19012025/05/24/image_19012025_05_24_02_465775_0000.jpg', '/home/pi/Desktop/images/19012025/05/24/image_19012025_05_24_02_465775_0001.jpg', '/home/pi/Desktop/images/19012025/05/24/image_19012025_05_24_02_465775_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/05/23/image_19012025_05_23_02_953298_0003.jpg
/home/pi/Desktop/images/19012025/05/24/image_19012025_05_24_02_465775_0000.jpg
/home/pi/Desktop/images/19012025/05/24/image_19012025_05_24_02_465775_0001.jpg
/home/pi/Desktop/images/19012025/05/24/image_19012025_05_24_02_465775_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329954092","1329954094","1329954091","1329954096"],"photo_ids_order":["1329954091","1329954092","1329954094","1329954096"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/b87029772697ea5c88ccd2a5be118bff.jpg","text":"TemporaryFile(/tmp/multipartBody4451587714495118938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737260774053,"filename":"image_19012025_05_24_02_465775_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/4fe569e1813e4d13ede2315ebcc4af56.jpg","text":"TemporaryFile(/tmp/multipartBody5213558545358550381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737260774053,"filename":"image_19012025_05_24_02_465775_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/8d2e6c8fc3977b3de17de090d63aa423.jpg","text":"TemporaryFile(/tmp/multipartBody5299829767475265413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737260774053,"filename":"image_19012025_05_23_02_953298_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/c9d00ac671df0b73f2a848882bdf3ba4.jpg","text":"TemporaryFile(/tmp/multipartBody5767332920575145435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737260774053,"filename":"image_19012025_05_24_02_465775_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329954094","file1":"1329954092","file0":"1329954091","file3":"1329954096"},"map_files_photo_id_array":[{"photo_id":"1329954094","filename":"file2"},{"photo_id":"1329954092","filename":"file1"},{"photo_id":"1329954091","filename":"file0"},{"photo_id":"1329954096","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329954092":["hashtag1","hashtag2"]},{"1329954094":["hashtag1","hashtag2"]},{"1329954091":["hashtag1","hashtag2"]},{"1329954096":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329954092, 1329954094, 1329954091, 1329954096)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.8312029838562 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 05:26:02.260602
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/05/24/image_19012025_05_24_02_465775_0003.jpg', '/home/pi/Desktop/images/19012025/05/25/image_19012025_05_25_02_960751_0000.jpg', '/home/pi/Desktop/images/19012025/05/25/image_19012025_05_25_02_960751_0001.jpg', '/home/pi/Desktop/images/19012025/05/25/image_19012025_05_25_02_960751_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/05/24/image_19012025_05_24_02_465775_0003.jpg
/home/pi/Desktop/images/19012025/05/25/image_19012025_05_25_02_960751_0000.jpg
/home/pi/Desktop/images/19012025/05/25/image_19012025_05_25_02_960751_0001.jpg
/home/pi/Desktop/images/19012025/05/25/image_19012025_05_25_02_960751_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329954111","1329954108","1329954113","1329954109"],"photo_ids_order":["1329954108","1329954109","1329954111","1329954113"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/8f4508e0e0aa23774c3c008fd11802f4.jpg","text":"TemporaryFile(/tmp/multipartBody484980970414260737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737260833486,"filename":"image_19012025_05_25_02_960751_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/c407329fcdf2e5f526fbee4105b168e0.jpg","text":"TemporaryFile(/tmp/multipartBody2994127917158076956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737260833486,"filename":"image_19012025_05_24_02_465775_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/b24aceb2e1ae269048b80cbbe5628223.jpg","text":"TemporaryFile(/tmp/multipartBody5737737071754328404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737260833486,"filename":"image_19012025_05_25_02_960751_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/93eb121dfb3a60ff229f543b62486d28.jpg","text":"TemporaryFile(/tmp/multipartBody2041261508658782859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737260833486,"filename":"image_19012025_05_25_02_960751_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329954111","file1":"1329954109","file0":"1329954108","file3":"1329954113"},"map_files_photo_id_array":[{"photo_id":"1329954111","filename":"file2"},{"photo_id":"1329954109","filename":"file1"},{"photo_id":"1329954108","filename":"file0"},{"photo_id":"1329954113","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329954111":["hashtag1","hashtag2"]},{"1329954108":["hashtag1","hashtag2"]},{"1329954113":["hashtag1","hashtag2"]},{"1329954109":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329954111, 1329954108, 1329954113, 1329954109)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.56554627418518 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 05:27:02.793885
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/05/25/image_19012025_05_25_02_960751_0003.jpg', '/home/pi/Desktop/images/19012025/05/26/image_19012025_05_26_02_489167_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/05/25/image_19012025_05_25_02_960751_0003.jpg
/home/pi/Desktop/images/19012025/05/26/image_19012025_05_26_02_489167_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329954123","1329954124"],"photo_ids_order":["1329954123","1329954124"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/3cafaaa9eeede84b9ce97a3b9b7dbfe4.jpg","text":"TemporaryFile(/tmp/multipartBody4176137679131891772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737260888308,"filename":"image_19012025_05_25_02_960751_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/c3ec7fb13250948ea0b19b56dfda2080.jpg","text":"TemporaryFile(/tmp/multipartBody6324017058641347150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737260888308,"filename":"image_19012025_05_26_02_489167_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1329954124","file0":"1329954123"},"map_files_photo_id_array":[{"photo_id":"1329954124","filename":"file1"},{"photo_id":"1329954123","filename":"file0"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329954123":["hashtag1","hashtag2"]},{"1329954124":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329954123, 1329954124)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 23.13076901435852 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 05:28:02.393397
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/05/27/image_19012025_05_27_02_167927_0000.jpg', '/home/pi/Desktop/images/19012025/05/27/image_19012025_05_27_02_167927_0001.jpg', '/home/pi/Desktop/images/19012025/05/27/image_19012025_05_27_02_167927_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/05/27/image_19012025_05_27_02_167927_0000.jpg
/home/pi/Desktop/images/19012025/05/27/image_19012025_05_27_02_167927_0001.jpg
/home/pi/Desktop/images/19012025/05/27/image_19012025_05_27_02_167927_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329954147","1329954146","1329954157"],"photo_ids_order":["1329954146","1329954147","1329954157"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/b21db60d5513aa93dd8356f33372a418.jpg","text":"TemporaryFile(/tmp/multipartBody8604965775057322942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737260950951,"filename":"image_19012025_05_27_02_167927_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/e964785087cc216bd8350d7e4eb5cb03.jpg","text":"TemporaryFile(/tmp/multipartBody2153844210281073111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737260950951,"filename":"image_19012025_05_27_02_167927_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/84c20c81f78995e4a2b3125274116be0.jpg","text":"TemporaryFile(/tmp/multipartBody4553628176972123772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737260950951,"filename":"image_19012025_05_27_02_167927_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329954157","file1":"1329954147","file0":"1329954146"},"map_files_photo_id_array":[{"photo_id":"1329954157","filename":"file2"},{"photo_id":"1329954147","filename":"file1"},{"photo_id":"1329954146","filename":"file0"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329954147":["hashtag1","hashtag2"]},{"1329954146":["hashtag1","hashtag2"]},{"1329954157":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329954147, 1329954146, 1329954157)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.294740200042725 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 05:29:03.249039
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/05/27/image_19012025_05_27_02_167927_0003.jpg', '/home/pi/Desktop/images/19012025/05/28/image_19012025_05_28_02_681120_0000.jpg', '/home/pi/Desktop/images/19012025/05/28/image_19012025_05_28_02_681120_0001.jpg', '/home/pi/Desktop/images/19012025/05/28/image_19012025_05_28_02_681120_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/05/27/image_19012025_05_27_02_167927_0003.jpg
/home/pi/Desktop/images/19012025/05/28/image_19012025_05_28_02_681120_0000.jpg
/home/pi/Desktop/images/19012025/05/28/image_19012025_05_28_02_681120_0001.jpg
/home/pi/Desktop/images/19012025/05/28/image_19012025_05_28_02_681120_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.912709474563599 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 05:29:22.500300
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/05/27/image_19012025_05_27_02_167927_0003.jpg', '/home/pi/Desktop/images/19012025/05/28/image_19012025_05_28_02_681120_0000.jpg', '/home/pi/Desktop/images/19012025/05/28/image_19012025_05_28_02_681120_0001.jpg', '/home/pi/Desktop/images/19012025/05/28/image_19012025_05_28_02_681120_0002.jpg', '/home/pi/Desktop/images/19012025/05/28/image_19012025_05_28_02_681120_0003.jpg', '/home/pi/Desktop/images/19012025/05/29/image_19012025_05_29_02_415914_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/05/27/image_19012025_05_27_02_167927_0003.jpg
/home/pi/Desktop/images/19012025/05/28/image_19012025_05_28_02_681120_0000.jpg
/home/pi/Desktop/images/19012025/05/28/image_19012025_05_28_02_681120_0001.jpg
/home/pi/Desktop/images/19012025/05/28/image_19012025_05_28_02_681120_0002.jpg
/home/pi/Desktop/images/19012025/05/28/image_19012025_05_28_02_681120_0003.jpg
/home/pi/Desktop/images/19012025/05/29/image_19012025_05_29_02_415914_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329954290","1329954293","1329954287","1329954292","1329954283","1329954285"],"photo_ids_order":["1329954283","1329954285","1329954287","1329954290","1329954292","1329954293"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/a9ba176d7fe8fa6a4e90c251717c68e2.jpg","text":"TemporaryFile(/tmp/multipartBody8139894318911576857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737261038823,"filename":"image_19012025_05_28_02_681120_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/c4fc1429bafc614eab8a29f920d580a0.jpg","text":"TemporaryFile(/tmp/multipartBody7340602807954105368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737261038823,"filename":"image_19012025_05_29_02_415914_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/150878b96eac95910644db998b4a3ffc.jpg","text":"TemporaryFile(/tmp/multipartBody4897908789208170444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737261038823,"filename":"image_19012025_05_28_02_681120_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/074784cbda7b3ed027da34039ea75bcc.jpg","text":"TemporaryFile(/tmp/multipartBody3273016900526495197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737261038823,"filename":"image_19012025_05_28_02_681120_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/b45b6644962e63f1a0c5f1b4c7c5eeba.jpg","text":"TemporaryFile(/tmp/multipartBody2961947894405019989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737261038823,"filename":"image_19012025_05_27_02_167927_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/2ee1828bdfee45f98fee06d620a47261.jpg","text":"TemporaryFile(/tmp/multipartBody7749815272185228150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737261038823,"filename":"image_19012025_05_28_02_681120_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329954287","file1":"1329954285","file0":"1329954283","file4":"1329954292","file5":"1329954293","file3":"1329954290"},"map_files_photo_id_array":[{"photo_id":"1329954293","filename":"file5"},{"photo_id":"1329954287","filename":"file2"},{"photo_id":"1329954292","filename":"file4"},{"photo_id":"1329954285","filename":"file1"},{"photo_id":"1329954283","filename":"file0"},{"photo_id":"1329954290","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329954290":["hashtag1","hashtag2"]},{"1329954293":["hashtag1","hashtag2"]},{"1329954287":["hashtag1","hashtag2"]},{"1329954292":["hashtag1","hashtag2"]},{"1329954283":["hashtag1","hashtag2"]},{"1329954285":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329954290, 1329954293, 1329954287, 1329954292, 1329954283, 1329954285)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.39505743980408 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 05:30:22.276419
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/05/29/image_19012025_05_29_02_415914_0001.jpg', '/home/pi/Desktop/images/19012025/05/29/image_19012025_05_29_02_415914_0002.jpg', '/home/pi/Desktop/images/19012025/05/29/image_19012025_05_29_02_415914_0003.jpg', '/home/pi/Desktop/images/19012025/05/30/image_19012025_05_30_02_959203_0000.jpg', '/home/pi/Desktop/images/19012025/05/30/image_19012025_05_30_02_959203_0001.jpg', '/home/pi/Desktop/images/19012025/05/30/image_19012025_05_30_02_959203_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/05/29/image_19012025_05_29_02_415914_0001.jpg
/home/pi/Desktop/images/19012025/05/29/image_19012025_05_29_02_415914_0002.jpg
/home/pi/Desktop/images/19012025/05/29/image_19012025_05_29_02_415914_0003.jpg
/home/pi/Desktop/images/19012025/05/30/image_19012025_05_30_02_959203_0000.jpg
/home/pi/Desktop/images/19012025/05/30/image_19012025_05_30_02_959203_0001.jpg
/home/pi/Desktop/images/19012025/05/30/image_19012025_05_30_02_959203_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329954333","1329954298","1329954310","1329954307","1329954301","1329954304"],"photo_ids_order":["1329954298","1329954301","1329954304","1329954307","1329954310","1329954333"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/0ca95d2206ddcc206ceb7be3d01d6f50.jpg","text":"TemporaryFile(/tmp/multipartBody1019179148851303894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737261099233,"filename":"image_19012025_05_30_02_959203_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/e1b4880fea555d02d1ac41e0c9f83123.jpg","text":"TemporaryFile(/tmp/multipartBody6562649360226303279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737261099233,"filename":"image_19012025_05_29_02_415914_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/f0c4e23b240a6d5b204c6d6352b5f5d5.jpg","text":"TemporaryFile(/tmp/multipartBody452781589714722827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737261099233,"filename":"image_19012025_05_30_02_959203_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/2117d200ce29d4dde40af86a06fa28fa.jpg","text":"TemporaryFile(/tmp/multipartBody8013921003237804597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737261099233,"filename":"image_19012025_05_30_02_959203_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/9523089834b51b3868d613a8bf18df91.jpg","text":"TemporaryFile(/tmp/multipartBody7160300406627517351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737261099233,"filename":"image_19012025_05_29_02_415914_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/8e5182f813e91dde788f09b491e39447.jpg","text":"TemporaryFile(/tmp/multipartBody8491777750619607137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737261099233,"filename":"image_19012025_05_29_02_415914_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329954304","file1":"1329954301","file0":"1329954298","file4":"1329954310","file5":"1329954333","file3":"1329954307"},"map_files_photo_id_array":[{"photo_id":"1329954333","filename":"file5"},{"photo_id":"1329954304","filename":"file2"},{"photo_id":"1329954310","filename":"file4"},{"photo_id":"1329954301","filename":"file1"},{"photo_id":"1329954298","filename":"file0"},{"photo_id":"1329954307","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329954333":["hashtag1","hashtag2"]},{"1329954298":["hashtag1","hashtag2"]},{"1329954310":["hashtag1","hashtag2"]},{"1329954307":["hashtag1","hashtag2"]},{"1329954301":["hashtag1","hashtag2"]},{"1329954304":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329954333, 1329954298, 1329954310, 1329954307, 1329954301, 1329954304)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.50665044784546 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 05:31:21.755057
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/05/30/image_19012025_05_30_02_959203_0003.jpg', '/home/pi/Desktop/images/19012025/05/31/image_19012025_05_31_02_694991_0000.jpg', '/home/pi/Desktop/images/19012025/05/31/image_19012025_05_31_02_694991_0001.jpg', '/home/pi/Desktop/images/19012025/05/31/image_19012025_05_31_02_694991_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/05/30/image_19012025_05_30_02_959203_0003.jpg
/home/pi/Desktop/images/19012025/05/31/image_19012025_05_31_02_694991_0000.jpg
/home/pi/Desktop/images/19012025/05/31/image_19012025_05_31_02_694991_0001.jpg
/home/pi/Desktop/images/19012025/05/31/image_19012025_05_31_02_694991_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329954420","1329954432","1329954418","1329954400"],"photo_ids_order":["1329954400","1329954418","1329954420","1329954432"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/29254ab1b8c0771b05d7aad4e0be6778.jpg","text":"TemporaryFile(/tmp/multipartBody4177610993683112198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737261152924,"filename":"image_19012025_05_31_02_694991_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/2a0626cca989c6ffee015a40f010e90c.jpg","text":"TemporaryFile(/tmp/multipartBody6105825182166678285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737261152924,"filename":"image_19012025_05_31_02_694991_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/2927d2e3afcb02d1c75e4130ac543525.jpg","text":"TemporaryFile(/tmp/multipartBody2798862945611683245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737261152924,"filename":"image_19012025_05_31_02_694991_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/b415c44923823a1cc6e8823f06e8bc07.jpg","text":"TemporaryFile(/tmp/multipartBody7105683909786754642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737261152924,"filename":"image_19012025_05_30_02_959203_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329954420","file1":"1329954418","file0":"1329954400","file3":"1329954432"},"map_files_photo_id_array":[{"photo_id":"1329954420","filename":"file2"},{"photo_id":"1329954418","filename":"file1"},{"photo_id":"1329954400","filename":"file0"},{"photo_id":"1329954432","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329954420":["hashtag1","hashtag2"]},{"1329954432":["hashtag1","hashtag2"]},{"1329954418":["hashtag1","hashtag2"]},{"1329954400":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329954420, 1329954432, 1329954418, 1329954400)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.42541480064392 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 05:32:22.437963
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/05/31/image_19012025_05_31_02_694991_0003.jpg', '/home/pi/Desktop/images/19012025/05/32/image_19012025_05_32_02_284865_0000.jpg', '/home/pi/Desktop/images/19012025/05/32/image_19012025_05_32_02_284865_0001.jpg', '/home/pi/Desktop/images/19012025/05/32/image_19012025_05_32_02_284865_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/05/31/image_19012025_05_31_02_694991_0003.jpg
/home/pi/Desktop/images/19012025/05/32/image_19012025_05_32_02_284865_0000.jpg
/home/pi/Desktop/images/19012025/05/32/image_19012025_05_32_02_284865_0001.jpg
/home/pi/Desktop/images/19012025/05/32/image_19012025_05_32_02_284865_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.697584867477417 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 05:33:02.542084
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/05/31/image_19012025_05_31_02_694991_0003.jpg', '/home/pi/Desktop/images/19012025/05/32/image_19012025_05_32_02_284865_0000.jpg', '/home/pi/Desktop/images/19012025/05/32/image_19012025_05_32_02_284865_0001.jpg', '/home/pi/Desktop/images/19012025/05/32/image_19012025_05_32_02_284865_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/05/31/image_19012025_05_31_02_694991_0003.jpg
/home/pi/Desktop/images/19012025/05/32/image_19012025_05_32_02_284865_0000.jpg
/home/pi/Desktop/images/19012025/05/32/image_19012025_05_32_02_284865_0001.jpg
/home/pi/Desktop/images/19012025/05/32/image_19012025_05_32_02_284865_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329954672","1329954669","1329954668","1329954675"],"photo_ids_order":["1329954668","1329954669","1329954672","1329954675"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/878367f07b00976405f6b1bb3f08c7fe.jpg","text":"TemporaryFile(/tmp/multipartBody4545577522104087082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737261253797,"filename":"image_19012025_05_32_02_284865_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/0f74e0aa38f2465ebd93230c64792464.jpg","text":"TemporaryFile(/tmp/multipartBody4084400465366484744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737261253797,"filename":"image_19012025_05_32_02_284865_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/d9da668df9f7bf9ecdf5e1cb3ae9a6ec.jpg","text":"TemporaryFile(/tmp/multipartBody1093413085004315796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737261253797,"filename":"image_19012025_05_31_02_694991_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/546676788b15b71e858e627033eef4f7.jpg","text":"TemporaryFile(/tmp/multipartBody266911193997132606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737261253797,"filename":"image_19012025_05_32_02_284865_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329954672","file1":"1329954669","file0":"1329954668","file3":"1329954675"},"map_files_photo_id_array":[{"photo_id":"1329954672","filename":"file2"},{"photo_id":"1329954669","filename":"file1"},{"photo_id":"1329954668","filename":"file0"},{"photo_id":"1329954675","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329954672":["hashtag1","hashtag2"]},{"1329954669":["hashtag1","hashtag2"]},{"1329954668":["hashtag1","hashtag2"]},{"1329954675":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329954672, 1329954669, 1329954668, 1329954675)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 45.63649272918701 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 05:34:03.007770
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/05/32/image_19012025_05_32_02_284865_0003.jpg', '/home/pi/Desktop/images/19012025/05/33/image_19012025_05_33_02_840198_0000.jpg', '/home/pi/Desktop/images/19012025/05/33/image_19012025_05_33_02_840198_0001.jpg', '/home/pi/Desktop/images/19012025/05/33/image_19012025_05_33_02_840198_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/05/32/image_19012025_05_32_02_284865_0003.jpg
/home/pi/Desktop/images/19012025/05/33/image_19012025_05_33_02_840198_0000.jpg
/home/pi/Desktop/images/19012025/05/33/image_19012025_05_33_02_840198_0001.jpg
/home/pi/Desktop/images/19012025/05/33/image_19012025_05_33_02_840198_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.732979536056519 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 05:34:22.653468
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/05/32/image_19012025_05_32_02_284865_0003.jpg', '/home/pi/Desktop/images/19012025/05/33/image_19012025_05_33_02_840198_0000.jpg', '/home/pi/Desktop/images/19012025/05/33/image_19012025_05_33_02_840198_0001.jpg', '/home/pi/Desktop/images/19012025/05/33/image_19012025_05_33_02_840198_0002.jpg', '/home/pi/Desktop/images/19012025/05/33/image_19012025_05_33_02_840198_0003.jpg', '/home/pi/Desktop/images/19012025/05/34/image_19012025_05_34_02_406523_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/05/32/image_19012025_05_32_02_284865_0003.jpg
/home/pi/Desktop/images/19012025/05/33/image_19012025_05_33_02_840198_0000.jpg
/home/pi/Desktop/images/19012025/05/33/image_19012025_05_33_02_840198_0001.jpg
/home/pi/Desktop/images/19012025/05/33/image_19012025_05_33_02_840198_0002.jpg
/home/pi/Desktop/images/19012025/05/33/image_19012025_05_33_02_840198_0003.jpg
/home/pi/Desktop/images/19012025/05/34/image_19012025_05_34_02_406523_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":["1329954692","1329954695","1329954689","1329954698","1329954704","1329954701"],"photo_ids_order":["1329954689","1329954692","1329954695","1329954698","1329954701","1329954704"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/2ca9be3e132ca11bf77f541663563c64.jpg","text":"TemporaryFile(/tmp/multipartBody6573719559746276467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737261338604,"filename":"image_19012025_05_33_02_840198_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/5dfe7b935c3b57fa94e264311f6fa1a2.jpg","text":"TemporaryFile(/tmp/multipartBody6848615638100776282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737261338604,"filename":"image_19012025_05_33_02_840198_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/c6aafd5424ef75af70c4cb2bde82a57f.jpg","text":"TemporaryFile(/tmp/multipartBody3217200043008272677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737261338604,"filename":"image_19012025_05_32_02_284865_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/2ec0dc6a6f8e56e55c4cd1d1342e2e44.jpg","text":"TemporaryFile(/tmp/multipartBody1190810880753142846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737261338604,"filename":"image_19012025_05_33_02_840198_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/52fd31dc82c327a9e53688cb7e4b82c9.jpg","text":"TemporaryFile(/tmp/multipartBody6056818179284938791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737261338604,"filename":"image_19012025_05_34_02_406523_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/725233d6143dd25eff10ca4a6190b35b.jpg","text":"TemporaryFile(/tmp/multipartBody858220246552207194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737261338604,"filename":"image_19012025_05_33_02_840198_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329954695","file1":"1329954692","file0":"1329954689","file4":"1329954701","file5":"1329954704","file3":"1329954698"},"map_files_photo_id_array":[{"photo_id":"1329954704","filename":"file5"},{"photo_id":"1329954695","filename":"file2"},{"photo_id":"1329954701","filename":"file4"},{"photo_id":"1329954692","filename":"file1"},{"photo_id":"1329954689","filename":"file0"},{"photo_id":"1329954698","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329954692":["hashtag1","hashtag2"]},{"1329954695":["hashtag1","hashtag2"]},{"1329954689":["hashtag1","hashtag2"]},{"1329954698":["hashtag1","hashtag2"]},{"1329954704":["hashtag1","hashtag2"]},{"1329954701":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329954692, 1329954695, 1329954689, 1329954698, 1329954704, 1329954701)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.46433091163635 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 05:36:03.125478
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/05/34/image_19012025_05_34_02_406523_0001.jpg', '/home/pi/Desktop/images/19012025/05/34/image_19012025_05_34_02_406523_0002.jpg', '/home/pi/Desktop/images/19012025/05/34/image_19012025_05_34_02_406523_0003.jpg', '/home/pi/Desktop/images/19012025/05/35/image_19012025_05_35_03_075618_0000.jpg', '/home/pi/Desktop/images/19012025/05/35/image_19012025_05_35_03_075618_0001.jpg', '/home/pi/Desktop/images/19012025/05/35/image_19012025_05_35_03_075618_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/05/34/image_19012025_05_34_02_406523_0001.jpg
/home/pi/Desktop/images/19012025/05/34/image_19012025_05_34_02_406523_0002.jpg
/home/pi/Desktop/images/19012025/05/34/image_19012025_05_34_02_406523_0003.jpg
/home/pi/Desktop/images/19012025/05/35/image_19012025_05_35_03_075618_0000.jpg
/home/pi/Desktop/images/19012025/05/35/image_19012025_05_35_03_075618_0001.jpg
/home/pi/Desktop/images/19012025/05/35/image_19012025_05_35_03_075618_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329954872","1329954804","1329954806","1329954832","1329954835","1329954829"],"photo_ids_order":["1329954804","1329954806","1329954829","1329954832","1329954835","1329954872"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/2c7c08207e1894b73e3bd500ab4bea05.jpg","text":"TemporaryFile(/tmp/multipartBody7791176039254382970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737261439770,"filename":"image_19012025_05_35_03_075618_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/2a511f1ca3fe03179290346cd9351f74.jpg","text":"TemporaryFile(/tmp/multipartBody6136308661494763163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737261439770,"filename":"image_19012025_05_34_02_406523_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/5e4711d06aabcfa6cf66991e52251acd.jpg","text":"TemporaryFile(/tmp/multipartBody3871695447842513423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737261439770,"filename":"image_19012025_05_34_02_406523_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/2db76b74db4e04e4019ab6af7e9fb836.jpg","text":"TemporaryFile(/tmp/multipartBody8456379212045248298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737261439770,"filename":"image_19012025_05_35_03_075618_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/be9b42060c397b12ceb1fac9154a3b80.jpg","text":"TemporaryFile(/tmp/multipartBody1814087449859676921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737261439770,"filename":"image_19012025_05_35_03_075618_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/a4f4554ac73e77839f5ea934073cc066.jpg","text":"TemporaryFile(/tmp/multipartBody49749227404234556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737261439770,"filename":"image_19012025_05_34_02_406523_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329954829","file1":"1329954806","file0":"1329954804","file4":"1329954835","file5":"1329954872","file3":"1329954832"},"map_files_photo_id_array":[{"photo_id":"1329954872","filename":"file5"},{"photo_id":"1329954829","filename":"file2"},{"photo_id":"1329954835","filename":"file4"},{"photo_id":"1329954806","filename":"file1"},{"photo_id":"1329954804","filename":"file0"},{"photo_id":"1329954832","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329954872":["hashtag1","hashtag2"]},{"1329954804":["hashtag1","hashtag2"]},{"1329954806":["hashtag1","hashtag2"]},{"1329954832":["hashtag1","hashtag2"]},{"1329954835":["hashtag1","hashtag2"]},{"1329954829":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329954872, 1329954804, 1329954806, 1329954832, 1329954835, 1329954829)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.886892557144165 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 05:37:02.805691
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/05/35/image_19012025_05_35_03_075618_0003.jpg', '/home/pi/Desktop/images/19012025/05/36/image_19012025_05_36_02_589249_0000.jpg', '/home/pi/Desktop/images/19012025/05/36/image_19012025_05_36_02_589249_0001.jpg', '/home/pi/Desktop/images/19012025/05/36/image_19012025_05_36_02_589249_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/05/35/image_19012025_05_35_03_075618_0003.jpg
/home/pi/Desktop/images/19012025/05/36/image_19012025_05_36_02_589249_0000.jpg
/home/pi/Desktop/images/19012025/05/36/image_19012025_05_36_02_589249_0001.jpg
/home/pi/Desktop/images/19012025/05/36/image_19012025_05_36_02_589249_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 11.450942993164062 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 05:37:22.155075
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/05/35/image_19012025_05_35_03_075618_0003.jpg', '/home/pi/Desktop/images/19012025/05/36/image_19012025_05_36_02_589249_0000.jpg', '/home/pi/Desktop/images/19012025/05/36/image_19012025_05_36_02_589249_0001.jpg', '/home/pi/Desktop/images/19012025/05/36/image_19012025_05_36_02_589249_0002.jpg', '/home/pi/Desktop/images/19012025/05/36/image_19012025_05_36_02_589249_0003.jpg', '/home/pi/Desktop/images/19012025/05/37/image_19012025_05_37_03_095763_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/05/35/image_19012025_05_35_03_075618_0003.jpg
/home/pi/Desktop/images/19012025/05/36/image_19012025_05_36_02_589249_0000.jpg
/home/pi/Desktop/images/19012025/05/36/image_19012025_05_36_02_589249_0001.jpg
/home/pi/Desktop/images/19012025/05/36/image_19012025_05_36_02_589249_0002.jpg
/home/pi/Desktop/images/19012025/05/36/image_19012025_05_36_02_589249_0003.jpg
/home/pi/Desktop/images/19012025/05/37/image_19012025_05_37_03_095763_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329955826","1329955436","1329955828","1329955779","1329955569","1329955830"],"photo_ids_order":["1329955436","1329955569","1329955779","1329955826","1329955828","1329955830"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/9a570456d2a9f4d010a578b006a5da0c.jpg","text":"TemporaryFile(/tmp/multipartBody8970620274467929714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737261518996,"filename":"image_19012025_05_36_02_589249_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/a49e08c01d670fe388b467f7baf76541.jpg","text":"TemporaryFile(/tmp/multipartBody2124114136595129278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737261518996,"filename":"image_19012025_05_35_03_075618_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/90afbb18d33c5d13301a6e7fbc4b481b.jpg","text":"TemporaryFile(/tmp/multipartBody5937983678662693465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737261518996,"filename":"image_19012025_05_36_02_589249_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/4c94bcbc25dc7943bb00aeed1aaba174.jpg","text":"TemporaryFile(/tmp/multipartBody1843426891741681791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737261518996,"filename":"image_19012025_05_36_02_589249_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/767751789273d9ab1002b5f2fc7a1467.jpg","text":"TemporaryFile(/tmp/multipartBody2296988356588674277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737261518996,"filename":"image_19012025_05_36_02_589249_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/7097c095b56245f5cf578b4efb1ec9b8.jpg","text":"TemporaryFile(/tmp/multipartBody6805162348831372365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737261518996,"filename":"image_19012025_05_37_03_095763_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329955779","file1":"1329955569","file0":"1329955436","file4":"1329955828","file5":"1329955830","file3":"1329955826"},"map_files_photo_id_array":[{"photo_id":"1329955830","filename":"file5"},{"photo_id":"1329955779","filename":"file2"},{"photo_id":"1329955828","filename":"file4"},{"photo_id":"1329955569","filename":"file1"},{"photo_id":"1329955436","filename":"file0"},{"photo_id":"1329955826","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329955826":["hashtag1","hashtag2"]},{"1329955436":["hashtag1","hashtag2"]},{"1329955828":["hashtag1","hashtag2"]},{"1329955779":["hashtag1","hashtag2"]},{"1329955569":["hashtag1","hashtag2"]},{"1329955830":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329955826, 1329955436, 1329955828, 1329955779, 1329955569, 1329955830)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.11830759048462 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 05:38:21.868341
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/05/37/image_19012025_05_37_03_095763_0001.jpg', '/home/pi/Desktop/images/19012025/05/37/image_19012025_05_37_03_095763_0002.jpg', '/home/pi/Desktop/images/19012025/05/37/image_19012025_05_37_03_095763_0003.jpg', '/home/pi/Desktop/images/19012025/05/38/image_19012025_05_38_02_609972_0000.jpg', '/home/pi/Desktop/images/19012025/05/38/image_19012025_05_38_02_609972_0001.jpg', '/home/pi/Desktop/images/19012025/05/38/image_19012025_05_38_02_609972_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/05/37/image_19012025_05_37_03_095763_0001.jpg
/home/pi/Desktop/images/19012025/05/37/image_19012025_05_37_03_095763_0002.jpg
/home/pi/Desktop/images/19012025/05/37/image_19012025_05_37_03_095763_0003.jpg
/home/pi/Desktop/images/19012025/05/38/image_19012025_05_38_02_609972_0000.jpg
/home/pi/Desktop/images/19012025/05/38/image_19012025_05_38_02_609972_0001.jpg
/home/pi/Desktop/images/19012025/05/38/image_19012025_05_38_02_609972_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329955856","1329955867","1329955870","1329955921","1329955836","1329955839"],"photo_ids_order":["1329955836","1329955839","1329955856","1329955867","1329955870","1329955921"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/3584e32ee7c4d06c0f313d9d952b700b.jpg","text":"TemporaryFile(/tmp/multipartBody1267303737914582822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737261578316,"filename":"image_19012025_05_37_03_095763_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/1ab93ab4f066f1e67c4a58d696c5172f.jpg","text":"TemporaryFile(/tmp/multipartBody6254144116288181983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737261578316,"filename":"image_19012025_05_38_02_609972_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/13fa2b2259cd672c9126ddd9f9e0e944.jpg","text":"TemporaryFile(/tmp/multipartBody2013380334316450628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737261578316,"filename":"image_19012025_05_38_02_609972_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/a36f8b079c3a4f6e4249d3942ba3ee40.jpg","text":"TemporaryFile(/tmp/multipartBody8737876395848925610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737261578316,"filename":"image_19012025_05_38_02_609972_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/10d8d26f7092bea7f1f7605adcf73931.jpg","text":"TemporaryFile(/tmp/multipartBody4078073052990496629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737261578316,"filename":"image_19012025_05_37_03_095763_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/f430e6fb77c80bde2cef736c53f4aa03.jpg","text":"TemporaryFile(/tmp/multipartBody8088984644153165750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737261578316,"filename":"image_19012025_05_37_03_095763_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329955856","file1":"1329955839","file0":"1329955836","file4":"1329955870","file5":"1329955921","file3":"1329955867"},"map_files_photo_id_array":[{"photo_id":"1329955921","filename":"file5"},{"photo_id":"1329955856","filename":"file2"},{"photo_id":"1329955870","filename":"file4"},{"photo_id":"1329955839","filename":"file1"},{"photo_id":"1329955836","filename":"file0"},{"photo_id":"1329955867","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329955856":["hashtag1","hashtag2"]},{"1329955867":["hashtag1","hashtag2"]},{"1329955870":["hashtag1","hashtag2"]},{"1329955921":["hashtag1","hashtag2"]},{"1329955836":["hashtag1","hashtag2"]},{"1329955839":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329955856, 1329955867, 1329955870, 1329955921, 1329955836, 1329955839)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.464441537857056 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 05:39:22.361249
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/05/38/image_19012025_05_38_02_609972_0003.jpg', '/home/pi/Desktop/images/19012025/05/39/image_19012025_05_39_02_223155_0000.jpg', '/home/pi/Desktop/images/19012025/05/39/image_19012025_05_39_02_223155_0001.jpg', '/home/pi/Desktop/images/19012025/05/39/image_19012025_05_39_02_223155_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/05/38/image_19012025_05_38_02_609972_0003.jpg
/home/pi/Desktop/images/19012025/05/39/image_19012025_05_39_02_223155_0000.jpg
/home/pi/Desktop/images/19012025/05/39/image_19012025_05_39_02_223155_0001.jpg
/home/pi/Desktop/images/19012025/05/39/image_19012025_05_39_02_223155_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329956402","1329956398","1329956496","1329956322"],"photo_ids_order":["1329956322","1329956398","1329956402","1329956496"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/b70f9e13278cf9e48ada10cac22fdaf2.jpg","text":"TemporaryFile(/tmp/multipartBody1614952330006707221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737261633242,"filename":"image_19012025_05_39_02_223155_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/78638b7e4ef988a8e84a5c01af63b468.jpg","text":"TemporaryFile(/tmp/multipartBody4955303087520165569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737261633242,"filename":"image_19012025_05_39_02_223155_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/75f3f5f9f6d0b5c05c14c046d373f291.jpg","text":"TemporaryFile(/tmp/multipartBody3760045541173461743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737261633242,"filename":"image_19012025_05_39_02_223155_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/d44ff7917a6699247dfc7cbd12248176.jpg","text":"TemporaryFile(/tmp/multipartBody6122775041116326985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737261633242,"filename":"image_19012025_05_38_02_609972_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329956402","file1":"1329956398","file0":"1329956322","file3":"1329956496"},"map_files_photo_id_array":[{"photo_id":"1329956402","filename":"file2"},{"photo_id":"1329956398","filename":"file1"},{"photo_id":"1329956322","filename":"file0"},{"photo_id":"1329956496","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329956402":["hashtag1","hashtag2"]},{"1329956398":["hashtag1","hashtag2"]},{"1329956496":["hashtag1","hashtag2"]},{"1329956322":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329956402, 1329956398, 1329956496, 1329956322)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.71197056770325 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 05:40:21.886614
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/05/39/image_19012025_05_39_02_223155_0003.jpg', '/home/pi/Desktop/images/19012025/05/40/image_19012025_05_40_02_733833_0000.jpg', '/home/pi/Desktop/images/19012025/05/40/image_19012025_05_40_02_733833_0001.jpg', '/home/pi/Desktop/images/19012025/05/40/image_19012025_05_40_02_733833_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/05/39/image_19012025_05_39_02_223155_0003.jpg
/home/pi/Desktop/images/19012025/05/40/image_19012025_05_40_02_733833_0000.jpg
/home/pi/Desktop/images/19012025/05/40/image_19012025_05_40_02_733833_0001.jpg
/home/pi/Desktop/images/19012025/05/40/image_19012025_05_40_02_733833_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329956560","1329956583","1329956577","1329956564"],"photo_ids_order":["1329956560","1329956564","1329956577","1329956583"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/1cfe81c86368be194bff9ecc01e07cc0.jpg","text":"TemporaryFile(/tmp/multipartBody8871453990798913915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737261693452,"filename":"image_19012025_05_39_02_223155_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/0ca61dc80a4891ad85c71eacf57b8ee5.jpg","text":"TemporaryFile(/tmp/multipartBody1640681914349261123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737261693452,"filename":"image_19012025_05_40_02_733833_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/f0f312c7c4878bd34ea39e983dfb8cb3.jpg","text":"TemporaryFile(/tmp/multipartBody7092330845444083520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737261693452,"filename":"image_19012025_05_40_02_733833_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/96a9b7b3b87954ea5675f0b389716fd8.jpg","text":"TemporaryFile(/tmp/multipartBody5593519342068491609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737261693452,"filename":"image_19012025_05_40_02_733833_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329956577","file1":"1329956564","file0":"1329956560","file3":"1329956583"},"map_files_photo_id_array":[{"photo_id":"1329956577","filename":"file2"},{"photo_id":"1329956564","filename":"file1"},{"photo_id":"1329956560","filename":"file0"},{"photo_id":"1329956583","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329956560":["hashtag1","hashtag2"]},{"1329956583":["hashtag1","hashtag2"]},{"1329956577":["hashtag1","hashtag2"]},{"1329956564":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329956560, 1329956583, 1329956577, 1329956564)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.84614062309265 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 05:41:22.384251
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/05/40/image_19012025_05_40_02_733833_0003.jpg', '/home/pi/Desktop/images/19012025/05/41/image_19012025_05_41_02_259792_0000.jpg', '/home/pi/Desktop/images/19012025/05/41/image_19012025_05_41_02_259792_0001.jpg', '/home/pi/Desktop/images/19012025/05/41/image_19012025_05_41_02_259792_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/05/40/image_19012025_05_40_02_733833_0003.jpg
/home/pi/Desktop/images/19012025/05/41/image_19012025_05_41_02_259792_0000.jpg
/home/pi/Desktop/images/19012025/05/41/image_19012025_05_41_02_259792_0001.jpg
/home/pi/Desktop/images/19012025/05/41/image_19012025_05_41_02_259792_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329956671","1329956596","1329956592","1329956594"],"photo_ids_order":["1329956592","1329956594","1329956596","1329956671"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/f54096a8df628e8e5d388c896f59da6b.jpg","text":"TemporaryFile(/tmp/multipartBody5449118802079384751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737261753901,"filename":"image_19012025_05_41_02_259792_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/27010bcec6c4c8ba981be1e50503e763.jpg","text":"TemporaryFile(/tmp/multipartBody7184547500374307748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737261753901,"filename":"image_19012025_05_41_02_259792_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/6ef97a9c7a1c56935ec9ec2d78cb5357.jpg","text":"TemporaryFile(/tmp/multipartBody6440907861232525550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737261753901,"filename":"image_19012025_05_40_02_733833_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/e72ca566e4aa3b5fcdac0275193846ea.jpg","text":"TemporaryFile(/tmp/multipartBody2712763195067221815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737261753901,"filename":"image_19012025_05_41_02_259792_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329956596","file1":"1329956594","file0":"1329956592","file3":"1329956671"},"map_files_photo_id_array":[{"photo_id":"1329956596","filename":"file2"},{"photo_id":"1329956594","filename":"file1"},{"photo_id":"1329956592","filename":"file0"},{"photo_id":"1329956671","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329956671":["hashtag1","hashtag2"]},{"1329956596":["hashtag1","hashtag2"]},{"1329956592":["hashtag1","hashtag2"]},{"1329956594":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329956671, 1329956596, 1329956592, 1329956594)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.099971532821655 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 05:42:21.939330
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/05/41/image_19012025_05_41_02_259792_0003.jpg', '/home/pi/Desktop/images/19012025/05/42/image_19012025_05_42_02_777372_0000.jpg', '/home/pi/Desktop/images/19012025/05/42/image_19012025_05_42_02_777372_0001.jpg', '/home/pi/Desktop/images/19012025/05/42/image_19012025_05_42_02_777372_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/05/41/image_19012025_05_41_02_259792_0003.jpg
/home/pi/Desktop/images/19012025/05/42/image_19012025_05_42_02_777372_0000.jpg
/home/pi/Desktop/images/19012025/05/42/image_19012025_05_42_02_777372_0001.jpg
/home/pi/Desktop/images/19012025/05/42/image_19012025_05_42_02_777372_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329956722","1329956716","1329956719","1329956713"],"photo_ids_order":["1329956713","1329956716","1329956719","1329956722"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/b26982dfa43c54b657ddddab59e97966.jpg","text":"TemporaryFile(/tmp/multipartBody9020826106417869153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737261813225,"filename":"image_19012025_05_42_02_777372_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/d735eac35dfc3649f3bbb549a2e6f25b.jpg","text":"TemporaryFile(/tmp/multipartBody2584462530886047515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737261813225,"filename":"image_19012025_05_42_02_777372_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/f127526c50600dd9b106e569bba641e1.jpg","text":"TemporaryFile(/tmp/multipartBody3748894697878639368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737261813225,"filename":"image_19012025_05_42_02_777372_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/5cb75561f515c01ec6b0fab8ed7ed070.jpg","text":"TemporaryFile(/tmp/multipartBody7423024350717918357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737261813225,"filename":"image_19012025_05_41_02_259792_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329956719","file1":"1329956716","file0":"1329956713","file3":"1329956722"},"map_files_photo_id_array":[{"photo_id":"1329956719","filename":"file2"},{"photo_id":"1329956716","filename":"file1"},{"photo_id":"1329956713","filename":"file0"},{"photo_id":"1329956722","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329956722":["hashtag1","hashtag2"]},{"1329956716":["hashtag1","hashtag2"]},{"1329956719":["hashtag1","hashtag2"]},{"1329956713":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329956722, 1329956716, 1329956719, 1329956713)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.06637120246887 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 05:43:22.391730
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/05/42/image_19012025_05_42_02_777372_0003.jpg', '/home/pi/Desktop/images/19012025/05/43/image_19012025_05_43_02_287116_0000.jpg', '/home/pi/Desktop/images/19012025/05/43/image_19012025_05_43_02_287116_0001.jpg', '/home/pi/Desktop/images/19012025/05/43/image_19012025_05_43_02_287116_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/05/42/image_19012025_05_42_02_777372_0003.jpg
/home/pi/Desktop/images/19012025/05/43/image_19012025_05_43_02_287116_0000.jpg
/home/pi/Desktop/images/19012025/05/43/image_19012025_05_43_02_287116_0001.jpg
/home/pi/Desktop/images/19012025/05/43/image_19012025_05_43_02_287116_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329956732","1329956735","1329956737","1329956739"],"photo_ids_order":["1329956732","1329956735","1329956737","1329956739"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/b396cf5a10f6eecfe564ce539b6e6050.jpg","text":"TemporaryFile(/tmp/multipartBody2290144248533459805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737261874109,"filename":"image_19012025_05_42_02_777372_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/46d7b93b39b2edb9516bca7641b6eb33.jpg","text":"TemporaryFile(/tmp/multipartBody8681575245376678770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737261874109,"filename":"image_19012025_05_43_02_287116_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/cae17906c2f077c6dff0227f4378d48d.jpg","text":"TemporaryFile(/tmp/multipartBody4718301274243737484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737261874109,"filename":"image_19012025_05_43_02_287116_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/2af6c6417eb2cd20b226910a54b77b63.jpg","text":"TemporaryFile(/tmp/multipartBody6663919384827834994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737261874109,"filename":"image_19012025_05_43_02_287116_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329956737","file1":"1329956735","file0":"1329956732","file3":"1329956739"},"map_files_photo_id_array":[{"photo_id":"1329956737","filename":"file2"},{"photo_id":"1329956735","filename":"file1"},{"photo_id":"1329956732","filename":"file0"},{"photo_id":"1329956739","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329956732":["hashtag1","hashtag2"]},{"1329956735":["hashtag1","hashtag2"]},{"1329956737":["hashtag1","hashtag2"]},{"1329956739":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329956732, 1329956735, 1329956737, 1329956739)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.67188501358032 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 05:44:21.957093
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/05/43/image_19012025_05_43_02_287116_0003.jpg', '/home/pi/Desktop/images/19012025/05/44/image_19012025_05_44_02_815799_0000.jpg', '/home/pi/Desktop/images/19012025/05/44/image_19012025_05_44_02_815799_0001.jpg', '/home/pi/Desktop/images/19012025/05/44/image_19012025_05_44_02_815799_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/05/43/image_19012025_05_43_02_287116_0003.jpg
/home/pi/Desktop/images/19012025/05/44/image_19012025_05_44_02_815799_0000.jpg
/home/pi/Desktop/images/19012025/05/44/image_19012025_05_44_02_815799_0001.jpg
/home/pi/Desktop/images/19012025/05/44/image_19012025_05_44_02_815799_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329956765","1329956761","1329956763","1329956748"],"photo_ids_order":["1329956748","1329956761","1329956763","1329956765"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/9921a36c379d32b171a4aefe880d689b.jpg","text":"TemporaryFile(/tmp/multipartBody2465036638702395186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737261933205,"filename":"image_19012025_05_44_02_815799_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/36e63b726f065978629ca09d9760bf71.jpg","text":"TemporaryFile(/tmp/multipartBody581986568285757005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737261933205,"filename":"image_19012025_05_44_02_815799_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/628b11903e858c2d416d6a12a975b0d1.jpg","text":"TemporaryFile(/tmp/multipartBody7049962131192338020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737261933205,"filename":"image_19012025_05_44_02_815799_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/49edc2c4235a392d0518f5518445b86d.jpg","text":"TemporaryFile(/tmp/multipartBody5966155228739080764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737261933205,"filename":"image_19012025_05_43_02_287116_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329956763","file1":"1329956761","file0":"1329956748","file3":"1329956765"},"map_files_photo_id_array":[{"photo_id":"1329956763","filename":"file2"},{"photo_id":"1329956761","filename":"file1"},{"photo_id":"1329956748","filename":"file0"},{"photo_id":"1329956765","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329956765":["hashtag1","hashtag2"]},{"1329956761":["hashtag1","hashtag2"]},{"1329956763":["hashtag1","hashtag2"]},{"1329956748":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329956765, 1329956761, 1329956763, 1329956748)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 4 photos
time to upload: 40.114442348480225 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 05:45:22.446313
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/05/44/image_19012025_05_44_02_815799_0003.jpg', '/home/pi/Desktop/images/19012025/05/45/image_19012025_05_45_02_375811_0000.jpg', '/home/pi/Desktop/images/19012025/05/45/image_19012025_05_45_02_375811_0001.jpg', '/home/pi/Desktop/images/19012025/05/45/image_19012025_05_45_02_375811_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/05/44/image_19012025_05_44_02_815799_0003.jpg
/home/pi/Desktop/images/19012025/05/45/image_19012025_05_45_02_375811_0000.jpg
/home/pi/Desktop/images/19012025/05/45/image_19012025_05_45_02_375811_0001.jpg
/home/pi/Desktop/images/19012025/05/45/image_19012025_05_45_02_375811_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329956843","1329956848","1329956845","1329956876"],"photo_ids_order":["1329956843","1329956845","1329956848","1329956876"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/7f74ffe6283bf2cadd07baf390be2449.jpg","text":"TemporaryFile(/tmp/multipartBody2146337156781787711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737261993795,"filename":"image_19012025_05_44_02_815799_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/b7fb3d73dc8a92b0e64d0a3a2dd36865.jpg","text":"TemporaryFile(/tmp/multipartBody5584735267895541577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737261993795,"filename":"image_19012025_05_45_02_375811_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/c159906aba3a4328b8cad8a22f115a88.jpg","text":"TemporaryFile(/tmp/multipartBody846264467063076353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737261993795,"filename":"image_19012025_05_45_02_375811_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/4fb5148ee441fed3990ab5f92170d592.jpg","text":"TemporaryFile(/tmp/multipartBody5954840170897804418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737261993795,"filename":"image_19012025_05_45_02_375811_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329956848","file1":"1329956845","file0":"1329956843","file3":"1329956876"},"map_files_photo_id_array":[{"photo_id":"1329956848","filename":"file2"},{"photo_id":"1329956845","filename":"file1"},{"photo_id":"1329956843","filename":"file0"},{"photo_id":"1329956876","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329956843":["hashtag1","hashtag2"]},{"1329956848":["hashtag1","hashtag2"]},{"1329956845":["hashtag1","hashtag2"]},{"1329956876":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329956843, 1329956848, 1329956845, 1329956876)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.03821420669556 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 05:46:22.026278
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/05/45/image_19012025_05_45_02_375811_0003.jpg', '/home/pi/Desktop/images/19012025/05/46/image_19012025_05_46_02_921378_0000.jpg', '/home/pi/Desktop/images/19012025/05/46/image_19012025_05_46_02_921378_0001.jpg', '/home/pi/Desktop/images/19012025/05/46/image_19012025_05_46_02_921378_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/05/45/image_19012025_05_45_02_375811_0003.jpg
/home/pi/Desktop/images/19012025/05/46/image_19012025_05_46_02_921378_0000.jpg
/home/pi/Desktop/images/19012025/05/46/image_19012025_05_46_02_921378_0001.jpg
/home/pi/Desktop/images/19012025/05/46/image_19012025_05_46_02_921378_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329957141","1329957150","1329957147","1329957152"],"photo_ids_order":["1329957141","1329957147","1329957150","1329957152"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/b2c330a0df60e1f2cc71cfef97087fa4.jpg","text":"TemporaryFile(/tmp/multipartBody1618791312328099966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737262052882,"filename":"image_19012025_05_45_02_375811_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/4a3a94ea78f52b9c8f018eea5343347e.jpg","text":"TemporaryFile(/tmp/multipartBody8472181991105651365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737262052882,"filename":"image_19012025_05_46_02_921378_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/42801f7867ce1f424d3d87e616b215d9.jpg","text":"TemporaryFile(/tmp/multipartBody49625965512778176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737262052882,"filename":"image_19012025_05_46_02_921378_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/7e7e5e10f9c9d29d8d0f9372224d3a30.jpg","text":"TemporaryFile(/tmp/multipartBody5775284729075179204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737262052882,"filename":"image_19012025_05_46_02_921378_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329957150","file1":"1329957147","file0":"1329957141","file3":"1329957152"},"map_files_photo_id_array":[{"photo_id":"1329957150","filename":"file2"},{"photo_id":"1329957147","filename":"file1"},{"photo_id":"1329957141","filename":"file0"},{"photo_id":"1329957152","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329957141":["hashtag1","hashtag2"]},{"1329957150":["hashtag1","hashtag2"]},{"1329957147":["hashtag1","hashtag2"]},{"1329957152":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329957141, 1329957150, 1329957147, 1329957152)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.522921562194824 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 05:47:22.598500
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/05/46/image_19012025_05_46_02_921378_0003.jpg', '/home/pi/Desktop/images/19012025/05/47/image_19012025_05_47_02_417721_0000.jpg', '/home/pi/Desktop/images/19012025/05/47/image_19012025_05_47_02_417721_0001.jpg', '/home/pi/Desktop/images/19012025/05/47/image_19012025_05_47_02_417721_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/05/46/image_19012025_05_46_02_921378_0003.jpg
/home/pi/Desktop/images/19012025/05/47/image_19012025_05_47_02_417721_0000.jpg
/home/pi/Desktop/images/19012025/05/47/image_19012025_05_47_02_417721_0001.jpg
/home/pi/Desktop/images/19012025/05/47/image_19012025_05_47_02_417721_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329957355","1329957362","1329957365","1329957368"],"photo_ids_order":["1329957355","1329957362","1329957365","1329957368"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/f4aec17fa937b7bb91eaea102b9f1046.jpg","text":"TemporaryFile(/tmp/multipartBody2008430814825780790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737262113378,"filename":"image_19012025_05_46_02_921378_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/8d69f4174e06509ebe97cc767550a3bb.jpg","text":"TemporaryFile(/tmp/multipartBody5351887066515606816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737262113378,"filename":"image_19012025_05_47_02_417721_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/736b66a8126b801a079c6fb1721039f2.jpg","text":"TemporaryFile(/tmp/multipartBody8724041441835357978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737262113378,"filename":"image_19012025_05_47_02_417721_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/f774451739eb876e334c52c43591624b.jpg","text":"TemporaryFile(/tmp/multipartBody8007633400201269690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737262113378,"filename":"image_19012025_05_47_02_417721_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329957365","file1":"1329957362","file0":"1329957355","file3":"1329957368"},"map_files_photo_id_array":[{"photo_id":"1329957365","filename":"file2"},{"photo_id":"1329957362","filename":"file1"},{"photo_id":"1329957355","filename":"file0"},{"photo_id":"1329957368","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329957355":["hashtag1","hashtag2"]},{"1329957362":["hashtag1","hashtag2"]},{"1329957365":["hashtag1","hashtag2"]},{"1329957368":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329957355, 1329957362, 1329957365, 1329957368)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.44493055343628 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 05:48:22.032664
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/05/47/image_19012025_05_47_02_417721_0003.jpg', '/home/pi/Desktop/images/19012025/05/48/image_19012025_05_48_02_924130_0000.jpg', '/home/pi/Desktop/images/19012025/05/48/image_19012025_05_48_02_924130_0001.jpg', '/home/pi/Desktop/images/19012025/05/48/image_19012025_05_48_02_924130_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/05/47/image_19012025_05_47_02_417721_0003.jpg
/home/pi/Desktop/images/19012025/05/48/image_19012025_05_48_02_924130_0000.jpg
/home/pi/Desktop/images/19012025/05/48/image_19012025_05_48_02_924130_0001.jpg
/home/pi/Desktop/images/19012025/05/48/image_19012025_05_48_02_924130_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.859447002410889 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 05:49:03.253303
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/05/47/image_19012025_05_47_02_417721_0003.jpg', '/home/pi/Desktop/images/19012025/05/48/image_19012025_05_48_02_924130_0000.jpg', '/home/pi/Desktop/images/19012025/05/48/image_19012025_05_48_02_924130_0001.jpg', '/home/pi/Desktop/images/19012025/05/48/image_19012025_05_48_02_924130_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/05/47/image_19012025_05_47_02_417721_0003.jpg
/home/pi/Desktop/images/19012025/05/48/image_19012025_05_48_02_924130_0000.jpg
/home/pi/Desktop/images/19012025/05/48/image_19012025_05_48_02_924130_0001.jpg
/home/pi/Desktop/images/19012025/05/48/image_19012025_05_48_02_924130_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329957403","1329957387","1329957392","1329957386"],"photo_ids_order":["1329957386","1329957387","1329957392","1329957403"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/c61fe07317d284313bdda4fc0f2433f7.jpg","text":"TemporaryFile(/tmp/multipartBody8736568689104969525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737262214603,"filename":"image_19012025_05_48_02_924130_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/3b0b73b263bed0de0f55c26fce2025c9.jpg","text":"TemporaryFile(/tmp/multipartBody7909023204422565664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737262214603,"filename":"image_19012025_05_48_02_924130_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/cabbc41c293d3a477d8757228e892344.jpg","text":"TemporaryFile(/tmp/multipartBody8332289671301069009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737262214603,"filename":"image_19012025_05_48_02_924130_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/b857ce101c6bd0bf1180c762b758f41f.jpg","text":"TemporaryFile(/tmp/multipartBody2320267595220308283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737262214603,"filename":"image_19012025_05_47_02_417721_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329957392","file1":"1329957387","file0":"1329957386","file3":"1329957403"},"map_files_photo_id_array":[{"photo_id":"1329957392","filename":"file2"},{"photo_id":"1329957387","filename":"file1"},{"photo_id":"1329957386","filename":"file0"},{"photo_id":"1329957403","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329957403":["hashtag1","hashtag2"]},{"1329957387":["hashtag1","hashtag2"]},{"1329957392":["hashtag1","hashtag2"]},{"1329957386":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329957403, 1329957387, 1329957392, 1329957386)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.95864796638489 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 05:50:02.621320
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/05/48/image_19012025_05_48_02_924130_0003.jpg', '/home/pi/Desktop/images/19012025/05/49/image_19012025_05_49_02_476771_0000.jpg', '/home/pi/Desktop/images/19012025/05/49/image_19012025_05_49_02_476771_0001.jpg', '/home/pi/Desktop/images/19012025/05/49/image_19012025_05_49_02_476771_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/05/48/image_19012025_05_48_02_924130_0003.jpg
/home/pi/Desktop/images/19012025/05/49/image_19012025_05_49_02_476771_0000.jpg
/home/pi/Desktop/images/19012025/05/49/image_19012025_05_49_02_476771_0001.jpg
/home/pi/Desktop/images/19012025/05/49/image_19012025_05_49_02_476771_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 11.001775741577148 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 05:50:22.272136
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/05/48/image_19012025_05_48_02_924130_0003.jpg', '/home/pi/Desktop/images/19012025/05/49/image_19012025_05_49_02_476771_0000.jpg', '/home/pi/Desktop/images/19012025/05/49/image_19012025_05_49_02_476771_0001.jpg', '/home/pi/Desktop/images/19012025/05/49/image_19012025_05_49_02_476771_0002.jpg', '/home/pi/Desktop/images/19012025/05/49/image_19012025_05_49_02_476771_0003.jpg', '/home/pi/Desktop/images/19012025/05/50/image_19012025_05_50_02_964019_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/05/48/image_19012025_05_48_02_924130_0003.jpg
/home/pi/Desktop/images/19012025/05/49/image_19012025_05_49_02_476771_0000.jpg
/home/pi/Desktop/images/19012025/05/49/image_19012025_05_49_02_476771_0001.jpg
/home/pi/Desktop/images/19012025/05/49/image_19012025_05_49_02_476771_0002.jpg
/home/pi/Desktop/images/19012025/05/49/image_19012025_05_49_02_476771_0003.jpg
/home/pi/Desktop/images/19012025/05/50/image_19012025_05_50_02_964019_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329957886","1329957888","1329957890","1329957884","1329957881","1329957892"],"photo_ids_order":["1329957881","1329957884","1329957886","1329957888","1329957890","1329957892"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/89e4fd42ff24404ec76539b2f2b5b969.jpg","text":"TemporaryFile(/tmp/multipartBody377348160548088981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737262298858,"filename":"image_19012025_05_49_02_476771_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/3818cae0dfd9d33b193bdc793ac80730.jpg","text":"TemporaryFile(/tmp/multipartBody5552969103700482291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737262298858,"filename":"image_19012025_05_49_02_476771_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/939c06f9332257a9c669913da64bb3bf.jpg","text":"TemporaryFile(/tmp/multipartBody1493956155312646811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737262298858,"filename":"image_19012025_05_49_02_476771_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/512c27071e7f5ca87558e8aa72be72fd.jpg","text":"TemporaryFile(/tmp/multipartBody6437324656009661496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737262298858,"filename":"image_19012025_05_49_02_476771_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/048d72e28fe4af4a396f5a95dbbed3f6.jpg","text":"TemporaryFile(/tmp/multipartBody2486263647677437941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737262298858,"filename":"image_19012025_05_48_02_924130_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/e59df6360fc3792de5b9568ab63cab0e.jpg","text":"TemporaryFile(/tmp/multipartBody5300600893148811749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737262298858,"filename":"image_19012025_05_50_02_964019_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329957886","file1":"1329957884","file0":"1329957881","file4":"1329957890","file5":"1329957892","file3":"1329957888"},"map_files_photo_id_array":[{"photo_id":"1329957892","filename":"file5"},{"photo_id":"1329957886","filename":"file2"},{"photo_id":"1329957890","filename":"file4"},{"photo_id":"1329957884","filename":"file1"},{"photo_id":"1329957881","filename":"file0"},{"photo_id":"1329957888","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329957886":["hashtag1","hashtag2"]},{"1329957888":["hashtag1","hashtag2"]},{"1329957890":["hashtag1","hashtag2"]},{"1329957884":["hashtag1","hashtag2"]},{"1329957881":["hashtag1","hashtag2"]},{"1329957892":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329957886, 1329957888, 1329957890, 1329957884, 1329957881, 1329957892)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.94991326332092 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 05:51:21.771503
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/05/50/image_19012025_05_50_02_964019_0001.jpg', '/home/pi/Desktop/images/19012025/05/50/image_19012025_05_50_02_964019_0002.jpg', '/home/pi/Desktop/images/19012025/05/50/image_19012025_05_50_02_964019_0003.jpg', '/home/pi/Desktop/images/19012025/05/51/image_19012025_05_51_02_663376_0000.jpg', '/home/pi/Desktop/images/19012025/05/51/image_19012025_05_51_02_663376_0001.jpg', '/home/pi/Desktop/images/19012025/05/51/image_19012025_05_51_02_663376_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/05/50/image_19012025_05_50_02_964019_0001.jpg
/home/pi/Desktop/images/19012025/05/50/image_19012025_05_50_02_964019_0002.jpg
/home/pi/Desktop/images/19012025/05/50/image_19012025_05_50_02_964019_0003.jpg
/home/pi/Desktop/images/19012025/05/51/image_19012025_05_51_02_663376_0000.jpg
/home/pi/Desktop/images/19012025/05/51/image_19012025_05_51_02_663376_0001.jpg
/home/pi/Desktop/images/19012025/05/51/image_19012025_05_51_02_663376_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329958234","1329958228","1329958230","1329958224","1329958232","1329958226"],"photo_ids_order":["1329958224","1329958226","1329958228","1329958230","1329958232","1329958234"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/5ab25b44e9de121163e92563b76b9dc0.jpg","text":"TemporaryFile(/tmp/multipartBody3169685480374114287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737262358711,"filename":"image_19012025_05_51_02_663376_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/af14316928433ee00349f7d556278e4f.jpg","text":"TemporaryFile(/tmp/multipartBody283632724404947651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737262358711,"filename":"image_19012025_05_50_02_964019_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/9aad7a36f5f979bc5eec713421930883.jpg","text":"TemporaryFile(/tmp/multipartBody466705860189809099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737262358711,"filename":"image_19012025_05_51_02_663376_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/6ffdf93a04f3b7752c8bd2ddad9c3bf4.jpg","text":"TemporaryFile(/tmp/multipartBody2840288465214931291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737262358711,"filename":"image_19012025_05_50_02_964019_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/49055a3fa5c4779c11b91f429108bcc6.jpg","text":"TemporaryFile(/tmp/multipartBody6640755880886229189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737262358711,"filename":"image_19012025_05_51_02_663376_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/690bd4d5698d935d75891d6c075d7412.jpg","text":"TemporaryFile(/tmp/multipartBody1321300641579723029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737262358711,"filename":"image_19012025_05_50_02_964019_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329958228","file1":"1329958226","file0":"1329958224","file4":"1329958232","file5":"1329958234","file3":"1329958230"},"map_files_photo_id_array":[{"photo_id":"1329958234","filename":"file5"},{"photo_id":"1329958228","filename":"file2"},{"photo_id":"1329958232","filename":"file4"},{"photo_id":"1329958226","filename":"file1"},{"photo_id":"1329958224","filename":"file0"},{"photo_id":"1329958230","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329958234":["hashtag1","hashtag2"]},{"1329958228":["hashtag1","hashtag2"]},{"1329958230":["hashtag1","hashtag2"]},{"1329958224":["hashtag1","hashtag2"]},{"1329958232":["hashtag1","hashtag2"]},{"1329958226":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329958234, 1329958228, 1329958230, 1329958224, 1329958232, 1329958226)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.68968462944031 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 05:52:22.322475
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/05/51/image_19012025_05_51_02_663376_0003.jpg', '/home/pi/Desktop/images/19012025/05/52/image_19012025_05_52_02_178082_0000.jpg', '/home/pi/Desktop/images/19012025/05/52/image_19012025_05_52_02_178082_0001.jpg', '/home/pi/Desktop/images/19012025/05/52/image_19012025_05_52_02_178082_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/05/51/image_19012025_05_51_02_663376_0003.jpg
/home/pi/Desktop/images/19012025/05/52/image_19012025_05_52_02_178082_0000.jpg
/home/pi/Desktop/images/19012025/05/52/image_19012025_05_52_02_178082_0001.jpg
/home/pi/Desktop/images/19012025/05/52/image_19012025_05_52_02_178082_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329958447","1329958441","1329958444","1329958450"],"photo_ids_order":["1329958441","1329958444","1329958447","1329958450"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/1c0eb35f80f6201c83d423469196728a.jpg","text":"TemporaryFile(/tmp/multipartBody3063705826983549094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737262413832,"filename":"image_19012025_05_52_02_178082_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/e80902d6229e38d77d708148f6f5269a.jpg","text":"TemporaryFile(/tmp/multipartBody3054479491605466460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737262413832,"filename":"image_19012025_05_51_02_663376_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/8731f45c39e70c717354f4b99f5310ba.jpg","text":"TemporaryFile(/tmp/multipartBody2735235265995237889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737262413832,"filename":"image_19012025_05_52_02_178082_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/d08172a3de267a73f7073fc0ddfa860d.jpg","text":"TemporaryFile(/tmp/multipartBody4124692063981935967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737262413832,"filename":"image_19012025_05_52_02_178082_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329958447","file1":"1329958444","file0":"1329958441","file3":"1329958450"},"map_files_photo_id_array":[{"photo_id":"1329958447","filename":"file2"},{"photo_id":"1329958444","filename":"file1"},{"photo_id":"1329958441","filename":"file0"},{"photo_id":"1329958450","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329958447":["hashtag1","hashtag2"]},{"1329958441":["hashtag1","hashtag2"]},{"1329958444":["hashtag1","hashtag2"]},{"1329958450":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329958447, 1329958441, 1329958444, 1329958450)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.163124561309814 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 05:53:21.855473
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/05/52/image_19012025_05_52_02_178082_0003.jpg', '/home/pi/Desktop/images/19012025/05/53/image_19012025_05_53_02_679980_0000.jpg', '/home/pi/Desktop/images/19012025/05/53/image_19012025_05_53_02_679980_0001.jpg', '/home/pi/Desktop/images/19012025/05/53/image_19012025_05_53_02_679980_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/05/52/image_19012025_05_52_02_178082_0003.jpg
/home/pi/Desktop/images/19012025/05/53/image_19012025_05_53_02_679980_0000.jpg
/home/pi/Desktop/images/19012025/05/53/image_19012025_05_53_02_679980_0001.jpg
/home/pi/Desktop/images/19012025/05/53/image_19012025_05_53_02_679980_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329958499","1329958460","1329958495","1329958477"],"photo_ids_order":["1329958460","1329958477","1329958495","1329958499"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/2bf2eb4ca39ae2bb675e6d603f27cddb.jpg","text":"TemporaryFile(/tmp/multipartBody1807912579772251837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737262473241,"filename":"image_19012025_05_53_02_679980_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/eec62aa816fafc79baccc49a04aea26f.jpg","text":"TemporaryFile(/tmp/multipartBody1068889726406397579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737262473241,"filename":"image_19012025_05_52_02_178082_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/a71715988082a742e638a2b17aa01dc0.jpg","text":"TemporaryFile(/tmp/multipartBody1757075651190069082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737262473241,"filename":"image_19012025_05_53_02_679980_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/66bc9685598423a44cf6927e421fe240.jpg","text":"TemporaryFile(/tmp/multipartBody4631342752420657921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737262473241,"filename":"image_19012025_05_53_02_679980_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329958495","file1":"1329958477","file0":"1329958460","file3":"1329958499"},"map_files_photo_id_array":[{"photo_id":"1329958495","filename":"file2"},{"photo_id":"1329958477","filename":"file1"},{"photo_id":"1329958460","filename":"file0"},{"photo_id":"1329958499","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329958499":["hashtag1","hashtag2"]},{"1329958460":["hashtag1","hashtag2"]},{"1329958495":["hashtag1","hashtag2"]},{"1329958477":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329958499, 1329958460, 1329958495, 1329958477)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.489731788635254 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 05:54:22.414284
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/05/53/image_19012025_05_53_02_679980_0003.jpg', '/home/pi/Desktop/images/19012025/05/54/image_19012025_05_54_02_263578_0000.jpg', '/home/pi/Desktop/images/19012025/05/54/image_19012025_05_54_02_263578_0001.jpg', '/home/pi/Desktop/images/19012025/05/54/image_19012025_05_54_02_263578_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/05/53/image_19012025_05_53_02_679980_0003.jpg
/home/pi/Desktop/images/19012025/05/54/image_19012025_05_54_02_263578_0000.jpg
/home/pi/Desktop/images/19012025/05/54/image_19012025_05_54_02_263578_0001.jpg
/home/pi/Desktop/images/19012025/05/54/image_19012025_05_54_02_263578_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.923022985458374 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 05:55:02.504455
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/05/53/image_19012025_05_53_02_679980_0003.jpg', '/home/pi/Desktop/images/19012025/05/54/image_19012025_05_54_02_263578_0000.jpg', '/home/pi/Desktop/images/19012025/05/54/image_19012025_05_54_02_263578_0001.jpg', '/home/pi/Desktop/images/19012025/05/54/image_19012025_05_54_02_263578_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/05/53/image_19012025_05_53_02_679980_0003.jpg
/home/pi/Desktop/images/19012025/05/54/image_19012025_05_54_02_263578_0000.jpg
/home/pi/Desktop/images/19012025/05/54/image_19012025_05_54_02_263578_0001.jpg
/home/pi/Desktop/images/19012025/05/54/image_19012025_05_54_02_263578_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329958612","1329958611","1329958614","1329958616"],"photo_ids_order":["1329958611","1329958612","1329958614","1329958616"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/9f56daf96ce8a853875217f107c6fd29.jpg","text":"TemporaryFile(/tmp/multipartBody5899067406755587708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737262573901,"filename":"image_19012025_05_54_02_263578_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/1080de5405d8710488c5f52ae06d9b43.jpg","text":"TemporaryFile(/tmp/multipartBody4588308145889159042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737262573901,"filename":"image_19012025_05_53_02_679980_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/30045458ee6f50ddd12c0ec9688fbf93.jpg","text":"TemporaryFile(/tmp/multipartBody5936528532264516726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737262573901,"filename":"image_19012025_05_54_02_263578_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/46aebd3c89d3a5eb30657fb7e80c9f09.jpg","text":"TemporaryFile(/tmp/multipartBody3984279586103045936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737262573901,"filename":"image_19012025_05_54_02_263578_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329958614","file1":"1329958612","file0":"1329958611","file3":"1329958616"},"map_files_photo_id_array":[{"photo_id":"1329958614","filename":"file2"},{"photo_id":"1329958612","filename":"file1"},{"photo_id":"1329958611","filename":"file0"},{"photo_id":"1329958616","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329958612":["hashtag1","hashtag2"]},{"1329958611":["hashtag1","hashtag2"]},{"1329958614":["hashtag1","hashtag2"]},{"1329958616":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329958612, 1329958611, 1329958614, 1329958616)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.46557927131653 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 05:56:02.934279
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/05/54/image_19012025_05_54_02_263578_0003.jpg', '/home/pi/Desktop/images/19012025/05/55/image_19012025_05_55_02_737195_0000.jpg', '/home/pi/Desktop/images/19012025/05/55/image_19012025_05_55_02_737195_0001.jpg', '/home/pi/Desktop/images/19012025/05/55/image_19012025_05_55_02_737195_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/05/54/image_19012025_05_54_02_263578_0003.jpg
/home/pi/Desktop/images/19012025/05/55/image_19012025_05_55_02_737195_0000.jpg
/home/pi/Desktop/images/19012025/05/55/image_19012025_05_55_02_737195_0001.jpg
/home/pi/Desktop/images/19012025/05/55/image_19012025_05_55_02_737195_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 11.10653281211853 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 05:56:22.504322
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/05/54/image_19012025_05_54_02_263578_0003.jpg', '/home/pi/Desktop/images/19012025/05/55/image_19012025_05_55_02_737195_0000.jpg', '/home/pi/Desktop/images/19012025/05/55/image_19012025_05_55_02_737195_0001.jpg', '/home/pi/Desktop/images/19012025/05/55/image_19012025_05_55_02_737195_0002.jpg', '/home/pi/Desktop/images/19012025/05/55/image_19012025_05_55_02_737195_0003.jpg', '/home/pi/Desktop/images/19012025/05/56/image_19012025_05_56_02_241125_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/05/54/image_19012025_05_54_02_263578_0003.jpg
/home/pi/Desktop/images/19012025/05/55/image_19012025_05_55_02_737195_0000.jpg
/home/pi/Desktop/images/19012025/05/55/image_19012025_05_55_02_737195_0001.jpg
/home/pi/Desktop/images/19012025/05/55/image_19012025_05_55_02_737195_0002.jpg
/home/pi/Desktop/images/19012025/05/55/image_19012025_05_55_02_737195_0003.jpg
/home/pi/Desktop/images/19012025/05/56/image_19012025_05_56_02_241125_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329958636","1329958644","1329958638","1329958646","1329958640","1329958642"],"photo_ids_order":["1329958636","1329958638","1329958640","1329958642","1329958644","1329958646"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/6aa576e9720eb3fd6325281684af05ec.jpg","text":"TemporaryFile(/tmp/multipartBody7043933813940750473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737262659414,"filename":"image_19012025_05_54_02_263578_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/b14febfc2566eeceaf1c8b2686ccb8e5.jpg","text":"TemporaryFile(/tmp/multipartBody4217464521703550702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737262659414,"filename":"image_19012025_05_55_02_737195_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/d6ea41ecee046d84aec8b5495d724573.jpg","text":"TemporaryFile(/tmp/multipartBody5904051154942255447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737262659414,"filename":"image_19012025_05_55_02_737195_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/b1d0947be416b101210a4cbbcff2bdd4.jpg","text":"TemporaryFile(/tmp/multipartBody1911603803711054029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737262659414,"filename":"image_19012025_05_56_02_241125_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/c2a57af0f3c9aaf98d3ce46fd639ee47.jpg","text":"TemporaryFile(/tmp/multipartBody2441305143252456229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737262659414,"filename":"image_19012025_05_55_02_737195_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/4c7798f2b230e1411787d7a9af4cbb0a.jpg","text":"TemporaryFile(/tmp/multipartBody5695563497120231021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737262659414,"filename":"image_19012025_05_55_02_737195_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329958640","file1":"1329958638","file0":"1329958636","file4":"1329958644","file5":"1329958646","file3":"1329958642"},"map_files_photo_id_array":[{"photo_id":"1329958646","filename":"file5"},{"photo_id":"1329958640","filename":"file2"},{"photo_id":"1329958644","filename":"file4"},{"photo_id":"1329958638","filename":"file1"},{"photo_id":"1329958636","filename":"file0"},{"photo_id":"1329958642","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329958636":["hashtag1","hashtag2"]},{"1329958644":["hashtag1","hashtag2"]},{"1329958638":["hashtag1","hashtag2"]},{"1329958646":["hashtag1","hashtag2"]},{"1329958640":["hashtag1","hashtag2"]},{"1329958642":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329958636, 1329958644, 1329958638, 1329958646, 1329958640, 1329958642)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.74653339385986 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 05:57:22.019748
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/05/56/image_19012025_05_56_02_241125_0001.jpg', '/home/pi/Desktop/images/19012025/05/56/image_19012025_05_56_02_241125_0002.jpg', '/home/pi/Desktop/images/19012025/05/56/image_19012025_05_56_02_241125_0003.jpg', '/home/pi/Desktop/images/19012025/05/57/image_19012025_05_57_02_915072_0000.jpg', '/home/pi/Desktop/images/19012025/05/57/image_19012025_05_57_02_915072_0001.jpg', '/home/pi/Desktop/images/19012025/05/57/image_19012025_05_57_02_915072_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/05/56/image_19012025_05_56_02_241125_0001.jpg
/home/pi/Desktop/images/19012025/05/56/image_19012025_05_56_02_241125_0002.jpg
/home/pi/Desktop/images/19012025/05/56/image_19012025_05_56_02_241125_0003.jpg
/home/pi/Desktop/images/19012025/05/57/image_19012025_05_57_02_915072_0000.jpg
/home/pi/Desktop/images/19012025/05/57/image_19012025_05_57_02_915072_0001.jpg
/home/pi/Desktop/images/19012025/05/57/image_19012025_05_57_02_915072_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-19 05:59:02.515875
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/05/56/image_19012025_05_56_02_241125_0001.jpg', '/home/pi/Desktop/images/19012025/05/56/image_19012025_05_56_02_241125_0002.jpg', '/home/pi/Desktop/images/19012025/05/56/image_19012025_05_56_02_241125_0003.jpg', '/home/pi/Desktop/images/19012025/05/57/image_19012025_05_57_02_915072_0000.jpg', '/home/pi/Desktop/images/19012025/05/57/image_19012025_05_57_02_915072_0001.jpg', '/home/pi/Desktop/images/19012025/05/57/image_19012025_05_57_02_915072_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/05/56/image_19012025_05_56_02_241125_0001.jpg
/home/pi/Desktop/images/19012025/05/56/image_19012025_05_56_02_241125_0002.jpg
/home/pi/Desktop/images/19012025/05/56/image_19012025_05_56_02_241125_0003.jpg
/home/pi/Desktop/images/19012025/05/57/image_19012025_05_57_02_915072_0000.jpg
/home/pi/Desktop/images/19012025/05/57/image_19012025_05_57_02_915072_0001.jpg
/home/pi/Desktop/images/19012025/05/57/image_19012025_05_57_02_915072_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 16.247323751449585 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 05:59:21.718794
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/05/56/image_19012025_05_56_02_241125_0001.jpg', '/home/pi/Desktop/images/19012025/05/56/image_19012025_05_56_02_241125_0002.jpg', '/home/pi/Desktop/images/19012025/05/56/image_19012025_05_56_02_241125_0003.jpg', '/home/pi/Desktop/images/19012025/05/57/image_19012025_05_57_02_915072_0000.jpg', '/home/pi/Desktop/images/19012025/05/57/image_19012025_05_57_02_915072_0001.jpg', '/home/pi/Desktop/images/19012025/05/57/image_19012025_05_57_02_915072_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/05/56/image_19012025_05_56_02_241125_0001.jpg
/home/pi/Desktop/images/19012025/05/56/image_19012025_05_56_02_241125_0002.jpg
/home/pi/Desktop/images/19012025/05/56/image_19012025_05_56_02_241125_0003.jpg
/home/pi/Desktop/images/19012025/05/57/image_19012025_05_57_02_915072_0000.jpg
/home/pi/Desktop/images/19012025/05/57/image_19012025_05_57_02_915072_0001.jpg
/home/pi/Desktop/images/19012025/05/57/image_19012025_05_57_02_915072_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329958732","1329958778","1329958721","1329958792","1329958795","1329958798"],"photo_ids_order":["1329958721","1329958732","1329958778","1329958792","1329958795","1329958798"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/9212b1de80a61d18a1268f3db00d3b98.jpg","text":"TemporaryFile(/tmp/multipartBody547779857403502293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737262838270,"filename":"image_19012025_05_56_02_241125_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/b35d4f641293e95e9366f0218c970736.jpg","text":"TemporaryFile(/tmp/multipartBody3349963224141405337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737262838270,"filename":"image_19012025_05_56_02_241125_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/210083952df880b434342759c03a3e4e.jpg","text":"TemporaryFile(/tmp/multipartBody3727124551369633979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737262838270,"filename":"image_19012025_05_56_02_241125_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/525c3d45ac1c39943d4e4b1d80241d60.jpg","text":"TemporaryFile(/tmp/multipartBody8948517215727371628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737262838270,"filename":"image_19012025_05_57_02_915072_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/053239fdc1d8b0926b8bcb9866d985db.jpg","text":"TemporaryFile(/tmp/multipartBody4855045783976630995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737262838270,"filename":"image_19012025_05_57_02_915072_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/bf6f58ec982475ef8a5f7de8155fa09a.jpg","text":"TemporaryFile(/tmp/multipartBody8996332427743368878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737262838270,"filename":"image_19012025_05_57_02_915072_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329958778","file1":"1329958732","file0":"1329958721","file4":"1329958795","file5":"1329958798","file3":"1329958792"},"map_files_photo_id_array":[{"photo_id":"1329958798","filename":"file5"},{"photo_id":"1329958778","filename":"file2"},{"photo_id":"1329958795","filename":"file4"},{"photo_id":"1329958732","filename":"file1"},{"photo_id":"1329958721","filename":"file0"},{"photo_id":"1329958792","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329958732":["hashtag1","hashtag2"]},{"1329958778":["hashtag1","hashtag2"]},{"1329958721":["hashtag1","hashtag2"]},{"1329958792":["hashtag1","hashtag2"]},{"1329958795":["hashtag1","hashtag2"]},{"1329958798":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329958732, 1329958778, 1329958721, 1329958792, 1329958795, 1329958798)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.000683069229126 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 06:00:22.500177
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/05/57/image_19012025_05_57_02_915072_0003.jpg', '/home/pi/Desktop/images/19012025/05/58/image_19012025_05_58_02_453919_0000.jpg', '/home/pi/Desktop/images/19012025/05/58/image_19012025_05_58_02_453919_0001.jpg', '/home/pi/Desktop/images/19012025/05/58/image_19012025_05_58_02_453919_0002.jpg', '/home/pi/Desktop/images/19012025/05/58/image_19012025_05_58_02_453919_0003.jpg', '/home/pi/Desktop/images/19012025/05/59/image_19012025_05_59_03_028608_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/05/57/image_19012025_05_57_02_915072_0003.jpg
/home/pi/Desktop/images/19012025/05/58/image_19012025_05_58_02_453919_0000.jpg
/home/pi/Desktop/images/19012025/05/58/image_19012025_05_58_02_453919_0001.jpg
/home/pi/Desktop/images/19012025/05/58/image_19012025_05_58_02_453919_0002.jpg
/home/pi/Desktop/images/19012025/05/58/image_19012025_05_58_02_453919_0003.jpg
/home/pi/Desktop/images/19012025/05/59/image_19012025_05_59_03_028608_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":["1329958917","1329958883","1329958910","1329958913","1329958901","1329958885"],"photo_ids_order":["1329958883","1329958885","1329958901","1329958910","1329958913","1329958917"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/87d590530759bdc9b10cb635c9897f27.jpg","text":"TemporaryFile(/tmp/multipartBody5766564770593449222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737262898682,"filename":"image_19012025_05_59_03_028608_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/d5f53ec76eb686221121faf930db695d.jpg","text":"TemporaryFile(/tmp/multipartBody1247076193225152772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737262898682,"filename":"image_19012025_05_57_02_915072_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/e66585034102b5fc27ceeb121a8ba7bd.jpg","text":"TemporaryFile(/tmp/multipartBody7027721089824945724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737262898682,"filename":"image_19012025_05_58_02_453919_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/61513c8269934764cd240d2a48f89ef8.jpg","text":"TemporaryFile(/tmp/multipartBody7875453042155846517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737262898682,"filename":"image_19012025_05_58_02_453919_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/c78e6c72f6549bcbb7d1f10f8e77a864.jpg","text":"TemporaryFile(/tmp/multipartBody4041603551867213900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737262898682,"filename":"image_19012025_05_58_02_453919_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/27148d8baea18e44eaada3595d97d588.jpg","text":"TemporaryFile(/tmp/multipartBody7059956716793627598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737262898682,"filename":"image_19012025_05_58_02_453919_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329958901","file1":"1329958885","file0":"1329958883","file4":"1329958913","file5":"1329958917","file3":"1329958910"},"map_files_photo_id_array":[{"photo_id":"1329958917","filename":"file5"},{"photo_id":"1329958901","filename":"file2"},{"photo_id":"1329958913","filename":"file4"},{"photo_id":"1329958885","filename":"file1"},{"photo_id":"1329958883","filename":"file0"},{"photo_id":"1329958910","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329958917":["hashtag1","hashtag2"]},{"1329958883":["hashtag1","hashtag2"]},{"1329958910":["hashtag1","hashtag2"]},{"1329958913":["hashtag1","hashtag2"]},{"1329958901":["hashtag1","hashtag2"]},{"1329958885":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329958917, 1329958883, 1329958910, 1329958913, 1329958901, 1329958885)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.03627157211304 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 06:02:02.995848
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/05/59/image_19012025_05_59_03_028608_0001.jpg', '/home/pi/Desktop/images/19012025/05/59/image_19012025_05_59_03_028608_0002.jpg', '/home/pi/Desktop/images/19012025/05/59/image_19012025_05_59_03_028608_0003.jpg', '/home/pi/Desktop/images/19012025/06/00/image_19012025_06_00_02_182501_0000.jpg', '/home/pi/Desktop/images/19012025/06/00/image_19012025_06_00_02_182501_0001.jpg', '/home/pi/Desktop/images/19012025/06/00/image_19012025_06_00_02_182501_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/05/59/image_19012025_05_59_03_028608_0001.jpg
/home/pi/Desktop/images/19012025/05/59/image_19012025_05_59_03_028608_0002.jpg
/home/pi/Desktop/images/19012025/05/59/image_19012025_05_59_03_028608_0003.jpg
/home/pi/Desktop/images/19012025/06/00/image_19012025_06_00_02_182501_0000.jpg
/home/pi/Desktop/images/19012025/06/00/image_19012025_06_00_02_182501_0001.jpg
/home/pi/Desktop/images/19012025/06/00/image_19012025_06_00_02_182501_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329959082","1329959121","1329959152","1329958990","1329959149","1329959140"],"photo_ids_order":["1329958990","1329959082","1329959121","1329959140","1329959149","1329959152"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/e2961bb8fe846270cf37b6611e915015.jpg","text":"TemporaryFile(/tmp/multipartBody6738878750401023861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737263000223,"filename":"image_19012025_05_59_03_028608_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/6f52454487a93cd299b6389b570013e8.jpg","text":"TemporaryFile(/tmp/multipartBody6983929041281923510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737263000223,"filename":"image_19012025_05_59_03_028608_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/75d46120b5eab85c01b79a9e3bd852da.jpg","text":"TemporaryFile(/tmp/multipartBody5560596888847143386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737263000223,"filename":"image_19012025_06_00_02_182501_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/ee10a1d884070b7a314da66c36d65ae7.jpg","text":"TemporaryFile(/tmp/multipartBody1701827515409046998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737263000223,"filename":"image_19012025_05_59_03_028608_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/762655e1247696c04a369816e8f5cc24.jpg","text":"TemporaryFile(/tmp/multipartBody5782396043677396328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737263000223,"filename":"image_19012025_06_00_02_182501_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/de931c61fbbab603edd8d682569ff64e.jpg","text":"TemporaryFile(/tmp/multipartBody2831812765176584593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737263000223,"filename":"image_19012025_06_00_02_182501_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329959121","file1":"1329959082","file0":"1329958990","file4":"1329959149","file5":"1329959152","file3":"1329959140"},"map_files_photo_id_array":[{"photo_id":"1329959152","filename":"file5"},{"photo_id":"1329959121","filename":"file2"},{"photo_id":"1329959149","filename":"file4"},{"photo_id":"1329959082","filename":"file1"},{"photo_id":"1329958990","filename":"file0"},{"photo_id":"1329959140","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329959082":["hashtag1","hashtag2"]},{"1329959121":["hashtag1","hashtag2"]},{"1329959152":["hashtag1","hashtag2"]},{"1329958990":["hashtag1","hashtag2"]},{"1329959149":["hashtag1","hashtag2"]},{"1329959140":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329959082, 1329959121, 1329959152, 1329958990, 1329959149, 1329959140)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.4577898979187 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-19 06:03:22.127742
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/06/00/image_19012025_06_00_02_182501_0003.jpg', '/home/pi/Desktop/images/19012025/06/01/image_19012025_06_01_02_852682_0000.jpg', '/home/pi/Desktop/images/19012025/06/01/image_19012025_06_01_02_852682_0001.jpg', '/home/pi/Desktop/images/19012025/06/01/image_19012025_06_01_02_852682_0002.jpg', '/home/pi/Desktop/images/19012025/06/01/image_19012025_06_01_02_852682_0003.jpg', '/home/pi/Desktop/images/19012025/06/02/image_19012025_06_02_02_427429_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/06/00/image_19012025_06_00_02_182501_0003.jpg
/home/pi/Desktop/images/19012025/06/01/image_19012025_06_01_02_852682_0000.jpg
/home/pi/Desktop/images/19012025/06/01/image_19012025_06_01_02_852682_0001.jpg
/home/pi/Desktop/images/19012025/06/01/image_19012025_06_01_02_852682_0002.jpg
/home/pi/Desktop/images/19012025/06/01/image_19012025_06_01_02_852682_0003.jpg
/home/pi/Desktop/images/19012025/06/02/image_19012025_06_02_02_427429_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329959172","1329959166","1329959174","1329959168","1329959176","1329959170"],"photo_ids_order":["1329959166","1329959168","1329959170","1329959172","1329959174","1329959176"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/48c3bcf9488657ae2fc3a57a576e3dad.jpg","text":"TemporaryFile(/tmp/multipartBody6627757676892265602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737263078190,"filename":"image_19012025_06_01_02_852682_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/afa31e66b1d4c7a10acb7ea5ac9fed3d.jpg","text":"TemporaryFile(/tmp/multipartBody7768501148720137011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737263078190,"filename":"image_19012025_06_00_02_182501_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/1a56722e2d8d82aed63ad34c8e141678.jpg","text":"TemporaryFile(/tmp/multipartBody5192014801717854246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737263078190,"filename":"image_19012025_06_01_02_852682_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/e52c0695533523352444eff8e9e1d59b.jpg","text":"TemporaryFile(/tmp/multipartBody8324560677437830417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737263078190,"filename":"image_19012025_06_01_02_852682_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/b3765ae22c463f29157e837119e0237f.jpg","text":"TemporaryFile(/tmp/multipartBody8687311449956894738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737263078190,"filename":"image_19012025_06_02_02_427429_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/b0ba4d3df418036a1c91f1e97228bf09.jpg","text":"TemporaryFile(/tmp/multipartBody615331431543247241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737263078190,"filename":"image_19012025_06_01_02_852682_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329959170","file1":"1329959168","file0":"1329959166","file4":"1329959174","file5":"1329959176","file3":"1329959172"},"map_files_photo_id_array":[{"photo_id":"1329959176","filename":"file5"},{"photo_id":"1329959170","filename":"file2"},{"photo_id":"1329959174","filename":"file4"},{"photo_id":"1329959168","filename":"file1"},{"photo_id":"1329959166","filename":"file0"},{"photo_id":"1329959172","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329959172":["hashtag1","hashtag2"]},{"1329959166":["hashtag1","hashtag2"]},{"1329959174":["hashtag1","hashtag2"]},{"1329959168":["hashtag1","hashtag2"]},{"1329959176":["hashtag1","hashtag2"]},{"1329959170":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329959172, 1329959166, 1329959174, 1329959168, 1329959176, 1329959170)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.77019381523132 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 06:04:22.691437
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/06/02/image_19012025_06_02_02_427429_0001.jpg', '/home/pi/Desktop/images/19012025/06/02/image_19012025_06_02_02_427429_0002.jpg', '/home/pi/Desktop/images/19012025/06/02/image_19012025_06_02_02_427429_0003.jpg', '/home/pi/Desktop/images/19012025/06/03/image_19012025_06_03_02_986761_0000.jpg', '/home/pi/Desktop/images/19012025/06/03/image_19012025_06_03_02_986761_0001.jpg', '/home/pi/Desktop/images/19012025/06/03/image_19012025_06_03_02_986761_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/06/02/image_19012025_06_02_02_427429_0001.jpg
/home/pi/Desktop/images/19012025/06/02/image_19012025_06_02_02_427429_0002.jpg
/home/pi/Desktop/images/19012025/06/02/image_19012025_06_02_02_427429_0003.jpg
/home/pi/Desktop/images/19012025/06/03/image_19012025_06_03_02_986761_0000.jpg
/home/pi/Desktop/images/19012025/06/03/image_19012025_06_03_02_986761_0001.jpg
/home/pi/Desktop/images/19012025/06/03/image_19012025_06_03_02_986761_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329959193","1329959196","1329959190","1329959198","1329959186","1329959182"],"photo_ids_order":["1329959182","1329959186","1329959190","1329959193","1329959196","1329959198"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/6c2ac3b320f59f7ffdd53c54dde21c75.jpg","text":"TemporaryFile(/tmp/multipartBody6161620533893814092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737263139440,"filename":"image_19012025_06_03_02_986761_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/59c4e5503dbd9d37604567fce2f2e6fe.jpg","text":"TemporaryFile(/tmp/multipartBody2399434201840011002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737263139440,"filename":"image_19012025_06_03_02_986761_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/72c4d140ebccf3b13c33d72a71457867.jpg","text":"TemporaryFile(/tmp/multipartBody6734269724075423639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737263139440,"filename":"image_19012025_06_02_02_427429_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/2cf08f0b43cfd65c4db6dc48d25a49ce.jpg","text":"TemporaryFile(/tmp/multipartBody7494908000036579685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737263139440,"filename":"image_19012025_06_03_02_986761_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/e6f7271db9ed44c015a9ebf98a2be9cd.jpg","text":"TemporaryFile(/tmp/multipartBody3596888978292364115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737263139440,"filename":"image_19012025_06_02_02_427429_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/18b37327b0656f244ae5d4b4aaf53a9f.jpg","text":"TemporaryFile(/tmp/multipartBody4055317545007538539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737263139440,"filename":"image_19012025_06_02_02_427429_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329959190","file1":"1329959186","file0":"1329959182","file4":"1329959196","file5":"1329959198","file3":"1329959193"},"map_files_photo_id_array":[{"photo_id":"1329959198","filename":"file5"},{"photo_id":"1329959190","filename":"file2"},{"photo_id":"1329959196","filename":"file4"},{"photo_id":"1329959186","filename":"file1"},{"photo_id":"1329959182","filename":"file0"},{"photo_id":"1329959193","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329959193":["hashtag1","hashtag2"]},{"1329959196":["hashtag1","hashtag2"]},{"1329959190":["hashtag1","hashtag2"]},{"1329959198":["hashtag1","hashtag2"]},{"1329959186":["hashtag1","hashtag2"]},{"1329959182":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329959193, 1329959196, 1329959190, 1329959198, 1329959186, 1329959182)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.67450666427612 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 06:05:22.219095
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/06/03/image_19012025_06_03_02_986761_0003.jpg', '/home/pi/Desktop/images/19012025/06/04/image_19012025_06_04_02_492996_0000.jpg', '/home/pi/Desktop/images/19012025/06/04/image_19012025_06_04_02_492996_0001.jpg', '/home/pi/Desktop/images/19012025/06/04/image_19012025_06_04_02_492996_0002.jpg', '/home/pi/Desktop/images/19012025/06/04/image_19012025_06_04_02_492996_0003.jpg', '/home/pi/Desktop/images/19012025/06/05/image_19012025_06_05_03_072417_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/06/03/image_19012025_06_03_02_986761_0003.jpg
/home/pi/Desktop/images/19012025/06/04/image_19012025_06_04_02_492996_0000.jpg
/home/pi/Desktop/images/19012025/06/04/image_19012025_06_04_02_492996_0001.jpg
/home/pi/Desktop/images/19012025/06/04/image_19012025_06_04_02_492996_0002.jpg
/home/pi/Desktop/images/19012025/06/04/image_19012025_06_04_02_492996_0003.jpg
/home/pi/Desktop/images/19012025/06/05/image_19012025_06_05_03_072417_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329959289","1329959238","1329959205","1329959604","1329959219","1329959215"],"photo_ids_order":["1329959205","1329959215","1329959219","1329959238","1329959289","1329959604"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/0c28f93c6976682921db8b53e653a756.jpg","text":"TemporaryFile(/tmp/multipartBody3745015269233125927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737263199311,"filename":"image_19012025_06_04_02_492996_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/697714970dec8b12dbe9e402cf04228b.jpg","text":"TemporaryFile(/tmp/multipartBody544546660690973997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737263199311,"filename":"image_19012025_06_04_02_492996_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/a9b111d094078d9d0cef386647064037.jpg","text":"TemporaryFile(/tmp/multipartBody4703936049857856272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737263199311,"filename":"image_19012025_06_03_02_986761_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/5c67ced617dd26ef652c3431c1e9b81e.jpg","text":"TemporaryFile(/tmp/multipartBody5608659189550936820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737263199311,"filename":"image_19012025_06_05_03_072417_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/6384f4449f5a926f8e3359ff13f9b861.jpg","text":"TemporaryFile(/tmp/multipartBody8384863565830668962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737263199311,"filename":"image_19012025_06_04_02_492996_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/26cc5a57c253c1eb0cb73073d45e24cf.jpg","text":"TemporaryFile(/tmp/multipartBody2816034585994138005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737263199311,"filename":"image_19012025_06_04_02_492996_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329959219","file1":"1329959215","file0":"1329959205","file4":"1329959289","file5":"1329959604","file3":"1329959238"},"map_files_photo_id_array":[{"photo_id":"1329959604","filename":"file5"},{"photo_id":"1329959219","filename":"file2"},{"photo_id":"1329959289","filename":"file4"},{"photo_id":"1329959215","filename":"file1"},{"photo_id":"1329959205","filename":"file0"},{"photo_id":"1329959238","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329959289":["hashtag1","hashtag2"]},{"1329959238":["hashtag1","hashtag2"]},{"1329959205":["hashtag1","hashtag2"]},{"1329959604":["hashtag1","hashtag2"]},{"1329959219":["hashtag1","hashtag2"]},{"1329959215":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329959289, 1329959238, 1329959205, 1329959604, 1329959219, 1329959215)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.08842158317566 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 06:06:22.748109
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/06/05/image_19012025_06_05_03_072417_0001.jpg', '/home/pi/Desktop/images/19012025/06/05/image_19012025_06_05_03_072417_0002.jpg', '/home/pi/Desktop/images/19012025/06/05/image_19012025_06_05_03_072417_0003.jpg', '/home/pi/Desktop/images/19012025/06/06/image_19012025_06_06_02_576522_0000.jpg', '/home/pi/Desktop/images/19012025/06/06/image_19012025_06_06_02_576522_0001.jpg', '/home/pi/Desktop/images/19012025/06/06/image_19012025_06_06_02_576522_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/06/05/image_19012025_06_05_03_072417_0001.jpg
/home/pi/Desktop/images/19012025/06/05/image_19012025_06_05_03_072417_0002.jpg
/home/pi/Desktop/images/19012025/06/05/image_19012025_06_05_03_072417_0003.jpg
/home/pi/Desktop/images/19012025/06/06/image_19012025_06_06_02_576522_0000.jpg
/home/pi/Desktop/images/19012025/06/06/image_19012025_06_06_02_576522_0001.jpg
/home/pi/Desktop/images/19012025/06/06/image_19012025_06_06_02_576522_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.94893217086792 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 06:07:02.795419
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/06/05/image_19012025_06_05_03_072417_0001.jpg', '/home/pi/Desktop/images/19012025/06/05/image_19012025_06_05_03_072417_0002.jpg', '/home/pi/Desktop/images/19012025/06/05/image_19012025_06_05_03_072417_0003.jpg', '/home/pi/Desktop/images/19012025/06/06/image_19012025_06_06_02_576522_0000.jpg', '/home/pi/Desktop/images/19012025/06/06/image_19012025_06_06_02_576522_0001.jpg', '/home/pi/Desktop/images/19012025/06/06/image_19012025_06_06_02_576522_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/06/05/image_19012025_06_05_03_072417_0001.jpg
/home/pi/Desktop/images/19012025/06/05/image_19012025_06_05_03_072417_0002.jpg
/home/pi/Desktop/images/19012025/06/05/image_19012025_06_05_03_072417_0003.jpg
/home/pi/Desktop/images/19012025/06/06/image_19012025_06_06_02_576522_0000.jpg
/home/pi/Desktop/images/19012025/06/06/image_19012025_06_06_02_576522_0001.jpg
/home/pi/Desktop/images/19012025/06/06/image_19012025_06_06_02_576522_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329960607","1329961259","1329960890","1329961607","1329960356","1329960472"],"photo_ids_order":["1329960356","1329960472","1329960607","1329960890","1329961259","1329961607"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/7805ec8f1cd9a06b8826c17619e597ce.jpg","text":"TemporaryFile(/tmp/multipartBody5810890727426635924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737263299236,"filename":"image_19012025_06_05_03_072417_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/c1004aa40efb00df6f18b9a37247a5fb.jpg","text":"TemporaryFile(/tmp/multipartBody6379592898206421973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737263299236,"filename":"image_19012025_06_06_02_576522_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/fe76d9bdef4631ac96a82bad01ec01af.jpg","text":"TemporaryFile(/tmp/multipartBody2588265085338436750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737263299236,"filename":"image_19012025_06_06_02_576522_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/3cf28c40bd6b782935b13aec731dcae9.jpg","text":"TemporaryFile(/tmp/multipartBody3890443958599899050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737263299236,"filename":"image_19012025_06_06_02_576522_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/40d57ab3a78b8a6e5bd4be150a363565.jpg","text":"TemporaryFile(/tmp/multipartBody8206447079471885871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737263299236,"filename":"image_19012025_06_05_03_072417_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/261e2486e2115c7d80506a63b2424047.jpg","text":"TemporaryFile(/tmp/multipartBody4128031480006869650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737263299236,"filename":"image_19012025_06_05_03_072417_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329960607","file1":"1329960472","file0":"1329960356","file4":"1329961259","file5":"1329961607","file3":"1329960890"},"map_files_photo_id_array":[{"photo_id":"1329961607","filename":"file5"},{"photo_id":"1329960607","filename":"file2"},{"photo_id":"1329961259","filename":"file4"},{"photo_id":"1329960472","filename":"file1"},{"photo_id":"1329960356","filename":"file0"},{"photo_id":"1329960890","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329960607":["hashtag1","hashtag2"]},{"1329961259":["hashtag1","hashtag2"]},{"1329960890":["hashtag1","hashtag2"]},{"1329961607":["hashtag1","hashtag2"]},{"1329960356":["hashtag1","hashtag2"]},{"1329960472":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329960607, 1329961259, 1329960890, 1329961607, 1329960356, 1329960472)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.44289183616638 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-19 06:08:21.863309
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/06/06/image_19012025_06_06_02_576522_0003.jpg', '/home/pi/Desktop/images/19012025/06/07/image_19012025_06_07_03_084806_0000.jpg', '/home/pi/Desktop/images/19012025/06/07/image_19012025_06_07_03_084806_0001.jpg', '/home/pi/Desktop/images/19012025/06/07/image_19012025_06_07_03_084806_0002.jpg', '/home/pi/Desktop/images/19012025/06/07/image_19012025_06_07_03_084806_0003.jpg', '/home/pi/Desktop/images/19012025/06/08/image_19012025_06_08_02_582294_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/06/06/image_19012025_06_06_02_576522_0003.jpg
/home/pi/Desktop/images/19012025/06/07/image_19012025_06_07_03_084806_0000.jpg
/home/pi/Desktop/images/19012025/06/07/image_19012025_06_07_03_084806_0001.jpg
/home/pi/Desktop/images/19012025/06/07/image_19012025_06_07_03_084806_0002.jpg
/home/pi/Desktop/images/19012025/06/07/image_19012025_06_07_03_084806_0003.jpg
/home/pi/Desktop/images/19012025/06/08/image_19012025_06_08_02_582294_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: 16.45882558822632 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 06:09:03.071361
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/06/06/image_19012025_06_06_02_576522_0003.jpg', '/home/pi/Desktop/images/19012025/06/07/image_19012025_06_07_03_084806_0000.jpg', '/home/pi/Desktop/images/19012025/06/07/image_19012025_06_07_03_084806_0001.jpg', '/home/pi/Desktop/images/19012025/06/07/image_19012025_06_07_03_084806_0002.jpg', '/home/pi/Desktop/images/19012025/06/07/image_19012025_06_07_03_084806_0003.jpg', '/home/pi/Desktop/images/19012025/06/08/image_19012025_06_08_02_582294_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/06/06/image_19012025_06_06_02_576522_0003.jpg
/home/pi/Desktop/images/19012025/06/07/image_19012025_06_07_03_084806_0000.jpg
/home/pi/Desktop/images/19012025/06/07/image_19012025_06_07_03_084806_0001.jpg
/home/pi/Desktop/images/19012025/06/07/image_19012025_06_07_03_084806_0002.jpg
/home/pi/Desktop/images/19012025/06/07/image_19012025_06_07_03_084806_0003.jpg
/home/pi/Desktop/images/19012025/06/08/image_19012025_06_08_02_582294_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":["1329962364","1329962427","1329962375","1329962429","1329962347","1329961995"],"photo_ids_order":["1329961995","1329962347","1329962364","1329962375","1329962427","1329962429"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/14c215e32bbf380987be4ef2f5e876ce.jpg","text":"TemporaryFile(/tmp/multipartBody5198909915073165634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737263419967,"filename":"image_19012025_06_07_03_084806_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/4c2848bb51ed0708e0f47de351155788.jpg","text":"TemporaryFile(/tmp/multipartBody2659361666676846956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737263419967,"filename":"image_19012025_06_07_03_084806_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/e5108134fce8d87f68e5bf43b192c48b.jpg","text":"TemporaryFile(/tmp/multipartBody181796051025170966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737263419967,"filename":"image_19012025_06_07_03_084806_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/3a9279ac2ac368489e59af7b9988104f.jpg","text":"TemporaryFile(/tmp/multipartBody8180810511983273098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737263419967,"filename":"image_19012025_06_08_02_582294_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/0716f3214cba0cc15ff916e23beacc29.jpg","text":"TemporaryFile(/tmp/multipartBody8226459065239412430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737263419967,"filename":"image_19012025_06_07_03_084806_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/57fe6ff9ff63d499dea8b64d6e6edffa.jpg","text":"TemporaryFile(/tmp/multipartBody7988923177044509669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737263419967,"filename":"image_19012025_06_06_02_576522_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329962364","file1":"1329962347","file0":"1329961995","file4":"1329962427","file5":"1329962429","file3":"1329962375"},"map_files_photo_id_array":[{"photo_id":"1329962429","filename":"file5"},{"photo_id":"1329962364","filename":"file2"},{"photo_id":"1329962427","filename":"file4"},{"photo_id":"1329962347","filename":"file1"},{"photo_id":"1329961995","filename":"file0"},{"photo_id":"1329962375","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329962364":["hashtag1","hashtag2"]},{"1329962427":["hashtag1","hashtag2"]},{"1329962375":["hashtag1","hashtag2"]},{"1329962429":["hashtag1","hashtag2"]},{"1329962347":["hashtag1","hashtag2"]},{"1329961995":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329962364, 1329962427, 1329962375, 1329962429, 1329962347, 1329961995)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.650984048843384 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 06:10:21.971752
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/06/08/image_19012025_06_08_02_582294_0001.jpg', '/home/pi/Desktop/images/19012025/06/08/image_19012025_06_08_02_582294_0002.jpg', '/home/pi/Desktop/images/19012025/06/08/image_19012025_06_08_02_582294_0003.jpg', '/home/pi/Desktop/images/19012025/06/09/image_19012025_06_09_02_228401_0000.jpg', '/home/pi/Desktop/images/19012025/06/09/image_19012025_06_09_02_228401_0001.jpg', '/home/pi/Desktop/images/19012025/06/09/image_19012025_06_09_02_228401_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/06/08/image_19012025_06_08_02_582294_0001.jpg
/home/pi/Desktop/images/19012025/06/08/image_19012025_06_08_02_582294_0002.jpg
/home/pi/Desktop/images/19012025/06/08/image_19012025_06_08_02_582294_0003.jpg
/home/pi/Desktop/images/19012025/06/09/image_19012025_06_09_02_228401_0000.jpg
/home/pi/Desktop/images/19012025/06/09/image_19012025_06_09_02_228401_0001.jpg
/home/pi/Desktop/images/19012025/06/09/image_19012025_06_09_02_228401_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 16.261420965194702 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 06:11:03.201484
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/06/08/image_19012025_06_08_02_582294_0001.jpg', '/home/pi/Desktop/images/19012025/06/08/image_19012025_06_08_02_582294_0002.jpg', '/home/pi/Desktop/images/19012025/06/08/image_19012025_06_08_02_582294_0003.jpg', '/home/pi/Desktop/images/19012025/06/09/image_19012025_06_09_02_228401_0000.jpg', '/home/pi/Desktop/images/19012025/06/09/image_19012025_06_09_02_228401_0001.jpg', '/home/pi/Desktop/images/19012025/06/09/image_19012025_06_09_02_228401_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/06/08/image_19012025_06_08_02_582294_0001.jpg
/home/pi/Desktop/images/19012025/06/08/image_19012025_06_08_02_582294_0002.jpg
/home/pi/Desktop/images/19012025/06/08/image_19012025_06_08_02_582294_0003.jpg
/home/pi/Desktop/images/19012025/06/09/image_19012025_06_09_02_228401_0000.jpg
/home/pi/Desktop/images/19012025/06/09/image_19012025_06_09_02_228401_0001.jpg
/home/pi/Desktop/images/19012025/06/09/image_19012025_06_09_02_228401_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":["1329962661","1329962625","1329962610","1329962663","1329962612","1329962614"],"photo_ids_order":["1329962610","1329962612","1329962614","1329962625","1329962661","1329962663"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/ae37258369eb76a78cf6e4b7cec27210.jpg","text":"TemporaryFile(/tmp/multipartBody7571077088594089162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737263539896,"filename":"image_19012025_06_09_02_228401_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/6d478b0714a5c4606cde22c34d6effbe.jpg","text":"TemporaryFile(/tmp/multipartBody8486179529362425738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737263539896,"filename":"image_19012025_06_09_02_228401_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/953222a842f1ba52231c2853fafc119b.jpg","text":"TemporaryFile(/tmp/multipartBody8210099570006528804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737263539896,"filename":"image_19012025_06_08_02_582294_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/7cbe46f2cbabf155bb8e8587fe665a34.jpg","text":"TemporaryFile(/tmp/multipartBody3420539247719689234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737263539896,"filename":"image_19012025_06_09_02_228401_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/8c30c633a39975b07605f9110e8c3bbd.jpg","text":"TemporaryFile(/tmp/multipartBody5576005533940067579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737263539896,"filename":"image_19012025_06_08_02_582294_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/0ef09247252089395062343ff1fd6d76.jpg","text":"TemporaryFile(/tmp/multipartBody3379227292822149873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737263539896,"filename":"image_19012025_06_08_02_582294_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329962614","file1":"1329962612","file0":"1329962610","file4":"1329962661","file5":"1329962663","file3":"1329962625"},"map_files_photo_id_array":[{"photo_id":"1329962663","filename":"file5"},{"photo_id":"1329962614","filename":"file2"},{"photo_id":"1329962661","filename":"file4"},{"photo_id":"1329962612","filename":"file1"},{"photo_id":"1329962610","filename":"file0"},{"photo_id":"1329962625","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329962661":["hashtag1","hashtag2"]},{"1329962625":["hashtag1","hashtag2"]},{"1329962610":["hashtag1","hashtag2"]},{"1329962663":["hashtag1","hashtag2"]},{"1329962612":["hashtag1","hashtag2"]},{"1329962614":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329962661, 1329962625, 1329962610, 1329962663, 1329962612, 1329962614)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.69421648979187 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 06:12:22.217819
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/06/09/image_19012025_06_09_02_228401_0003.jpg', '/home/pi/Desktop/images/19012025/06/10/image_19012025_06_10_02_706268_0000.jpg', '/home/pi/Desktop/images/19012025/06/10/image_19012025_06_10_02_706268_0001.jpg', '/home/pi/Desktop/images/19012025/06/10/image_19012025_06_10_02_706268_0002.jpg', '/home/pi/Desktop/images/19012025/06/10/image_19012025_06_10_02_706268_0003.jpg', '/home/pi/Desktop/images/19012025/06/11/image_19012025_06_11_02_350347_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/06/09/image_19012025_06_09_02_228401_0003.jpg
/home/pi/Desktop/images/19012025/06/10/image_19012025_06_10_02_706268_0000.jpg
/home/pi/Desktop/images/19012025/06/10/image_19012025_06_10_02_706268_0001.jpg
/home/pi/Desktop/images/19012025/06/10/image_19012025_06_10_02_706268_0002.jpg
/home/pi/Desktop/images/19012025/06/10/image_19012025_06_10_02_706268_0003.jpg
/home/pi/Desktop/images/19012025/06/11/image_19012025_06_11_02_350347_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: 16.14603853225708 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 06:13:02.404421
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/06/09/image_19012025_06_09_02_228401_0003.jpg', '/home/pi/Desktop/images/19012025/06/10/image_19012025_06_10_02_706268_0000.jpg', '/home/pi/Desktop/images/19012025/06/10/image_19012025_06_10_02_706268_0001.jpg', '/home/pi/Desktop/images/19012025/06/10/image_19012025_06_10_02_706268_0002.jpg', '/home/pi/Desktop/images/19012025/06/10/image_19012025_06_10_02_706268_0003.jpg', '/home/pi/Desktop/images/19012025/06/11/image_19012025_06_11_02_350347_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/06/09/image_19012025_06_09_02_228401_0003.jpg
/home/pi/Desktop/images/19012025/06/10/image_19012025_06_10_02_706268_0000.jpg
/home/pi/Desktop/images/19012025/06/10/image_19012025_06_10_02_706268_0001.jpg
/home/pi/Desktop/images/19012025/06/10/image_19012025_06_10_02_706268_0002.jpg
/home/pi/Desktop/images/19012025/06/10/image_19012025_06_10_02_706268_0003.jpg
/home/pi/Desktop/images/19012025/06/11/image_19012025_06_11_02_350347_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329962832","1329962826","1329962835","1329962828","1329962830","1329962856"],"photo_ids_order":["1329962826","1329962828","1329962830","1329962832","1329962835","1329962856"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/62d5099408d2927e460c53f48e114323.jpg","text":"TemporaryFile(/tmp/multipartBody1259548287970303745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737263659032,"filename":"image_19012025_06_10_02_706268_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/50d02fa7dcdb8c7acb40e55a355e1035.jpg","text":"TemporaryFile(/tmp/multipartBody2382269532753666264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737263659032,"filename":"image_19012025_06_09_02_228401_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/f5aa7199f918088d64e420fb0bd06879.jpg","text":"TemporaryFile(/tmp/multipartBody544628197280227854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737263659032,"filename":"image_19012025_06_10_02_706268_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/2dc2ebadfd2e3d4e0a6628241022106e.jpg","text":"TemporaryFile(/tmp/multipartBody8967618313042068510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737263659032,"filename":"image_19012025_06_10_02_706268_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/f313864ca9169c75970e24cee443390a.jpg","text":"TemporaryFile(/tmp/multipartBody7325703860978371814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737263659032,"filename":"image_19012025_06_10_02_706268_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/517b4c1e4077344f4a851f7d11a4641b.jpg","text":"TemporaryFile(/tmp/multipartBody4729563491861951655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737263659032,"filename":"image_19012025_06_11_02_350347_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329962830","file1":"1329962828","file0":"1329962826","file4":"1329962835","file5":"1329962856","file3":"1329962832"},"map_files_photo_id_array":[{"photo_id":"1329962856","filename":"file5"},{"photo_id":"1329962830","filename":"file2"},{"photo_id":"1329962835","filename":"file4"},{"photo_id":"1329962828","filename":"file1"},{"photo_id":"1329962826","filename":"file0"},{"photo_id":"1329962832","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329962832":["hashtag1","hashtag2"]},{"1329962826":["hashtag1","hashtag2"]},{"1329962835":["hashtag1","hashtag2"]},{"1329962828":["hashtag1","hashtag2"]},{"1329962830":["hashtag1","hashtag2"]},{"1329962856":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329962832, 1329962826, 1329962835, 1329962828, 1329962830, 1329962856)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.08246350288391 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 06:14:02.718905
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/06/11/image_19012025_06_11_02_350347_0001.jpg', '/home/pi/Desktop/images/19012025/06/11/image_19012025_06_11_02_350347_0002.jpg', '/home/pi/Desktop/images/19012025/06/11/image_19012025_06_11_02_350347_0003.jpg', '/home/pi/Desktop/images/19012025/06/12/image_19012025_06_12_02_926198_0000.jpg', '/home/pi/Desktop/images/19012025/06/12/image_19012025_06_12_02_926198_0001.jpg', '/home/pi/Desktop/images/19012025/06/12/image_19012025_06_12_02_926198_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/06/11/image_19012025_06_11_02_350347_0001.jpg
/home/pi/Desktop/images/19012025/06/11/image_19012025_06_11_02_350347_0002.jpg
/home/pi/Desktop/images/19012025/06/11/image_19012025_06_11_02_350347_0003.jpg
/home/pi/Desktop/images/19012025/06/12/image_19012025_06_12_02_926198_0000.jpg
/home/pi/Desktop/images/19012025/06/12/image_19012025_06_12_02_926198_0001.jpg
/home/pi/Desktop/images/19012025/06/12/image_19012025_06_12_02_926198_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 16.047836303710938 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 06:14:22.323492
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/06/11/image_19012025_06_11_02_350347_0001.jpg', '/home/pi/Desktop/images/19012025/06/11/image_19012025_06_11_02_350347_0002.jpg', '/home/pi/Desktop/images/19012025/06/11/image_19012025_06_11_02_350347_0003.jpg', '/home/pi/Desktop/images/19012025/06/12/image_19012025_06_12_02_926198_0000.jpg', '/home/pi/Desktop/images/19012025/06/12/image_19012025_06_12_02_926198_0001.jpg', '/home/pi/Desktop/images/19012025/06/12/image_19012025_06_12_02_926198_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/06/11/image_19012025_06_11_02_350347_0001.jpg
/home/pi/Desktop/images/19012025/06/11/image_19012025_06_11_02_350347_0002.jpg
/home/pi/Desktop/images/19012025/06/11/image_19012025_06_11_02_350347_0003.jpg
/home/pi/Desktop/images/19012025/06/12/image_19012025_06_12_02_926198_0000.jpg
/home/pi/Desktop/images/19012025/06/12/image_19012025_06_12_02_926198_0001.jpg
/home/pi/Desktop/images/19012025/06/12/image_19012025_06_12_02_926198_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329962978","1329962975","1329962971","1329962968","1329962973","1329962979"],"photo_ids_order":["1329962968","1329962971","1329962973","1329962975","1329962978","1329962979"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/c64eae72199155e233ca39c7cea58061.jpg","text":"TemporaryFile(/tmp/multipartBody330419436661325284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737263738734,"filename":"image_19012025_06_12_02_926198_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/3a7c415fc9bb54b2a500002b5647ba47.jpg","text":"TemporaryFile(/tmp/multipartBody4877638019740473689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737263738734,"filename":"image_19012025_06_12_02_926198_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/492dc3183fcdd36c1145b2e4bb711b84.jpg","text":"TemporaryFile(/tmp/multipartBody7188915424499818332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737263738734,"filename":"image_19012025_06_11_02_350347_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/26751a8253b98d7b39b2f0c2d8d0cc98.jpg","text":"TemporaryFile(/tmp/multipartBody1241167690668730064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737263738734,"filename":"image_19012025_06_11_02_350347_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/fb7751f3af911c278c29f72042b8f69f.jpg","text":"TemporaryFile(/tmp/multipartBody2774005789320499206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737263738734,"filename":"image_19012025_06_11_02_350347_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/a60914863e28103d2f3c8f2b24a0f36d.jpg","text":"TemporaryFile(/tmp/multipartBody1664196847609195626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737263738734,"filename":"image_19012025_06_12_02_926198_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329962973","file1":"1329962971","file0":"1329962968","file4":"1329962978","file5":"1329962979","file3":"1329962975"},"map_files_photo_id_array":[{"photo_id":"1329962979","filename":"file5"},{"photo_id":"1329962973","filename":"file2"},{"photo_id":"1329962978","filename":"file4"},{"photo_id":"1329962971","filename":"file1"},{"photo_id":"1329962968","filename":"file0"},{"photo_id":"1329962975","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329962978":["hashtag1","hashtag2"]},{"1329962975":["hashtag1","hashtag2"]},{"1329962971":["hashtag1","hashtag2"]},{"1329962968":["hashtag1","hashtag2"]},{"1329962973":["hashtag1","hashtag2"]},{"1329962979":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329962978, 1329962975, 1329962971, 1329962968, 1329962973, 1329962979)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.20828032493591 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 06:15:21.826414
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/06/12/image_19012025_06_12_02_926198_0003.jpg', '/home/pi/Desktop/images/19012025/06/13/image_19012025_06_13_02_607734_0000.jpg', '/home/pi/Desktop/images/19012025/06/13/image_19012025_06_13_02_607734_0001.jpg', '/home/pi/Desktop/images/19012025/06/13/image_19012025_06_13_02_607734_0002.jpg', '/home/pi/Desktop/images/19012025/06/13/image_19012025_06_13_02_607734_0003.jpg', '/home/pi/Desktop/images/19012025/06/14/image_19012025_06_14_02_127470_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/06/12/image_19012025_06_12_02_926198_0003.jpg
/home/pi/Desktop/images/19012025/06/13/image_19012025_06_13_02_607734_0000.jpg
/home/pi/Desktop/images/19012025/06/13/image_19012025_06_13_02_607734_0001.jpg
/home/pi/Desktop/images/19012025/06/13/image_19012025_06_13_02_607734_0002.jpg
/home/pi/Desktop/images/19012025/06/13/image_19012025_06_13_02_607734_0003.jpg
/home/pi/Desktop/images/19012025/06/14/image_19012025_06_14_02_127470_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329963134","1329963137","1329963130","1329963124","1329963127","1329963132"],"photo_ids_order":["1329963124","1329963127","1329963130","1329963132","1329963134","1329963137"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/cd337358c877cf63988b48a5a2ca00d5.jpg","text":"TemporaryFile(/tmp/multipartBody3881159981137779720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737263798586,"filename":"image_19012025_06_13_02_607734_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/0833934adfd2aaabdc4b8fbc51e07634.jpg","text":"TemporaryFile(/tmp/multipartBody1834964960734498881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737263798586,"filename":"image_19012025_06_14_02_127470_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/7847eb74f95e33235cd62e9c120f093b.jpg","text":"TemporaryFile(/tmp/multipartBody1951060058326657928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737263798586,"filename":"image_19012025_06_13_02_607734_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/0b3f2a3dce6c1fd2bfb6fd38de7daa7e.jpg","text":"TemporaryFile(/tmp/multipartBody765942087270796940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737263798586,"filename":"image_19012025_06_12_02_926198_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/6f4df2f55060b8b5ca516d5557ed9332.jpg","text":"TemporaryFile(/tmp/multipartBody8405900581972578815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737263798586,"filename":"image_19012025_06_13_02_607734_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/a33b595dd0c15e7968d794db46835707.jpg","text":"TemporaryFile(/tmp/multipartBody9090698419458998582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737263798586,"filename":"image_19012025_06_13_02_607734_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329963130","file1":"1329963127","file0":"1329963124","file4":"1329963134","file5":"1329963137","file3":"1329963132"},"map_files_photo_id_array":[{"photo_id":"1329963137","filename":"file5"},{"photo_id":"1329963130","filename":"file2"},{"photo_id":"1329963134","filename":"file4"},{"photo_id":"1329963127","filename":"file1"},{"photo_id":"1329963124","filename":"file0"},{"photo_id":"1329963132","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329963134":["hashtag1","hashtag2"]},{"1329963137":["hashtag1","hashtag2"]},{"1329963130":["hashtag1","hashtag2"]},{"1329963124":["hashtag1","hashtag2"]},{"1329963127":["hashtag1","hashtag2"]},{"1329963132":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329963134, 1329963137, 1329963130, 1329963124, 1329963127, 1329963132)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.71226644515991 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 06:16:22.349883
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/06/14/image_19012025_06_14_02_127470_0001.jpg', '/home/pi/Desktop/images/19012025/06/14/image_19012025_06_14_02_127470_0002.jpg', '/home/pi/Desktop/images/19012025/06/14/image_19012025_06_14_02_127470_0003.jpg', '/home/pi/Desktop/images/19012025/06/15/image_19012025_06_15_02_686433_0000.jpg', '/home/pi/Desktop/images/19012025/06/15/image_19012025_06_15_02_686433_0001.jpg', '/home/pi/Desktop/images/19012025/06/15/image_19012025_06_15_02_686433_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/06/14/image_19012025_06_14_02_127470_0001.jpg
/home/pi/Desktop/images/19012025/06/14/image_19012025_06_14_02_127470_0002.jpg
/home/pi/Desktop/images/19012025/06/14/image_19012025_06_14_02_127470_0003.jpg
/home/pi/Desktop/images/19012025/06/15/image_19012025_06_15_02_686433_0000.jpg
/home/pi/Desktop/images/19012025/06/15/image_19012025_06_15_02_686433_0001.jpg
/home/pi/Desktop/images/19012025/06/15/image_19012025_06_15_02_686433_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329963152","1329963143","1329963160","1329963162","1329963156","1329963147"],"photo_ids_order":["1329963143","1329963147","1329963152","1329963156","1329963160","1329963162"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/3b6e10746845cdfa1a698181579a2d08.jpg","text":"TemporaryFile(/tmp/multipartBody6797294787831545438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737263859463,"filename":"image_19012025_06_14_02_127470_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/699dbee512c1172d91b6546bd92ce98a.jpg","text":"TemporaryFile(/tmp/multipartBody4136945053699853136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737263859463,"filename":"image_19012025_06_14_02_127470_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/19414405fa011ce6e8ed3fa282420e7f.jpg","text":"TemporaryFile(/tmp/multipartBody3681696628663661645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737263859463,"filename":"image_19012025_06_15_02_686433_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/09c7fe83fd1f529a8a20181e31ce4cc0.jpg","text":"TemporaryFile(/tmp/multipartBody8819026271340069386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737263859463,"filename":"image_19012025_06_15_02_686433_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/0c36ed01e908f0aa8dacfd70b6ef3c0a.jpg","text":"TemporaryFile(/tmp/multipartBody2170464232949143438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737263859463,"filename":"image_19012025_06_15_02_686433_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/df82ec2c16005bdd2c644b02044d7685.jpg","text":"TemporaryFile(/tmp/multipartBody3293626394415500980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737263859463,"filename":"image_19012025_06_14_02_127470_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329963152","file1":"1329963147","file0":"1329963143","file4":"1329963160","file5":"1329963162","file3":"1329963156"},"map_files_photo_id_array":[{"photo_id":"1329963162","filename":"file5"},{"photo_id":"1329963152","filename":"file2"},{"photo_id":"1329963160","filename":"file4"},{"photo_id":"1329963147","filename":"file1"},{"photo_id":"1329963143","filename":"file0"},{"photo_id":"1329963156","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329963152":["hashtag1","hashtag2"]},{"1329963143":["hashtag1","hashtag2"]},{"1329963160":["hashtag1","hashtag2"]},{"1329963162":["hashtag1","hashtag2"]},{"1329963156":["hashtag1","hashtag2"]},{"1329963147":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329963152, 1329963143, 1329963160, 1329963162, 1329963156, 1329963147)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.10438370704651 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 06:17:21.929224
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/06/15/image_19012025_06_15_02_686433_0003.jpg', '/home/pi/Desktop/images/19012025/06/16/image_19012025_06_16_02_181664_0000.jpg', '/home/pi/Desktop/images/19012025/06/16/image_19012025_06_16_02_181664_0001.jpg', '/home/pi/Desktop/images/19012025/06/16/image_19012025_06_16_02_181664_0002.jpg', '/home/pi/Desktop/images/19012025/06/16/image_19012025_06_16_02_181664_0003.jpg', '/home/pi/Desktop/images/19012025/06/17/image_19012025_06_17_02_731301_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/06/15/image_19012025_06_15_02_686433_0003.jpg
/home/pi/Desktop/images/19012025/06/16/image_19012025_06_16_02_181664_0000.jpg
/home/pi/Desktop/images/19012025/06/16/image_19012025_06_16_02_181664_0001.jpg
/home/pi/Desktop/images/19012025/06/16/image_19012025_06_16_02_181664_0002.jpg
/home/pi/Desktop/images/19012025/06/16/image_19012025_06_16_02_181664_0003.jpg
/home/pi/Desktop/images/19012025/06/17/image_19012025_06_17_02_731301_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329963179","1329963173","1329963175","1329963169","1329963171","1329963177"],"photo_ids_order":["1329963169","1329963171","1329963173","1329963175","1329963177","1329963179"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/64ce9e8d57d02ea5d329e9243be6e435.jpg","text":"TemporaryFile(/tmp/multipartBody3159749244582221317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737263918549,"filename":"image_19012025_06_17_02_731301_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/ec379c5ab635796a29fb7de1b492ea11.jpg","text":"TemporaryFile(/tmp/multipartBody63327603078156838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737263918549,"filename":"image_19012025_06_16_02_181664_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/d53c16e995caf9bce14804ec98a75062.jpg","text":"TemporaryFile(/tmp/multipartBody8466728051152197839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737263918549,"filename":"image_19012025_06_16_02_181664_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/357eed93c8cd93aa6d8fdb8a5c953161.jpg","text":"TemporaryFile(/tmp/multipartBody3577369855849378026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737263918549,"filename":"image_19012025_06_15_02_686433_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/ff3e43c459ad1dfc9f238ce8309d5968.jpg","text":"TemporaryFile(/tmp/multipartBody526560717592016584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737263918549,"filename":"image_19012025_06_16_02_181664_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/f9749023ac2501add45cdedf9f6c3bad.jpg","text":"TemporaryFile(/tmp/multipartBody734730799307616105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737263918549,"filename":"image_19012025_06_16_02_181664_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329963173","file1":"1329963171","file0":"1329963169","file4":"1329963177","file5":"1329963179","file3":"1329963175"},"map_files_photo_id_array":[{"photo_id":"1329963179","filename":"file5"},{"photo_id":"1329963173","filename":"file2"},{"photo_id":"1329963177","filename":"file4"},{"photo_id":"1329963171","filename":"file1"},{"photo_id":"1329963169","filename":"file0"},{"photo_id":"1329963175","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329963179":["hashtag1","hashtag2"]},{"1329963173":["hashtag1","hashtag2"]},{"1329963175":["hashtag1","hashtag2"]},{"1329963169":["hashtag1","hashtag2"]},{"1329963171":["hashtag1","hashtag2"]},{"1329963177":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329963179, 1329963173, 1329963175, 1329963169, 1329963171, 1329963177)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.29599928855896 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 06:18:22.336934
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/06/17/image_19012025_06_17_02_731301_0001.jpg', '/home/pi/Desktop/images/19012025/06/17/image_19012025_06_17_02_731301_0002.jpg', '/home/pi/Desktop/images/19012025/06/17/image_19012025_06_17_02_731301_0003.jpg', '/home/pi/Desktop/images/19012025/06/18/image_19012025_06_18_02_232394_0000.jpg', '/home/pi/Desktop/images/19012025/06/18/image_19012025_06_18_02_232394_0001.jpg', '/home/pi/Desktop/images/19012025/06/18/image_19012025_06_18_02_232394_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/06/17/image_19012025_06_17_02_731301_0001.jpg
/home/pi/Desktop/images/19012025/06/17/image_19012025_06_17_02_731301_0002.jpg
/home/pi/Desktop/images/19012025/06/17/image_19012025_06_17_02_731301_0003.jpg
/home/pi/Desktop/images/19012025/06/18/image_19012025_06_18_02_232394_0000.jpg
/home/pi/Desktop/images/19012025/06/18/image_19012025_06_18_02_232394_0001.jpg
/home/pi/Desktop/images/19012025/06/18/image_19012025_06_18_02_232394_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329963201","1329963185","1329963198","1329963192","1329963195","1329963189"],"photo_ids_order":["1329963185","1329963189","1329963192","1329963195","1329963198","1329963201"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/75a10fd6fd71afaa98c71630e39c6ac8.jpg","text":"TemporaryFile(/tmp/multipartBody2796657196112393136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737263978841,"filename":"image_19012025_06_18_02_232394_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/8cf48349124170a65019ff1393207045.jpg","text":"TemporaryFile(/tmp/multipartBody5208987588050250196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737263978841,"filename":"image_19012025_06_17_02_731301_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/43deee939b314ed7939fb701513b5110.jpg","text":"TemporaryFile(/tmp/multipartBody6830160597531103483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737263978841,"filename":"image_19012025_06_18_02_232394_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/f659893153092666b93a179439d68e6e.jpg","text":"TemporaryFile(/tmp/multipartBody6534662337858864271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737263978841,"filename":"image_19012025_06_17_02_731301_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/8e78e5a9dcf577bddd8f1ed61250ef01.jpg","text":"TemporaryFile(/tmp/multipartBody8537871823936618327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737263978841,"filename":"image_19012025_06_18_02_232394_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/86873f9d73f31bfa86912362b2500454.jpg","text":"TemporaryFile(/tmp/multipartBody1561703706271821481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737263978841,"filename":"image_19012025_06_17_02_731301_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329963192","file1":"1329963189","file0":"1329963185","file4":"1329963198","file5":"1329963201","file3":"1329963195"},"map_files_photo_id_array":[{"photo_id":"1329963201","filename":"file5"},{"photo_id":"1329963192","filename":"file2"},{"photo_id":"1329963198","filename":"file4"},{"photo_id":"1329963189","filename":"file1"},{"photo_id":"1329963185","filename":"file0"},{"photo_id":"1329963195","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329963201":["hashtag1","hashtag2"]},{"1329963185":["hashtag1","hashtag2"]},{"1329963198":["hashtag1","hashtag2"]},{"1329963192":["hashtag1","hashtag2"]},{"1329963195":["hashtag1","hashtag2"]},{"1329963189":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329963201, 1329963185, 1329963198, 1329963192, 1329963195, 1329963189)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.39215350151062 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 06:19:21.881462
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/06/18/image_19012025_06_18_02_232394_0003.jpg', '/home/pi/Desktop/images/19012025/06/19/image_19012025_06_19_02_762771_0000.jpg', '/home/pi/Desktop/images/19012025/06/19/image_19012025_06_19_02_762771_0001.jpg', '/home/pi/Desktop/images/19012025/06/19/image_19012025_06_19_02_762771_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/06/18/image_19012025_06_18_02_232394_0003.jpg
/home/pi/Desktop/images/19012025/06/19/image_19012025_06_19_02_762771_0000.jpg
/home/pi/Desktop/images/19012025/06/19/image_19012025_06_19_02_762771_0001.jpg
/home/pi/Desktop/images/19012025/06/19/image_19012025_06_19_02_762771_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329963212","1329963209","1329963206","1329963214"],"photo_ids_order":["1329963206","1329963209","1329963212","1329963214"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/56a155192c9fb580a1606699405ea64b.jpg","text":"TemporaryFile(/tmp/multipartBody9051390779390608457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737264033169,"filename":"image_19012025_06_19_02_762771_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/91ca19ecb00109e077bb76ff0dbaf577.jpg","text":"TemporaryFile(/tmp/multipartBody6442556940868503182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737264033169,"filename":"image_19012025_06_19_02_762771_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/7fea37d1df473441f32e9c2cd529ed6b.jpg","text":"TemporaryFile(/tmp/multipartBody1855068520793338487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737264033169,"filename":"image_19012025_06_18_02_232394_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/926c77761acbf0fbed2d2a37b4c1c4da.jpg","text":"TemporaryFile(/tmp/multipartBody5885112652068649738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737264033169,"filename":"image_19012025_06_19_02_762771_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329963212","file1":"1329963209","file0":"1329963206","file3":"1329963214"},"map_files_photo_id_array":[{"photo_id":"1329963212","filename":"file2"},{"photo_id":"1329963209","filename":"file1"},{"photo_id":"1329963206","filename":"file0"},{"photo_id":"1329963214","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329963212":["hashtag1","hashtag2"]},{"1329963209":["hashtag1","hashtag2"]},{"1329963206":["hashtag1","hashtag2"]},{"1329963214":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329963212, 1329963209, 1329963206, 1329963214)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.51719331741333 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 06:20:02.800240
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
  port_id : 19698700
  datou_current_id : 2490825
in upload_from_sqlite, uploading in 19698700
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17012025/21/42/image_17012025_21_42_03_138455_0002.jpg', '/home/pi/Desktop/images/17012025/21/43/image_17012025_21_43_02_277475_0002.jpg', '/home/pi/Desktop/images/17012025/21/43/image_17012025_21_43_02_277475_0003.jpg', '/home/pi/Desktop/images/17012025/21/44/image_17012025_21_44_02_452860_0000.jpg', '/home/pi/Desktop/images/17012025/21/44/image_17012025_21_44_02_452860_0001.jpg', '/home/pi/Desktop/images/17012025/21/44/image_17012025_21_44_02_452860_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2490825&datou=0
/home/pi/Desktop/images/17012025/21/42/image_17012025_21_42_03_138455_0002.jpg
/home/pi/Desktop/images/17012025/21/43/image_17012025_21_43_02_277475_0002.jpg
/home/pi/Desktop/images/17012025/21/43/image_17012025_21_43_02_277475_0003.jpg
/home/pi/Desktop/images/17012025/21/44/image_17012025_21_44_02_452860_0000.jpg
/home/pi/Desktop/images/17012025/21/44/image_17012025_21_44_02_452860_0001.jpg
/home/pi/Desktop/images/17012025/21/44/image_17012025_21_44_02_452860_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 17.003050565719604 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 06:20:22.339452
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/06/19/image_19012025_06_19_02_762771_0003.jpg', '/home/pi/Desktop/images/19012025/06/20/image_19012025_06_20_02_278135_0000.jpg', '/home/pi/Desktop/images/19012025/06/20/image_19012025_06_20_02_278135_0001.jpg', '/home/pi/Desktop/images/19012025/06/20/image_19012025_06_20_02_278135_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/06/19/image_19012025_06_19_02_762771_0003.jpg
/home/pi/Desktop/images/19012025/06/20/image_19012025_06_20_02_278135_0000.jpg
/home/pi/Desktop/images/19012025/06/20/image_19012025_06_20_02_278135_0001.jpg
/home/pi/Desktop/images/19012025/06/20/image_19012025_06_20_02_278135_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329963228","1329963223","1329963232","1329963235"],"photo_ids_order":["1329963223","1329963228","1329963232","1329963235"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/6df8b211ba07a3814aa2fd366b0a25eb.jpg","text":"TemporaryFile(/tmp/multipartBody1568693996261891512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737264093457,"filename":"image_19012025_06_20_02_278135_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/20d8f74dd58462d8fc38e0ed5e6d5050.jpg","text":"TemporaryFile(/tmp/multipartBody1611164729476992817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737264093457,"filename":"image_19012025_06_19_02_762771_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/51ec3d87cf1cdc0ac244559b55538143.jpg","text":"TemporaryFile(/tmp/multipartBody7348048322345471114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737264093457,"filename":"image_19012025_06_20_02_278135_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/8338b6ab292fb4413a20c0761ff402e1.jpg","text":"TemporaryFile(/tmp/multipartBody6747756619987962618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737264093457,"filename":"image_19012025_06_20_02_278135_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329963232","file1":"1329963228","file0":"1329963223","file3":"1329963235"},"map_files_photo_id_array":[{"photo_id":"1329963232","filename":"file2"},{"photo_id":"1329963228","filename":"file1"},{"photo_id":"1329963223","filename":"file0"},{"photo_id":"1329963235","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329963228":["hashtag1","hashtag2"]},{"1329963223":["hashtag1","hashtag2"]},{"1329963232":["hashtag1","hashtag2"]},{"1329963235":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329963228, 1329963223, 1329963232, 1329963235)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.31158995628357 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 06:21:22.004244
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/06/20/image_19012025_06_20_02_278135_0003.jpg', '/home/pi/Desktop/images/19012025/06/21/image_19012025_06_21_02_806351_0000.jpg', '/home/pi/Desktop/images/19012025/06/21/image_19012025_06_21_02_806351_0001.jpg', '/home/pi/Desktop/images/19012025/06/21/image_19012025_06_21_02_806351_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/06/20/image_19012025_06_20_02_278135_0003.jpg
/home/pi/Desktop/images/19012025/06/21/image_19012025_06_21_02_806351_0000.jpg
/home/pi/Desktop/images/19012025/06/21/image_19012025_06_21_02_806351_0001.jpg
/home/pi/Desktop/images/19012025/06/21/image_19012025_06_21_02_806351_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329963251","1329963245","1329963248","1329963242"],"photo_ids_order":["1329963242","1329963245","1329963248","1329963251"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/d34a87785d8dc65492b9b7ad9e1fb51f.jpg","text":"TemporaryFile(/tmp/multipartBody2098323481413847325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737264153212,"filename":"image_19012025_06_21_02_806351_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/254bd5b459636695a9fdde54546fbb7f.jpg","text":"TemporaryFile(/tmp/multipartBody5039972156095601899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737264153212,"filename":"image_19012025_06_21_02_806351_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/b8124ba79044a9158e3758c69bb56bd9.jpg","text":"TemporaryFile(/tmp/multipartBody3155366885893970903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737264153212,"filename":"image_19012025_06_21_02_806351_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/08a34195226f43b394109e5dcc1b9eb7.jpg","text":"TemporaryFile(/tmp/multipartBody2183583003209387668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737264153212,"filename":"image_19012025_06_20_02_278135_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329963248","file1":"1329963245","file0":"1329963242","file3":"1329963251"},"map_files_photo_id_array":[{"photo_id":"1329963248","filename":"file2"},{"photo_id":"1329963245","filename":"file1"},{"photo_id":"1329963242","filename":"file0"},{"photo_id":"1329963251","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329963251":["hashtag1","hashtag2"]},{"1329963245":["hashtag1","hashtag2"]},{"1329963248":["hashtag1","hashtag2"]},{"1329963242":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329963251, 1329963245, 1329963248, 1329963242)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.08677649497986 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 06:22:02.805894
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
  port_id : 19698700
  datou_current_id : 2490825
in upload_from_sqlite, uploading in 19698700
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17012025/21/42/image_17012025_21_42_03_138455_0002.jpg', '/home/pi/Desktop/images/17012025/21/43/image_17012025_21_43_02_277475_0002.jpg', '/home/pi/Desktop/images/17012025/21/43/image_17012025_21_43_02_277475_0003.jpg', '/home/pi/Desktop/images/17012025/21/44/image_17012025_21_44_02_452860_0000.jpg', '/home/pi/Desktop/images/17012025/21/44/image_17012025_21_44_02_452860_0001.jpg', '/home/pi/Desktop/images/17012025/21/44/image_17012025_21_44_02_452860_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2490825&datou=0
/home/pi/Desktop/images/17012025/21/42/image_17012025_21_42_03_138455_0002.jpg
/home/pi/Desktop/images/17012025/21/43/image_17012025_21_43_02_277475_0002.jpg
/home/pi/Desktop/images/17012025/21/43/image_17012025_21_43_02_277475_0003.jpg
/home/pi/Desktop/images/17012025/21/44/image_17012025_21_44_02_452860_0000.jpg
/home/pi/Desktop/images/17012025/21/44/image_17012025_21_44_02_452860_0001.jpg
/home/pi/Desktop/images/17012025/21/44/image_17012025_21_44_02_452860_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329963257","1329963266","1329963262","1329963259","1329963255","1329963264"],"photo_ids_order":["1329963255","1329963257","1329963259","1329963262","1329963264","1329963266"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/d92a65713a60d56c034f87944921cfce.jpg","text":"TemporaryFile(/tmp/multipartBody6921514590986840532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737264200173,"filename":"image_17012025_21_43_02_277475_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/6f18e76326c5760e17d46ecfdc11b904.jpg","text":"TemporaryFile(/tmp/multipartBody2841662950454955239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737264200173,"filename":"image_17012025_21_44_02_452860_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/d5eda62f90d339592bf090e03cc6831c.jpg","text":"TemporaryFile(/tmp/multipartBody5091091247675147363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737264200173,"filename":"image_17012025_21_44_02_452860_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/69abccaf6a6cff9fb91951b74241c46b.jpg","text":"TemporaryFile(/tmp/multipartBody187984587810843168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737264200173,"filename":"image_17012025_21_43_02_277475_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/668b17fa5b9566ed545a938fae9abc9e.jpg","text":"TemporaryFile(/tmp/multipartBody186392048692748187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737264200173,"filename":"image_17012025_21_42_03_138455_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/5944aa61e224728cfa4d65f532c85b72.jpg","text":"TemporaryFile(/tmp/multipartBody1187611426172452761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737264200173,"filename":"image_17012025_21_44_02_452860_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329963259","file1":"1329963257","file0":"1329963255","file4":"1329963264","file5":"1329963266","file3":"1329963262"},"map_files_photo_id_array":[{"photo_id":"1329963266","filename":"file5"},{"photo_id":"1329963259","filename":"file2"},{"photo_id":"1329963264","filename":"file4"},{"photo_id":"1329963257","filename":"file1"},{"photo_id":"1329963255","filename":"file0"},{"photo_id":"1329963262","filename":"file3"}],"portfolio_id":19698700,"hashtag_by_photo_ids":[{"1329963257":["hashtag1","hashtag2"]},{"1329963266":["hashtag1","hashtag2"]},{"1329963262":["hashtag1","hashtag2"]},{"1329963259":["hashtag1","hashtag2"]},{"1329963255":["hashtag1","hashtag2"]},{"1329963264":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698700 used, photo_id : ArrayBuffer(1329963257, 1329963266, 1329963262, 1329963259, 1329963255, 1329963264)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.847092390060425 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 06:23:02.628565
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/06/21/image_19012025_06_21_02_806351_0003.jpg', '/home/pi/Desktop/images/19012025/06/22/image_19012025_06_22_02_357555_0000.jpg', '/home/pi/Desktop/images/19012025/06/22/image_19012025_06_22_02_357555_0001.jpg', '/home/pi/Desktop/images/19012025/06/22/image_19012025_06_22_02_357555_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/06/21/image_19012025_06_21_02_806351_0003.jpg
/home/pi/Desktop/images/19012025/06/22/image_19012025_06_22_02_357555_0000.jpg
/home/pi/Desktop/images/19012025/06/22/image_19012025_06_22_02_357555_0001.jpg
/home/pi/Desktop/images/19012025/06/22/image_19012025_06_22_02_357555_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329963512","1329963511","1329963514","1329963516"],"photo_ids_order":["1329963511","1329963512","1329963514","1329963516"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/9d5bd59cac116f533420ffe768e52c72.jpg","text":"TemporaryFile(/tmp/multipartBody3286679253475978053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737264254183,"filename":"image_19012025_06_22_02_357555_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/4a2bd638e5cb992d346877f90a1092d4.jpg","text":"TemporaryFile(/tmp/multipartBody7499132476617092728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737264254183,"filename":"image_19012025_06_21_02_806351_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/e8c0518f773302577a171c3be48f2734.jpg","text":"TemporaryFile(/tmp/multipartBody1035324461986155434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737264254183,"filename":"image_19012025_06_22_02_357555_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/54219f25c18db6287605f3258bfb2b6a.jpg","text":"TemporaryFile(/tmp/multipartBody8999331883839519282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737264254183,"filename":"image_19012025_06_22_02_357555_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329963514","file1":"1329963512","file0":"1329963511","file3":"1329963516"},"map_files_photo_id_array":[{"photo_id":"1329963514","filename":"file2"},{"photo_id":"1329963512","filename":"file1"},{"photo_id":"1329963511","filename":"file0"},{"photo_id":"1329963516","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329963512":["hashtag1","hashtag2"]},{"1329963511":["hashtag1","hashtag2"]},{"1329963514":["hashtag1","hashtag2"]},{"1329963516":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329963512, 1329963511, 1329963514, 1329963516)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.67566514015198 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 06:24:03.070189
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/06/22/image_19012025_06_22_02_357555_0003.jpg', '/home/pi/Desktop/images/19012025/06/23/image_19012025_06_23_02_843689_0000.jpg', '/home/pi/Desktop/images/19012025/06/23/image_19012025_06_23_02_843689_0001.jpg', '/home/pi/Desktop/images/19012025/06/23/image_19012025_06_23_02_843689_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/06/22/image_19012025_06_22_02_357555_0003.jpg
/home/pi/Desktop/images/19012025/06/23/image_19012025_06_23_02_843689_0000.jpg
/home/pi/Desktop/images/19012025/06/23/image_19012025_06_23_02_843689_0001.jpg
/home/pi/Desktop/images/19012025/06/23/image_19012025_06_23_02_843689_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329963623","1329963626","1329963622","1329963627"],"photo_ids_order":["1329963622","1329963623","1329963626","1329963627"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/43a64050ddfdf2b0fcfdc7ac8016f063.jpg","text":"TemporaryFile(/tmp/multipartBody4309409437478091916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737264314625,"filename":"image_19012025_06_23_02_843689_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/6f8ea3e9f8cf7e5da069e50d7964eecf.jpg","text":"TemporaryFile(/tmp/multipartBody4101084318750001841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737264314625,"filename":"image_19012025_06_23_02_843689_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/2ad52c1de14a25bdcdb659b4e698155c.jpg","text":"TemporaryFile(/tmp/multipartBody1503293919907395170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737264314625,"filename":"image_19012025_06_22_02_357555_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/7f1fec9ff49d3baec256682e6eecaf07.jpg","text":"TemporaryFile(/tmp/multipartBody4762398426753736382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737264314625,"filename":"image_19012025_06_23_02_843689_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329963626","file1":"1329963623","file0":"1329963622","file3":"1329963627"},"map_files_photo_id_array":[{"photo_id":"1329963626","filename":"file2"},{"photo_id":"1329963623","filename":"file1"},{"photo_id":"1329963622","filename":"file0"},{"photo_id":"1329963627","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329963623":["hashtag1","hashtag2"]},{"1329963626":["hashtag1","hashtag2"]},{"1329963622":["hashtag1","hashtag2"]},{"1329963627":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329963623, 1329963626, 1329963622, 1329963627)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 44.584203004837036 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 06:25:02.822496
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/06/23/image_19012025_06_23_02_843689_0003.jpg', '/home/pi/Desktop/images/19012025/06/24/image_19012025_06_24_02_332796_0000.jpg', '/home/pi/Desktop/images/19012025/06/24/image_19012025_06_24_02_332796_0001.jpg', '/home/pi/Desktop/images/19012025/06/24/image_19012025_06_24_02_332796_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/06/23/image_19012025_06_23_02_843689_0003.jpg
/home/pi/Desktop/images/19012025/06/24/image_19012025_06_24_02_332796_0000.jpg
/home/pi/Desktop/images/19012025/06/24/image_19012025_06_24_02_332796_0001.jpg
/home/pi/Desktop/images/19012025/06/24/image_19012025_06_24_02_332796_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329963748","1329963709","1329963762","1329963738"],"photo_ids_order":["1329963709","1329963738","1329963748","1329963762"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/a49698ec9ae654c3f4f9d2ab0a504d30.jpg","text":"TemporaryFile(/tmp/multipartBody8825888258605802604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737264374363,"filename":"image_19012025_06_24_02_332796_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/1dc25aacff2f154007940805e306e74f.jpg","text":"TemporaryFile(/tmp/multipartBody7748744387904149060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737264374363,"filename":"image_19012025_06_23_02_843689_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/49bb6dc2f3ef91b4fda32e6f7b3e3c19.jpg","text":"TemporaryFile(/tmp/multipartBody5996936753307493218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737264374363,"filename":"image_19012025_06_24_02_332796_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/24fd7738eb066ce211dae6dca27fbc48.jpg","text":"TemporaryFile(/tmp/multipartBody3388139172785327305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737264374363,"filename":"image_19012025_06_24_02_332796_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329963748","file1":"1329963738","file0":"1329963709","file3":"1329963762"},"map_files_photo_id_array":[{"photo_id":"1329963748","filename":"file2"},{"photo_id":"1329963738","filename":"file1"},{"photo_id":"1329963709","filename":"file0"},{"photo_id":"1329963762","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329963748":["hashtag1","hashtag2"]},{"1329963709":["hashtag1","hashtag2"]},{"1329963762":["hashtag1","hashtag2"]},{"1329963738":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329963748, 1329963709, 1329963762, 1329963738)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.7826771736145 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 06:26:02.216738
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/06/24/image_19012025_06_24_02_332796_0003.jpg', '/home/pi/Desktop/images/19012025/06/25/image_19012025_06_25_02_983389_0000.jpg', '/home/pi/Desktop/images/19012025/06/25/image_19012025_06_25_02_983389_0001.jpg', '/home/pi/Desktop/images/19012025/06/25/image_19012025_06_25_02_983389_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/06/24/image_19012025_06_24_02_332796_0003.jpg
/home/pi/Desktop/images/19012025/06/25/image_19012025_06_25_02_983389_0000.jpg
/home/pi/Desktop/images/19012025/06/25/image_19012025_06_25_02_983389_0001.jpg
/home/pi/Desktop/images/19012025/06/25/image_19012025_06_25_02_983389_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 11.028471231460571 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 06:26:21.814877
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/06/24/image_19012025_06_24_02_332796_0003.jpg', '/home/pi/Desktop/images/19012025/06/25/image_19012025_06_25_02_983389_0000.jpg', '/home/pi/Desktop/images/19012025/06/25/image_19012025_06_25_02_983389_0001.jpg', '/home/pi/Desktop/images/19012025/06/25/image_19012025_06_25_02_983389_0002.jpg', '/home/pi/Desktop/images/19012025/06/25/image_19012025_06_25_02_983389_0003.jpg', '/home/pi/Desktop/images/19012025/06/26/image_19012025_06_26_02_509644_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/06/24/image_19012025_06_24_02_332796_0003.jpg
/home/pi/Desktop/images/19012025/06/25/image_19012025_06_25_02_983389_0000.jpg
/home/pi/Desktop/images/19012025/06/25/image_19012025_06_25_02_983389_0001.jpg
/home/pi/Desktop/images/19012025/06/25/image_19012025_06_25_02_983389_0002.jpg
/home/pi/Desktop/images/19012025/06/25/image_19012025_06_25_02_983389_0003.jpg
/home/pi/Desktop/images/19012025/06/26/image_19012025_06_26_02_509644_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329963821","1329963815","1329963809","1329963812","1329963817","1329963819"],"photo_ids_order":["1329963809","1329963812","1329963815","1329963817","1329963819","1329963821"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/0f988d7f1f60e6d2d0fa22c18f11531c.jpg","text":"TemporaryFile(/tmp/multipartBody5358292801443565010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737264458693,"filename":"image_19012025_06_26_02_509644_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/f141445a5fed6378491874c8374c2eb5.jpg","text":"TemporaryFile(/tmp/multipartBody1136121368126829432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737264458693,"filename":"image_19012025_06_25_02_983389_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/20350279f6b1f11d309ef83ae4e0fd87.jpg","text":"TemporaryFile(/tmp/multipartBody7491608741661937708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737264458693,"filename":"image_19012025_06_24_02_332796_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/3a3e1d16a9265e30478640559f242904.jpg","text":"TemporaryFile(/tmp/multipartBody8355460590909344687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737264458693,"filename":"image_19012025_06_25_02_983389_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/66f6c4bb0832f374b7f373032ceeb161.jpg","text":"TemporaryFile(/tmp/multipartBody8705496291126840587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737264458693,"filename":"image_19012025_06_25_02_983389_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/24326df5eeb83fb2d7395ba05c808182.jpg","text":"TemporaryFile(/tmp/multipartBody482255669140687518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737264458693,"filename":"image_19012025_06_25_02_983389_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329963815","file1":"1329963812","file0":"1329963809","file4":"1329963819","file5":"1329963821","file3":"1329963817"},"map_files_photo_id_array":[{"photo_id":"1329963821","filename":"file5"},{"photo_id":"1329963815","filename":"file2"},{"photo_id":"1329963819","filename":"file4"},{"photo_id":"1329963812","filename":"file1"},{"photo_id":"1329963809","filename":"file0"},{"photo_id":"1329963817","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329963821":["hashtag1","hashtag2"]},{"1329963815":["hashtag1","hashtag2"]},{"1329963809":["hashtag1","hashtag2"]},{"1329963812":["hashtag1","hashtag2"]},{"1329963817":["hashtag1","hashtag2"]},{"1329963819":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329963821, 1329963815, 1329963809, 1329963812, 1329963817, 1329963819)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.001702547073364 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 06:27:22.308489
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/06/26/image_19012025_06_26_02_509644_0001.jpg', '/home/pi/Desktop/images/19012025/06/26/image_19012025_06_26_02_509644_0002.jpg', '/home/pi/Desktop/images/19012025/06/26/image_19012025_06_26_02_509644_0003.jpg', '/home/pi/Desktop/images/19012025/06/27/image_19012025_06_27_02_169248_0000.jpg', '/home/pi/Desktop/images/19012025/06/27/image_19012025_06_27_02_169248_0001.jpg', '/home/pi/Desktop/images/19012025/06/27/image_19012025_06_27_02_169248_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/06/26/image_19012025_06_26_02_509644_0001.jpg
/home/pi/Desktop/images/19012025/06/26/image_19012025_06_26_02_509644_0002.jpg
/home/pi/Desktop/images/19012025/06/26/image_19012025_06_26_02_509644_0003.jpg
/home/pi/Desktop/images/19012025/06/27/image_19012025_06_27_02_169248_0000.jpg
/home/pi/Desktop/images/19012025/06/27/image_19012025_06_27_02_169248_0001.jpg
/home/pi/Desktop/images/19012025/06/27/image_19012025_06_27_02_169248_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":["1329963827","1329963836","1329963839","1329963838","1329963832","1329963834"],"photo_ids_order":["1329963827","1329963832","1329963834","1329963836","1329963838","1329963839"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/fe94dcf940a294b7e9ec6c4b03accc35.jpg","text":"TemporaryFile(/tmp/multipartBody526858307020021896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737264519121,"filename":"image_19012025_06_26_02_509644_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/85ffb85d1ce6beaf057dc8982a094380.jpg","text":"TemporaryFile(/tmp/multipartBody1489695872821144240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737264519121,"filename":"image_19012025_06_27_02_169248_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/4aa1c068ccbf3abf93487f1ec8564b35.jpg","text":"TemporaryFile(/tmp/multipartBody2899178983554041232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737264519121,"filename":"image_19012025_06_27_02_169248_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/36207c814d158859d0ee56e6aec38a24.jpg","text":"TemporaryFile(/tmp/multipartBody5813884519050983427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737264519121,"filename":"image_19012025_06_27_02_169248_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/5be3c2638c2f307fa2f8bbdbfa279a2f.jpg","text":"TemporaryFile(/tmp/multipartBody7357258580719113277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737264519121,"filename":"image_19012025_06_26_02_509644_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/b75d83a289ee13461d289e6354e72c67.jpg","text":"TemporaryFile(/tmp/multipartBody5012139098139402428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737264519121,"filename":"image_19012025_06_26_02_509644_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329963834","file1":"1329963832","file0":"1329963827","file4":"1329963838","file5":"1329963839","file3":"1329963836"},"map_files_photo_id_array":[{"photo_id":"1329963839","filename":"file5"},{"photo_id":"1329963834","filename":"file2"},{"photo_id":"1329963838","filename":"file4"},{"photo_id":"1329963832","filename":"file1"},{"photo_id":"1329963827","filename":"file0"},{"photo_id":"1329963836","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329963827":["hashtag1","hashtag2"]},{"1329963836":["hashtag1","hashtag2"]},{"1329963839":["hashtag1","hashtag2"]},{"1329963838":["hashtag1","hashtag2"]},{"1329963832":["hashtag1","hashtag2"]},{"1329963834":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329963827, 1329963836, 1329963839, 1329963838, 1329963832, 1329963834)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.135748624801636 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 06:29:02.997112
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/06/27/image_19012025_06_27_02_169248_0003.jpg', '/home/pi/Desktop/images/19012025/06/28/image_19012025_06_28_02_690224_0000.jpg', '/home/pi/Desktop/images/19012025/06/28/image_19012025_06_28_02_690224_0001.jpg', '/home/pi/Desktop/images/19012025/06/28/image_19012025_06_28_02_690224_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/06/27/image_19012025_06_27_02_169248_0003.jpg
/home/pi/Desktop/images/19012025/06/28/image_19012025_06_28_02_690224_0000.jpg
/home/pi/Desktop/images/19012025/06/28/image_19012025_06_28_02_690224_0001.jpg
/home/pi/Desktop/images/19012025/06/28/image_19012025_06_28_02_690224_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.879305362701416 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 06:29:22.325630
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/06/27/image_19012025_06_27_02_169248_0003.jpg', '/home/pi/Desktop/images/19012025/06/28/image_19012025_06_28_02_690224_0000.jpg', '/home/pi/Desktop/images/19012025/06/28/image_19012025_06_28_02_690224_0001.jpg', '/home/pi/Desktop/images/19012025/06/28/image_19012025_06_28_02_690224_0002.jpg', '/home/pi/Desktop/images/19012025/06/28/image_19012025_06_28_02_690224_0003.jpg', '/home/pi/Desktop/images/19012025/06/29/image_19012025_06_29_02_210235_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/06/27/image_19012025_06_27_02_169248_0003.jpg
/home/pi/Desktop/images/19012025/06/28/image_19012025_06_28_02_690224_0000.jpg
/home/pi/Desktop/images/19012025/06/28/image_19012025_06_28_02_690224_0001.jpg
/home/pi/Desktop/images/19012025/06/28/image_19012025_06_28_02_690224_0002.jpg
/home/pi/Desktop/images/19012025/06/28/image_19012025_06_28_02_690224_0003.jpg
/home/pi/Desktop/images/19012025/06/29/image_19012025_06_29_02_210235_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329964100","1329964126","1329964116","1329964125","1329964119","1329964107"],"photo_ids_order":["1329964100","1329964107","1329964116","1329964119","1329964125","1329964126"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/ec6f795bb95cfa43e0cad39a74891541.jpg","text":"TemporaryFile(/tmp/multipartBody2889680149936689613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737264638752,"filename":"image_19012025_06_27_02_169248_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/6936711528d99dd4e249b0a488bc0b81.jpg","text":"TemporaryFile(/tmp/multipartBody4790960631358691240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737264638752,"filename":"image_19012025_06_29_02_210235_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/fe1378c55b7da9d4aa1a1b8b439764c5.jpg","text":"TemporaryFile(/tmp/multipartBody6172588406557751514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737264638752,"filename":"image_19012025_06_28_02_690224_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/2516f698a15dc79ad3316c3ad22473d3.jpg","text":"TemporaryFile(/tmp/multipartBody4002104686151914108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737264638752,"filename":"image_19012025_06_28_02_690224_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/a69432a4ee2829f5ca37e60bd7393b18.jpg","text":"TemporaryFile(/tmp/multipartBody978760267501098658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737264638752,"filename":"image_19012025_06_28_02_690224_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/53ecab5bf487ff957a5d7b8b7bd1d32b.jpg","text":"TemporaryFile(/tmp/multipartBody3487907034423512156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737264638752,"filename":"image_19012025_06_28_02_690224_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329964116","file1":"1329964107","file0":"1329964100","file4":"1329964125","file5":"1329964126","file3":"1329964119"},"map_files_photo_id_array":[{"photo_id":"1329964126","filename":"file5"},{"photo_id":"1329964116","filename":"file2"},{"photo_id":"1329964125","filename":"file4"},{"photo_id":"1329964107","filename":"file1"},{"photo_id":"1329964100","filename":"file0"},{"photo_id":"1329964119","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329964100":["hashtag1","hashtag2"]},{"1329964126":["hashtag1","hashtag2"]},{"1329964116":["hashtag1","hashtag2"]},{"1329964125":["hashtag1","hashtag2"]},{"1329964119":["hashtag1","hashtag2"]},{"1329964107":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329964100, 1329964126, 1329964116, 1329964125, 1329964119, 1329964107)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.63426423072815 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 06:30:22.083883
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/06/29/image_19012025_06_29_02_210235_0001.jpg', '/home/pi/Desktop/images/19012025/06/29/image_19012025_06_29_02_210235_0002.jpg', '/home/pi/Desktop/images/19012025/06/29/image_19012025_06_29_02_210235_0003.jpg', '/home/pi/Desktop/images/19012025/06/30/image_19012025_06_30_02_845943_0000.jpg', '/home/pi/Desktop/images/19012025/06/30/image_19012025_06_30_02_845943_0001.jpg', '/home/pi/Desktop/images/19012025/06/30/image_19012025_06_30_02_845943_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/06/29/image_19012025_06_29_02_210235_0001.jpg
/home/pi/Desktop/images/19012025/06/29/image_19012025_06_29_02_210235_0002.jpg
/home/pi/Desktop/images/19012025/06/29/image_19012025_06_29_02_210235_0003.jpg
/home/pi/Desktop/images/19012025/06/30/image_19012025_06_30_02_845943_0000.jpg
/home/pi/Desktop/images/19012025/06/30/image_19012025_06_30_02_845943_0001.jpg
/home/pi/Desktop/images/19012025/06/30/image_19012025_06_30_02_845943_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329964208","1329964194","1329964197","1329964200","1329964203","1329964206"],"photo_ids_order":["1329964194","1329964197","1329964200","1329964203","1329964206","1329964208"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/ce3e90f0c2592da55e89ffd5f525c78e.jpg","text":"TemporaryFile(/tmp/multipartBody9130310040811253240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737264699288,"filename":"image_19012025_06_30_02_845943_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/810ec73579647eb927fcd9636f062242.jpg","text":"TemporaryFile(/tmp/multipartBody8010560636918782949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737264699288,"filename":"image_19012025_06_29_02_210235_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/4fbfdd0cdfb911bf858cc54d4c3a2fa7.jpg","text":"TemporaryFile(/tmp/multipartBody3053598183067519513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737264699288,"filename":"image_19012025_06_29_02_210235_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/9404eefcf8d274cd53f2d6a98bcb698f.jpg","text":"TemporaryFile(/tmp/multipartBody4381411575407827884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737264699288,"filename":"image_19012025_06_29_02_210235_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/d09a91ee73bb76960d301564a8bd41dd.jpg","text":"TemporaryFile(/tmp/multipartBody2933890180548467684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737264699288,"filename":"image_19012025_06_30_02_845943_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/78657ef3c1ed7e5eae1c9054d47335eb.jpg","text":"TemporaryFile(/tmp/multipartBody6416783434954220297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737264699288,"filename":"image_19012025_06_30_02_845943_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329964200","file1":"1329964197","file0":"1329964194","file4":"1329964206","file5":"1329964208","file3":"1329964203"},"map_files_photo_id_array":[{"photo_id":"1329964208","filename":"file5"},{"photo_id":"1329964200","filename":"file2"},{"photo_id":"1329964206","filename":"file4"},{"photo_id":"1329964197","filename":"file1"},{"photo_id":"1329964194","filename":"file0"},{"photo_id":"1329964203","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329964208":["hashtag1","hashtag2"]},{"1329964194":["hashtag1","hashtag2"]},{"1329964197":["hashtag1","hashtag2"]},{"1329964200":["hashtag1","hashtag2"]},{"1329964203":["hashtag1","hashtag2"]},{"1329964206":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329964208, 1329964194, 1329964197, 1329964200, 1329964203, 1329964206)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.30363154411316 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 06:31:22.489183
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/06/30/image_19012025_06_30_02_845943_0003.jpg', '/home/pi/Desktop/images/19012025/06/31/image_19012025_06_31_02_413839_0000.jpg', '/home/pi/Desktop/images/19012025/06/31/image_19012025_06_31_02_413839_0001.jpg', '/home/pi/Desktop/images/19012025/06/31/image_19012025_06_31_02_413839_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/06/30/image_19012025_06_30_02_845943_0003.jpg
/home/pi/Desktop/images/19012025/06/31/image_19012025_06_31_02_413839_0000.jpg
/home/pi/Desktop/images/19012025/06/31/image_19012025_06_31_02_413839_0001.jpg
/home/pi/Desktop/images/19012025/06/31/image_19012025_06_31_02_413839_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329964216","1329964219","1329964213","1329964221"],"photo_ids_order":["1329964213","1329964216","1329964219","1329964221"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/dfe7bc3809838930794909095ec6ba25.jpg","text":"TemporaryFile(/tmp/multipartBody7799431291266680306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737264753922,"filename":"image_19012025_06_31_02_413839_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/ec8b51d626b2e188ba71e63238e76399.jpg","text":"TemporaryFile(/tmp/multipartBody3758741658043426363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737264753922,"filename":"image_19012025_06_31_02_413839_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/fa1ae80a7f5dee6978fbd89ffd15ac94.jpg","text":"TemporaryFile(/tmp/multipartBody13540905864824291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737264753922,"filename":"image_19012025_06_30_02_845943_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/e7f16f56e7f4b761949699ae560c9e7a.jpg","text":"TemporaryFile(/tmp/multipartBody1045321409568799981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737264753922,"filename":"image_19012025_06_31_02_413839_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329964219","file1":"1329964216","file0":"1329964213","file3":"1329964221"},"map_files_photo_id_array":[{"photo_id":"1329964219","filename":"file2"},{"photo_id":"1329964216","filename":"file1"},{"photo_id":"1329964213","filename":"file0"},{"photo_id":"1329964221","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329964216":["hashtag1","hashtag2"]},{"1329964219":["hashtag1","hashtag2"]},{"1329964213":["hashtag1","hashtag2"]},{"1329964221":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329964216, 1329964219, 1329964213, 1329964221)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.97350239753723 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 06:32:22.108008
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/06/31/image_19012025_06_31_02_413839_0003.jpg', '/home/pi/Desktop/images/19012025/06/32/image_19012025_06_32_02_971322_0000.jpg', '/home/pi/Desktop/images/19012025/06/32/image_19012025_06_32_02_971322_0001.jpg', '/home/pi/Desktop/images/19012025/06/32/image_19012025_06_32_02_971322_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/06/31/image_19012025_06_31_02_413839_0003.jpg
/home/pi/Desktop/images/19012025/06/32/image_19012025_06_32_02_971322_0000.jpg
/home/pi/Desktop/images/19012025/06/32/image_19012025_06_32_02_971322_0001.jpg
/home/pi/Desktop/images/19012025/06/32/image_19012025_06_32_02_971322_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 11.049193382263184 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 06:33:03.313325
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/06/31/image_19012025_06_31_02_413839_0003.jpg', '/home/pi/Desktop/images/19012025/06/32/image_19012025_06_32_02_971322_0000.jpg', '/home/pi/Desktop/images/19012025/06/32/image_19012025_06_32_02_971322_0001.jpg', '/home/pi/Desktop/images/19012025/06/32/image_19012025_06_32_02_971322_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/06/31/image_19012025_06_31_02_413839_0003.jpg
/home/pi/Desktop/images/19012025/06/32/image_19012025_06_32_02_971322_0000.jpg
/home/pi/Desktop/images/19012025/06/32/image_19012025_06_32_02_971322_0001.jpg
/home/pi/Desktop/images/19012025/06/32/image_19012025_06_32_02_971322_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329964244","1329964246","1329964243","1329964248"],"photo_ids_order":["1329964243","1329964244","1329964246","1329964248"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/1b8a492d1f695055c4c40336bbdbfcbf.jpg","text":"TemporaryFile(/tmp/multipartBody1016895655484001565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737264854819,"filename":"image_19012025_06_32_02_971322_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/57776c91cfa6edd07dd75224a7747b29.jpg","text":"TemporaryFile(/tmp/multipartBody3161171403286684486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737264854819,"filename":"image_19012025_06_32_02_971322_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/9f6073cb8e6e87486efcdba8deaa655c.jpg","text":"TemporaryFile(/tmp/multipartBody7896747266873007822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737264854819,"filename":"image_19012025_06_31_02_413839_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/6d33fdadade1a5ca330cc9b30e739981.jpg","text":"TemporaryFile(/tmp/multipartBody9010488708257760090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737264854819,"filename":"image_19012025_06_32_02_971322_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329964246","file1":"1329964244","file0":"1329964243","file3":"1329964248"},"map_files_photo_id_array":[{"photo_id":"1329964246","filename":"file2"},{"photo_id":"1329964244","filename":"file1"},{"photo_id":"1329964243","filename":"file0"},{"photo_id":"1329964248","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329964244":["hashtag1","hashtag2"]},{"1329964246":["hashtag1","hashtag2"]},{"1329964243":["hashtag1","hashtag2"]},{"1329964248":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329964244, 1329964246, 1329964243, 1329964248)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.62476968765259 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 06:34:02.650388
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/06/32/image_19012025_06_32_02_971322_0003.jpg', '/home/pi/Desktop/images/19012025/06/33/image_19012025_06_33_02_507968_0000.jpg', '/home/pi/Desktop/images/19012025/06/33/image_19012025_06_33_02_507968_0001.jpg', '/home/pi/Desktop/images/19012025/06/33/image_19012025_06_33_02_507968_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/06/32/image_19012025_06_32_02_971322_0003.jpg
/home/pi/Desktop/images/19012025/06/33/image_19012025_06_33_02_507968_0000.jpg
/home/pi/Desktop/images/19012025/06/33/image_19012025_06_33_02_507968_0001.jpg
/home/pi/Desktop/images/19012025/06/33/image_19012025_06_33_02_507968_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.888837575912476 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 06:34:22.293414
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/06/32/image_19012025_06_32_02_971322_0003.jpg', '/home/pi/Desktop/images/19012025/06/33/image_19012025_06_33_02_507968_0000.jpg', '/home/pi/Desktop/images/19012025/06/33/image_19012025_06_33_02_507968_0001.jpg', '/home/pi/Desktop/images/19012025/06/33/image_19012025_06_33_02_507968_0002.jpg', '/home/pi/Desktop/images/19012025/06/33/image_19012025_06_33_02_507968_0003.jpg', '/home/pi/Desktop/images/19012025/06/34/image_19012025_06_34_02_995677_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/06/32/image_19012025_06_32_02_971322_0003.jpg
/home/pi/Desktop/images/19012025/06/33/image_19012025_06_33_02_507968_0000.jpg
/home/pi/Desktop/images/19012025/06/33/image_19012025_06_33_02_507968_0001.jpg
/home/pi/Desktop/images/19012025/06/33/image_19012025_06_33_02_507968_0002.jpg
/home/pi/Desktop/images/19012025/06/33/image_19012025_06_33_02_507968_0003.jpg
/home/pi/Desktop/images/19012025/06/34/image_19012025_06_34_02_995677_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329964279","1329964272","1329964266","1329964269","1329964274","1329964277"],"photo_ids_order":["1329964266","1329964269","1329964272","1329964274","1329964277","1329964279"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/6de66eadbfbaf634790961ff88f387fa.jpg","text":"TemporaryFile(/tmp/multipartBody2892112103195616676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737264939062,"filename":"image_19012025_06_34_02_995677_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/bc31c98861570ebea5250072a2e7b4f4.jpg","text":"TemporaryFile(/tmp/multipartBody640398200165973658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737264939062,"filename":"image_19012025_06_33_02_507968_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/86919df1b74c6aa6458549d020566e43.jpg","text":"TemporaryFile(/tmp/multipartBody8573555999066090983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737264939062,"filename":"image_19012025_06_32_02_971322_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/2bc25ac3091be2402fec504de35f781f.jpg","text":"TemporaryFile(/tmp/multipartBody2458588225868306779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737264939062,"filename":"image_19012025_06_33_02_507968_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/bd2231c1543d2c689dd5bece9eb5a7a9.jpg","text":"TemporaryFile(/tmp/multipartBody8639221604471391085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737264939062,"filename":"image_19012025_06_33_02_507968_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/89d5138b436788a9413a69f6548bdd3f.jpg","text":"TemporaryFile(/tmp/multipartBody352864947136140495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737264939062,"filename":"image_19012025_06_33_02_507968_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329964272","file1":"1329964269","file0":"1329964266","file4":"1329964277","file5":"1329964279","file3":"1329964274"},"map_files_photo_id_array":[{"photo_id":"1329964279","filename":"file5"},{"photo_id":"1329964272","filename":"file2"},{"photo_id":"1329964277","filename":"file4"},{"photo_id":"1329964269","filename":"file1"},{"photo_id":"1329964266","filename":"file0"},{"photo_id":"1329964274","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329964279":["hashtag1","hashtag2"]},{"1329964272":["hashtag1","hashtag2"]},{"1329964266":["hashtag1","hashtag2"]},{"1329964269":["hashtag1","hashtag2"]},{"1329964274":["hashtag1","hashtag2"]},{"1329964277":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329964279, 1329964272, 1329964266, 1329964269, 1329964274, 1329964277)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.88704466819763 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 06:35:21.783216
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/06/34/image_19012025_06_34_02_995677_0001.jpg', '/home/pi/Desktop/images/19012025/06/34/image_19012025_06_34_02_995677_0002.jpg', '/home/pi/Desktop/images/19012025/06/34/image_19012025_06_34_02_995677_0003.jpg', '/home/pi/Desktop/images/19012025/06/35/image_19012025_06_35_02_633497_0000.jpg', '/home/pi/Desktop/images/19012025/06/35/image_19012025_06_35_02_633497_0001.jpg', '/home/pi/Desktop/images/19012025/06/35/image_19012025_06_35_02_633497_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/06/34/image_19012025_06_34_02_995677_0001.jpg
/home/pi/Desktop/images/19012025/06/34/image_19012025_06_34_02_995677_0002.jpg
/home/pi/Desktop/images/19012025/06/34/image_19012025_06_34_02_995677_0003.jpg
/home/pi/Desktop/images/19012025/06/35/image_19012025_06_35_02_633497_0000.jpg
/home/pi/Desktop/images/19012025/06/35/image_19012025_06_35_02_633497_0001.jpg
/home/pi/Desktop/images/19012025/06/35/image_19012025_06_35_02_633497_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329964322","1329964316","1329964318","1329964312","1329964320","1329964314"],"photo_ids_order":["1329964312","1329964314","1329964316","1329964318","1329964320","1329964322"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/30cddd377e3c4f1c609ee46e8de192a3.jpg","text":"TemporaryFile(/tmp/multipartBody6155336275645949234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737264998494,"filename":"image_19012025_06_35_02_633497_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/22347a6140ef2ded35d0aa040fae2268.jpg","text":"TemporaryFile(/tmp/multipartBody1391894118611656483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737264998494,"filename":"image_19012025_06_34_02_995677_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/b28874fe6508d08346046e8db4f69c3d.jpg","text":"TemporaryFile(/tmp/multipartBody6352692602179223207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737264998494,"filename":"image_19012025_06_35_02_633497_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/880f880598b845738331d4ef6ae78f0a.jpg","text":"TemporaryFile(/tmp/multipartBody2343873098927130461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737264998494,"filename":"image_19012025_06_34_02_995677_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/96e16f05ab74069cf04681dbc7952978.jpg","text":"TemporaryFile(/tmp/multipartBody8851619441483143821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737264998494,"filename":"image_19012025_06_35_02_633497_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/76aa9fde16d668588c970bf58416c04d.jpg","text":"TemporaryFile(/tmp/multipartBody6029653148427752194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737264998494,"filename":"image_19012025_06_34_02_995677_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329964316","file1":"1329964314","file0":"1329964312","file4":"1329964320","file5":"1329964322","file3":"1329964318"},"map_files_photo_id_array":[{"photo_id":"1329964322","filename":"file5"},{"photo_id":"1329964316","filename":"file2"},{"photo_id":"1329964320","filename":"file4"},{"photo_id":"1329964314","filename":"file1"},{"photo_id":"1329964312","filename":"file0"},{"photo_id":"1329964318","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329964322":["hashtag1","hashtag2"]},{"1329964316":["hashtag1","hashtag2"]},{"1329964318":["hashtag1","hashtag2"]},{"1329964312":["hashtag1","hashtag2"]},{"1329964320":["hashtag1","hashtag2"]},{"1329964314":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329964322, 1329964316, 1329964318, 1329964312, 1329964320, 1329964314)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.58361601829529 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 06:36:22.301489
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/06/35/image_19012025_06_35_02_633497_0003.jpg', '/home/pi/Desktop/images/19012025/06/36/image_19012025_06_36_02_175655_0000.jpg', '/home/pi/Desktop/images/19012025/06/36/image_19012025_06_36_02_175655_0001.jpg', '/home/pi/Desktop/images/19012025/06/36/image_19012025_06_36_02_175655_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/06/35/image_19012025_06_35_02_633497_0003.jpg
/home/pi/Desktop/images/19012025/06/36/image_19012025_06_36_02_175655_0000.jpg
/home/pi/Desktop/images/19012025/06/36/image_19012025_06_36_02_175655_0001.jpg
/home/pi/Desktop/images/19012025/06/36/image_19012025_06_36_02_175655_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329964325","1329964334","1329964328","1329964338"],"photo_ids_order":["1329964325","1329964328","1329964334","1329964338"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/9d7aafa66203891e3cd3e79f3b2470ed.jpg","text":"TemporaryFile(/tmp/multipartBody6044700859864961772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737265053815,"filename":"image_19012025_06_35_02_633497_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/e185eef751993cb108f863f04d217147.jpg","text":"TemporaryFile(/tmp/multipartBody4609642272059949436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737265053815,"filename":"image_19012025_06_36_02_175655_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/11f51ead4851414d99f440f186c1ab75.jpg","text":"TemporaryFile(/tmp/multipartBody9147941222288488136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737265053815,"filename":"image_19012025_06_36_02_175655_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/51c7d0efe97b7124cfc14125df53b593.jpg","text":"TemporaryFile(/tmp/multipartBody8943154677439641774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737265053815,"filename":"image_19012025_06_36_02_175655_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329964334","file1":"1329964328","file0":"1329964325","file3":"1329964338"},"map_files_photo_id_array":[{"photo_id":"1329964334","filename":"file2"},{"photo_id":"1329964328","filename":"file1"},{"photo_id":"1329964325","filename":"file0"},{"photo_id":"1329964338","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329964325":["hashtag1","hashtag2"]},{"1329964334":["hashtag1","hashtag2"]},{"1329964328":["hashtag1","hashtag2"]},{"1329964338":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329964325, 1329964334, 1329964328, 1329964338)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.111167907714844 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 06:37:21.786607
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/06/36/image_19012025_06_36_02_175655_0003.jpg', '/home/pi/Desktop/images/19012025/06/37/image_19012025_06_37_02_677815_0000.jpg', '/home/pi/Desktop/images/19012025/06/37/image_19012025_06_37_02_677815_0001.jpg', '/home/pi/Desktop/images/19012025/06/37/image_19012025_06_37_02_677815_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/06/36/image_19012025_06_36_02_175655_0003.jpg
/home/pi/Desktop/images/19012025/06/37/image_19012025_06_37_02_677815_0000.jpg
/home/pi/Desktop/images/19012025/06/37/image_19012025_06_37_02_677815_0001.jpg
/home/pi/Desktop/images/19012025/06/37/image_19012025_06_37_02_677815_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329964351","1329964357","1329964353","1329964355"],"photo_ids_order":["1329964351","1329964353","1329964355","1329964357"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/5d22de12cc25bf0ff95ffab2ed86f9c9.jpg","text":"TemporaryFile(/tmp/multipartBody6317344741225937041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737265112946,"filename":"image_19012025_06_36_02_175655_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/28fd3c0a7013c07a08569f2fa9433d56.jpg","text":"TemporaryFile(/tmp/multipartBody1543271198942197077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737265112946,"filename":"image_19012025_06_37_02_677815_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/b6047adce75ae5966924fed6de76e6e0.jpg","text":"TemporaryFile(/tmp/multipartBody7383570928494973467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737265112946,"filename":"image_19012025_06_37_02_677815_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/30550a1ba7c37b9b178f7c824b603fbb.jpg","text":"TemporaryFile(/tmp/multipartBody1366728421315538509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737265112946,"filename":"image_19012025_06_37_02_677815_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329964355","file1":"1329964353","file0":"1329964351","file3":"1329964357"},"map_files_photo_id_array":[{"photo_id":"1329964355","filename":"file2"},{"photo_id":"1329964353","filename":"file1"},{"photo_id":"1329964351","filename":"file0"},{"photo_id":"1329964357","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329964351":["hashtag1","hashtag2"]},{"1329964357":["hashtag1","hashtag2"]},{"1329964353":["hashtag1","hashtag2"]},{"1329964355":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329964351, 1329964357, 1329964353, 1329964355)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.05746936798096 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 06:38:22.291451
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/06/37/image_19012025_06_37_02_677815_0003.jpg', '/home/pi/Desktop/images/19012025/06/38/image_19012025_06_38_02_196716_0000.jpg', '/home/pi/Desktop/images/19012025/06/38/image_19012025_06_38_02_196716_0001.jpg', '/home/pi/Desktop/images/19012025/06/38/image_19012025_06_38_02_196716_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/06/37/image_19012025_06_37_02_677815_0003.jpg
/home/pi/Desktop/images/19012025/06/38/image_19012025_06_38_02_196716_0000.jpg
/home/pi/Desktop/images/19012025/06/38/image_19012025_06_38_02_196716_0001.jpg
/home/pi/Desktop/images/19012025/06/38/image_19012025_06_38_02_196716_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 11.279292106628418 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 06:39:02.710955
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/06/37/image_19012025_06_37_02_677815_0003.jpg', '/home/pi/Desktop/images/19012025/06/38/image_19012025_06_38_02_196716_0000.jpg', '/home/pi/Desktop/images/19012025/06/38/image_19012025_06_38_02_196716_0001.jpg', '/home/pi/Desktop/images/19012025/06/38/image_19012025_06_38_02_196716_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/06/37/image_19012025_06_37_02_677815_0003.jpg
/home/pi/Desktop/images/19012025/06/38/image_19012025_06_38_02_196716_0000.jpg
/home/pi/Desktop/images/19012025/06/38/image_19012025_06_38_02_196716_0001.jpg
/home/pi/Desktop/images/19012025/06/38/image_19012025_06_38_02_196716_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329964378","1329964375","1329964404","1329964376"],"photo_ids_order":["1329964375","1329964376","1329964378","1329964404"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/f16b2773544b9fd623267100eac36427.jpg","text":"TemporaryFile(/tmp/multipartBody2932198725528021386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737265214419,"filename":"image_19012025_06_38_02_196716_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/8f2d5718da65fbff7842e546f0cd365f.jpg","text":"TemporaryFile(/tmp/multipartBody5502686016271655185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737265214419,"filename":"image_19012025_06_37_02_677815_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/7710395344279768eb51662011b02b4c.jpg","text":"TemporaryFile(/tmp/multipartBody4992416407222185950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737265214419,"filename":"image_19012025_06_38_02_196716_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/1b1f5314031447514daf3afb4c5a5b7e.jpg","text":"TemporaryFile(/tmp/multipartBody2517661542662091679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737265214419,"filename":"image_19012025_06_38_02_196716_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329964378","file1":"1329964376","file0":"1329964375","file3":"1329964404"},"map_files_photo_id_array":[{"photo_id":"1329964378","filename":"file2"},{"photo_id":"1329964376","filename":"file1"},{"photo_id":"1329964375","filename":"file0"},{"photo_id":"1329964404","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329964378":["hashtag1","hashtag2"]},{"1329964375":["hashtag1","hashtag2"]},{"1329964404":["hashtag1","hashtag2"]},{"1329964376":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329964378, 1329964375, 1329964404, 1329964376)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.88439464569092 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 06:40:02.947151
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/06/38/image_19012025_06_38_02_196716_0003.jpg', '/home/pi/Desktop/images/19012025/06/39/image_19012025_06_39_02_774751_0000.jpg', '/home/pi/Desktop/images/19012025/06/39/image_19012025_06_39_02_774751_0001.jpg', '/home/pi/Desktop/images/19012025/06/39/image_19012025_06_39_02_774751_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/06/38/image_19012025_06_38_02_196716_0003.jpg
/home/pi/Desktop/images/19012025/06/39/image_19012025_06_39_02_774751_0000.jpg
/home/pi/Desktop/images/19012025/06/39/image_19012025_06_39_02_774751_0001.jpg
/home/pi/Desktop/images/19012025/06/39/image_19012025_06_39_02_774751_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 11.565560340881348 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 06:40:22.556416
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/06/38/image_19012025_06_38_02_196716_0003.jpg', '/home/pi/Desktop/images/19012025/06/39/image_19012025_06_39_02_774751_0000.jpg', '/home/pi/Desktop/images/19012025/06/39/image_19012025_06_39_02_774751_0001.jpg', '/home/pi/Desktop/images/19012025/06/39/image_19012025_06_39_02_774751_0002.jpg', '/home/pi/Desktop/images/19012025/06/39/image_19012025_06_39_02_774751_0003.jpg', '/home/pi/Desktop/images/19012025/06/40/image_19012025_06_40_02_290116_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/06/38/image_19012025_06_38_02_196716_0003.jpg
/home/pi/Desktop/images/19012025/06/39/image_19012025_06_39_02_774751_0000.jpg
/home/pi/Desktop/images/19012025/06/39/image_19012025_06_39_02_774751_0001.jpg
/home/pi/Desktop/images/19012025/06/39/image_19012025_06_39_02_774751_0002.jpg
/home/pi/Desktop/images/19012025/06/39/image_19012025_06_39_02_774751_0003.jpg
/home/pi/Desktop/images/19012025/06/40/image_19012025_06_40_02_290116_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":["1329964873","1329964846","1329964872","1329964869","1329964722","1329964787"],"photo_ids_order":["1329964722","1329964787","1329964846","1329964869","1329964872","1329964873"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/2b2b91f28b7db11789792a830b94d1bb.jpg","text":"TemporaryFile(/tmp/multipartBody3466763983534610581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737265299969,"filename":"image_19012025_06_40_02_290116_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/eb41372c4e4ea633ec028fb8620df096.jpg","text":"TemporaryFile(/tmp/multipartBody4671193377977911971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737265299969,"filename":"image_19012025_06_39_02_774751_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/c2325ba321b9d8aa78f47e83fe34a590.jpg","text":"TemporaryFile(/tmp/multipartBody344452273737746067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737265299969,"filename":"image_19012025_06_39_02_774751_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/3e6ae346a6b98e9f7ed2074aa8a74d24.jpg","text":"TemporaryFile(/tmp/multipartBody1302881321796724932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737265299969,"filename":"image_19012025_06_39_02_774751_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/2cf8a00fb6235f3b583afe58c6b773ed.jpg","text":"TemporaryFile(/tmp/multipartBody4794749038463958952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737265299969,"filename":"image_19012025_06_38_02_196716_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/ddcc7d6cf2b56bf98f3e2fa2a5853ba3.jpg","text":"TemporaryFile(/tmp/multipartBody5005131354099694534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737265299969,"filename":"image_19012025_06_39_02_774751_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329964846","file1":"1329964787","file0":"1329964722","file4":"1329964872","file5":"1329964873","file3":"1329964869"},"map_files_photo_id_array":[{"photo_id":"1329964873","filename":"file5"},{"photo_id":"1329964846","filename":"file2"},{"photo_id":"1329964872","filename":"file4"},{"photo_id":"1329964787","filename":"file1"},{"photo_id":"1329964722","filename":"file0"},{"photo_id":"1329964869","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329964873":["hashtag1","hashtag2"]},{"1329964846":["hashtag1","hashtag2"]},{"1329964872":["hashtag1","hashtag2"]},{"1329964869":["hashtag1","hashtag2"]},{"1329964722":["hashtag1","hashtag2"]},{"1329964787":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329964873, 1329964846, 1329964872, 1329964869, 1329964722, 1329964787)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.499778509140015 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 06:42:02.889145
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/06/40/image_19012025_06_40_02_290116_0001.jpg', '/home/pi/Desktop/images/19012025/06/40/image_19012025_06_40_02_290116_0002.jpg', '/home/pi/Desktop/images/19012025/06/40/image_19012025_06_40_02_290116_0003.jpg', '/home/pi/Desktop/images/19012025/06/41/image_19012025_06_41_02_943622_0000.jpg', '/home/pi/Desktop/images/19012025/06/41/image_19012025_06_41_02_943622_0001.jpg', '/home/pi/Desktop/images/19012025/06/41/image_19012025_06_41_02_943622_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/06/40/image_19012025_06_40_02_290116_0001.jpg
/home/pi/Desktop/images/19012025/06/40/image_19012025_06_40_02_290116_0002.jpg
/home/pi/Desktop/images/19012025/06/40/image_19012025_06_40_02_290116_0003.jpg
/home/pi/Desktop/images/19012025/06/41/image_19012025_06_41_02_943622_0000.jpg
/home/pi/Desktop/images/19012025/06/41/image_19012025_06_41_02_943622_0001.jpg
/home/pi/Desktop/images/19012025/06/41/image_19012025_06_41_02_943622_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":["1329965068","1329965062","1329965064","1329965066","1329965060","1329965024"],"photo_ids_order":["1329965024","1329965060","1329965062","1329965064","1329965066","1329965068"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/5a1875b317159eb79578b5c647b41e12.jpg","text":"TemporaryFile(/tmp/multipartBody1079968396295479460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737265401112,"filename":"image_19012025_06_41_02_943622_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/1e9704edbeae61ccc65cd33ff29b7598.jpg","text":"TemporaryFile(/tmp/multipartBody2927673669628893381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737265401112,"filename":"image_19012025_06_40_02_290116_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/91b2f52ce3b1e6463d6efd6fc2a32779.jpg","text":"TemporaryFile(/tmp/multipartBody3424397766012157214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737265401112,"filename":"image_19012025_06_41_02_943622_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/9c3b1725566a6b041583b10b00ac9455.jpg","text":"TemporaryFile(/tmp/multipartBody6541235906978670064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737265401112,"filename":"image_19012025_06_41_02_943622_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/e881615556d0bfb40a50d4e66228f9f4.jpg","text":"TemporaryFile(/tmp/multipartBody7211900811111523460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737265401112,"filename":"image_19012025_06_40_02_290116_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/5fa4b1d7a18eee43b056d4074a8cc018.jpg","text":"TemporaryFile(/tmp/multipartBody2299059149694493479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737265401112,"filename":"image_19012025_06_40_02_290116_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329965062","file1":"1329965060","file0":"1329965024","file4":"1329965066","file5":"1329965068","file3":"1329965064"},"map_files_photo_id_array":[{"photo_id":"1329965068","filename":"file5"},{"photo_id":"1329965062","filename":"file2"},{"photo_id":"1329965066","filename":"file4"},{"photo_id":"1329965060","filename":"file1"},{"photo_id":"1329965024","filename":"file0"},{"photo_id":"1329965064","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329965068":["hashtag1","hashtag2"]},{"1329965062":["hashtag1","hashtag2"]},{"1329965064":["hashtag1","hashtag2"]},{"1329965066":["hashtag1","hashtag2"]},{"1329965060":["hashtag1","hashtag2"]},{"1329965024":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329965068, 1329965062, 1329965064, 1329965066, 1329965060, 1329965024)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 61.011292695999146 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 06:43:22.159872
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/06/41/image_19012025_06_41_02_943622_0003.jpg', '/home/pi/Desktop/images/19012025/06/42/image_19012025_06_42_02_474025_0000.jpg', '/home/pi/Desktop/images/19012025/06/42/image_19012025_06_42_02_474025_0001.jpg', '/home/pi/Desktop/images/19012025/06/42/image_19012025_06_42_02_474025_0002.jpg', '/home/pi/Desktop/images/19012025/06/42/image_19012025_06_42_02_474025_0003.jpg', '/home/pi/Desktop/images/19012025/06/43/image_19012025_06_43_02_939207_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/06/41/image_19012025_06_41_02_943622_0003.jpg
/home/pi/Desktop/images/19012025/06/42/image_19012025_06_42_02_474025_0000.jpg
/home/pi/Desktop/images/19012025/06/42/image_19012025_06_42_02_474025_0001.jpg
/home/pi/Desktop/images/19012025/06/42/image_19012025_06_42_02_474025_0002.jpg
/home/pi/Desktop/images/19012025/06/42/image_19012025_06_42_02_474025_0003.jpg
/home/pi/Desktop/images/19012025/06/43/image_19012025_06_43_02_939207_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":["1329965083","1329965085","1329965090","1329965087","1329965081","1329965078"],"photo_ids_order":["1329965078","1329965081","1329965083","1329965085","1329965087","1329965090"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/f654e423271bbdf923fac801c15b5255.jpg","text":"TemporaryFile(/tmp/multipartBody8337258740572514022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737265480391,"filename":"image_19012025_06_42_02_474025_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/d8e2c683b56692d3a1aaa299cc612604.jpg","text":"TemporaryFile(/tmp/multipartBody835394916936565045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737265480391,"filename":"image_19012025_06_42_02_474025_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/caf17ddefde48a6e7944b2e0b779d901.jpg","text":"TemporaryFile(/tmp/multipartBody6050766239151867267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737265480391,"filename":"image_19012025_06_43_02_939207_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/b32ef0bdeb3d73941f1ca9ac0cee5153.jpg","text":"TemporaryFile(/tmp/multipartBody2530820187681188904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737265480391,"filename":"image_19012025_06_42_02_474025_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/ff93adf5c798f035b11dcbe680f43b56.jpg","text":"TemporaryFile(/tmp/multipartBody8647978017866269204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737265480391,"filename":"image_19012025_06_42_02_474025_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/a13224982033771c4eee4d8e6251edcd.jpg","text":"TemporaryFile(/tmp/multipartBody5795420964737653766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737265480391,"filename":"image_19012025_06_41_02_943622_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329965083","file1":"1329965081","file0":"1329965078","file4":"1329965087","file5":"1329965090","file3":"1329965085"},"map_files_photo_id_array":[{"photo_id":"1329965090","filename":"file5"},{"photo_id":"1329965083","filename":"file2"},{"photo_id":"1329965087","filename":"file4"},{"photo_id":"1329965081","filename":"file1"},{"photo_id":"1329965078","filename":"file0"},{"photo_id":"1329965085","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329965083":["hashtag1","hashtag2"]},{"1329965085":["hashtag1","hashtag2"]},{"1329965090":["hashtag1","hashtag2"]},{"1329965087":["hashtag1","hashtag2"]},{"1329965081":["hashtag1","hashtag2"]},{"1329965078":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329965083, 1329965085, 1329965090, 1329965087, 1329965081, 1329965078)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.466599225997925 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 06:45:02.795824
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/06/43/image_19012025_06_43_02_939207_0001.jpg', '/home/pi/Desktop/images/19012025/06/43/image_19012025_06_43_02_939207_0002.jpg', '/home/pi/Desktop/images/19012025/06/43/image_19012025_06_43_02_939207_0003.jpg', '/home/pi/Desktop/images/19012025/06/44/image_19012025_06_44_02_476535_0000.jpg', '/home/pi/Desktop/images/19012025/06/44/image_19012025_06_44_02_476535_0001.jpg', '/home/pi/Desktop/images/19012025/06/44/image_19012025_06_44_02_476535_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/06/43/image_19012025_06_43_02_939207_0001.jpg
/home/pi/Desktop/images/19012025/06/43/image_19012025_06_43_02_939207_0002.jpg
/home/pi/Desktop/images/19012025/06/43/image_19012025_06_43_02_939207_0003.jpg
/home/pi/Desktop/images/19012025/06/44/image_19012025_06_44_02_476535_0000.jpg
/home/pi/Desktop/images/19012025/06/44/image_19012025_06_44_02_476535_0001.jpg
/home/pi/Desktop/images/19012025/06/44/image_19012025_06_44_02_476535_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":["1329965230","1329965233","1329965235","1329965228","1329965237","1329965225"],"photo_ids_order":["1329965225","1329965228","1329965230","1329965233","1329965235","1329965237"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/e7338df9e9a8da5ea026ecb16a58f771.jpg","text":"TemporaryFile(/tmp/multipartBody5955977305465010593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737265580845,"filename":"image_19012025_06_43_02_939207_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/61721e1502f7ed557386467512a403f8.jpg","text":"TemporaryFile(/tmp/multipartBody9083711083518140539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737265580845,"filename":"image_19012025_06_44_02_476535_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/4cc8fde70e202161f25d0a1360fe13d5.jpg","text":"TemporaryFile(/tmp/multipartBody6003690101832484897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737265580845,"filename":"image_19012025_06_44_02_476535_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/ee671c11476c52c3d3323d1e48ae891b.jpg","text":"TemporaryFile(/tmp/multipartBody6551104041835472902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737265580845,"filename":"image_19012025_06_43_02_939207_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/77f74390c39b696bbbf719978d4a33ff.jpg","text":"TemporaryFile(/tmp/multipartBody432930885671802221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737265580845,"filename":"image_19012025_06_44_02_476535_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/f5a894423bfcdc36228db31110883bd0.jpg","text":"TemporaryFile(/tmp/multipartBody806373453182012886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737265580845,"filename":"image_19012025_06_43_02_939207_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329965230","file1":"1329965228","file0":"1329965225","file4":"1329965235","file5":"1329965237","file3":"1329965233"},"map_files_photo_id_array":[{"photo_id":"1329965237","filename":"file5"},{"photo_id":"1329965230","filename":"file2"},{"photo_id":"1329965235","filename":"file4"},{"photo_id":"1329965228","filename":"file1"},{"photo_id":"1329965225","filename":"file0"},{"photo_id":"1329965233","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329965230":["hashtag1","hashtag2"]},{"1329965233":["hashtag1","hashtag2"]},{"1329965235":["hashtag1","hashtag2"]},{"1329965228":["hashtag1","hashtag2"]},{"1329965237":["hashtag1","hashtag2"]},{"1329965225":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329965230, 1329965233, 1329965235, 1329965228, 1329965237, 1329965225)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.335015535354614 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 06:46:21.926638
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/06/44/image_19012025_06_44_02_476535_0003.jpg', '/home/pi/Desktop/images/19012025/06/45/image_19012025_06_45_03_023211_0000.jpg', '/home/pi/Desktop/images/19012025/06/45/image_19012025_06_45_03_023211_0001.jpg', '/home/pi/Desktop/images/19012025/06/45/image_19012025_06_45_03_023211_0002.jpg', '/home/pi/Desktop/images/19012025/06/45/image_19012025_06_45_03_023211_0003.jpg', '/home/pi/Desktop/images/19012025/06/46/image_19012025_06_46_02_610016_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/06/44/image_19012025_06_44_02_476535_0003.jpg
/home/pi/Desktop/images/19012025/06/45/image_19012025_06_45_03_023211_0000.jpg
/home/pi/Desktop/images/19012025/06/45/image_19012025_06_45_03_023211_0001.jpg
/home/pi/Desktop/images/19012025/06/45/image_19012025_06_45_03_023211_0002.jpg
/home/pi/Desktop/images/19012025/06/45/image_19012025_06_45_03_023211_0003.jpg
/home/pi/Desktop/images/19012025/06/46/image_19012025_06_46_02_610016_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329965350","1329965352","1329965343","1329965346","1329965354","1329965348"],"photo_ids_order":["1329965343","1329965346","1329965348","1329965350","1329965352","1329965354"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/47d67e70374354d1e5b608902c2915c3.jpg","text":"TemporaryFile(/tmp/multipartBody2036271267191783014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737265658704,"filename":"image_19012025_06_45_03_023211_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/c9d6fb403de38a351d239077c2920724.jpg","text":"TemporaryFile(/tmp/multipartBody2782820770687103607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737265658704,"filename":"image_19012025_06_45_03_023211_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/1dd0eeeb369c9b44ac20aa7446bac71d.jpg","text":"TemporaryFile(/tmp/multipartBody9110940504533793758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737265658704,"filename":"image_19012025_06_44_02_476535_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/8cecae95378ccdcf9a937f6d6597bf37.jpg","text":"TemporaryFile(/tmp/multipartBody3175033684611555805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737265658704,"filename":"image_19012025_06_45_03_023211_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/ff8b040e1ee3af0c4a7e915ad67a0572.jpg","text":"TemporaryFile(/tmp/multipartBody3743345196406447746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737265658704,"filename":"image_19012025_06_46_02_610016_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/0e9844954b1302ecd9253c054cb7afaf.jpg","text":"TemporaryFile(/tmp/multipartBody4881559174318728300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737265658704,"filename":"image_19012025_06_45_03_023211_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329965348","file1":"1329965346","file0":"1329965343","file4":"1329965352","file5":"1329965354","file3":"1329965350"},"map_files_photo_id_array":[{"photo_id":"1329965354","filename":"file5"},{"photo_id":"1329965348","filename":"file2"},{"photo_id":"1329965352","filename":"file4"},{"photo_id":"1329965346","filename":"file1"},{"photo_id":"1329965343","filename":"file0"},{"photo_id":"1329965350","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329965350":["hashtag1","hashtag2"]},{"1329965352":["hashtag1","hashtag2"]},{"1329965343":["hashtag1","hashtag2"]},{"1329965346":["hashtag1","hashtag2"]},{"1329965354":["hashtag1","hashtag2"]},{"1329965348":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329965350, 1329965352, 1329965343, 1329965346, 1329965354, 1329965348)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.77659463882446 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 06:47:22.412880
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/06/46/image_19012025_06_46_02_610016_0001.jpg', '/home/pi/Desktop/images/19012025/06/46/image_19012025_06_46_02_610016_0002.jpg', '/home/pi/Desktop/images/19012025/06/46/image_19012025_06_46_02_610016_0003.jpg', '/home/pi/Desktop/images/19012025/06/47/image_19012025_06_47_02_260349_0000.jpg', '/home/pi/Desktop/images/19012025/06/47/image_19012025_06_47_02_260349_0001.jpg', '/home/pi/Desktop/images/19012025/06/47/image_19012025_06_47_02_260349_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/06/46/image_19012025_06_46_02_610016_0001.jpg
/home/pi/Desktop/images/19012025/06/46/image_19012025_06_46_02_610016_0002.jpg
/home/pi/Desktop/images/19012025/06/46/image_19012025_06_46_02_610016_0003.jpg
/home/pi/Desktop/images/19012025/06/47/image_19012025_06_47_02_260349_0000.jpg
/home/pi/Desktop/images/19012025/06/47/image_19012025_06_47_02_260349_0001.jpg
/home/pi/Desktop/images/19012025/06/47/image_19012025_06_47_02_260349_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329965374","1329965368","1329965371","1329965365","1329965376","1329965360"],"photo_ids_order":["1329965360","1329965365","1329965368","1329965371","1329965374","1329965376"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/4780175dfc093ba4c711b6d47716ce17.jpg","text":"TemporaryFile(/tmp/multipartBody6032377962776001946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737265719398,"filename":"image_19012025_06_47_02_260349_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/b0c87391be0db18a04e6af9beb66f6a7.jpg","text":"TemporaryFile(/tmp/multipartBody1401732099293994288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737265719398,"filename":"image_19012025_06_46_02_610016_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/305f28a0aad19cbe2549eac636eb051c.jpg","text":"TemporaryFile(/tmp/multipartBody8033343224911751697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737265719398,"filename":"image_19012025_06_47_02_260349_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/cb3da73fc63f03f44c0f0070ffe24c77.jpg","text":"TemporaryFile(/tmp/multipartBody4722811504255479351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737265719398,"filename":"image_19012025_06_46_02_610016_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/2f3b0ad03dd669692f3552846800832e.jpg","text":"TemporaryFile(/tmp/multipartBody4574388608394431425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737265719398,"filename":"image_19012025_06_47_02_260349_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/5c2ea61938529b955ff15434f7a25fe5.jpg","text":"TemporaryFile(/tmp/multipartBody2837803698960969994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737265719398,"filename":"image_19012025_06_46_02_610016_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329965368","file1":"1329965365","file0":"1329965360","file4":"1329965374","file5":"1329965376","file3":"1329965371"},"map_files_photo_id_array":[{"photo_id":"1329965376","filename":"file5"},{"photo_id":"1329965368","filename":"file2"},{"photo_id":"1329965374","filename":"file4"},{"photo_id":"1329965365","filename":"file1"},{"photo_id":"1329965360","filename":"file0"},{"photo_id":"1329965371","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329965374":["hashtag1","hashtag2"]},{"1329965368":["hashtag1","hashtag2"]},{"1329965371":["hashtag1","hashtag2"]},{"1329965365":["hashtag1","hashtag2"]},{"1329965376":["hashtag1","hashtag2"]},{"1329965360":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329965374, 1329965368, 1329965371, 1329965365, 1329965376, 1329965360)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.84851813316345 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 06:48:21.945686
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/06/47/image_19012025_06_47_02_260349_0003.jpg', '/home/pi/Desktop/images/19012025/06/48/image_19012025_06_48_02_768528_0000.jpg', '/home/pi/Desktop/images/19012025/06/48/image_19012025_06_48_02_768528_0001.jpg', '/home/pi/Desktop/images/19012025/06/48/image_19012025_06_48_02_768528_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/06/47/image_19012025_06_47_02_260349_0003.jpg
/home/pi/Desktop/images/19012025/06/48/image_19012025_06_48_02_768528_0000.jpg
/home/pi/Desktop/images/19012025/06/48/image_19012025_06_48_02_768528_0001.jpg
/home/pi/Desktop/images/19012025/06/48/image_19012025_06_48_02_768528_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329965431","1329965442","1329965445","1329965400"],"photo_ids_order":["1329965400","1329965431","1329965442","1329965445"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/25e012dee20462a8d33b681106f4ae09.jpg","text":"TemporaryFile(/tmp/multipartBody1508124666634551921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737265773296,"filename":"image_19012025_06_48_02_768528_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/cda87376e02a1dce7e8876c4addf5d6c.jpg","text":"TemporaryFile(/tmp/multipartBody6923902872800472070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737265773296,"filename":"image_19012025_06_48_02_768528_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/c7b341bd48730c7b1404736685754bed.jpg","text":"TemporaryFile(/tmp/multipartBody6084397341726218520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737265773296,"filename":"image_19012025_06_48_02_768528_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/38650472f69fcb32e45525b9e6302ba0.jpg","text":"TemporaryFile(/tmp/multipartBody1641987130315208164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737265773296,"filename":"image_19012025_06_47_02_260349_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329965442","file1":"1329965431","file0":"1329965400","file3":"1329965445"},"map_files_photo_id_array":[{"photo_id":"1329965442","filename":"file2"},{"photo_id":"1329965431","filename":"file1"},{"photo_id":"1329965400","filename":"file0"},{"photo_id":"1329965445","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329965431":["hashtag1","hashtag2"]},{"1329965442":["hashtag1","hashtag2"]},{"1329965445":["hashtag1","hashtag2"]},{"1329965400":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329965431, 1329965442, 1329965445, 1329965400)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.32194638252258 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 06:49:22.349076
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/06/48/image_19012025_06_48_02_768528_0003.jpg', '/home/pi/Desktop/images/19012025/06/49/image_19012025_06_49_02_268766_0000.jpg', '/home/pi/Desktop/images/19012025/06/49/image_19012025_06_49_02_268766_0001.jpg', '/home/pi/Desktop/images/19012025/06/49/image_19012025_06_49_02_268766_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/06/48/image_19012025_06_48_02_768528_0003.jpg
/home/pi/Desktop/images/19012025/06/49/image_19012025_06_49_02_268766_0000.jpg
/home/pi/Desktop/images/19012025/06/49/image_19012025_06_49_02_268766_0001.jpg
/home/pi/Desktop/images/19012025/06/49/image_19012025_06_49_02_268766_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329965505","1329965570","1329965573","1329965525"],"photo_ids_order":["1329965505","1329965525","1329965570","1329965573"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/14db86b6327e44cf85a87daa1cdeb09b.jpg","text":"TemporaryFile(/tmp/multipartBody8695018853960279641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737265833953,"filename":"image_19012025_06_48_02_768528_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/a4731bf235b3f31eaf98ff6d32a1b0e2.jpg","text":"TemporaryFile(/tmp/multipartBody1751742948786560051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737265833953,"filename":"image_19012025_06_49_02_268766_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/a4206b6c71d58897a8a474a694a61aa9.jpg","text":"TemporaryFile(/tmp/multipartBody5069433619435339486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737265833953,"filename":"image_19012025_06_49_02_268766_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/8b5aa3b6aa14678997c2edbd05f7625a.jpg","text":"TemporaryFile(/tmp/multipartBody7979124899656130490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737265833953,"filename":"image_19012025_06_49_02_268766_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329965570","file1":"1329965525","file0":"1329965505","file3":"1329965573"},"map_files_photo_id_array":[{"photo_id":"1329965570","filename":"file2"},{"photo_id":"1329965525","filename":"file1"},{"photo_id":"1329965505","filename":"file0"},{"photo_id":"1329965573","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329965505":["hashtag1","hashtag2"]},{"1329965570":["hashtag1","hashtag2"]},{"1329965573":["hashtag1","hashtag2"]},{"1329965525":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329965505, 1329965570, 1329965573, 1329965525)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.409690856933594 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 06:50:21.914925
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/06/49/image_19012025_06_49_02_268766_0003.jpg', '/home/pi/Desktop/images/19012025/06/50/image_19012025_06_50_02_776837_0000.jpg', '/home/pi/Desktop/images/19012025/06/50/image_19012025_06_50_02_776837_0001.jpg', '/home/pi/Desktop/images/19012025/06/50/image_19012025_06_50_02_776837_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/06/49/image_19012025_06_49_02_268766_0003.jpg
/home/pi/Desktop/images/19012025/06/50/image_19012025_06_50_02_776837_0000.jpg
/home/pi/Desktop/images/19012025/06/50/image_19012025_06_50_02_776837_0001.jpg
/home/pi/Desktop/images/19012025/06/50/image_19012025_06_50_02_776837_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329965583","1329965586","1329965589","1329965580"],"photo_ids_order":["1329965580","1329965583","1329965586","1329965589"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/0da986bc1c038d55468341e00db01259.jpg","text":"TemporaryFile(/tmp/multipartBody4867498891681306695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737265893528,"filename":"image_19012025_06_50_02_776837_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/08a166e4f7f74404803c22b37d45def4.jpg","text":"TemporaryFile(/tmp/multipartBody2021882696079763248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737265893528,"filename":"image_19012025_06_50_02_776837_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/7d61ea0642f14bf57b1554d038a86752.jpg","text":"TemporaryFile(/tmp/multipartBody1526329231790563334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737265893528,"filename":"image_19012025_06_50_02_776837_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/0777202ce190acd22e5fdd167147c351.jpg","text":"TemporaryFile(/tmp/multipartBody5267232370987814271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737265893528,"filename":"image_19012025_06_49_02_268766_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329965586","file1":"1329965583","file0":"1329965580","file3":"1329965589"},"map_files_photo_id_array":[{"photo_id":"1329965586","filename":"file2"},{"photo_id":"1329965583","filename":"file1"},{"photo_id":"1329965580","filename":"file0"},{"photo_id":"1329965589","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329965583":["hashtag1","hashtag2"]},{"1329965586":["hashtag1","hashtag2"]},{"1329965589":["hashtag1","hashtag2"]},{"1329965580":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329965583, 1329965586, 1329965589, 1329965580)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.11868190765381 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 06:51:22.438929
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/06/50/image_19012025_06_50_02_776837_0003.jpg', '/home/pi/Desktop/images/19012025/06/51/image_19012025_06_51_02_299677_0000.jpg', '/home/pi/Desktop/images/19012025/06/51/image_19012025_06_51_02_299677_0001.jpg', '/home/pi/Desktop/images/19012025/06/51/image_19012025_06_51_02_299677_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/06/50/image_19012025_06_50_02_776837_0003.jpg
/home/pi/Desktop/images/19012025/06/51/image_19012025_06_51_02_299677_0000.jpg
/home/pi/Desktop/images/19012025/06/51/image_19012025_06_51_02_299677_0001.jpg
/home/pi/Desktop/images/19012025/06/51/image_19012025_06_51_02_299677_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329965620","1329965626","1329965624","1329965618"],"photo_ids_order":["1329965618","1329965620","1329965624","1329965626"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/3f100b115a6e78777f7a2931f6cd8b7f.jpg","text":"TemporaryFile(/tmp/multipartBody6306826136912357052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737265953568,"filename":"image_19012025_06_51_02_299677_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/1227eca93c77abff18c36aac5632c28c.jpg","text":"TemporaryFile(/tmp/multipartBody250229724950014059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737265953568,"filename":"image_19012025_06_51_02_299677_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/1e1f8c15e16210a865a39b5febfc657d.jpg","text":"TemporaryFile(/tmp/multipartBody5188818897558700702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737265953568,"filename":"image_19012025_06_51_02_299677_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/b165761626e65b80037dc8d29b327bc4.jpg","text":"TemporaryFile(/tmp/multipartBody131413043410028404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737265953568,"filename":"image_19012025_06_50_02_776837_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329965624","file1":"1329965620","file0":"1329965618","file3":"1329965626"},"map_files_photo_id_array":[{"photo_id":"1329965624","filename":"file2"},{"photo_id":"1329965620","filename":"file1"},{"photo_id":"1329965618","filename":"file0"},{"photo_id":"1329965626","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329965620":["hashtag1","hashtag2"]},{"1329965626":["hashtag1","hashtag2"]},{"1329965624":["hashtag1","hashtag2"]},{"1329965618":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329965620, 1329965626, 1329965624, 1329965618)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.589396238327026 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 06:52:21.915509
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/06/51/image_19012025_06_51_02_299677_0003.jpg', '/home/pi/Desktop/images/19012025/06/52/image_19012025_06_52_02_810331_0000.jpg', '/home/pi/Desktop/images/19012025/06/52/image_19012025_06_52_02_810331_0001.jpg', '/home/pi/Desktop/images/19012025/06/52/image_19012025_06_52_02_810331_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/06/51/image_19012025_06_51_02_299677_0003.jpg
/home/pi/Desktop/images/19012025/06/52/image_19012025_06_52_02_810331_0000.jpg
/home/pi/Desktop/images/19012025/06/52/image_19012025_06_52_02_810331_0001.jpg
/home/pi/Desktop/images/19012025/06/52/image_19012025_06_52_02_810331_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329965801","1329966183","1329966387","1329966009"],"photo_ids_order":["1329965801","1329966009","1329966183","1329966387"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/2a6105044644994afafaff29e882de89.jpg","text":"TemporaryFile(/tmp/multipartBody2275040480577590420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737266013046,"filename":"image_19012025_06_51_02_299677_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/b77a97d872f6b714a9b80e8f0e40cc24.jpg","text":"TemporaryFile(/tmp/multipartBody7849527486858332143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737266013046,"filename":"image_19012025_06_52_02_810331_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/7ad195c19e5d49229456c50fd9144b04.jpg","text":"TemporaryFile(/tmp/multipartBody7023139088938017862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737266013046,"filename":"image_19012025_06_52_02_810331_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/3df824735190b00fbd35661e2a49ee0e.jpg","text":"TemporaryFile(/tmp/multipartBody3212723718322004398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737266013046,"filename":"image_19012025_06_52_02_810331_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329966183","file1":"1329966009","file0":"1329965801","file3":"1329966387"},"map_files_photo_id_array":[{"photo_id":"1329966183","filename":"file2"},{"photo_id":"1329966009","filename":"file1"},{"photo_id":"1329965801","filename":"file0"},{"photo_id":"1329966387","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329965801":["hashtag1","hashtag2"]},{"1329966183":["hashtag1","hashtag2"]},{"1329966387":["hashtag1","hashtag2"]},{"1329966009":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329965801, 1329966183, 1329966387, 1329966009)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.68625569343567 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 06:53:02.885474
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
  port_id : 19698700
  datou_current_id : 2490825
in upload_from_sqlite, uploading in 19698700
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17012025/21/44/image_17012025_21_44_02_452860_0003.jpg', '/home/pi/Desktop/images/17012025/21/45/image_17012025_21_45_02_645809_0000.jpg', '/home/pi/Desktop/images/17012025/21/45/image_17012025_21_45_02_645809_0001.jpg', '/home/pi/Desktop/images/17012025/21/45/image_17012025_21_45_02_645809_0002.jpg', '/home/pi/Desktop/images/17012025/21/45/image_17012025_21_45_02_645809_0003.jpg', '/home/pi/Desktop/images/17012025/21/46/image_17012025_21_46_02_824424_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2490825&datou=0
/home/pi/Desktop/images/17012025/21/44/image_17012025_21_44_02_452860_0003.jpg
/home/pi/Desktop/images/17012025/21/45/image_17012025_21_45_02_645809_0000.jpg
/home/pi/Desktop/images/17012025/21/45/image_17012025_21_45_02_645809_0001.jpg
/home/pi/Desktop/images/17012025/21/45/image_17012025_21_45_02_645809_0002.jpg
/home/pi/Desktop/images/17012025/21/45/image_17012025_21_45_02_645809_0003.jpg
/home/pi/Desktop/images/17012025/21/46/image_17012025_21_46_02_824424_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329966415","1329966409","1329966417","1329966411","1329966419","1329966413"],"photo_ids_order":["1329966409","1329966411","1329966413","1329966415","1329966417","1329966419"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/c49a4baae3b5c5308584594c0d223b77.jpg","text":"TemporaryFile(/tmp/multipartBody3225995433247117255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737266060554,"filename":"image_17012025_21_45_02_645809_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/560d3917e891249a7455fe74ec31ede8.jpg","text":"TemporaryFile(/tmp/multipartBody4181298505590676165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737266060554,"filename":"image_17012025_21_44_02_452860_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/35a81d23f7fba48064c529a695fd0cec.jpg","text":"TemporaryFile(/tmp/multipartBody5177529067536926199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737266060554,"filename":"image_17012025_21_45_02_645809_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/20f42cdc870e5a41ce94d37f5b14167c.jpg","text":"TemporaryFile(/tmp/multipartBody5997263182229497315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737266060554,"filename":"image_17012025_21_45_02_645809_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/085d9ddb0e99b968e56789e2f1c76157.jpg","text":"TemporaryFile(/tmp/multipartBody7174544745513834696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737266060554,"filename":"image_17012025_21_46_02_824424_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/ff17f0113d456cf6cdf9fa17aeb8a9b7.jpg","text":"TemporaryFile(/tmp/multipartBody1366141509861783090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737266060554,"filename":"image_17012025_21_45_02_645809_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329966413","file1":"1329966411","file0":"1329966409","file4":"1329966417","file5":"1329966419","file3":"1329966415"},"map_files_photo_id_array":[{"photo_id":"1329966419","filename":"file5"},{"photo_id":"1329966413","filename":"file2"},{"photo_id":"1329966417","filename":"file4"},{"photo_id":"1329966411","filename":"file1"},{"photo_id":"1329966409","filename":"file0"},{"photo_id":"1329966415","filename":"file3"}],"portfolio_id":19698700,"hashtag_by_photo_ids":[{"1329966415":["hashtag1","hashtag2"]},{"1329966409":["hashtag1","hashtag2"]},{"1329966417":["hashtag1","hashtag2"]},{"1329966411":["hashtag1","hashtag2"]},{"1329966419":["hashtag1","hashtag2"]},{"1329966413":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698700 used, photo_id : ArrayBuffer(1329966415, 1329966409, 1329966417, 1329966411, 1329966419, 1329966413)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.15468740463257 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 06:54:02.448154
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/06/52/image_19012025_06_52_02_810331_0003.jpg', '/home/pi/Desktop/images/19012025/06/53/image_19012025_06_53_02_300338_0000.jpg', '/home/pi/Desktop/images/19012025/06/53/image_19012025_06_53_02_300338_0001.jpg', '/home/pi/Desktop/images/19012025/06/53/image_19012025_06_53_02_300338_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/06/52/image_19012025_06_52_02_810331_0003.jpg
/home/pi/Desktop/images/19012025/06/53/image_19012025_06_53_02_300338_0000.jpg
/home/pi/Desktop/images/19012025/06/53/image_19012025_06_53_02_300338_0001.jpg
/home/pi/Desktop/images/19012025/06/53/image_19012025_06_53_02_300338_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329966744","1329966714","1329966746","1329966713"],"photo_ids_order":["1329966713","1329966714","1329966744","1329966746"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/fbd1abc9c04e395fe9d210bb279dd142.jpg","text":"TemporaryFile(/tmp/multipartBody767140654849703988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737266113859,"filename":"image_19012025_06_53_02_300338_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/166f4c07834d7445d5c4241fc00374da.jpg","text":"TemporaryFile(/tmp/multipartBody2085368898726452951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737266113859,"filename":"image_19012025_06_53_02_300338_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/ca37abfa8a25384f856028a7cb180105.jpg","text":"TemporaryFile(/tmp/multipartBody1898894171399466531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737266113859,"filename":"image_19012025_06_53_02_300338_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/8836c2c12b446b130cd8913fbe394272.jpg","text":"TemporaryFile(/tmp/multipartBody7119044235705235052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737266113859,"filename":"image_19012025_06_52_02_810331_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329966744","file1":"1329966714","file0":"1329966713","file3":"1329966746"},"map_files_photo_id_array":[{"photo_id":"1329966744","filename":"file2"},{"photo_id":"1329966714","filename":"file1"},{"photo_id":"1329966713","filename":"file0"},{"photo_id":"1329966746","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329966744":["hashtag1","hashtag2"]},{"1329966714":["hashtag1","hashtag2"]},{"1329966746":["hashtag1","hashtag2"]},{"1329966713":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329966744, 1329966714, 1329966746, 1329966713)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.88802886009216 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 06:55:03.028809
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/06/53/image_19012025_06_53_02_300338_0003.jpg', '/home/pi/Desktop/images/19012025/06/54/image_19012025_06_54_02_796495_0000.jpg', '/home/pi/Desktop/images/19012025/06/54/image_19012025_06_54_02_796495_0001.jpg', '/home/pi/Desktop/images/19012025/06/54/image_19012025_06_54_02_796495_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/06/53/image_19012025_06_53_02_300338_0003.jpg
/home/pi/Desktop/images/19012025/06/54/image_19012025_06_54_02_796495_0000.jpg
/home/pi/Desktop/images/19012025/06/54/image_19012025_06_54_02_796495_0001.jpg
/home/pi/Desktop/images/19012025/06/54/image_19012025_06_54_02_796495_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329966934","1329966923","1329966917","1329967129"],"photo_ids_order":["1329966917","1329966923","1329966934","1329967129"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/e705f0cddab555d64753c202f471c06f.jpg","text":"TemporaryFile(/tmp/multipartBody8385676127407272445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737266174914,"filename":"image_19012025_06_54_02_796495_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/daeb8198dff3489df054cf6495bfdb1f.jpg","text":"TemporaryFile(/tmp/multipartBody2425846809432839034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737266174914,"filename":"image_19012025_06_54_02_796495_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/2cf6362bb7b38a5933bba2217865b48d.jpg","text":"TemporaryFile(/tmp/multipartBody570545354537531578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737266174914,"filename":"image_19012025_06_53_02_300338_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/f60ac928fa0181502708ec305337e005.jpg","text":"TemporaryFile(/tmp/multipartBody3334934982457455066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737266174914,"filename":"image_19012025_06_54_02_796495_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329966934","file1":"1329966923","file0":"1329966917","file3":"1329967129"},"map_files_photo_id_array":[{"photo_id":"1329966934","filename":"file2"},{"photo_id":"1329966923","filename":"file1"},{"photo_id":"1329966917","filename":"file0"},{"photo_id":"1329967129","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329966934":["hashtag1","hashtag2"]},{"1329966923":["hashtag1","hashtag2"]},{"1329966917":["hashtag1","hashtag2"]},{"1329967129":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329966934, 1329966923, 1329966917, 1329967129)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.96374011039734 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 06:56:02.547194
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/06/54/image_19012025_06_54_02_796495_0003.jpg', '/home/pi/Desktop/images/19012025/06/55/image_19012025_06_55_02_400021_0000.jpg', '/home/pi/Desktop/images/19012025/06/55/image_19012025_06_55_02_400021_0001.jpg', '/home/pi/Desktop/images/19012025/06/55/image_19012025_06_55_02_400021_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/06/54/image_19012025_06_54_02_796495_0003.jpg
/home/pi/Desktop/images/19012025/06/55/image_19012025_06_55_02_400021_0000.jpg
/home/pi/Desktop/images/19012025/06/55/image_19012025_06_55_02_400021_0001.jpg
/home/pi/Desktop/images/19012025/06/55/image_19012025_06_55_02_400021_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.855386734008789 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 06:56:22.142260
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/06/54/image_19012025_06_54_02_796495_0003.jpg', '/home/pi/Desktop/images/19012025/06/55/image_19012025_06_55_02_400021_0000.jpg', '/home/pi/Desktop/images/19012025/06/55/image_19012025_06_55_02_400021_0001.jpg', '/home/pi/Desktop/images/19012025/06/55/image_19012025_06_55_02_400021_0002.jpg', '/home/pi/Desktop/images/19012025/06/55/image_19012025_06_55_02_400021_0003.jpg', '/home/pi/Desktop/images/19012025/06/56/image_19012025_06_56_02_914497_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/06/54/image_19012025_06_54_02_796495_0003.jpg
/home/pi/Desktop/images/19012025/06/55/image_19012025_06_55_02_400021_0000.jpg
/home/pi/Desktop/images/19012025/06/55/image_19012025_06_55_02_400021_0001.jpg
/home/pi/Desktop/images/19012025/06/55/image_19012025_06_55_02_400021_0002.jpg
/home/pi/Desktop/images/19012025/06/55/image_19012025_06_55_02_400021_0003.jpg
/home/pi/Desktop/images/19012025/06/56/image_19012025_06_56_02_914497_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":["1329967281","1329967289","1329967283","1329967291","1329967285","1329967287"],"photo_ids_order":["1329967281","1329967283","1329967285","1329967287","1329967289","1329967291"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/54c4cf652a07e4975b3a0b33c6bc77b2.jpg","text":"TemporaryFile(/tmp/multipartBody6564149000997339749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737266258896,"filename":"image_19012025_06_54_02_796495_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/79151d2c3f9eb2f92670d745885b4427.jpg","text":"TemporaryFile(/tmp/multipartBody5471391532782484320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737266258896,"filename":"image_19012025_06_55_02_400021_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/17281d25191090a5e1a78b9ff9cf4191.jpg","text":"TemporaryFile(/tmp/multipartBody5577200280107159233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737266258896,"filename":"image_19012025_06_55_02_400021_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/8076dd64746aa6a323118c1ff5ffc6af.jpg","text":"TemporaryFile(/tmp/multipartBody542933664532085142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737266258896,"filename":"image_19012025_06_56_02_914497_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/16209177c7d9a09f06fc718c960f515d.jpg","text":"TemporaryFile(/tmp/multipartBody691466254347673868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737266258896,"filename":"image_19012025_06_55_02_400021_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/09aaed5f919ab8f82f18bda9e74b81da.jpg","text":"TemporaryFile(/tmp/multipartBody8432132736867824613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737266258896,"filename":"image_19012025_06_55_02_400021_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329967285","file1":"1329967283","file0":"1329967281","file4":"1329967289","file5":"1329967291","file3":"1329967287"},"map_files_photo_id_array":[{"photo_id":"1329967291","filename":"file5"},{"photo_id":"1329967285","filename":"file2"},{"photo_id":"1329967289","filename":"file4"},{"photo_id":"1329967283","filename":"file1"},{"photo_id":"1329967281","filename":"file0"},{"photo_id":"1329967287","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329967281":["hashtag1","hashtag2"]},{"1329967289":["hashtag1","hashtag2"]},{"1329967283":["hashtag1","hashtag2"]},{"1329967291":["hashtag1","hashtag2"]},{"1329967285":["hashtag1","hashtag2"]},{"1329967287":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329967281, 1329967289, 1329967283, 1329967291, 1329967285, 1329967287)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 61.14726662635803 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 06:59:02.871776
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/06/56/image_19012025_06_56_02_914497_0001.jpg', '/home/pi/Desktop/images/19012025/06/56/image_19012025_06_56_02_914497_0002.jpg', '/home/pi/Desktop/images/19012025/06/56/image_19012025_06_56_02_914497_0003.jpg', '/home/pi/Desktop/images/19012025/06/57/image_19012025_06_57_02_478413_0000.jpg', '/home/pi/Desktop/images/19012025/06/57/image_19012025_06_57_02_478413_0001.jpg', '/home/pi/Desktop/images/19012025/06/57/image_19012025_06_57_02_478413_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/06/56/image_19012025_06_56_02_914497_0001.jpg
/home/pi/Desktop/images/19012025/06/56/image_19012025_06_56_02_914497_0002.jpg
/home/pi/Desktop/images/19012025/06/56/image_19012025_06_56_02_914497_0003.jpg
/home/pi/Desktop/images/19012025/06/57/image_19012025_06_57_02_478413_0000.jpg
/home/pi/Desktop/images/19012025/06/57/image_19012025_06_57_02_478413_0001.jpg
/home/pi/Desktop/images/19012025/06/57/image_19012025_06_57_02_478413_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329967871","1329967882","1329968068","1329967879","1329967876","1329968160"],"photo_ids_order":["1329967871","1329967876","1329967879","1329967882","1329968068","1329968160"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/7cc222ed3a783633e1e526c37b329400.jpg","text":"TemporaryFile(/tmp/multipartBody6830274638387736742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737266419790,"filename":"image_19012025_06_56_02_914497_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/d4082687f145e7e64b01eedbaa335969.jpg","text":"TemporaryFile(/tmp/multipartBody1530789180683365078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737266419790,"filename":"image_19012025_06_57_02_478413_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/3a10504bdd1ff19a1d08a9940c6e5485.jpg","text":"TemporaryFile(/tmp/multipartBody4268943630397560581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737266419790,"filename":"image_19012025_06_57_02_478413_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/bc12611ea02f4118713dbb399b92224d.jpg","text":"TemporaryFile(/tmp/multipartBody9198871547333336839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737266419790,"filename":"image_19012025_06_56_02_914497_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/0dbbeb4c6de4ef5da03234af174e21b2.jpg","text":"TemporaryFile(/tmp/multipartBody2078560699451813725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737266419790,"filename":"image_19012025_06_56_02_914497_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/196fad46f35897f29304d1eb3b360306.jpg","text":"TemporaryFile(/tmp/multipartBody6518289824585767809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737266419790,"filename":"image_19012025_06_57_02_478413_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329967879","file1":"1329967876","file0":"1329967871","file4":"1329968068","file5":"1329968160","file3":"1329967882"},"map_files_photo_id_array":[{"photo_id":"1329968160","filename":"file5"},{"photo_id":"1329967879","filename":"file2"},{"photo_id":"1329968068","filename":"file4"},{"photo_id":"1329967876","filename":"file1"},{"photo_id":"1329967871","filename":"file0"},{"photo_id":"1329967882","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329967871":["hashtag1","hashtag2"]},{"1329967882":["hashtag1","hashtag2"]},{"1329968068":["hashtag1","hashtag2"]},{"1329967879":["hashtag1","hashtag2"]},{"1329967876":["hashtag1","hashtag2"]},{"1329968160":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329967871, 1329967882, 1329968068, 1329967879, 1329967876, 1329968160)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.99569845199585 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 07:00:02.355498
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/06/57/image_19012025_06_57_02_478413_0003.jpg', '/home/pi/Desktop/images/19012025/06/58/image_19012025_06_58_02_966103_0000.jpg', '/home/pi/Desktop/images/19012025/06/58/image_19012025_06_58_02_966103_0001.jpg', '/home/pi/Desktop/images/19012025/06/58/image_19012025_06_58_02_966103_0002.jpg', '/home/pi/Desktop/images/19012025/06/58/image_19012025_06_58_02_966103_0003.jpg', '/home/pi/Desktop/images/19012025/06/59/image_19012025_06_59_02_461916_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/06/57/image_19012025_06_57_02_478413_0003.jpg
/home/pi/Desktop/images/19012025/06/58/image_19012025_06_58_02_966103_0000.jpg
/home/pi/Desktop/images/19012025/06/58/image_19012025_06_58_02_966103_0001.jpg
/home/pi/Desktop/images/19012025/06/58/image_19012025_06_58_02_966103_0002.jpg
/home/pi/Desktop/images/19012025/06/58/image_19012025_06_58_02_966103_0003.jpg
/home/pi/Desktop/images/19012025/06/59/image_19012025_06_59_02_461916_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329968216","1329968210","1329968213","1329968207","1329968199","1329968203"],"photo_ids_order":["1329968199","1329968203","1329968207","1329968210","1329968213","1329968216"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/ffd25fa61f60c55246a1a99f63ea37d2.jpg","text":"TemporaryFile(/tmp/multipartBody176356247932390418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737266478782,"filename":"image_19012025_06_59_02_461916_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/8c36094a9d1d7376d80b0094b35da33d.jpg","text":"TemporaryFile(/tmp/multipartBody1533060803031359014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737266478782,"filename":"image_19012025_06_58_02_966103_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/3f7d60d38a03e228d9d1923b8d6b9510.jpg","text":"TemporaryFile(/tmp/multipartBody6386382410270911969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737266478782,"filename":"image_19012025_06_58_02_966103_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/49ccc4f86eec84aa8a903eacef964bd5.jpg","text":"TemporaryFile(/tmp/multipartBody1351538187870524691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737266478782,"filename":"image_19012025_06_58_02_966103_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/23674b3bf3210e35916d15a6e24fded9.jpg","text":"TemporaryFile(/tmp/multipartBody5215166878621758487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737266478782,"filename":"image_19012025_06_57_02_478413_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/ba1fc7c18392b26c8981ef77fa54b483.jpg","text":"TemporaryFile(/tmp/multipartBody1812506911634244958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737266478782,"filename":"image_19012025_06_58_02_966103_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329968207","file1":"1329968203","file0":"1329968199","file4":"1329968213","file5":"1329968216","file3":"1329968210"},"map_files_photo_id_array":[{"photo_id":"1329968216","filename":"file5"},{"photo_id":"1329968207","filename":"file2"},{"photo_id":"1329968213","filename":"file4"},{"photo_id":"1329968203","filename":"file1"},{"photo_id":"1329968199","filename":"file0"},{"photo_id":"1329968210","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329968216":["hashtag1","hashtag2"]},{"1329968210":["hashtag1","hashtag2"]},{"1329968213":["hashtag1","hashtag2"]},{"1329968207":["hashtag1","hashtag2"]},{"1329968199":["hashtag1","hashtag2"]},{"1329968203":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329968216, 1329968210, 1329968213, 1329968207, 1329968199, 1329968203)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.957194805145264 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 07:01:03.320695
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/06/59/image_19012025_06_59_02_461916_0001.jpg', '/home/pi/Desktop/images/19012025/06/59/image_19012025_06_59_02_461916_0002.jpg', '/home/pi/Desktop/images/19012025/06/59/image_19012025_06_59_02_461916_0003.jpg', '/home/pi/Desktop/images/19012025/07/00/image_19012025_07_00_02_612816_0000.jpg', '/home/pi/Desktop/images/19012025/07/00/image_19012025_07_00_02_612816_0001.jpg', '/home/pi/Desktop/images/19012025/07/00/image_19012025_07_00_02_612816_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/06/59/image_19012025_06_59_02_461916_0001.jpg
/home/pi/Desktop/images/19012025/06/59/image_19012025_06_59_02_461916_0002.jpg
/home/pi/Desktop/images/19012025/06/59/image_19012025_06_59_02_461916_0003.jpg
/home/pi/Desktop/images/19012025/07/00/image_19012025_07_00_02_612816_0000.jpg
/home/pi/Desktop/images/19012025/07/00/image_19012025_07_00_02_612816_0001.jpg
/home/pi/Desktop/images/19012025/07/00/image_19012025_07_00_02_612816_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329968240","1329968228","1329968237","1329968231","1329968225","1329968242"],"photo_ids_order":["1329968225","1329968228","1329968231","1329968237","1329968240","1329968242"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/cef2c9f22bd8d0567e1783b9ee886768.jpg","text":"TemporaryFile(/tmp/multipartBody4262947488214796501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737266540370,"filename":"image_19012025_07_00_02_612816_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/8cc382a0747d612f40569837fe0c34ad.jpg","text":"TemporaryFile(/tmp/multipartBody7841653168364014035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737266540370,"filename":"image_19012025_06_59_02_461916_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/2449ff4301b836d8be596e8aea6877be.jpg","text":"TemporaryFile(/tmp/multipartBody4681522899423697175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737266540370,"filename":"image_19012025_07_00_02_612816_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/554939cc0b8c0dbd09a98a619f7c2543.jpg","text":"TemporaryFile(/tmp/multipartBody5224164458078911291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737266540370,"filename":"image_19012025_06_59_02_461916_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/746a6b75b56919ee61f06f32bfe13214.jpg","text":"TemporaryFile(/tmp/multipartBody8445361409418961471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737266540370,"filename":"image_19012025_06_59_02_461916_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/7c68dfc6a9dafd9f35a7b63db0e1f15e.jpg","text":"TemporaryFile(/tmp/multipartBody7874191184115421984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737266540370,"filename":"image_19012025_07_00_02_612816_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329968231","file1":"1329968228","file0":"1329968225","file4":"1329968240","file5":"1329968242","file3":"1329968237"},"map_files_photo_id_array":[{"photo_id":"1329968242","filename":"file5"},{"photo_id":"1329968231","filename":"file2"},{"photo_id":"1329968240","filename":"file4"},{"photo_id":"1329968228","filename":"file1"},{"photo_id":"1329968225","filename":"file0"},{"photo_id":"1329968237","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329968240":["hashtag1","hashtag2"]},{"1329968228":["hashtag1","hashtag2"]},{"1329968237":["hashtag1","hashtag2"]},{"1329968231":["hashtag1","hashtag2"]},{"1329968225":["hashtag1","hashtag2"]},{"1329968242":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329968240, 1329968228, 1329968237, 1329968231, 1329968225, 1329968242)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.07418704032898 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 07:02:02.488465
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/07/00/image_19012025_07_00_02_612816_0003.jpg', '/home/pi/Desktop/images/19012025/07/01/image_19012025_07_01_02_408864_0000.jpg', '/home/pi/Desktop/images/19012025/07/01/image_19012025_07_01_02_408864_0001.jpg', '/home/pi/Desktop/images/19012025/07/01/image_19012025_07_01_02_408864_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/07/00/image_19012025_07_00_02_612816_0003.jpg
/home/pi/Desktop/images/19012025/07/01/image_19012025_07_01_02_408864_0000.jpg
/home/pi/Desktop/images/19012025/07/01/image_19012025_07_01_02_408864_0001.jpg
/home/pi/Desktop/images/19012025/07/01/image_19012025_07_01_02_408864_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 11.028077602386475 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 07:02:22.057021
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/07/00/image_19012025_07_00_02_612816_0003.jpg', '/home/pi/Desktop/images/19012025/07/01/image_19012025_07_01_02_408864_0000.jpg', '/home/pi/Desktop/images/19012025/07/01/image_19012025_07_01_02_408864_0001.jpg', '/home/pi/Desktop/images/19012025/07/01/image_19012025_07_01_02_408864_0002.jpg', '/home/pi/Desktop/images/19012025/07/01/image_19012025_07_01_02_408864_0003.jpg', '/home/pi/Desktop/images/19012025/07/02/image_19012025_07_02_02_906470_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/07/00/image_19012025_07_00_02_612816_0003.jpg
/home/pi/Desktop/images/19012025/07/01/image_19012025_07_01_02_408864_0000.jpg
/home/pi/Desktop/images/19012025/07/01/image_19012025_07_01_02_408864_0001.jpg
/home/pi/Desktop/images/19012025/07/01/image_19012025_07_01_02_408864_0002.jpg
/home/pi/Desktop/images/19012025/07/01/image_19012025_07_01_02_408864_0003.jpg
/home/pi/Desktop/images/19012025/07/02/image_19012025_07_02_02_906470_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329968331","1329969254","1329969072","1329969252","1329968803","1329968562"],"photo_ids_order":["1329968331","1329968562","1329968803","1329969072","1329969252","1329969254"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/0edd854b3ec553e1260f9491f0cd7a10.jpg","text":"TemporaryFile(/tmp/multipartBody8877383521972302616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737266618461,"filename":"image_19012025_07_00_02_612816_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/f93f6fe5f1de82d49e349701315d4b13.jpg","text":"TemporaryFile(/tmp/multipartBody251328879915350502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737266618461,"filename":"image_19012025_07_02_02_906470_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/4e044e57c1ca9cc3fc85ad6cc22da9ce.jpg","text":"TemporaryFile(/tmp/multipartBody1734315039154854364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737266618461,"filename":"image_19012025_07_01_02_408864_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/69331935be4603d9201b14fbb499d9df.jpg","text":"TemporaryFile(/tmp/multipartBody3589253750981670163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737266618461,"filename":"image_19012025_07_01_02_408864_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/603bb8134bd203fbf242ee27fa331e92.jpg","text":"TemporaryFile(/tmp/multipartBody5217488774298390135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737266618461,"filename":"image_19012025_07_01_02_408864_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/848bc46690f4726dd9dc8f1af6519e38.jpg","text":"TemporaryFile(/tmp/multipartBody6178948629172074062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737266618461,"filename":"image_19012025_07_01_02_408864_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329968803","file1":"1329968562","file0":"1329968331","file4":"1329969252","file5":"1329969254","file3":"1329969072"},"map_files_photo_id_array":[{"photo_id":"1329969254","filename":"file5"},{"photo_id":"1329968803","filename":"file2"},{"photo_id":"1329969252","filename":"file4"},{"photo_id":"1329968562","filename":"file1"},{"photo_id":"1329968331","filename":"file0"},{"photo_id":"1329969072","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329968331":["hashtag1","hashtag2"]},{"1329969254":["hashtag1","hashtag2"]},{"1329969072":["hashtag1","hashtag2"]},{"1329969252":["hashtag1","hashtag2"]},{"1329968803":["hashtag1","hashtag2"]},{"1329968562":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329968331, 1329969254, 1329969072, 1329969252, 1329968803, 1329968562)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.215683698654175 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 07:03:22.626593
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/07/02/image_19012025_07_02_02_906470_0001.jpg', '/home/pi/Desktop/images/19012025/07/02/image_19012025_07_02_02_906470_0002.jpg', '/home/pi/Desktop/images/19012025/07/02/image_19012025_07_02_02_906470_0003.jpg', '/home/pi/Desktop/images/19012025/07/03/image_19012025_07_03_02_440688_0000.jpg', '/home/pi/Desktop/images/19012025/07/03/image_19012025_07_03_02_440688_0001.jpg', '/home/pi/Desktop/images/19012025/07/03/image_19012025_07_03_02_440688_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/07/02/image_19012025_07_02_02_906470_0001.jpg
/home/pi/Desktop/images/19012025/07/02/image_19012025_07_02_02_906470_0002.jpg
/home/pi/Desktop/images/19012025/07/02/image_19012025_07_02_02_906470_0003.jpg
/home/pi/Desktop/images/19012025/07/03/image_19012025_07_03_02_440688_0000.jpg
/home/pi/Desktop/images/19012025/07/03/image_19012025_07_03_02_440688_0001.jpg
/home/pi/Desktop/images/19012025/07/03/image_19012025_07_03_02_440688_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":["1329969554","1329969278","1329969553","1329969532","1329969285","1329969303"],"photo_ids_order":["1329969278","1329969285","1329969303","1329969532","1329969553","1329969554"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/347f698d7bd428e69861a754e1e966c4.jpg","text":"TemporaryFile(/tmp/multipartBody6211469669210189553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737266679619,"filename":"image_19012025_07_03_02_440688_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/1711e91a7f7d8547839c1d1b4c5afe03.jpg","text":"TemporaryFile(/tmp/multipartBody5296368988024627323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737266679619,"filename":"image_19012025_07_02_02_906470_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/93173b9bc1fcb80986b303ba8641cdbe.jpg","text":"TemporaryFile(/tmp/multipartBody6130373599046513705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737266679619,"filename":"image_19012025_07_03_02_440688_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/83d7f5275711102fe07e789932cd7b63.jpg","text":"TemporaryFile(/tmp/multipartBody3626014507403643903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737266679619,"filename":"image_19012025_07_03_02_440688_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/3ce5d1193ef189fce4db50fe53bcde40.jpg","text":"TemporaryFile(/tmp/multipartBody3140285386957540379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737266679619,"filename":"image_19012025_07_02_02_906470_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/9a3d71ac8b61bf27e3afebb25f18acff.jpg","text":"TemporaryFile(/tmp/multipartBody6413142456901012735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737266679619,"filename":"image_19012025_07_02_02_906470_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329969303","file1":"1329969285","file0":"1329969278","file4":"1329969553","file5":"1329969554","file3":"1329969532"},"map_files_photo_id_array":[{"photo_id":"1329969554","filename":"file5"},{"photo_id":"1329969303","filename":"file2"},{"photo_id":"1329969553","filename":"file4"},{"photo_id":"1329969285","filename":"file1"},{"photo_id":"1329969278","filename":"file0"},{"photo_id":"1329969532","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329969554":["hashtag1","hashtag2"]},{"1329969278":["hashtag1","hashtag2"]},{"1329969553":["hashtag1","hashtag2"]},{"1329969532":["hashtag1","hashtag2"]},{"1329969285":["hashtag1","hashtag2"]},{"1329969303":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329969554, 1329969278, 1329969553, 1329969532, 1329969285, 1329969303)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 63.7240149974823 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 07:05:03.265930
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/07/03/image_19012025_07_03_02_440688_0003.jpg', '/home/pi/Desktop/images/19012025/07/04/image_19012025_07_04_02_960079_0000.jpg', '/home/pi/Desktop/images/19012025/07/04/image_19012025_07_04_02_960079_0001.jpg', '/home/pi/Desktop/images/19012025/07/04/image_19012025_07_04_02_960079_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/07/03/image_19012025_07_03_02_440688_0003.jpg
/home/pi/Desktop/images/19012025/07/04/image_19012025_07_04_02_960079_0000.jpg
/home/pi/Desktop/images/19012025/07/04/image_19012025_07_04_02_960079_0001.jpg
/home/pi/Desktop/images/19012025/07/04/image_19012025_07_04_02_960079_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329969704","1329969685","1329969712","1329969702"],"photo_ids_order":["1329969685","1329969702","1329969704","1329969712"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/4216e535b7c057fd08e651b04b1d1ad3.jpg","text":"TemporaryFile(/tmp/multipartBody9171895464387991341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737266774496,"filename":"image_19012025_07_04_02_960079_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/cd0362a3abee5650481a1ecaacb7d79b.jpg","text":"TemporaryFile(/tmp/multipartBody8738432192098241062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737266774496,"filename":"image_19012025_07_03_02_440688_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/d96217d2256c777a067960bd9194f20d.jpg","text":"TemporaryFile(/tmp/multipartBody4913489749298365435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737266774496,"filename":"image_19012025_07_04_02_960079_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/dd3a8f9f8709742585c9c0ca86f9a81e.jpg","text":"TemporaryFile(/tmp/multipartBody7144658007823018605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737266774496,"filename":"image_19012025_07_04_02_960079_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329969704","file1":"1329969702","file0":"1329969685","file3":"1329969712"},"map_files_photo_id_array":[{"photo_id":"1329969704","filename":"file2"},{"photo_id":"1329969702","filename":"file1"},{"photo_id":"1329969685","filename":"file0"},{"photo_id":"1329969712","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329969704":["hashtag1","hashtag2"]},{"1329969685":["hashtag1","hashtag2"]},{"1329969712":["hashtag1","hashtag2"]},{"1329969702":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329969704, 1329969685, 1329969712, 1329969702)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.15581274032593 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 07:06:02.729945
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/07/04/image_19012025_07_04_02_960079_0003.jpg', '/home/pi/Desktop/images/19012025/07/05/image_19012025_07_05_02_469323_0000.jpg', '/home/pi/Desktop/images/19012025/07/05/image_19012025_07_05_02_469323_0001.jpg', '/home/pi/Desktop/images/19012025/07/05/image_19012025_07_05_02_469323_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/07/04/image_19012025_07_04_02_960079_0003.jpg
/home/pi/Desktop/images/19012025/07/05/image_19012025_07_05_02_469323_0000.jpg
/home/pi/Desktop/images/19012025/07/05/image_19012025_07_05_02_469323_0001.jpg
/home/pi/Desktop/images/19012025/07/05/image_19012025_07_05_02_469323_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329970500","1329970565","1329970529","1329970567"],"photo_ids_order":["1329970500","1329970529","1329970565","1329970567"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/74c0f88951a1217c6c64a66d225ac3ef.jpg","text":"TemporaryFile(/tmp/multipartBody2058344995613769949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737266834031,"filename":"image_19012025_07_04_02_960079_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/35cbaedeff4956db7477c08572675456.jpg","text":"TemporaryFile(/tmp/multipartBody3046907098477499618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737266834031,"filename":"image_19012025_07_05_02_469323_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/6808d156b33477d8284c372d20bcc6ba.jpg","text":"TemporaryFile(/tmp/multipartBody284190021269127031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737266834031,"filename":"image_19012025_07_05_02_469323_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/20a0554ebc7cb9585e42959b08233db9.jpg","text":"TemporaryFile(/tmp/multipartBody1796189825555632271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737266834031,"filename":"image_19012025_07_05_02_469323_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329970565","file1":"1329970529","file0":"1329970500","file3":"1329970567"},"map_files_photo_id_array":[{"photo_id":"1329970565","filename":"file2"},{"photo_id":"1329970529","filename":"file1"},{"photo_id":"1329970500","filename":"file0"},{"photo_id":"1329970567","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329970500":["hashtag1","hashtag2"]},{"1329970565":["hashtag1","hashtag2"]},{"1329970529":["hashtag1","hashtag2"]},{"1329970567":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329970500, 1329970565, 1329970529, 1329970567)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.837873697280884 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 07:07:03.320340
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/07/05/image_19012025_07_05_02_469323_0003.jpg', '/home/pi/Desktop/images/19012025/07/06/image_19012025_07_06_03_030940_0000.jpg', '/home/pi/Desktop/images/19012025/07/06/image_19012025_07_06_03_030940_0001.jpg', '/home/pi/Desktop/images/19012025/07/06/image_19012025_07_06_03_030940_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/07/05/image_19012025_07_05_02_469323_0003.jpg
/home/pi/Desktop/images/19012025/07/06/image_19012025_07_06_03_030940_0000.jpg
/home/pi/Desktop/images/19012025/07/06/image_19012025_07_06_03_030940_0001.jpg
/home/pi/Desktop/images/19012025/07/06/image_19012025_07_06_03_030940_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329970830","1329970786","1329970822","1329970813"],"photo_ids_order":["1329970786","1329970813","1329970822","1329970830"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/95fdaa25504c28f30d227d4d96f8d851.jpg","text":"TemporaryFile(/tmp/multipartBody8008589587738993790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737266894663,"filename":"image_19012025_07_06_03_030940_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/df976953866cf1c70bc8a8e66d5f59ad.jpg","text":"TemporaryFile(/tmp/multipartBody3376258779319689375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737266894663,"filename":"image_19012025_07_05_02_469323_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/4e161d12c6d7da87373c89b1948cbcf1.jpg","text":"TemporaryFile(/tmp/multipartBody6078138684946363415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737266894663,"filename":"image_19012025_07_06_03_030940_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/dd181cb89bc641a58f5e2334d14035ab.jpg","text":"TemporaryFile(/tmp/multipartBody8218046476721700928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737266894663,"filename":"image_19012025_07_06_03_030940_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329970822","file1":"1329970813","file0":"1329970786","file3":"1329970830"},"map_files_photo_id_array":[{"photo_id":"1329970822","filename":"file2"},{"photo_id":"1329970813","filename":"file1"},{"photo_id":"1329970786","filename":"file0"},{"photo_id":"1329970830","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329970830":["hashtag1","hashtag2"]},{"1329970786":["hashtag1","hashtag2"]},{"1329970822":["hashtag1","hashtag2"]},{"1329970813":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329970830, 1329970786, 1329970822, 1329970813)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.44032955169678 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 07:08:02.783140
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/07/06/image_19012025_07_06_03_030940_0003.jpg', '/home/pi/Desktop/images/19012025/07/07/image_19012025_07_07_02_600900_0000.jpg', '/home/pi/Desktop/images/19012025/07/07/image_19012025_07_07_02_600900_0001.jpg', '/home/pi/Desktop/images/19012025/07/07/image_19012025_07_07_02_600900_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/07/06/image_19012025_07_06_03_030940_0003.jpg
/home/pi/Desktop/images/19012025/07/07/image_19012025_07_07_02_600900_0000.jpg
/home/pi/Desktop/images/19012025/07/07/image_19012025_07_07_02_600900_0001.jpg
/home/pi/Desktop/images/19012025/07/07/image_19012025_07_07_02_600900_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 11.259213209152222 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 07:08:22.363845
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/07/06/image_19012025_07_06_03_030940_0003.jpg', '/home/pi/Desktop/images/19012025/07/07/image_19012025_07_07_02_600900_0000.jpg', '/home/pi/Desktop/images/19012025/07/07/image_19012025_07_07_02_600900_0001.jpg', '/home/pi/Desktop/images/19012025/07/07/image_19012025_07_07_02_600900_0002.jpg', '/home/pi/Desktop/images/19012025/07/07/image_19012025_07_07_02_600900_0003.jpg', '/home/pi/Desktop/images/19012025/07/08/image_19012025_07_08_03_130756_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/07/06/image_19012025_07_06_03_030940_0003.jpg
/home/pi/Desktop/images/19012025/07/07/image_19012025_07_07_02_600900_0000.jpg
/home/pi/Desktop/images/19012025/07/07/image_19012025_07_07_02_600900_0001.jpg
/home/pi/Desktop/images/19012025/07/07/image_19012025_07_07_02_600900_0002.jpg
/home/pi/Desktop/images/19012025/07/07/image_19012025_07_07_02_600900_0003.jpg
/home/pi/Desktop/images/19012025/07/08/image_19012025_07_08_03_130756_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>887jh4cc6</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>887jh4cc6</strong>.
uploaded 0 photos
time to upload: 39.588788986206055 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 07:09:21.895942
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/07/06/image_19012025_07_06_03_030940_0003.jpg', '/home/pi/Desktop/images/19012025/07/07/image_19012025_07_07_02_600900_0000.jpg', '/home/pi/Desktop/images/19012025/07/07/image_19012025_07_07_02_600900_0001.jpg', '/home/pi/Desktop/images/19012025/07/07/image_19012025_07_07_02_600900_0002.jpg', '/home/pi/Desktop/images/19012025/07/07/image_19012025_07_07_02_600900_0003.jpg', '/home/pi/Desktop/images/19012025/07/08/image_19012025_07_08_03_130756_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/07/06/image_19012025_07_06_03_030940_0003.jpg
/home/pi/Desktop/images/19012025/07/07/image_19012025_07_07_02_600900_0000.jpg
/home/pi/Desktop/images/19012025/07/07/image_19012025_07_07_02_600900_0001.jpg
/home/pi/Desktop/images/19012025/07/07/image_19012025_07_07_02_600900_0002.jpg
/home/pi/Desktop/images/19012025/07/07/image_19012025_07_07_02_600900_0003.jpg
/home/pi/Desktop/images/19012025/07/08/image_19012025_07_08_03_130756_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>887jh86hi</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>887jh86hi</strong>.
uploaded 0 photos
time to upload: 46.448014974594116 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 07:10:22.564247
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/07/06/image_19012025_07_06_03_030940_0003.jpg', '/home/pi/Desktop/images/19012025/07/07/image_19012025_07_07_02_600900_0000.jpg', '/home/pi/Desktop/images/19012025/07/07/image_19012025_07_07_02_600900_0001.jpg', '/home/pi/Desktop/images/19012025/07/07/image_19012025_07_07_02_600900_0002.jpg', '/home/pi/Desktop/images/19012025/07/07/image_19012025_07_07_02_600900_0003.jpg', '/home/pi/Desktop/images/19012025/07/08/image_19012025_07_08_03_130756_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/07/06/image_19012025_07_06_03_030940_0003.jpg
/home/pi/Desktop/images/19012025/07/07/image_19012025_07_07_02_600900_0000.jpg
/home/pi/Desktop/images/19012025/07/07/image_19012025_07_07_02_600900_0001.jpg
/home/pi/Desktop/images/19012025/07/07/image_19012025_07_07_02_600900_0002.jpg
/home/pi/Desktop/images/19012025/07/07/image_19012025_07_07_02_600900_0003.jpg
/home/pi/Desktop/images/19012025/07/08/image_19012025_07_08_03_130756_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>887jhbibg</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>887jhbibg</strong>.
uploaded 0 photos
time to upload: 46.46224927902222 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 07:11:22.009661
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/07/06/image_19012025_07_06_03_030940_0003.jpg', '/home/pi/Desktop/images/19012025/07/07/image_19012025_07_07_02_600900_0000.jpg', '/home/pi/Desktop/images/19012025/07/07/image_19012025_07_07_02_600900_0001.jpg', '/home/pi/Desktop/images/19012025/07/07/image_19012025_07_07_02_600900_0002.jpg', '/home/pi/Desktop/images/19012025/07/07/image_19012025_07_07_02_600900_0003.jpg', '/home/pi/Desktop/images/19012025/07/08/image_19012025_07_08_03_130756_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/07/06/image_19012025_07_06_03_030940_0003.jpg
/home/pi/Desktop/images/19012025/07/07/image_19012025_07_07_02_600900_0000.jpg
/home/pi/Desktop/images/19012025/07/07/image_19012025_07_07_02_600900_0001.jpg
/home/pi/Desktop/images/19012025/07/07/image_19012025_07_07_02_600900_0002.jpg
/home/pi/Desktop/images/19012025/07/07/image_19012025_07_07_02_600900_0003.jpg
/home/pi/Desktop/images/19012025/07/08/image_19012025_07_08_03_130756_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>887jhf293</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>887jhf293</strong>.
uploaded 0 photos
time to upload: 46.44637489318848 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 07:12:22.609691
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/07/06/image_19012025_07_06_03_030940_0003.jpg', '/home/pi/Desktop/images/19012025/07/07/image_19012025_07_07_02_600900_0000.jpg', '/home/pi/Desktop/images/19012025/07/07/image_19012025_07_07_02_600900_0001.jpg', '/home/pi/Desktop/images/19012025/07/07/image_19012025_07_07_02_600900_0002.jpg', '/home/pi/Desktop/images/19012025/07/07/image_19012025_07_07_02_600900_0003.jpg', '/home/pi/Desktop/images/19012025/07/08/image_19012025_07_08_03_130756_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/07/06/image_19012025_07_06_03_030940_0003.jpg
/home/pi/Desktop/images/19012025/07/07/image_19012025_07_07_02_600900_0000.jpg
/home/pi/Desktop/images/19012025/07/07/image_19012025_07_07_02_600900_0001.jpg
/home/pi/Desktop/images/19012025/07/07/image_19012025_07_07_02_600900_0002.jpg
/home/pi/Desktop/images/19012025/07/07/image_19012025_07_07_02_600900_0003.jpg
/home/pi/Desktop/images/19012025/07/08/image_19012025_07_08_03_130756_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>887jhie0i</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>887jhie0i</strong>.
uploaded 0 photos
time to upload: 46.46023869514465 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 07:13:22.120051
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/07/06/image_19012025_07_06_03_030940_0003.jpg', '/home/pi/Desktop/images/19012025/07/07/image_19012025_07_07_02_600900_0000.jpg', '/home/pi/Desktop/images/19012025/07/07/image_19012025_07_07_02_600900_0001.jpg', '/home/pi/Desktop/images/19012025/07/07/image_19012025_07_07_02_600900_0002.jpg', '/home/pi/Desktop/images/19012025/07/07/image_19012025_07_07_02_600900_0003.jpg', '/home/pi/Desktop/images/19012025/07/08/image_19012025_07_08_03_130756_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/07/06/image_19012025_07_06_03_030940_0003.jpg
/home/pi/Desktop/images/19012025/07/07/image_19012025_07_07_02_600900_0000.jpg
/home/pi/Desktop/images/19012025/07/07/image_19012025_07_07_02_600900_0001.jpg
/home/pi/Desktop/images/19012025/07/07/image_19012025_07_07_02_600900_0002.jpg
/home/pi/Desktop/images/19012025/07/07/image_19012025_07_07_02_600900_0003.jpg
/home/pi/Desktop/images/19012025/07/08/image_19012025_07_08_03_130756_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>887jhlo0n</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>887jhlo0n</strong>.
uploaded 0 photos
time to upload: 46.44436311721802 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 07:14:22.628258
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/07/06/image_19012025_07_06_03_030940_0003.jpg', '/home/pi/Desktop/images/19012025/07/07/image_19012025_07_07_02_600900_0000.jpg', '/home/pi/Desktop/images/19012025/07/07/image_19012025_07_07_02_600900_0001.jpg', '/home/pi/Desktop/images/19012025/07/07/image_19012025_07_07_02_600900_0002.jpg', '/home/pi/Desktop/images/19012025/07/07/image_19012025_07_07_02_600900_0003.jpg', '/home/pi/Desktop/images/19012025/07/08/image_19012025_07_08_03_130756_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/07/06/image_19012025_07_06_03_030940_0003.jpg
/home/pi/Desktop/images/19012025/07/07/image_19012025_07_07_02_600900_0000.jpg
/home/pi/Desktop/images/19012025/07/07/image_19012025_07_07_02_600900_0001.jpg
/home/pi/Desktop/images/19012025/07/07/image_19012025_07_07_02_600900_0002.jpg
/home/pi/Desktop/images/19012025/07/07/image_19012025_07_07_02_600900_0003.jpg
/home/pi/Desktop/images/19012025/07/08/image_19012025_07_08_03_130756_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":["1329970908","1329970902","1329970906","1329970896","1329970909","1329970899"],"photo_ids_order":["1329970896","1329970899","1329970902","1329970906","1329970908","1329970909"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/181e70dd859b29fe30a1bf569f5452fa.jpg","text":"TemporaryFile(/tmp/multipartBody3382268953891786234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737267339501,"filename":"image_19012025_07_07_02_600900_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/58a9da73a1c4c2dfbee6282397d91e03.jpg","text":"TemporaryFile(/tmp/multipartBody2107398385783785919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737267339501,"filename":"image_19012025_07_07_02_600900_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/ba0e92306f5e0f781655c16edc694d2e.jpg","text":"TemporaryFile(/tmp/multipartBody1670605155468634703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737267339501,"filename":"image_19012025_07_07_02_600900_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/8b1acdc0cb911f5f1b114f0420b31bf5.jpg","text":"TemporaryFile(/tmp/multipartBody4607360630374904908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737267339501,"filename":"image_19012025_07_06_03_030940_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/cb4e2694887f972d3cdf21c5f77fabf3.jpg","text":"TemporaryFile(/tmp/multipartBody5290755634379174454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737267339501,"filename":"image_19012025_07_08_03_130756_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/cb90b3019b6f85dbeb9e7e58b75bf465.jpg","text":"TemporaryFile(/tmp/multipartBody6891699811115977519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737267339501,"filename":"image_19012025_07_07_02_600900_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329970902","file1":"1329970899","file0":"1329970896","file4":"1329970908","file5":"1329970909","file3":"1329970906"},"map_files_photo_id_array":[{"photo_id":"1329970909","filename":"file5"},{"photo_id":"1329970902","filename":"file2"},{"photo_id":"1329970908","filename":"file4"},{"photo_id":"1329970899","filename":"file1"},{"photo_id":"1329970896","filename":"file0"},{"photo_id":"1329970906","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329970908":["hashtag1","hashtag2"]},{"1329970902":["hashtag1","hashtag2"]},{"1329970906":["hashtag1","hashtag2"]},{"1329970896":["hashtag1","hashtag2"]},{"1329970909":["hashtag1","hashtag2"]},{"1329970899":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329970908, 1329970902, 1329970906, 1329970896, 1329970909, 1329970899)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 71.3424551486969 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 07:16:03.161907
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/07/08/image_19012025_07_08_03_130756_0001.jpg', '/home/pi/Desktop/images/19012025/07/08/image_19012025_07_08_03_130756_0002.jpg', '/home/pi/Desktop/images/19012025/07/08/image_19012025_07_08_03_130756_0003.jpg', '/home/pi/Desktop/images/19012025/07/09/image_19012025_07_09_02_816627_0000.jpg', '/home/pi/Desktop/images/19012025/07/09/image_19012025_07_09_02_816627_0001.jpg', '/home/pi/Desktop/images/19012025/07/09/image_19012025_07_09_02_816627_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/07/08/image_19012025_07_08_03_130756_0001.jpg
/home/pi/Desktop/images/19012025/07/08/image_19012025_07_08_03_130756_0002.jpg
/home/pi/Desktop/images/19012025/07/08/image_19012025_07_08_03_130756_0003.jpg
/home/pi/Desktop/images/19012025/07/09/image_19012025_07_09_02_816627_0000.jpg
/home/pi/Desktop/images/19012025/07/09/image_19012025_07_09_02_816627_0001.jpg
/home/pi/Desktop/images/19012025/07/09/image_19012025_07_09_02_816627_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 16.347854137420654 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 07:16:22.718849
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/07/08/image_19012025_07_08_03_130756_0001.jpg', '/home/pi/Desktop/images/19012025/07/08/image_19012025_07_08_03_130756_0002.jpg', '/home/pi/Desktop/images/19012025/07/08/image_19012025_07_08_03_130756_0003.jpg', '/home/pi/Desktop/images/19012025/07/09/image_19012025_07_09_02_816627_0000.jpg', '/home/pi/Desktop/images/19012025/07/09/image_19012025_07_09_02_816627_0001.jpg', '/home/pi/Desktop/images/19012025/07/09/image_19012025_07_09_02_816627_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/07/08/image_19012025_07_08_03_130756_0001.jpg
/home/pi/Desktop/images/19012025/07/08/image_19012025_07_08_03_130756_0002.jpg
/home/pi/Desktop/images/19012025/07/08/image_19012025_07_08_03_130756_0003.jpg
/home/pi/Desktop/images/19012025/07/09/image_19012025_07_09_02_816627_0000.jpg
/home/pi/Desktop/images/19012025/07/09/image_19012025_07_09_02_816627_0001.jpg
/home/pi/Desktop/images/19012025/07/09/image_19012025_07_09_02_816627_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":["1329970935","1329970942","1329970950","1329970938","1329970947","1329970932"],"photo_ids_order":["1329970932","1329970935","1329970938","1329970942","1329970947","1329970950"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/ae6853d2999aec5c8ac301cccae7adaa.jpg","text":"TemporaryFile(/tmp/multipartBody6151277485888502086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737267459429,"filename":"image_19012025_07_08_03_130756_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/b4e096d04d0f9b2950bfda04f8719f70.jpg","text":"TemporaryFile(/tmp/multipartBody2938359335366129092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737267459429,"filename":"image_19012025_07_09_02_816627_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/a9b32c83b917f337f41ca30c558887d8.jpg","text":"TemporaryFile(/tmp/multipartBody5170241657837865338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737267459429,"filename":"image_19012025_07_09_02_816627_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/fe56c981de2991184357f70ab6891928.jpg","text":"TemporaryFile(/tmp/multipartBody7542709270224187542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737267459429,"filename":"image_19012025_07_08_03_130756_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/1d0e5d8a961e361bd0b9ff10fdc6220e.jpg","text":"TemporaryFile(/tmp/multipartBody6589600107219370347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737267459429,"filename":"image_19012025_07_09_02_816627_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/1e476318502e02b9f5497c3afdca30a8.jpg","text":"TemporaryFile(/tmp/multipartBody7025726683934759807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737267459429,"filename":"image_19012025_07_08_03_130756_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329970938","file1":"1329970935","file0":"1329970932","file4":"1329970947","file5":"1329970950","file3":"1329970942"},"map_files_photo_id_array":[{"photo_id":"1329970950","filename":"file5"},{"photo_id":"1329970938","filename":"file2"},{"photo_id":"1329970947","filename":"file4"},{"photo_id":"1329970935","filename":"file1"},{"photo_id":"1329970932","filename":"file0"},{"photo_id":"1329970942","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329970935":["hashtag1","hashtag2"]},{"1329970942":["hashtag1","hashtag2"]},{"1329970950":["hashtag1","hashtag2"]},{"1329970938":["hashtag1","hashtag2"]},{"1329970947":["hashtag1","hashtag2"]},{"1329970932":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329970935, 1329970942, 1329970950, 1329970938, 1329970947, 1329970932)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 62.49109172821045 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 07:18:03.104175
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/07/09/image_19012025_07_09_02_816627_0003.jpg', '/home/pi/Desktop/images/19012025/07/10/image_19012025_07_10_02_414389_0000.jpg', '/home/pi/Desktop/images/19012025/07/10/image_19012025_07_10_02_414389_0001.jpg', '/home/pi/Desktop/images/19012025/07/10/image_19012025_07_10_02_414389_0002.jpg', '/home/pi/Desktop/images/19012025/07/10/image_19012025_07_10_02_414389_0003.jpg', '/home/pi/Desktop/images/19012025/07/11/image_19012025_07_11_02_904754_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/07/09/image_19012025_07_09_02_816627_0003.jpg
/home/pi/Desktop/images/19012025/07/10/image_19012025_07_10_02_414389_0000.jpg
/home/pi/Desktop/images/19012025/07/10/image_19012025_07_10_02_414389_0001.jpg
/home/pi/Desktop/images/19012025/07/10/image_19012025_07_10_02_414389_0002.jpg
/home/pi/Desktop/images/19012025/07/10/image_19012025_07_10_02_414389_0003.jpg
/home/pi/Desktop/images/19012025/07/11/image_19012025_07_11_02_904754_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329970970","1329970984","1329970978","1329970972","1329970981","1329970975"],"photo_ids_order":["1329970970","1329970972","1329970975","1329970978","1329970981","1329970984"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/530e68be98212850928e35f64a0f5406.jpg","text":"TemporaryFile(/tmp/multipartBody4732778130554529694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737267559819,"filename":"image_19012025_07_09_02_816627_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/9b0a655e5a3bfd4bc324e28a02d0942a.jpg","text":"TemporaryFile(/tmp/multipartBody3064413439228421584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737267559819,"filename":"image_19012025_07_11_02_904754_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/5d4d14b7637c86e644f3fd780cc53cbc.jpg","text":"TemporaryFile(/tmp/multipartBody6428372511789459845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737267559819,"filename":"image_19012025_07_10_02_414389_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/5d8e57e98e6c519ce3926d5266d77e60.jpg","text":"TemporaryFile(/tmp/multipartBody4861471982389289188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737267559819,"filename":"image_19012025_07_10_02_414389_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/457295a5781c805f1ff1106c602f0e7b.jpg","text":"TemporaryFile(/tmp/multipartBody4399030982900883939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737267559819,"filename":"image_19012025_07_10_02_414389_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/b2140967ca550d4ebb0a2cbeb67fedb8.jpg","text":"TemporaryFile(/tmp/multipartBody6823335688973386438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737267559819,"filename":"image_19012025_07_10_02_414389_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329970975","file1":"1329970972","file0":"1329970970","file4":"1329970981","file5":"1329970984","file3":"1329970978"},"map_files_photo_id_array":[{"photo_id":"1329970984","filename":"file5"},{"photo_id":"1329970975","filename":"file2"},{"photo_id":"1329970981","filename":"file4"},{"photo_id":"1329970972","filename":"file1"},{"photo_id":"1329970970","filename":"file0"},{"photo_id":"1329970978","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329970970":["hashtag1","hashtag2"]},{"1329970984":["hashtag1","hashtag2"]},{"1329970978":["hashtag1","hashtag2"]},{"1329970972":["hashtag1","hashtag2"]},{"1329970981":["hashtag1","hashtag2"]},{"1329970975":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329970970, 1329970984, 1329970978, 1329970972, 1329970981, 1329970975)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.58525729179382 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 07:19:02.667496
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/07/11/image_19012025_07_11_02_904754_0001.jpg', '/home/pi/Desktop/images/19012025/07/11/image_19012025_07_11_02_904754_0002.jpg', '/home/pi/Desktop/images/19012025/07/11/image_19012025_07_11_02_904754_0003.jpg', '/home/pi/Desktop/images/19012025/07/12/image_19012025_07_12_02_434966_0000.jpg', '/home/pi/Desktop/images/19012025/07/12/image_19012025_07_12_02_434966_0001.jpg', '/home/pi/Desktop/images/19012025/07/12/image_19012025_07_12_02_434966_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/07/11/image_19012025_07_11_02_904754_0001.jpg
/home/pi/Desktop/images/19012025/07/11/image_19012025_07_11_02_904754_0002.jpg
/home/pi/Desktop/images/19012025/07/11/image_19012025_07_11_02_904754_0003.jpg
/home/pi/Desktop/images/19012025/07/12/image_19012025_07_12_02_434966_0000.jpg
/home/pi/Desktop/images/19012025/07/12/image_19012025_07_12_02_434966_0001.jpg
/home/pi/Desktop/images/19012025/07/12/image_19012025_07_12_02_434966_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 16.238391876220703 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 07:19:22.161244
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/07/11/image_19012025_07_11_02_904754_0001.jpg', '/home/pi/Desktop/images/19012025/07/11/image_19012025_07_11_02_904754_0002.jpg', '/home/pi/Desktop/images/19012025/07/11/image_19012025_07_11_02_904754_0003.jpg', '/home/pi/Desktop/images/19012025/07/12/image_19012025_07_12_02_434966_0000.jpg', '/home/pi/Desktop/images/19012025/07/12/image_19012025_07_12_02_434966_0001.jpg', '/home/pi/Desktop/images/19012025/07/12/image_19012025_07_12_02_434966_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/07/11/image_19012025_07_11_02_904754_0001.jpg
/home/pi/Desktop/images/19012025/07/11/image_19012025_07_11_02_904754_0002.jpg
/home/pi/Desktop/images/19012025/07/11/image_19012025_07_11_02_904754_0003.jpg
/home/pi/Desktop/images/19012025/07/12/image_19012025_07_12_02_434966_0000.jpg
/home/pi/Desktop/images/19012025/07/12/image_19012025_07_12_02_434966_0001.jpg
/home/pi/Desktop/images/19012025/07/12/image_19012025_07_12_02_434966_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329971042","1329971027","1329971043","1329971037","1329971031","1329971034"],"photo_ids_order":["1329971027","1329971031","1329971034","1329971037","1329971042","1329971043"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/fa2d6d4f0bfddc32a90aebbcb9c15d7d.jpg","text":"TemporaryFile(/tmp/multipartBody1402551304679299295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737267638715,"filename":"image_19012025_07_12_02_434966_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/ec68f48943c027e7b4d9a15c427330b8.jpg","text":"TemporaryFile(/tmp/multipartBody4007962039743583491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737267638715,"filename":"image_19012025_07_11_02_904754_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/44b17f192db8dc9297e0b947cc80ce0b.jpg","text":"TemporaryFile(/tmp/multipartBody3848613193515256121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737267638715,"filename":"image_19012025_07_12_02_434966_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/d025a05a377ca81c8f3921c5cdab2670.jpg","text":"TemporaryFile(/tmp/multipartBody3069605668697679294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737267638715,"filename":"image_19012025_07_12_02_434966_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/5d4327723d68aec37980bf8406657884.jpg","text":"TemporaryFile(/tmp/multipartBody227003184916253691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737267638715,"filename":"image_19012025_07_11_02_904754_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/de224f6acbc892b29dfc75b610f538e9.jpg","text":"TemporaryFile(/tmp/multipartBody573577982033215440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737267638715,"filename":"image_19012025_07_11_02_904754_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329971034","file1":"1329971031","file0":"1329971027","file4":"1329971042","file5":"1329971043","file3":"1329971037"},"map_files_photo_id_array":[{"photo_id":"1329971043","filename":"file5"},{"photo_id":"1329971034","filename":"file2"},{"photo_id":"1329971042","filename":"file4"},{"photo_id":"1329971031","filename":"file1"},{"photo_id":"1329971027","filename":"file0"},{"photo_id":"1329971037","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329971042":["hashtag1","hashtag2"]},{"1329971027":["hashtag1","hashtag2"]},{"1329971043":["hashtag1","hashtag2"]},{"1329971037":["hashtag1","hashtag2"]},{"1329971031":["hashtag1","hashtag2"]},{"1329971034":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329971042, 1329971027, 1329971043, 1329971037, 1329971031, 1329971034)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.6473913192749 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 07:20:21.930214
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/07/12/image_19012025_07_12_02_434966_0003.jpg', '/home/pi/Desktop/images/19012025/07/13/image_19012025_07_13_02_952316_0000.jpg', '/home/pi/Desktop/images/19012025/07/13/image_19012025_07_13_02_952316_0001.jpg', '/home/pi/Desktop/images/19012025/07/13/image_19012025_07_13_02_952316_0002.jpg', '/home/pi/Desktop/images/19012025/07/13/image_19012025_07_13_02_952316_0003.jpg', '/home/pi/Desktop/images/19012025/07/14/image_19012025_07_14_02_506124_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/07/12/image_19012025_07_12_02_434966_0003.jpg
/home/pi/Desktop/images/19012025/07/13/image_19012025_07_13_02_952316_0000.jpg
/home/pi/Desktop/images/19012025/07/13/image_19012025_07_13_02_952316_0001.jpg
/home/pi/Desktop/images/19012025/07/13/image_19012025_07_13_02_952316_0002.jpg
/home/pi/Desktop/images/19012025/07/13/image_19012025_07_13_02_952316_0003.jpg
/home/pi/Desktop/images/19012025/07/14/image_19012025_07_14_02_506124_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329971066","1329971054","1329971051","1329971047","1329971062","1329971058"],"photo_ids_order":["1329971047","1329971051","1329971054","1329971058","1329971062","1329971066"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/dce74461b51d6e1ae8135159bb85a80e.jpg","text":"TemporaryFile(/tmp/multipartBody6683682912424584444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737267698928,"filename":"image_19012025_07_14_02_506124_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/0de9a9b3c7bae8360382eb4e21ae0880.jpg","text":"TemporaryFile(/tmp/multipartBody7002155702074464877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737267698928,"filename":"image_19012025_07_13_02_952316_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/32f9716b5e6525282877194d1905efe5.jpg","text":"TemporaryFile(/tmp/multipartBody3093949077431007431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737267698928,"filename":"image_19012025_07_13_02_952316_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/66de3640e1f33d0e485eccd1f595a461.jpg","text":"TemporaryFile(/tmp/multipartBody1577668334516040001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737267698928,"filename":"image_19012025_07_12_02_434966_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/6d6f30bbccbba6a7e5cd708e2a288131.jpg","text":"TemporaryFile(/tmp/multipartBody3006438501573981840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737267698928,"filename":"image_19012025_07_13_02_952316_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/1cc90eec8bce2bab3c84271220e09bf1.jpg","text":"TemporaryFile(/tmp/multipartBody189943521256792900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737267698928,"filename":"image_19012025_07_13_02_952316_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329971054","file1":"1329971051","file0":"1329971047","file4":"1329971062","file5":"1329971066","file3":"1329971058"},"map_files_photo_id_array":[{"photo_id":"1329971066","filename":"file5"},{"photo_id":"1329971054","filename":"file2"},{"photo_id":"1329971062","filename":"file4"},{"photo_id":"1329971051","filename":"file1"},{"photo_id":"1329971047","filename":"file0"},{"photo_id":"1329971058","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329971066":["hashtag1","hashtag2"]},{"1329971054":["hashtag1","hashtag2"]},{"1329971051":["hashtag1","hashtag2"]},{"1329971047":["hashtag1","hashtag2"]},{"1329971062":["hashtag1","hashtag2"]},{"1329971058":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329971066, 1329971054, 1329971051, 1329971047, 1329971062, 1329971058)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.99321985244751 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 07:21:22.410761
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/07/14/image_19012025_07_14_02_506124_0001.jpg', '/home/pi/Desktop/images/19012025/07/14/image_19012025_07_14_02_506124_0002.jpg', '/home/pi/Desktop/images/19012025/07/14/image_19012025_07_14_02_506124_0003.jpg', '/home/pi/Desktop/images/19012025/07/15/image_19012025_07_15_03_065554_0000.jpg', '/home/pi/Desktop/images/19012025/07/15/image_19012025_07_15_03_065554_0001.jpg', '/home/pi/Desktop/images/19012025/07/15/image_19012025_07_15_03_065554_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/07/14/image_19012025_07_14_02_506124_0001.jpg
/home/pi/Desktop/images/19012025/07/14/image_19012025_07_14_02_506124_0002.jpg
/home/pi/Desktop/images/19012025/07/14/image_19012025_07_14_02_506124_0003.jpg
/home/pi/Desktop/images/19012025/07/15/image_19012025_07_15_03_065554_0000.jpg
/home/pi/Desktop/images/19012025/07/15/image_19012025_07_15_03_065554_0001.jpg
/home/pi/Desktop/images/19012025/07/15/image_19012025_07_15_03_065554_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329971087","1329971081","1329971075","1329971078","1329971083","1329971085"],"photo_ids_order":["1329971075","1329971078","1329971081","1329971083","1329971085","1329971087"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/f7a02667922100955ca9e4e40e9e0f0c.jpg","text":"TemporaryFile(/tmp/multipartBody6826947110144855891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737267759198,"filename":"image_19012025_07_15_03_065554_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/5cfa34d981eae2857b385fa44f03d9d5.jpg","text":"TemporaryFile(/tmp/multipartBody1541378756905542626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737267759198,"filename":"image_19012025_07_14_02_506124_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/9a8a48a3ceeb5b1ca4f3d5bb6e82a54e.jpg","text":"TemporaryFile(/tmp/multipartBody7249214012958640620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737267759198,"filename":"image_19012025_07_14_02_506124_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/d4541370ad2cf54c24de98856e9cae00.jpg","text":"TemporaryFile(/tmp/multipartBody6802081144073592708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737267759198,"filename":"image_19012025_07_14_02_506124_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/01ef9bce6e3255ca807284ade4463045.jpg","text":"TemporaryFile(/tmp/multipartBody2170115708315536981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737267759198,"filename":"image_19012025_07_15_03_065554_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/abff5f9b82fa48b5074a919c2f40f6fb.jpg","text":"TemporaryFile(/tmp/multipartBody2078852164115118273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737267759198,"filename":"image_19012025_07_15_03_065554_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329971081","file1":"1329971078","file0":"1329971075","file4":"1329971085","file5":"1329971087","file3":"1329971083"},"map_files_photo_id_array":[{"photo_id":"1329971087","filename":"file5"},{"photo_id":"1329971081","filename":"file2"},{"photo_id":"1329971085","filename":"file4"},{"photo_id":"1329971078","filename":"file1"},{"photo_id":"1329971075","filename":"file0"},{"photo_id":"1329971083","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329971087":["hashtag1","hashtag2"]},{"1329971081":["hashtag1","hashtag2"]},{"1329971075":["hashtag1","hashtag2"]},{"1329971078":["hashtag1","hashtag2"]},{"1329971083":["hashtag1","hashtag2"]},{"1329971085":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329971087, 1329971081, 1329971075, 1329971078, 1329971083, 1329971085)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.882354974746704 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 07:22:21.928518
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/07/15/image_19012025_07_15_03_065554_0003.jpg', '/home/pi/Desktop/images/19012025/07/16/image_19012025_07_16_02_563152_0000.jpg', '/home/pi/Desktop/images/19012025/07/16/image_19012025_07_16_02_563152_0001.jpg', '/home/pi/Desktop/images/19012025/07/16/image_19012025_07_16_02_563152_0002.jpg', '/home/pi/Desktop/images/19012025/07/16/image_19012025_07_16_02_563152_0003.jpg', '/home/pi/Desktop/images/19012025/07/17/image_19012025_07_17_03_058908_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/07/15/image_19012025_07_15_03_065554_0003.jpg
/home/pi/Desktop/images/19012025/07/16/image_19012025_07_16_02_563152_0000.jpg
/home/pi/Desktop/images/19012025/07/16/image_19012025_07_16_02_563152_0001.jpg
/home/pi/Desktop/images/19012025/07/16/image_19012025_07_16_02_563152_0002.jpg
/home/pi/Desktop/images/19012025/07/16/image_19012025_07_16_02_563152_0003.jpg
/home/pi/Desktop/images/19012025/07/17/image_19012025_07_17_03_058908_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329971114","1329971143","1329971146","1329971140","1329971137","1329971148"],"photo_ids_order":["1329971114","1329971137","1329971140","1329971143","1329971146","1329971148"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/38050fa0a6c35bd6b99a6bcaf7647bdc.jpg","text":"TemporaryFile(/tmp/multipartBody3317844781900271688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737267818474,"filename":"image_19012025_07_15_03_065554_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/1b69d480496cbe1548af77fb5bed6571.jpg","text":"TemporaryFile(/tmp/multipartBody7369386374795758760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737267818474,"filename":"image_19012025_07_16_02_563152_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/fdccd4769c0c6202af97b0774ee755fc.jpg","text":"TemporaryFile(/tmp/multipartBody35437850509372703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737267818474,"filename":"image_19012025_07_16_02_563152_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/3ca10c885800443810455d6bfaf090f1.jpg","text":"TemporaryFile(/tmp/multipartBody6257584633935809242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737267818474,"filename":"image_19012025_07_16_02_563152_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/09b548aa88ca87622334af427c4ce377.jpg","text":"TemporaryFile(/tmp/multipartBody4068675552538004419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737267818474,"filename":"image_19012025_07_16_02_563152_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/43ef205cd54e9743c84993dff1f071d4.jpg","text":"TemporaryFile(/tmp/multipartBody7319356826832989008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737267818474,"filename":"image_19012025_07_17_03_058908_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329971140","file1":"1329971137","file0":"1329971114","file4":"1329971146","file5":"1329971148","file3":"1329971143"},"map_files_photo_id_array":[{"photo_id":"1329971148","filename":"file5"},{"photo_id":"1329971140","filename":"file2"},{"photo_id":"1329971146","filename":"file4"},{"photo_id":"1329971137","filename":"file1"},{"photo_id":"1329971114","filename":"file0"},{"photo_id":"1329971143","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329971114":["hashtag1","hashtag2"]},{"1329971143":["hashtag1","hashtag2"]},{"1329971146":["hashtag1","hashtag2"]},{"1329971140":["hashtag1","hashtag2"]},{"1329971137":["hashtag1","hashtag2"]},{"1329971148":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329971114, 1329971143, 1329971146, 1329971140, 1329971137, 1329971148)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.581068992614746 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 07:23:22.460681
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/07/17/image_19012025_07_17_03_058908_0001.jpg', '/home/pi/Desktop/images/19012025/07/17/image_19012025_07_17_03_058908_0002.jpg', '/home/pi/Desktop/images/19012025/07/17/image_19012025_07_17_03_058908_0003.jpg', '/home/pi/Desktop/images/19012025/07/18/image_19012025_07_18_02_531057_0000.jpg', '/home/pi/Desktop/images/19012025/07/18/image_19012025_07_18_02_531057_0001.jpg', '/home/pi/Desktop/images/19012025/07/18/image_19012025_07_18_02_531057_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/07/17/image_19012025_07_17_03_058908_0001.jpg
/home/pi/Desktop/images/19012025/07/17/image_19012025_07_17_03_058908_0002.jpg
/home/pi/Desktop/images/19012025/07/17/image_19012025_07_17_03_058908_0003.jpg
/home/pi/Desktop/images/19012025/07/18/image_19012025_07_18_02_531057_0000.jpg
/home/pi/Desktop/images/19012025/07/18/image_19012025_07_18_02_531057_0001.jpg
/home/pi/Desktop/images/19012025/07/18/image_19012025_07_18_02_531057_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329971162","1329971164","1329971158","1329971155","1329971160","1329971166"],"photo_ids_order":["1329971155","1329971158","1329971160","1329971162","1329971164","1329971166"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/e569473c46f217fa260e486066af423f.jpg","text":"TemporaryFile(/tmp/multipartBody4320633629876919499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737267878989,"filename":"image_19012025_07_18_02_531057_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/62adf47df18cf9222d6f6c1c9dc65e53.jpg","text":"TemporaryFile(/tmp/multipartBody1639568842581543257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737267878989,"filename":"image_19012025_07_18_02_531057_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/e83e92206a52a70414dd7d68de23f962.jpg","text":"TemporaryFile(/tmp/multipartBody1654784459306227054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737267878989,"filename":"image_19012025_07_17_03_058908_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/a6003edcc5c45fe1ee76b77c1a0e05b8.jpg","text":"TemporaryFile(/tmp/multipartBody7285506784512962267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737267878989,"filename":"image_19012025_07_17_03_058908_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/cad72e3ed1789dae2c79e2f91bf08c2a.jpg","text":"TemporaryFile(/tmp/multipartBody6039894898990585808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737267878989,"filename":"image_19012025_07_17_03_058908_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/3c75d3d2068d4bf1d0474572a420aac2.jpg","text":"TemporaryFile(/tmp/multipartBody2138189976325857875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737267878989,"filename":"image_19012025_07_18_02_531057_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329971160","file1":"1329971158","file0":"1329971155","file4":"1329971164","file5":"1329971166","file3":"1329971162"},"map_files_photo_id_array":[{"photo_id":"1329971166","filename":"file5"},{"photo_id":"1329971160","filename":"file2"},{"photo_id":"1329971164","filename":"file4"},{"photo_id":"1329971158","filename":"file1"},{"photo_id":"1329971155","filename":"file0"},{"photo_id":"1329971162","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329971162":["hashtag1","hashtag2"]},{"1329971164":["hashtag1","hashtag2"]},{"1329971158":["hashtag1","hashtag2"]},{"1329971155":["hashtag1","hashtag2"]},{"1329971160":["hashtag1","hashtag2"]},{"1329971166":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329971162, 1329971164, 1329971158, 1329971155, 1329971160, 1329971166)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.9341197013855 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 07:24:22.029822
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/07/18/image_19012025_07_18_02_531057_0003.jpg', '/home/pi/Desktop/images/19012025/07/19/image_19012025_07_19_03_050730_0000.jpg', '/home/pi/Desktop/images/19012025/07/19/image_19012025_07_19_03_050730_0001.jpg', '/home/pi/Desktop/images/19012025/07/19/image_19012025_07_19_03_050730_0002.jpg', '/home/pi/Desktop/images/19012025/07/19/image_19012025_07_19_03_050730_0003.jpg', '/home/pi/Desktop/images/19012025/07/20/image_19012025_07_20_02_632399_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/07/18/image_19012025_07_18_02_531057_0003.jpg
/home/pi/Desktop/images/19012025/07/19/image_19012025_07_19_03_050730_0000.jpg
/home/pi/Desktop/images/19012025/07/19/image_19012025_07_19_03_050730_0001.jpg
/home/pi/Desktop/images/19012025/07/19/image_19012025_07_19_03_050730_0002.jpg
/home/pi/Desktop/images/19012025/07/19/image_19012025_07_19_03_050730_0003.jpg
/home/pi/Desktop/images/19012025/07/20/image_19012025_07_20_02_632399_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: 16.040220975875854 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 07:25:03.112336
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/07/18/image_19012025_07_18_02_531057_0003.jpg', '/home/pi/Desktop/images/19012025/07/19/image_19012025_07_19_03_050730_0000.jpg', '/home/pi/Desktop/images/19012025/07/19/image_19012025_07_19_03_050730_0001.jpg', '/home/pi/Desktop/images/19012025/07/19/image_19012025_07_19_03_050730_0002.jpg', '/home/pi/Desktop/images/19012025/07/19/image_19012025_07_19_03_050730_0003.jpg', '/home/pi/Desktop/images/19012025/07/20/image_19012025_07_20_02_632399_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/07/18/image_19012025_07_18_02_531057_0003.jpg
/home/pi/Desktop/images/19012025/07/19/image_19012025_07_19_03_050730_0000.jpg
/home/pi/Desktop/images/19012025/07/19/image_19012025_07_19_03_050730_0001.jpg
/home/pi/Desktop/images/19012025/07/19/image_19012025_07_19_03_050730_0002.jpg
/home/pi/Desktop/images/19012025/07/19/image_19012025_07_19_03_050730_0003.jpg
/home/pi/Desktop/images/19012025/07/20/image_19012025_07_20_02_632399_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329971216","1329971197","1329971212","1329971209","1329971218","1329971183"],"photo_ids_order":["1329971183","1329971197","1329971209","1329971212","1329971216","1329971218"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/ada558e929718e0632855d79e49f327e.jpg","text":"TemporaryFile(/tmp/multipartBody6696989715412893825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737267979629,"filename":"image_19012025_07_19_03_050730_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/cbc0b962b9430d5f79cf37b877853ce6.jpg","text":"TemporaryFile(/tmp/multipartBody4116625317831750464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737267979629,"filename":"image_19012025_07_19_03_050730_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/35d43d1683dd7098bcd67efab460f4ee.jpg","text":"TemporaryFile(/tmp/multipartBody6563268963831729858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737267979629,"filename":"image_19012025_07_19_03_050730_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/4524c419b24adf26eb217f3d07579c09.jpg","text":"TemporaryFile(/tmp/multipartBody4829220597940768858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737267979629,"filename":"image_19012025_07_19_03_050730_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/f07a3e8cab0b55a6e4efe8a83f3457af.jpg","text":"TemporaryFile(/tmp/multipartBody3357511801519551730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737267979629,"filename":"image_19012025_07_20_02_632399_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/86caafad6289bc51df22db6038c938f0.jpg","text":"TemporaryFile(/tmp/multipartBody4851309059095792445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737267979629,"filename":"image_19012025_07_18_02_531057_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329971209","file1":"1329971197","file0":"1329971183","file4":"1329971216","file5":"1329971218","file3":"1329971212"},"map_files_photo_id_array":[{"photo_id":"1329971218","filename":"file5"},{"photo_id":"1329971209","filename":"file2"},{"photo_id":"1329971216","filename":"file4"},{"photo_id":"1329971197","filename":"file1"},{"photo_id":"1329971183","filename":"file0"},{"photo_id":"1329971212","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329971216":["hashtag1","hashtag2"]},{"1329971197":["hashtag1","hashtag2"]},{"1329971212":["hashtag1","hashtag2"]},{"1329971209":["hashtag1","hashtag2"]},{"1329971218":["hashtag1","hashtag2"]},{"1329971183":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329971216, 1329971197, 1329971212, 1329971209, 1329971218, 1329971183)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.426257610321045 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 07:26:02.646209
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/07/20/image_19012025_07_20_02_632399_0001.jpg', '/home/pi/Desktop/images/19012025/07/20/image_19012025_07_20_02_632399_0002.jpg', '/home/pi/Desktop/images/19012025/07/20/image_19012025_07_20_02_632399_0003.jpg', '/home/pi/Desktop/images/19012025/07/21/image_19012025_07_21_02_277413_0000.jpg', '/home/pi/Desktop/images/19012025/07/21/image_19012025_07_21_02_277413_0001.jpg', '/home/pi/Desktop/images/19012025/07/21/image_19012025_07_21_02_277413_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/07/20/image_19012025_07_20_02_632399_0001.jpg
/home/pi/Desktop/images/19012025/07/20/image_19012025_07_20_02_632399_0002.jpg
/home/pi/Desktop/images/19012025/07/20/image_19012025_07_20_02_632399_0003.jpg
/home/pi/Desktop/images/19012025/07/21/image_19012025_07_21_02_277413_0000.jpg
/home/pi/Desktop/images/19012025/07/21/image_19012025_07_21_02_277413_0001.jpg
/home/pi/Desktop/images/19012025/07/21/image_19012025_07_21_02_277413_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.975140810012817 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 07:26:22.178369
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/07/20/image_19012025_07_20_02_632399_0001.jpg', '/home/pi/Desktop/images/19012025/07/20/image_19012025_07_20_02_632399_0002.jpg', '/home/pi/Desktop/images/19012025/07/20/image_19012025_07_20_02_632399_0003.jpg', '/home/pi/Desktop/images/19012025/07/21/image_19012025_07_21_02_277413_0000.jpg', '/home/pi/Desktop/images/19012025/07/21/image_19012025_07_21_02_277413_0001.jpg', '/home/pi/Desktop/images/19012025/07/21/image_19012025_07_21_02_277413_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/07/20/image_19012025_07_20_02_632399_0001.jpg
/home/pi/Desktop/images/19012025/07/20/image_19012025_07_20_02_632399_0002.jpg
/home/pi/Desktop/images/19012025/07/20/image_19012025_07_20_02_632399_0003.jpg
/home/pi/Desktop/images/19012025/07/21/image_19012025_07_21_02_277413_0000.jpg
/home/pi/Desktop/images/19012025/07/21/image_19012025_07_21_02_277413_0001.jpg
/home/pi/Desktop/images/19012025/07/21/image_19012025_07_21_02_277413_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329971240","1329971231","1329971242","1329971235","1329971244","1329971238"],"photo_ids_order":["1329971231","1329971235","1329971238","1329971240","1329971242","1329971244"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/7e137e586e2971e422deb094c9416412.jpg","text":"TemporaryFile(/tmp/multipartBody43387885039022821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737268058537,"filename":"image_19012025_07_21_02_277413_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/39595a7f6e6e2526d14ad11f164cc9aa.jpg","text":"TemporaryFile(/tmp/multipartBody2336944472616071497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737268058537,"filename":"image_19012025_07_20_02_632399_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/555c69b8ab227582bdadbbecbb02fd2d.jpg","text":"TemporaryFile(/tmp/multipartBody3892084845240957636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737268058537,"filename":"image_19012025_07_21_02_277413_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/c249d559abcd6509d1afeb0113ae89b9.jpg","text":"TemporaryFile(/tmp/multipartBody3445619071379754889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737268058537,"filename":"image_19012025_07_20_02_632399_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/8db312efd492f7a3d6ae40df99ad803c.jpg","text":"TemporaryFile(/tmp/multipartBody1779972981181005507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737268058537,"filename":"image_19012025_07_21_02_277413_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/12d64898ae7c6109ef46eff3540cb7a9.jpg","text":"TemporaryFile(/tmp/multipartBody7955352214818457951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737268058537,"filename":"image_19012025_07_20_02_632399_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329971238","file1":"1329971235","file0":"1329971231","file4":"1329971242","file5":"1329971244","file3":"1329971240"},"map_files_photo_id_array":[{"photo_id":"1329971244","filename":"file5"},{"photo_id":"1329971238","filename":"file2"},{"photo_id":"1329971242","filename":"file4"},{"photo_id":"1329971235","filename":"file1"},{"photo_id":"1329971231","filename":"file0"},{"photo_id":"1329971240","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329971240":["hashtag1","hashtag2"]},{"1329971231":["hashtag1","hashtag2"]},{"1329971242":["hashtag1","hashtag2"]},{"1329971235":["hashtag1","hashtag2"]},{"1329971244":["hashtag1","hashtag2"]},{"1329971238":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329971240, 1329971231, 1329971242, 1329971235, 1329971244, 1329971238)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.62130045890808 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 07:27:22.638775
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/07/21/image_19012025_07_21_02_277413_0003.jpg', '/home/pi/Desktop/images/19012025/07/22/image_19012025_07_22_02_796877_0000.jpg', '/home/pi/Desktop/images/19012025/07/22/image_19012025_07_22_02_796877_0001.jpg', '/home/pi/Desktop/images/19012025/07/22/image_19012025_07_22_02_796877_0002.jpg', '/home/pi/Desktop/images/19012025/07/22/image_19012025_07_22_02_796877_0003.jpg', '/home/pi/Desktop/images/19012025/07/23/image_19012025_07_23_02_346744_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/07/21/image_19012025_07_21_02_277413_0003.jpg
/home/pi/Desktop/images/19012025/07/22/image_19012025_07_22_02_796877_0000.jpg
/home/pi/Desktop/images/19012025/07/22/image_19012025_07_22_02_796877_0001.jpg
/home/pi/Desktop/images/19012025/07/22/image_19012025_07_22_02_796877_0002.jpg
/home/pi/Desktop/images/19012025/07/22/image_19012025_07_22_02_796877_0003.jpg
/home/pi/Desktop/images/19012025/07/23/image_19012025_07_23_02_346744_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329971252","1329971261","1329971255","1329971249","1329971257","1329971259"],"photo_ids_order":["1329971249","1329971252","1329971255","1329971257","1329971259","1329971261"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/d4ba7df076dcb1c010b0f85dea95453e.jpg","text":"TemporaryFile(/tmp/multipartBody7727065139013172949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737268119319,"filename":"image_19012025_07_22_02_796877_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/3cc8c07020a3ebb4f2c512b2d7793f1a.jpg","text":"TemporaryFile(/tmp/multipartBody159653768995591009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737268119319,"filename":"image_19012025_07_23_02_346744_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/bafd770daf51b671235ed8b8e0f1f82f.jpg","text":"TemporaryFile(/tmp/multipartBody2482076607444242320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737268119319,"filename":"image_19012025_07_22_02_796877_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/569ca6f6c7f3ad45a5a4c91d2ec4c4c6.jpg","text":"TemporaryFile(/tmp/multipartBody3138555393391626487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737268119319,"filename":"image_19012025_07_21_02_277413_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/698fe0d7d903085bd32bbf9161e79982.jpg","text":"TemporaryFile(/tmp/multipartBody6354360013810326918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737268119319,"filename":"image_19012025_07_22_02_796877_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/5a1f52899b8cdbca598a380548a54053.jpg","text":"TemporaryFile(/tmp/multipartBody3684724822491182544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737268119319,"filename":"image_19012025_07_22_02_796877_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329971255","file1":"1329971252","file0":"1329971249","file4":"1329971259","file5":"1329971261","file3":"1329971257"},"map_files_photo_id_array":[{"photo_id":"1329971261","filename":"file5"},{"photo_id":"1329971255","filename":"file2"},{"photo_id":"1329971259","filename":"file4"},{"photo_id":"1329971252","filename":"file1"},{"photo_id":"1329971249","filename":"file0"},{"photo_id":"1329971257","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329971252":["hashtag1","hashtag2"]},{"1329971261":["hashtag1","hashtag2"]},{"1329971255":["hashtag1","hashtag2"]},{"1329971249":["hashtag1","hashtag2"]},{"1329971257":["hashtag1","hashtag2"]},{"1329971259":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329971252, 1329971261, 1329971255, 1329971249, 1329971257, 1329971259)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.331270933151245 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 07:28:22.266326
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/07/23/image_19012025_07_23_02_346744_0001.jpg', '/home/pi/Desktop/images/19012025/07/23/image_19012025_07_23_02_346744_0002.jpg', '/home/pi/Desktop/images/19012025/07/23/image_19012025_07_23_02_346744_0003.jpg', '/home/pi/Desktop/images/19012025/07/24/image_19012025_07_24_02_897319_0000.jpg', '/home/pi/Desktop/images/19012025/07/24/image_19012025_07_24_02_897319_0001.jpg', '/home/pi/Desktop/images/19012025/07/24/image_19012025_07_24_02_897319_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/07/23/image_19012025_07_23_02_346744_0001.jpg
/home/pi/Desktop/images/19012025/07/23/image_19012025_07_23_02_346744_0002.jpg
/home/pi/Desktop/images/19012025/07/23/image_19012025_07_23_02_346744_0003.jpg
/home/pi/Desktop/images/19012025/07/24/image_19012025_07_24_02_897319_0000.jpg
/home/pi/Desktop/images/19012025/07/24/image_19012025_07_24_02_897319_0001.jpg
/home/pi/Desktop/images/19012025/07/24/image_19012025_07_24_02_897319_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 16.615904331207275 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 07:29:02.373590
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/07/23/image_19012025_07_23_02_346744_0001.jpg', '/home/pi/Desktop/images/19012025/07/23/image_19012025_07_23_02_346744_0002.jpg', '/home/pi/Desktop/images/19012025/07/23/image_19012025_07_23_02_346744_0003.jpg', '/home/pi/Desktop/images/19012025/07/24/image_19012025_07_24_02_897319_0000.jpg', '/home/pi/Desktop/images/19012025/07/24/image_19012025_07_24_02_897319_0001.jpg', '/home/pi/Desktop/images/19012025/07/24/image_19012025_07_24_02_897319_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/07/23/image_19012025_07_23_02_346744_0001.jpg
/home/pi/Desktop/images/19012025/07/23/image_19012025_07_23_02_346744_0002.jpg
/home/pi/Desktop/images/19012025/07/23/image_19012025_07_23_02_346744_0003.jpg
/home/pi/Desktop/images/19012025/07/24/image_19012025_07_24_02_897319_0000.jpg
/home/pi/Desktop/images/19012025/07/24/image_19012025_07_24_02_897319_0001.jpg
/home/pi/Desktop/images/19012025/07/24/image_19012025_07_24_02_897319_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":["1329972020","1329972014","1329972023","1329972017","1329972012","1329972009"],"photo_ids_order":["1329972009","1329972012","1329972014","1329972017","1329972020","1329972023"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/ed42a8c659827eb990eb324adaa37be9.jpg","text":"TemporaryFile(/tmp/multipartBody1022641288467551476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737268219505,"filename":"image_19012025_07_24_02_897319_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/0b79b04b38973218f85bfbf64df79724.jpg","text":"TemporaryFile(/tmp/multipartBody9020381054716842274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737268219505,"filename":"image_19012025_07_23_02_346744_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/8ca773cecf66973fdb7937aa2bae5384.jpg","text":"TemporaryFile(/tmp/multipartBody7017853947463657213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737268219505,"filename":"image_19012025_07_24_02_897319_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/0bd4ce7ffcc4d020e727a24c29b05fa0.jpg","text":"TemporaryFile(/tmp/multipartBody2678110138105366139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737268219505,"filename":"image_19012025_07_24_02_897319_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/1ca85271e47864eaf4d02135f8258646.jpg","text":"TemporaryFile(/tmp/multipartBody8831193808331810882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737268219505,"filename":"image_19012025_07_23_02_346744_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/7921260bb3ccae11d7c8d014ce8aa3da.jpg","text":"TemporaryFile(/tmp/multipartBody6232984835148776811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737268219505,"filename":"image_19012025_07_23_02_346744_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329972014","file1":"1329972012","file0":"1329972009","file4":"1329972020","file5":"1329972023","file3":"1329972017"},"map_files_photo_id_array":[{"photo_id":"1329972023","filename":"file5"},{"photo_id":"1329972014","filename":"file2"},{"photo_id":"1329972020","filename":"file4"},{"photo_id":"1329972012","filename":"file1"},{"photo_id":"1329972009","filename":"file0"},{"photo_id":"1329972017","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329972020":["hashtag1","hashtag2"]},{"1329972014":["hashtag1","hashtag2"]},{"1329972023":["hashtag1","hashtag2"]},{"1329972017":["hashtag1","hashtag2"]},{"1329972012":["hashtag1","hashtag2"]},{"1329972009":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329972020, 1329972014, 1329972023, 1329972017, 1329972012, 1329972009)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.60987162590027 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 07:30:22.460429
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/07/24/image_19012025_07_24_02_897319_0003.jpg', '/home/pi/Desktop/images/19012025/07/25/image_19012025_07_25_02_402741_0000.jpg', '/home/pi/Desktop/images/19012025/07/25/image_19012025_07_25_02_402741_0001.jpg', '/home/pi/Desktop/images/19012025/07/25/image_19012025_07_25_02_402741_0002.jpg', '/home/pi/Desktop/images/19012025/07/25/image_19012025_07_25_02_402741_0003.jpg', '/home/pi/Desktop/images/19012025/07/26/image_19012025_07_26_02_884724_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/07/24/image_19012025_07_24_02_897319_0003.jpg
/home/pi/Desktop/images/19012025/07/25/image_19012025_07_25_02_402741_0000.jpg
/home/pi/Desktop/images/19012025/07/25/image_19012025_07_25_02_402741_0001.jpg
/home/pi/Desktop/images/19012025/07/25/image_19012025_07_25_02_402741_0002.jpg
/home/pi/Desktop/images/19012025/07/25/image_19012025_07_25_02_402741_0003.jpg
/home/pi/Desktop/images/19012025/07/26/image_19012025_07_26_02_884724_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":["1329972416","1329972391","1329972418","1329972412","1329972420","1329972414"],"photo_ids_order":["1329972391","1329972412","1329972414","1329972416","1329972418","1329972420"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/1d562b76f4aad856fcb7021101693dcc.jpg","text":"TemporaryFile(/tmp/multipartBody8513501878462682009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737268298435,"filename":"image_19012025_07_25_02_402741_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/f817a880386f149e06ec34a058a17584.jpg","text":"TemporaryFile(/tmp/multipartBody520882036764558274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737268298435,"filename":"image_19012025_07_24_02_897319_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/5efd10e36f348880d5d79fc3cf4caad5.jpg","text":"TemporaryFile(/tmp/multipartBody6178438974759244904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737268298435,"filename":"image_19012025_07_25_02_402741_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/93bc15575217df51e5b722a6e28290e4.jpg","text":"TemporaryFile(/tmp/multipartBody4307789836914219045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737268298435,"filename":"image_19012025_07_25_02_402741_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/40b0b28588d7f5d598c69e9cfb3c5a6e.jpg","text":"TemporaryFile(/tmp/multipartBody835977243056981675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737268298435,"filename":"image_19012025_07_26_02_884724_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/5f470c16c2fdb7fc62d47c4466f977b8.jpg","text":"TemporaryFile(/tmp/multipartBody6144192277063923819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737268298435,"filename":"image_19012025_07_25_02_402741_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329972414","file1":"1329972412","file0":"1329972391","file4":"1329972418","file5":"1329972420","file3":"1329972416"},"map_files_photo_id_array":[{"photo_id":"1329972420","filename":"file5"},{"photo_id":"1329972414","filename":"file2"},{"photo_id":"1329972418","filename":"file4"},{"photo_id":"1329972412","filename":"file1"},{"photo_id":"1329972391","filename":"file0"},{"photo_id":"1329972416","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329972416":["hashtag1","hashtag2"]},{"1329972391":["hashtag1","hashtag2"]},{"1329972418":["hashtag1","hashtag2"]},{"1329972412":["hashtag1","hashtag2"]},{"1329972420":["hashtag1","hashtag2"]},{"1329972414":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329972416, 1329972391, 1329972418, 1329972412, 1329972420, 1329972414)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.40003705024719 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 07:32:02.984183
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/07/26/image_19012025_07_26_02_884724_0001.jpg', '/home/pi/Desktop/images/19012025/07/27/image_19012025_07_27_02_565098_0000.jpg', '/home/pi/Desktop/images/19012025/07/29/image_19012025_07_29_02_622906_0000.jpg', '/home/pi/Desktop/images/19012025/07/29/image_19012025_07_29_02_622906_0001.jpg', '/home/pi/Desktop/images/19012025/07/29/image_19012025_07_29_02_622906_0002.jpg', '/home/pi/Desktop/images/19012025/07/29/image_19012025_07_29_02_622906_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/07/26/image_19012025_07_26_02_884724_0001.jpg
/home/pi/Desktop/images/19012025/07/27/image_19012025_07_27_02_565098_0000.jpg
/home/pi/Desktop/images/19012025/07/29/image_19012025_07_29_02_622906_0000.jpg
/home/pi/Desktop/images/19012025/07/29/image_19012025_07_29_02_622906_0001.jpg
/home/pi/Desktop/images/19012025/07/29/image_19012025_07_29_02_622906_0002.jpg
/home/pi/Desktop/images/19012025/07/29/image_19012025_07_29_02_622906_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":["1329972463","1329972474","1329972471","1329972465","1329972467","1329972476"],"photo_ids_order":["1329972463","1329972465","1329972467","1329972471","1329972474","1329972476"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/e64d503bb021366cf5750f0dad05e2f3.jpg","text":"TemporaryFile(/tmp/multipartBody9008284307003478077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737268398867,"filename":"image_19012025_07_26_02_884724_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/f4e736d5f0868f73323916090dc86e01.jpg","text":"TemporaryFile(/tmp/multipartBody3739693609659541416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737268398867,"filename":"image_19012025_07_29_02_622906_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/f60360f2f9a36e482dab4e9a25e9de0e.jpg","text":"TemporaryFile(/tmp/multipartBody8842321453483390405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737268398867,"filename":"image_19012025_07_29_02_622906_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/6936d54499b026f99a5a50bc431a7560.jpg","text":"TemporaryFile(/tmp/multipartBody3394525403770714437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737268398867,"filename":"image_19012025_07_27_02_565098_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/de96fa709740d13f1afcfaac9a15a755.jpg","text":"TemporaryFile(/tmp/multipartBody8628196040911955437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737268398867,"filename":"image_19012025_07_29_02_622906_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/a3baf09c335aeca7df6cb1616614ad45.jpg","text":"TemporaryFile(/tmp/multipartBody1885171380984981002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737268398867,"filename":"image_19012025_07_29_02_622906_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329972467","file1":"1329972465","file0":"1329972463","file4":"1329972474","file5":"1329972476","file3":"1329972471"},"map_files_photo_id_array":[{"photo_id":"1329972476","filename":"file5"},{"photo_id":"1329972467","filename":"file2"},{"photo_id":"1329972474","filename":"file4"},{"photo_id":"1329972465","filename":"file1"},{"photo_id":"1329972463","filename":"file0"},{"photo_id":"1329972471","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329972463":["hashtag1","hashtag2"]},{"1329972474":["hashtag1","hashtag2"]},{"1329972471":["hashtag1","hashtag2"]},{"1329972465":["hashtag1","hashtag2"]},{"1329972467":["hashtag1","hashtag2"]},{"1329972476":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329972463, 1329972474, 1329972471, 1329972465, 1329972467, 1329972476)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.48788070678711 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 07:33:22.031518
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/07/30/image_19012025_07_30_02_182739_0000.jpg', '/home/pi/Desktop/images/19012025/07/30/image_19012025_07_30_02_182739_0001.jpg', '/home/pi/Desktop/images/19012025/07/30/image_19012025_07_30_02_182739_0002.jpg', '/home/pi/Desktop/images/19012025/07/30/image_19012025_07_30_02_182739_0003.jpg', '/home/pi/Desktop/images/19012025/07/31/image_19012025_07_31_02_800871_0001.jpg', '/home/pi/Desktop/images/19012025/07/31/image_19012025_07_31_02_800871_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/07/30/image_19012025_07_30_02_182739_0000.jpg
/home/pi/Desktop/images/19012025/07/30/image_19012025_07_30_02_182739_0001.jpg
/home/pi/Desktop/images/19012025/07/30/image_19012025_07_30_02_182739_0002.jpg
/home/pi/Desktop/images/19012025/07/30/image_19012025_07_30_02_182739_0003.jpg
/home/pi/Desktop/images/19012025/07/31/image_19012025_07_31_02_800871_0001.jpg
/home/pi/Desktop/images/19012025/07/31/image_19012025_07_31_02_800871_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329972955","1329972957","1329972485","1329972959","1329972953","1329972662"],"photo_ids_order":["1329972485","1329972662","1329972953","1329972955","1329972957","1329972959"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/0f1ad154348c490822a7db707c3ecb00.jpg","text":"TemporaryFile(/tmp/multipartBody4426036008882230518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737268477357,"filename":"image_19012025_07_30_02_182739_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/0538925986033ed7419ba4394cfcee26.jpg","text":"TemporaryFile(/tmp/multipartBody4329157143468505880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737268477357,"filename":"image_19012025_07_31_02_800871_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/a83b197973ec006ce34d1377ff2071e6.jpg","text":"TemporaryFile(/tmp/multipartBody2003757496414612259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737268477357,"filename":"image_19012025_07_30_02_182739_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/f57ab72363cccf400bc9a61dc7370b40.jpg","text":"TemporaryFile(/tmp/multipartBody9222026658015891313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737268477357,"filename":"image_19012025_07_31_02_800871_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/052eb263b6b43969aecb98994b7e2399.jpg","text":"TemporaryFile(/tmp/multipartBody2851093458612542048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737268477357,"filename":"image_19012025_07_30_02_182739_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/f9e231b279380fc0d53767644b59917a.jpg","text":"TemporaryFile(/tmp/multipartBody489792848874951917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737268477357,"filename":"image_19012025_07_30_02_182739_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329972953","file1":"1329972662","file0":"1329972485","file4":"1329972957","file5":"1329972959","file3":"1329972955"},"map_files_photo_id_array":[{"photo_id":"1329972959","filename":"file5"},{"photo_id":"1329972953","filename":"file2"},{"photo_id":"1329972957","filename":"file4"},{"photo_id":"1329972662","filename":"file1"},{"photo_id":"1329972485","filename":"file0"},{"photo_id":"1329972955","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329972955":["hashtag1","hashtag2"]},{"1329972957":["hashtag1","hashtag2"]},{"1329972485":["hashtag1","hashtag2"]},{"1329972959":["hashtag1","hashtag2"]},{"1329972953":["hashtag1","hashtag2"]},{"1329972662":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329972955, 1329972957, 1329972485, 1329972959, 1329972953, 1329972662)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.9771044254303 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 07:34:22.534813
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/07/31/image_19012025_07_31_02_800871_0003.jpg', '/home/pi/Desktop/images/19012025/07/32/image_19012025_07_32_02_423981_0000.jpg', '/home/pi/Desktop/images/19012025/07/32/image_19012025_07_32_02_423981_0001.jpg', '/home/pi/Desktop/images/19012025/07/32/image_19012025_07_32_02_423981_0002.jpg', '/home/pi/Desktop/images/19012025/07/32/image_19012025_07_32_02_423981_0003.jpg', '/home/pi/Desktop/images/19012025/07/33/image_19012025_07_33_02_935817_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/07/31/image_19012025_07_31_02_800871_0003.jpg
/home/pi/Desktop/images/19012025/07/32/image_19012025_07_32_02_423981_0000.jpg
/home/pi/Desktop/images/19012025/07/32/image_19012025_07_32_02_423981_0001.jpg
/home/pi/Desktop/images/19012025/07/32/image_19012025_07_32_02_423981_0002.jpg
/home/pi/Desktop/images/19012025/07/32/image_19012025_07_32_02_423981_0003.jpg
/home/pi/Desktop/images/19012025/07/33/image_19012025_07_33_02_935817_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: 16.61290454864502 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 07:35:02.665077
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/07/31/image_19012025_07_31_02_800871_0003.jpg', '/home/pi/Desktop/images/19012025/07/32/image_19012025_07_32_02_423981_0000.jpg', '/home/pi/Desktop/images/19012025/07/32/image_19012025_07_32_02_423981_0001.jpg', '/home/pi/Desktop/images/19012025/07/32/image_19012025_07_32_02_423981_0002.jpg', '/home/pi/Desktop/images/19012025/07/32/image_19012025_07_32_02_423981_0003.jpg', '/home/pi/Desktop/images/19012025/07/33/image_19012025_07_33_02_935817_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/07/31/image_19012025_07_31_02_800871_0003.jpg
/home/pi/Desktop/images/19012025/07/32/image_19012025_07_32_02_423981_0000.jpg
/home/pi/Desktop/images/19012025/07/32/image_19012025_07_32_02_423981_0001.jpg
/home/pi/Desktop/images/19012025/07/32/image_19012025_07_32_02_423981_0002.jpg
/home/pi/Desktop/images/19012025/07/32/image_19012025_07_32_02_423981_0003.jpg
/home/pi/Desktop/images/19012025/07/33/image_19012025_07_33_02_935817_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329973366","1329973300","1329973303","1329973306","1329973296","1329973298"],"photo_ids_order":["1329973296","1329973298","1329973300","1329973303","1329973306","1329973366"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/be1e3bcb2bae36efff0f023a8849acfc.jpg","text":"TemporaryFile(/tmp/multipartBody7219915030831926011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737268579742,"filename":"image_19012025_07_33_02_935817_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/eace5f2ff0756e2213adbf1b979d8c2c.jpg","text":"TemporaryFile(/tmp/multipartBody7542922406565189318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737268579742,"filename":"image_19012025_07_32_02_423981_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/da6a170ffb795c41dcc3f73fa6f97f16.jpg","text":"TemporaryFile(/tmp/multipartBody8834074443371323550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737268579742,"filename":"image_19012025_07_32_02_423981_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/47f89ae83644131c89157ae447116c7b.jpg","text":"TemporaryFile(/tmp/multipartBody2620347400472416340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737268579742,"filename":"image_19012025_07_32_02_423981_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/1e7eb0bca2ad31327556367e3cafd7e5.jpg","text":"TemporaryFile(/tmp/multipartBody8835214287269532560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737268579742,"filename":"image_19012025_07_31_02_800871_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/c595668885a89a6388ee3eebcea7d4b6.jpg","text":"TemporaryFile(/tmp/multipartBody4492365543908193512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737268579742,"filename":"image_19012025_07_32_02_423981_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329973300","file1":"1329973298","file0":"1329973296","file4":"1329973306","file5":"1329973366","file3":"1329973303"},"map_files_photo_id_array":[{"photo_id":"1329973366","filename":"file5"},{"photo_id":"1329973300","filename":"file2"},{"photo_id":"1329973306","filename":"file4"},{"photo_id":"1329973298","filename":"file1"},{"photo_id":"1329973296","filename":"file0"},{"photo_id":"1329973303","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329973366":["hashtag1","hashtag2"]},{"1329973300":["hashtag1","hashtag2"]},{"1329973303":["hashtag1","hashtag2"]},{"1329973306":["hashtag1","hashtag2"]},{"1329973296":["hashtag1","hashtag2"]},{"1329973298":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329973366, 1329973300, 1329973303, 1329973306, 1329973296, 1329973298)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.48979997634888 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 07:36:03.098623
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/07/33/image_19012025_07_33_02_935817_0001.jpg', '/home/pi/Desktop/images/19012025/07/33/image_19012025_07_33_02_935817_0002.jpg', '/home/pi/Desktop/images/19012025/07/33/image_19012025_07_33_02_935817_0003.jpg', '/home/pi/Desktop/images/19012025/07/34/image_19012025_07_34_02_404036_0000.jpg', '/home/pi/Desktop/images/19012025/07/34/image_19012025_07_34_02_404036_0001.jpg', '/home/pi/Desktop/images/19012025/07/34/image_19012025_07_34_02_404036_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/07/33/image_19012025_07_33_02_935817_0001.jpg
/home/pi/Desktop/images/19012025/07/33/image_19012025_07_33_02_935817_0002.jpg
/home/pi/Desktop/images/19012025/07/33/image_19012025_07_33_02_935817_0003.jpg
/home/pi/Desktop/images/19012025/07/34/image_19012025_07_34_02_404036_0000.jpg
/home/pi/Desktop/images/19012025/07/34/image_19012025_07_34_02_404036_0001.jpg
/home/pi/Desktop/images/19012025/07/34/image_19012025_07_34_02_404036_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 16.333811044692993 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 07:36:22.688475
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/07/33/image_19012025_07_33_02_935817_0001.jpg', '/home/pi/Desktop/images/19012025/07/33/image_19012025_07_33_02_935817_0002.jpg', '/home/pi/Desktop/images/19012025/07/33/image_19012025_07_33_02_935817_0003.jpg', '/home/pi/Desktop/images/19012025/07/34/image_19012025_07_34_02_404036_0000.jpg', '/home/pi/Desktop/images/19012025/07/34/image_19012025_07_34_02_404036_0001.jpg', '/home/pi/Desktop/images/19012025/07/34/image_19012025_07_34_02_404036_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/07/33/image_19012025_07_33_02_935817_0001.jpg
/home/pi/Desktop/images/19012025/07/33/image_19012025_07_33_02_935817_0002.jpg
/home/pi/Desktop/images/19012025/07/33/image_19012025_07_33_02_935817_0003.jpg
/home/pi/Desktop/images/19012025/07/34/image_19012025_07_34_02_404036_0000.jpg
/home/pi/Desktop/images/19012025/07/34/image_19012025_07_34_02_404036_0001.jpg
/home/pi/Desktop/images/19012025/07/34/image_19012025_07_34_02_404036_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329973540","1329973533","1329973542","1329973536","1329973529","1329973538"],"photo_ids_order":["1329973529","1329973533","1329973536","1329973538","1329973540","1329973542"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/0ea12ccf5203748e5b2e2668d1cd4d43.jpg","text":"TemporaryFile(/tmp/multipartBody7558910114619629568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737268659366,"filename":"image_19012025_07_34_02_404036_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/972b7a3a0828b653256f997888aac9ee.jpg","text":"TemporaryFile(/tmp/multipartBody8561611004978691764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737268659366,"filename":"image_19012025_07_33_02_935817_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/3a9809ede33c9b16053915bc4741808f.jpg","text":"TemporaryFile(/tmp/multipartBody2939193091948434477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737268659366,"filename":"image_19012025_07_34_02_404036_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/9bc5d408dff3bfc094ed21b6c8b96576.jpg","text":"TemporaryFile(/tmp/multipartBody6472477590121411778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737268659366,"filename":"image_19012025_07_33_02_935817_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/8201df73a962a639a0da220277669349.jpg","text":"TemporaryFile(/tmp/multipartBody2858288114300587101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737268659366,"filename":"image_19012025_07_33_02_935817_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/3b48c63ed6b58c1d0b07c594c6ca4ebf.jpg","text":"TemporaryFile(/tmp/multipartBody9128664530111734903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737268659366,"filename":"image_19012025_07_34_02_404036_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329973536","file1":"1329973533","file0":"1329973529","file4":"1329973540","file5":"1329973542","file3":"1329973538"},"map_files_photo_id_array":[{"photo_id":"1329973542","filename":"file5"},{"photo_id":"1329973536","filename":"file2"},{"photo_id":"1329973540","filename":"file4"},{"photo_id":"1329973533","filename":"file1"},{"photo_id":"1329973529","filename":"file0"},{"photo_id":"1329973538","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329973540":["hashtag1","hashtag2"]},{"1329973533":["hashtag1","hashtag2"]},{"1329973542":["hashtag1","hashtag2"]},{"1329973536":["hashtag1","hashtag2"]},{"1329973529":["hashtag1","hashtag2"]},{"1329973538":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329973540, 1329973533, 1329973542, 1329973536, 1329973529, 1329973538)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.48238205909729 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 07:37:22.203953
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/07/34/image_19012025_07_34_02_404036_0003.jpg', '/home/pi/Desktop/images/19012025/07/35/image_19012025_07_35_02_934872_0000.jpg', '/home/pi/Desktop/images/19012025/07/35/image_19012025_07_35_02_934872_0001.jpg', '/home/pi/Desktop/images/19012025/07/35/image_19012025_07_35_02_934872_0002.jpg', '/home/pi/Desktop/images/19012025/07/35/image_19012025_07_35_02_934872_0003.jpg', '/home/pi/Desktop/images/19012025/07/36/image_19012025_07_36_02_461227_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/07/34/image_19012025_07_34_02_404036_0003.jpg
/home/pi/Desktop/images/19012025/07/35/image_19012025_07_35_02_934872_0000.jpg
/home/pi/Desktop/images/19012025/07/35/image_19012025_07_35_02_934872_0001.jpg
/home/pi/Desktop/images/19012025/07/35/image_19012025_07_35_02_934872_0002.jpg
/home/pi/Desktop/images/19012025/07/35/image_19012025_07_35_02_934872_0003.jpg
/home/pi/Desktop/images/19012025/07/36/image_19012025_07_36_02_461227_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329973590","1329973551","1329973548","1329973592","1329973565","1329973574"],"photo_ids_order":["1329973548","1329973551","1329973565","1329973574","1329973590","1329973592"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/2528b330742f4f72d779972eb0ccba11.jpg","text":"TemporaryFile(/tmp/multipartBody5594165971167601400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737268718688,"filename":"image_19012025_07_35_02_934872_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/1d6159b34e62b1ff49f18b305047fd33.jpg","text":"TemporaryFile(/tmp/multipartBody4282766898190946863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737268718688,"filename":"image_19012025_07_35_02_934872_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/88b9fa446216af0a7796d3db4a065432.jpg","text":"TemporaryFile(/tmp/multipartBody6012751176410754720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737268718688,"filename":"image_19012025_07_34_02_404036_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/8a9de7bc7f4e284709a853cf83b24332.jpg","text":"TemporaryFile(/tmp/multipartBody906178591094290503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737268718688,"filename":"image_19012025_07_36_02_461227_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/9d0578299f15cf4540d5f0e0b63d4f5c.jpg","text":"TemporaryFile(/tmp/multipartBody5900042322561044651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737268718688,"filename":"image_19012025_07_35_02_934872_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/22db1a2117aa27e1d64726cb05ae2773.jpg","text":"TemporaryFile(/tmp/multipartBody1193690904804030296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737268718688,"filename":"image_19012025_07_35_02_934872_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329973565","file1":"1329973551","file0":"1329973548","file4":"1329973590","file5":"1329973592","file3":"1329973574"},"map_files_photo_id_array":[{"photo_id":"1329973592","filename":"file5"},{"photo_id":"1329973565","filename":"file2"},{"photo_id":"1329973590","filename":"file4"},{"photo_id":"1329973551","filename":"file1"},{"photo_id":"1329973548","filename":"file0"},{"photo_id":"1329973574","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329973590":["hashtag1","hashtag2"]},{"1329973551":["hashtag1","hashtag2"]},{"1329973548":["hashtag1","hashtag2"]},{"1329973592":["hashtag1","hashtag2"]},{"1329973565":["hashtag1","hashtag2"]},{"1329973574":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329973590, 1329973551, 1329973548, 1329973592, 1329973565, 1329973574)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.389723777770996 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 07:38:21.764850
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/07/36/image_19012025_07_36_02_461227_0001.jpg', '/home/pi/Desktop/images/19012025/07/36/image_19012025_07_36_02_461227_0002.jpg', '/home/pi/Desktop/images/19012025/07/36/image_19012025_07_36_02_461227_0003.jpg', '/home/pi/Desktop/images/19012025/07/37/image_19012025_07_37_03_077214_0000.jpg', '/home/pi/Desktop/images/19012025/07/37/image_19012025_07_37_03_077214_0001.jpg', '/home/pi/Desktop/images/19012025/07/37/image_19012025_07_37_03_077214_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/07/36/image_19012025_07_36_02_461227_0001.jpg
/home/pi/Desktop/images/19012025/07/36/image_19012025_07_36_02_461227_0002.jpg
/home/pi/Desktop/images/19012025/07/36/image_19012025_07_36_02_461227_0003.jpg
/home/pi/Desktop/images/19012025/07/37/image_19012025_07_37_03_077214_0000.jpg
/home/pi/Desktop/images/19012025/07/37/image_19012025_07_37_03_077214_0001.jpg
/home/pi/Desktop/images/19012025/07/37/image_19012025_07_37_03_077214_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329973612","1329973621","1329973615","1329973599","1329973608","1329973604"],"photo_ids_order":["1329973599","1329973604","1329973608","1329973612","1329973615","1329973621"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/3ca5a33113a222cee1a9ad404f677c4f.jpg","text":"TemporaryFile(/tmp/multipartBody936129551156084903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737268777968,"filename":"image_19012025_07_37_03_077214_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/f3b2633569ba2c0200f34d169c5dae77.jpg","text":"TemporaryFile(/tmp/multipartBody8875336388166342239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737268777968,"filename":"image_19012025_07_37_03_077214_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/0caecc444c4c64ec2d583ac18d503708.jpg","text":"TemporaryFile(/tmp/multipartBody4009106746374956818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737268777968,"filename":"image_19012025_07_37_03_077214_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/71945726a1d4fe1070788e820e4fd7aa.jpg","text":"TemporaryFile(/tmp/multipartBody4118400061198113769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737268777968,"filename":"image_19012025_07_36_02_461227_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/5d5fd4fc7544c334b1be03d3b74b0767.jpg","text":"TemporaryFile(/tmp/multipartBody6320120567530972609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737268777968,"filename":"image_19012025_07_36_02_461227_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/5ce2eb6b18b7da411b29ac4b27c54711.jpg","text":"TemporaryFile(/tmp/multipartBody1895646301187032067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737268777968,"filename":"image_19012025_07_36_02_461227_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329973608","file1":"1329973604","file0":"1329973599","file4":"1329973615","file5":"1329973621","file3":"1329973612"},"map_files_photo_id_array":[{"photo_id":"1329973621","filename":"file5"},{"photo_id":"1329973608","filename":"file2"},{"photo_id":"1329973615","filename":"file4"},{"photo_id":"1329973604","filename":"file1"},{"photo_id":"1329973599","filename":"file0"},{"photo_id":"1329973612","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329973612":["hashtag1","hashtag2"]},{"1329973621":["hashtag1","hashtag2"]},{"1329973615":["hashtag1","hashtag2"]},{"1329973599":["hashtag1","hashtag2"]},{"1329973608":["hashtag1","hashtag2"]},{"1329973604":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329973612, 1329973621, 1329973615, 1329973599, 1329973608, 1329973604)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.380489110946655 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 07:39:22.250602
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/07/37/image_19012025_07_37_03_077214_0003.jpg', '/home/pi/Desktop/images/19012025/07/38/image_19012025_07_38_02_636663_0000.jpg', '/home/pi/Desktop/images/19012025/07/38/image_19012025_07_38_02_636663_0001.jpg', '/home/pi/Desktop/images/19012025/07/38/image_19012025_07_38_02_636663_0002.jpg', '/home/pi/Desktop/images/19012025/07/38/image_19012025_07_38_02_636663_0003.jpg', '/home/pi/Desktop/images/19012025/07/39/image_19012025_07_39_02_131888_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/07/37/image_19012025_07_37_03_077214_0003.jpg
/home/pi/Desktop/images/19012025/07/38/image_19012025_07_38_02_636663_0000.jpg
/home/pi/Desktop/images/19012025/07/38/image_19012025_07_38_02_636663_0001.jpg
/home/pi/Desktop/images/19012025/07/38/image_19012025_07_38_02_636663_0002.jpg
/home/pi/Desktop/images/19012025/07/38/image_19012025_07_38_02_636663_0003.jpg
/home/pi/Desktop/images/19012025/07/39/image_19012025_07_39_02_131888_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329973663","1329973636","1329973630","1329973665","1329973652","1329973628"],"photo_ids_order":["1329973628","1329973630","1329973636","1329973652","1329973663","1329973665"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/28663bb5f731811cfc4a4aea2579ea4d.jpg","text":"TemporaryFile(/tmp/multipartBody2214952009741316773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737268838763,"filename":"image_19012025_07_38_02_636663_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/03a45ffec968593472c60908736c4b4b.jpg","text":"TemporaryFile(/tmp/multipartBody4352820117127755706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737268838763,"filename":"image_19012025_07_38_02_636663_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/40b6405de99bb9aac9f408cc1827d15e.jpg","text":"TemporaryFile(/tmp/multipartBody5170913532239211277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737268838763,"filename":"image_19012025_07_38_02_636663_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/5db732da7c33288c01f891fe92e22e5e.jpg","text":"TemporaryFile(/tmp/multipartBody8871992129462753563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737268838763,"filename":"image_19012025_07_39_02_131888_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/2a592edff5691162d94ad304fbd2d4e0.jpg","text":"TemporaryFile(/tmp/multipartBody5467420620958266472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737268838763,"filename":"image_19012025_07_38_02_636663_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/ab8babce70f228bcb407e4534784c014.jpg","text":"TemporaryFile(/tmp/multipartBody5684203270298499359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737268838763,"filename":"image_19012025_07_37_03_077214_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329973636","file1":"1329973630","file0":"1329973628","file4":"1329973663","file5":"1329973665","file3":"1329973652"},"map_files_photo_id_array":[{"photo_id":"1329973665","filename":"file5"},{"photo_id":"1329973636","filename":"file2"},{"photo_id":"1329973663","filename":"file4"},{"photo_id":"1329973630","filename":"file1"},{"photo_id":"1329973628","filename":"file0"},{"photo_id":"1329973652","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329973663":["hashtag1","hashtag2"]},{"1329973636":["hashtag1","hashtag2"]},{"1329973630":["hashtag1","hashtag2"]},{"1329973665":["hashtag1","hashtag2"]},{"1329973652":["hashtag1","hashtag2"]},{"1329973628":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329973663, 1329973636, 1329973630, 1329973665, 1329973652, 1329973628)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.55205202102661 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 07:40:21.775398
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/07/39/image_19012025_07_39_02_131888_0001.jpg', '/home/pi/Desktop/images/19012025/07/39/image_19012025_07_39_02_131888_0002.jpg', '/home/pi/Desktop/images/19012025/07/39/image_19012025_07_39_02_131888_0003.jpg', '/home/pi/Desktop/images/19012025/07/40/image_19012025_07_40_02_625427_0000.jpg', '/home/pi/Desktop/images/19012025/07/40/image_19012025_07_40_02_625427_0001.jpg', '/home/pi/Desktop/images/19012025/07/40/image_19012025_07_40_02_625427_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/07/39/image_19012025_07_39_02_131888_0001.jpg
/home/pi/Desktop/images/19012025/07/39/image_19012025_07_39_02_131888_0002.jpg
/home/pi/Desktop/images/19012025/07/39/image_19012025_07_39_02_131888_0003.jpg
/home/pi/Desktop/images/19012025/07/40/image_19012025_07_40_02_625427_0000.jpg
/home/pi/Desktop/images/19012025/07/40/image_19012025_07_40_02_625427_0001.jpg
/home/pi/Desktop/images/19012025/07/40/image_19012025_07_40_02_625427_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 16.049195051193237 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 07:41:02.784616
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/07/39/image_19012025_07_39_02_131888_0001.jpg', '/home/pi/Desktop/images/19012025/07/39/image_19012025_07_39_02_131888_0002.jpg', '/home/pi/Desktop/images/19012025/07/39/image_19012025_07_39_02_131888_0003.jpg', '/home/pi/Desktop/images/19012025/07/40/image_19012025_07_40_02_625427_0000.jpg', '/home/pi/Desktop/images/19012025/07/40/image_19012025_07_40_02_625427_0001.jpg', '/home/pi/Desktop/images/19012025/07/40/image_19012025_07_40_02_625427_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/07/39/image_19012025_07_39_02_131888_0001.jpg
/home/pi/Desktop/images/19012025/07/39/image_19012025_07_39_02_131888_0002.jpg
/home/pi/Desktop/images/19012025/07/39/image_19012025_07_39_02_131888_0003.jpg
/home/pi/Desktop/images/19012025/07/40/image_19012025_07_40_02_625427_0000.jpg
/home/pi/Desktop/images/19012025/07/40/image_19012025_07_40_02_625427_0001.jpg
/home/pi/Desktop/images/19012025/07/40/image_19012025_07_40_02_625427_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":["1329973686","1329973688","1329973682","1329973690","1329973684","1329973693"],"photo_ids_order":["1329973682","1329973684","1329973686","1329973688","1329973690","1329973693"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/2e7816f3c06ae93a660852295a4b27e8.jpg","text":"TemporaryFile(/tmp/multipartBody5411041040391499800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737268939314,"filename":"image_19012025_07_39_02_131888_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/26356c90cbd964d6caf303d11037a96d.jpg","text":"TemporaryFile(/tmp/multipartBody3829918622869573502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737268939314,"filename":"image_19012025_07_40_02_625427_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/21d815e2f6b02e5bc43e83816c714ec1.jpg","text":"TemporaryFile(/tmp/multipartBody3340434866045768152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737268939314,"filename":"image_19012025_07_39_02_131888_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/86926d2529c935c964affe635fa06730.jpg","text":"TemporaryFile(/tmp/multipartBody4510796129884289096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737268939314,"filename":"image_19012025_07_40_02_625427_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/7782413b03864f0605631c3e99cc18d9.jpg","text":"TemporaryFile(/tmp/multipartBody8237639944875269051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737268939314,"filename":"image_19012025_07_39_02_131888_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/2e73727ff91ce0a970eabca23e76da94.jpg","text":"TemporaryFile(/tmp/multipartBody2919361975337719586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737268939314,"filename":"image_19012025_07_40_02_625427_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329973686","file1":"1329973684","file0":"1329973682","file4":"1329973690","file5":"1329973693","file3":"1329973688"},"map_files_photo_id_array":[{"photo_id":"1329973693","filename":"file5"},{"photo_id":"1329973686","filename":"file2"},{"photo_id":"1329973690","filename":"file4"},{"photo_id":"1329973684","filename":"file1"},{"photo_id":"1329973682","filename":"file0"},{"photo_id":"1329973688","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329973686":["hashtag1","hashtag2"]},{"1329973688":["hashtag1","hashtag2"]},{"1329973682":["hashtag1","hashtag2"]},{"1329973690":["hashtag1","hashtag2"]},{"1329973684":["hashtag1","hashtag2"]},{"1329973693":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329973686, 1329973688, 1329973682, 1329973690, 1329973684, 1329973693)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.490745306015015 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 07:42:21.907746
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/07/40/image_19012025_07_40_02_625427_0003.jpg', '/home/pi/Desktop/images/19012025/07/41/image_19012025_07_41_02_114309_0000.jpg', '/home/pi/Desktop/images/19012025/07/41/image_19012025_07_41_02_114309_0001.jpg', '/home/pi/Desktop/images/19012025/07/41/image_19012025_07_41_02_114309_0002.jpg', '/home/pi/Desktop/images/19012025/07/41/image_19012025_07_41_02_114309_0003.jpg', '/home/pi/Desktop/images/19012025/07/42/image_19012025_07_42_02_614328_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/07/40/image_19012025_07_40_02_625427_0003.jpg
/home/pi/Desktop/images/19012025/07/41/image_19012025_07_41_02_114309_0000.jpg
/home/pi/Desktop/images/19012025/07/41/image_19012025_07_41_02_114309_0001.jpg
/home/pi/Desktop/images/19012025/07/41/image_19012025_07_41_02_114309_0002.jpg
/home/pi/Desktop/images/19012025/07/41/image_19012025_07_41_02_114309_0003.jpg
/home/pi/Desktop/images/19012025/07/42/image_19012025_07_42_02_614328_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.768500328063965 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 07:43:03.022944
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/07/40/image_19012025_07_40_02_625427_0003.jpg', '/home/pi/Desktop/images/19012025/07/41/image_19012025_07_41_02_114309_0000.jpg', '/home/pi/Desktop/images/19012025/07/41/image_19012025_07_41_02_114309_0001.jpg', '/home/pi/Desktop/images/19012025/07/41/image_19012025_07_41_02_114309_0002.jpg', '/home/pi/Desktop/images/19012025/07/41/image_19012025_07_41_02_114309_0003.jpg', '/home/pi/Desktop/images/19012025/07/42/image_19012025_07_42_02_614328_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/07/40/image_19012025_07_40_02_625427_0003.jpg
/home/pi/Desktop/images/19012025/07/41/image_19012025_07_41_02_114309_0000.jpg
/home/pi/Desktop/images/19012025/07/41/image_19012025_07_41_02_114309_0001.jpg
/home/pi/Desktop/images/19012025/07/41/image_19012025_07_41_02_114309_0002.jpg
/home/pi/Desktop/images/19012025/07/41/image_19012025_07_41_02_114309_0003.jpg
/home/pi/Desktop/images/19012025/07/42/image_19012025_07_42_02_614328_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329973770","1329973746","1329973772","1329973775","1329973778","1329973786"],"photo_ids_order":["1329973746","1329973770","1329973772","1329973775","1329973778","1329973786"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/f80af5647533e435a2e61cc954bccd4d.jpg","text":"TemporaryFile(/tmp/multipartBody4195601640493712877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737269059287,"filename":"image_19012025_07_41_02_114309_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/c5e076ebd9d215a7c23e305ad58084ea.jpg","text":"TemporaryFile(/tmp/multipartBody6271507783868788849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737269059287,"filename":"image_19012025_07_40_02_625427_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/7ea7258ad7672af56149a4a8e6ec2adb.jpg","text":"TemporaryFile(/tmp/multipartBody3174313802552405001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737269059287,"filename":"image_19012025_07_41_02_114309_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/1bdc73825f9908ef2b2e27c13bde770b.jpg","text":"TemporaryFile(/tmp/multipartBody4378770114185856539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737269059287,"filename":"image_19012025_07_41_02_114309_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/cf23203c44729a23cb3909de92bb68f2.jpg","text":"TemporaryFile(/tmp/multipartBody7465042277672653445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737269059287,"filename":"image_19012025_07_41_02_114309_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/e71320c0155e06005925a8f6850ca0c7.jpg","text":"TemporaryFile(/tmp/multipartBody1762518985385896161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737269059287,"filename":"image_19012025_07_42_02_614328_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329973772","file1":"1329973770","file0":"1329973746","file4":"1329973778","file5":"1329973786","file3":"1329973775"},"map_files_photo_id_array":[{"photo_id":"1329973786","filename":"file5"},{"photo_id":"1329973772","filename":"file2"},{"photo_id":"1329973778","filename":"file4"},{"photo_id":"1329973770","filename":"file1"},{"photo_id":"1329973746","filename":"file0"},{"photo_id":"1329973775","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329973770":["hashtag1","hashtag2"]},{"1329973746":["hashtag1","hashtag2"]},{"1329973772":["hashtag1","hashtag2"]},{"1329973775":["hashtag1","hashtag2"]},{"1329973778":["hashtag1","hashtag2"]},{"1329973786":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329973770, 1329973746, 1329973772, 1329973775, 1329973778, 1329973786)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.3467652797699 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 07:44:02.511961
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/07/42/image_19012025_07_42_02_614328_0001.jpg', '/home/pi/Desktop/images/19012025/07/42/image_19012025_07_42_02_614328_0002.jpg', '/home/pi/Desktop/images/19012025/07/42/image_19012025_07_42_02_614328_0003.jpg', '/home/pi/Desktop/images/19012025/07/43/image_19012025_07_43_02_333470_0000.jpg', '/home/pi/Desktop/images/19012025/07/43/image_19012025_07_43_02_333470_0001.jpg', '/home/pi/Desktop/images/19012025/07/43/image_19012025_07_43_02_333470_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/07/42/image_19012025_07_42_02_614328_0001.jpg
/home/pi/Desktop/images/19012025/07/42/image_19012025_07_42_02_614328_0002.jpg
/home/pi/Desktop/images/19012025/07/42/image_19012025_07_42_02_614328_0003.jpg
/home/pi/Desktop/images/19012025/07/43/image_19012025_07_43_02_333470_0000.jpg
/home/pi/Desktop/images/19012025/07/43/image_19012025_07_43_02_333470_0001.jpg
/home/pi/Desktop/images/19012025/07/43/image_19012025_07_43_02_333470_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 16.284546613693237 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 07:44:22.127309
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/07/42/image_19012025_07_42_02_614328_0001.jpg', '/home/pi/Desktop/images/19012025/07/42/image_19012025_07_42_02_614328_0002.jpg', '/home/pi/Desktop/images/19012025/07/42/image_19012025_07_42_02_614328_0003.jpg', '/home/pi/Desktop/images/19012025/07/43/image_19012025_07_43_02_333470_0000.jpg', '/home/pi/Desktop/images/19012025/07/43/image_19012025_07_43_02_333470_0001.jpg', '/home/pi/Desktop/images/19012025/07/43/image_19012025_07_43_02_333470_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/07/42/image_19012025_07_42_02_614328_0001.jpg
/home/pi/Desktop/images/19012025/07/42/image_19012025_07_42_02_614328_0002.jpg
/home/pi/Desktop/images/19012025/07/42/image_19012025_07_42_02_614328_0003.jpg
/home/pi/Desktop/images/19012025/07/43/image_19012025_07_43_02_333470_0000.jpg
/home/pi/Desktop/images/19012025/07/43/image_19012025_07_43_02_333470_0001.jpg
/home/pi/Desktop/images/19012025/07/43/image_19012025_07_43_02_333470_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329973855","1329973950","1329973851","1329973914","1329973952","1329973847"],"photo_ids_order":["1329973847","1329973851","1329973855","1329973914","1329973950","1329973952"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/f098a08997423a21cd56c36bacef9246.jpg","text":"TemporaryFile(/tmp/multipartBody3783419177942958041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737269138747,"filename":"image_19012025_07_42_02_614328_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/6bc3fbee856f27113f63c8508d1e7159.jpg","text":"TemporaryFile(/tmp/multipartBody2808735359908502884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737269138747,"filename":"image_19012025_07_43_02_333470_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/8879f6ce82f59be7d9b0007c59108158.jpg","text":"TemporaryFile(/tmp/multipartBody5131768032540028171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737269138747,"filename":"image_19012025_07_42_02_614328_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/3fd344905cc36ff7d495b1a086fa1a58.jpg","text":"TemporaryFile(/tmp/multipartBody1541233252955893853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737269138747,"filename":"image_19012025_07_43_02_333470_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/3c93a77954d8f45250d358a4698c26b7.jpg","text":"TemporaryFile(/tmp/multipartBody5789069007508757098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737269138747,"filename":"image_19012025_07_43_02_333470_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/8e23869f22bcfa6492a6704102e5ecc1.jpg","text":"TemporaryFile(/tmp/multipartBody7970326347349248591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737269138747,"filename":"image_19012025_07_42_02_614328_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329973855","file1":"1329973851","file0":"1329973847","file4":"1329973950","file5":"1329973952","file3":"1329973914"},"map_files_photo_id_array":[{"photo_id":"1329973952","filename":"file5"},{"photo_id":"1329973855","filename":"file2"},{"photo_id":"1329973950","filename":"file4"},{"photo_id":"1329973851","filename":"file1"},{"photo_id":"1329973847","filename":"file0"},{"photo_id":"1329973914","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329973855":["hashtag1","hashtag2"]},{"1329973950":["hashtag1","hashtag2"]},{"1329973851":["hashtag1","hashtag2"]},{"1329973914":["hashtag1","hashtag2"]},{"1329973952":["hashtag1","hashtag2"]},{"1329973847":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329973855, 1329973950, 1329973851, 1329973914, 1329973952, 1329973847)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.79509925842285 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 07:45:22.676118
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/07/43/image_19012025_07_43_02_333470_0003.jpg', '/home/pi/Desktop/images/19012025/07/44/image_19012025_07_44_02_871454_0000.jpg', '/home/pi/Desktop/images/19012025/07/44/image_19012025_07_44_02_871454_0001.jpg', '/home/pi/Desktop/images/19012025/07/44/image_19012025_07_44_02_871454_0002.jpg', '/home/pi/Desktop/images/19012025/07/44/image_19012025_07_44_02_871454_0003.jpg', '/home/pi/Desktop/images/19012025/07/45/image_19012025_07_45_02_521536_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/07/43/image_19012025_07_43_02_333470_0003.jpg
/home/pi/Desktop/images/19012025/07/44/image_19012025_07_44_02_871454_0000.jpg
/home/pi/Desktop/images/19012025/07/44/image_19012025_07_44_02_871454_0001.jpg
/home/pi/Desktop/images/19012025/07/44/image_19012025_07_44_02_871454_0002.jpg
/home/pi/Desktop/images/19012025/07/44/image_19012025_07_44_02_871454_0003.jpg
/home/pi/Desktop/images/19012025/07/45/image_19012025_07_45_02_521536_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":["1329973957","1329973965","1329973959","1329973967","1329973961","1329973963"],"photo_ids_order":["1329973957","1329973959","1329973961","1329973963","1329973965","1329973967"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/4f6cbdaa0a686296db7033439e4562f6.jpg","text":"TemporaryFile(/tmp/multipartBody1170520673391122977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737269198781,"filename":"image_19012025_07_43_02_333470_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/431c11f60997b3c2a2a20ff50db8e27c.jpg","text":"TemporaryFile(/tmp/multipartBody5488203076149566537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737269198781,"filename":"image_19012025_07_44_02_871454_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/4f8f88e2f6d045a94e032d4037a5aea3.jpg","text":"TemporaryFile(/tmp/multipartBody8829252440065615485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737269198781,"filename":"image_19012025_07_44_02_871454_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/b679ca090af9a725d1e73e7d1391b115.jpg","text":"TemporaryFile(/tmp/multipartBody6012989101134625380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737269198781,"filename":"image_19012025_07_45_02_521536_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/7317ca38518ee0acd5485df183086ee9.jpg","text":"TemporaryFile(/tmp/multipartBody7004576119681237728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737269198781,"filename":"image_19012025_07_44_02_871454_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/54b7caa233a6d48dbbf69135ac67845f.jpg","text":"TemporaryFile(/tmp/multipartBody8768422672015924259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737269198781,"filename":"image_19012025_07_44_02_871454_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329973961","file1":"1329973959","file0":"1329973957","file4":"1329973965","file5":"1329973967","file3":"1329973963"},"map_files_photo_id_array":[{"photo_id":"1329973967","filename":"file5"},{"photo_id":"1329973961","filename":"file2"},{"photo_id":"1329973965","filename":"file4"},{"photo_id":"1329973959","filename":"file1"},{"photo_id":"1329973957","filename":"file0"},{"photo_id":"1329973963","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329973957":["hashtag1","hashtag2"]},{"1329973965":["hashtag1","hashtag2"]},{"1329973959":["hashtag1","hashtag2"]},{"1329973967":["hashtag1","hashtag2"]},{"1329973961":["hashtag1","hashtag2"]},{"1329973963":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329973957, 1329973965, 1329973959, 1329973967, 1329973961, 1329973963)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.409226417541504 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 07:47:03.348146
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/07/45/image_19012025_07_45_02_521536_0001.jpg', '/home/pi/Desktop/images/19012025/07/45/image_19012025_07_45_02_521536_0002.jpg', '/home/pi/Desktop/images/19012025/07/45/image_19012025_07_45_02_521536_0003.jpg', '/home/pi/Desktop/images/19012025/07/46/image_19012025_07_46_03_067002_0000.jpg', '/home/pi/Desktop/images/19012025/07/46/image_19012025_07_46_03_067002_0001.jpg', '/home/pi/Desktop/images/19012025/07/46/image_19012025_07_46_03_067002_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/07/45/image_19012025_07_45_02_521536_0001.jpg
/home/pi/Desktop/images/19012025/07/45/image_19012025_07_45_02_521536_0002.jpg
/home/pi/Desktop/images/19012025/07/45/image_19012025_07_45_02_521536_0003.jpg
/home/pi/Desktop/images/19012025/07/46/image_19012025_07_46_03_067002_0000.jpg
/home/pi/Desktop/images/19012025/07/46/image_19012025_07_46_03_067002_0001.jpg
/home/pi/Desktop/images/19012025/07/46/image_19012025_07_46_03_067002_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.862210988998413 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 07:47:22.740716
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/07/45/image_19012025_07_45_02_521536_0001.jpg', '/home/pi/Desktop/images/19012025/07/45/image_19012025_07_45_02_521536_0002.jpg', '/home/pi/Desktop/images/19012025/07/45/image_19012025_07_45_02_521536_0003.jpg', '/home/pi/Desktop/images/19012025/07/46/image_19012025_07_46_03_067002_0000.jpg', '/home/pi/Desktop/images/19012025/07/46/image_19012025_07_46_03_067002_0001.jpg', '/home/pi/Desktop/images/19012025/07/46/image_19012025_07_46_03_067002_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/07/45/image_19012025_07_45_02_521536_0001.jpg
/home/pi/Desktop/images/19012025/07/45/image_19012025_07_45_02_521536_0002.jpg
/home/pi/Desktop/images/19012025/07/45/image_19012025_07_45_02_521536_0003.jpg
/home/pi/Desktop/images/19012025/07/46/image_19012025_07_46_03_067002_0000.jpg
/home/pi/Desktop/images/19012025/07/46/image_19012025_07_46_03_067002_0001.jpg
/home/pi/Desktop/images/19012025/07/46/image_19012025_07_46_03_067002_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329974035","1329974029","1329974023","1329974031","1329974033","1329974027"],"photo_ids_order":["1329974023","1329974027","1329974029","1329974031","1329974033","1329974035"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/9ab6fbf9e90887ff8a684364d4860d5a.jpg","text":"TemporaryFile(/tmp/multipartBody1420134629418209021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737269318899,"filename":"image_19012025_07_46_03_067002_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/d70cf4cb35ca5f3609cab30c0637ed68.jpg","text":"TemporaryFile(/tmp/multipartBody4654997878862524032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737269318899,"filename":"image_19012025_07_45_02_521536_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/6afddbb7f75089f96938e2d2e9b8c9cb.jpg","text":"TemporaryFile(/tmp/multipartBody2201308933769128046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737269318899,"filename":"image_19012025_07_45_02_521536_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/9ea34b6a768a2e2d38a74af69e967f72.jpg","text":"TemporaryFile(/tmp/multipartBody3012904256334617454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737269318899,"filename":"image_19012025_07_46_03_067002_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/23fd71bba47164858566e579c720361e.jpg","text":"TemporaryFile(/tmp/multipartBody1089581961038440520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737269318899,"filename":"image_19012025_07_46_03_067002_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/85adcf36988156f881287bdd0f085032.jpg","text":"TemporaryFile(/tmp/multipartBody4230525741402903918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737269318899,"filename":"image_19012025_07_45_02_521536_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329974029","file1":"1329974027","file0":"1329974023","file4":"1329974033","file5":"1329974035","file3":"1329974031"},"map_files_photo_id_array":[{"photo_id":"1329974035","filename":"file5"},{"photo_id":"1329974029","filename":"file2"},{"photo_id":"1329974033","filename":"file4"},{"photo_id":"1329974027","filename":"file1"},{"photo_id":"1329974023","filename":"file0"},{"photo_id":"1329974031","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329974035":["hashtag1","hashtag2"]},{"1329974029":["hashtag1","hashtag2"]},{"1329974023":["hashtag1","hashtag2"]},{"1329974031":["hashtag1","hashtag2"]},{"1329974033":["hashtag1","hashtag2"]},{"1329974027":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329974035, 1329974029, 1329974023, 1329974031, 1329974033, 1329974027)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.8633668422699 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 07:48:22.323573
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/07/46/image_19012025_07_46_03_067002_0003.jpg', '/home/pi/Desktop/images/19012025/07/47/image_19012025_07_47_02_554281_0000.jpg', '/home/pi/Desktop/images/19012025/07/47/image_19012025_07_47_02_554281_0001.jpg', '/home/pi/Desktop/images/19012025/07/47/image_19012025_07_47_02_554281_0002.jpg', '/home/pi/Desktop/images/19012025/07/47/image_19012025_07_47_02_554281_0003.jpg', '/home/pi/Desktop/images/19012025/07/48/image_19012025_07_48_03_048507_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/07/46/image_19012025_07_46_03_067002_0003.jpg
/home/pi/Desktop/images/19012025/07/47/image_19012025_07_47_02_554281_0000.jpg
/home/pi/Desktop/images/19012025/07/47/image_19012025_07_47_02_554281_0001.jpg
/home/pi/Desktop/images/19012025/07/47/image_19012025_07_47_02_554281_0002.jpg
/home/pi/Desktop/images/19012025/07/47/image_19012025_07_47_02_554281_0003.jpg
/home/pi/Desktop/images/19012025/07/48/image_19012025_07_48_03_048507_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329974041","1329974055","1329974052","1329974051","1329974048","1329974045"],"photo_ids_order":["1329974041","1329974045","1329974048","1329974051","1329974052","1329974055"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/d2c4c9853382a1386977a943fd4244eb.jpg","text":"TemporaryFile(/tmp/multipartBody7506103025396444170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737269378573,"filename":"image_19012025_07_46_03_067002_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/1b807438bc880eaec55ef39b377e0b1b.jpg","text":"TemporaryFile(/tmp/multipartBody4875884941496537585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737269378573,"filename":"image_19012025_07_48_03_048507_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/b17463e0bfeddd8cd239d825381ad94b.jpg","text":"TemporaryFile(/tmp/multipartBody7725635163391279670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737269378573,"filename":"image_19012025_07_47_02_554281_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/de22ec07f25f3d8dbec62b0132c1d3d6.jpg","text":"TemporaryFile(/tmp/multipartBody3799987045393448566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737269378573,"filename":"image_19012025_07_47_02_554281_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/98c0e543f4b9163466f8d1a3b74f2b7f.jpg","text":"TemporaryFile(/tmp/multipartBody5215626984139014998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737269378573,"filename":"image_19012025_07_47_02_554281_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/a5fb844026ebf2990e9b84af22c00a30.jpg","text":"TemporaryFile(/tmp/multipartBody1666223429446499344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737269378573,"filename":"image_19012025_07_47_02_554281_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329974048","file1":"1329974045","file0":"1329974041","file4":"1329974052","file5":"1329974055","file3":"1329974051"},"map_files_photo_id_array":[{"photo_id":"1329974055","filename":"file5"},{"photo_id":"1329974048","filename":"file2"},{"photo_id":"1329974052","filename":"file4"},{"photo_id":"1329974045","filename":"file1"},{"photo_id":"1329974041","filename":"file0"},{"photo_id":"1329974051","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329974041":["hashtag1","hashtag2"]},{"1329974055":["hashtag1","hashtag2"]},{"1329974052":["hashtag1","hashtag2"]},{"1329974051":["hashtag1","hashtag2"]},{"1329974048":["hashtag1","hashtag2"]},{"1329974045":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329974041, 1329974055, 1329974052, 1329974051, 1329974048, 1329974045)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.688621282577515 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 07:49:21.806199
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/07/48/image_19012025_07_48_03_048507_0001.jpg', '/home/pi/Desktop/images/19012025/07/48/image_19012025_07_48_03_048507_0002.jpg', '/home/pi/Desktop/images/19012025/07/48/image_19012025_07_48_03_048507_0003.jpg', '/home/pi/Desktop/images/19012025/07/49/image_19012025_07_49_02_693025_0000.jpg', '/home/pi/Desktop/images/19012025/07/49/image_19012025_07_49_02_693025_0001.jpg', '/home/pi/Desktop/images/19012025/07/49/image_19012025_07_49_02_693025_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/07/48/image_19012025_07_48_03_048507_0001.jpg
/home/pi/Desktop/images/19012025/07/48/image_19012025_07_48_03_048507_0002.jpg
/home/pi/Desktop/images/19012025/07/48/image_19012025_07_48_03_048507_0003.jpg
/home/pi/Desktop/images/19012025/07/49/image_19012025_07_49_02_693025_0000.jpg
/home/pi/Desktop/images/19012025/07/49/image_19012025_07_49_02_693025_0001.jpg
/home/pi/Desktop/images/19012025/07/49/image_19012025_07_49_02_693025_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":["1329974094","1329974268","1329974109","1329974249","1329974083","1329974179"],"photo_ids_order":["1329974083","1329974094","1329974109","1329974179","1329974249","1329974268"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/c91ea0c70427b228b6af595af04052e6.jpg","text":"TemporaryFile(/tmp/multipartBody4484812341117798546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737269438111,"filename":"image_19012025_07_48_03_048507_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/c05652b3a72c002b27bf7c0b26fe2b3a.jpg","text":"TemporaryFile(/tmp/multipartBody6114040092565023510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737269438111,"filename":"image_19012025_07_49_02_693025_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/9e0d0ef69406bcf8914c3be0ff8966c7.jpg","text":"TemporaryFile(/tmp/multipartBody1183424984050406586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737269438111,"filename":"image_19012025_07_48_03_048507_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/9f80941ced3a1c816a8c609f348a41b9.jpg","text":"TemporaryFile(/tmp/multipartBody2452555669258159063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737269438111,"filename":"image_19012025_07_49_02_693025_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/05fac48bcf490f79cd75cf31d2ed8f02.jpg","text":"TemporaryFile(/tmp/multipartBody2617462797374341478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737269438111,"filename":"image_19012025_07_48_03_048507_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/e762850d29ec8f3542d314246c223085.jpg","text":"TemporaryFile(/tmp/multipartBody2994170288371658697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737269438111,"filename":"image_19012025_07_49_02_693025_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329974109","file1":"1329974094","file0":"1329974083","file4":"1329974249","file5":"1329974268","file3":"1329974179"},"map_files_photo_id_array":[{"photo_id":"1329974268","filename":"file5"},{"photo_id":"1329974109","filename":"file2"},{"photo_id":"1329974249","filename":"file4"},{"photo_id":"1329974094","filename":"file1"},{"photo_id":"1329974083","filename":"file0"},{"photo_id":"1329974179","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329974094":["hashtag1","hashtag2"]},{"1329974268":["hashtag1","hashtag2"]},{"1329974109":["hashtag1","hashtag2"]},{"1329974249":["hashtag1","hashtag2"]},{"1329974083":["hashtag1","hashtag2"]},{"1329974179":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329974094, 1329974268, 1329974109, 1329974249, 1329974083, 1329974179)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.87906837463379 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 07:51:02.481137
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/07/49/image_19012025_07_49_02_693025_0003.jpg', '/home/pi/Desktop/images/19012025/07/50/image_19012025_07_50_02_236346_0000.jpg', '/home/pi/Desktop/images/19012025/07/50/image_19012025_07_50_02_236346_0001.jpg', '/home/pi/Desktop/images/19012025/07/50/image_19012025_07_50_02_236346_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/07/49/image_19012025_07_49_02_693025_0003.jpg
/home/pi/Desktop/images/19012025/07/50/image_19012025_07_50_02_236346_0000.jpg
/home/pi/Desktop/images/19012025/07/50/image_19012025_07_50_02_236346_0001.jpg
/home/pi/Desktop/images/19012025/07/50/image_19012025_07_50_02_236346_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329974349","1329974351","1329974348","1329974353"],"photo_ids_order":["1329974348","1329974349","1329974351","1329974353"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/1a25f28e6925929c0e3a3a1618ba4b92.jpg","text":"TemporaryFile(/tmp/multipartBody7111985039455223530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737269533752,"filename":"image_19012025_07_50_02_236346_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/63834402d767982c250d9fc289a911e5.jpg","text":"TemporaryFile(/tmp/multipartBody7766829820653250563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737269533752,"filename":"image_19012025_07_50_02_236346_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/85f933a9c53f81ff1ca37ef75ae5adae.jpg","text":"TemporaryFile(/tmp/multipartBody1886282991241303556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737269533752,"filename":"image_19012025_07_49_02_693025_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/e72679e7025d987468aa8d0aed3fb1c7.jpg","text":"TemporaryFile(/tmp/multipartBody8052694857810971376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737269533752,"filename":"image_19012025_07_50_02_236346_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329974351","file1":"1329974349","file0":"1329974348","file3":"1329974353"},"map_files_photo_id_array":[{"photo_id":"1329974351","filename":"file2"},{"photo_id":"1329974349","filename":"file1"},{"photo_id":"1329974348","filename":"file0"},{"photo_id":"1329974353","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329974349":["hashtag1","hashtag2"]},{"1329974351":["hashtag1","hashtag2"]},{"1329974348":["hashtag1","hashtag2"]},{"1329974353":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329974349, 1329974351, 1329974348, 1329974353)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.39978623390198 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 07:52:02.835147
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/07/50/image_19012025_07_50_02_236346_0003.jpg', '/home/pi/Desktop/images/19012025/07/51/image_19012025_07_51_02_720183_0000.jpg', '/home/pi/Desktop/images/19012025/07/51/image_19012025_07_51_02_720183_0001.jpg', '/home/pi/Desktop/images/19012025/07/51/image_19012025_07_51_02_720183_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/07/50/image_19012025_07_50_02_236346_0003.jpg
/home/pi/Desktop/images/19012025/07/51/image_19012025_07_51_02_720183_0000.jpg
/home/pi/Desktop/images/19012025/07/51/image_19012025_07_51_02_720183_0001.jpg
/home/pi/Desktop/images/19012025/07/51/image_19012025_07_51_02_720183_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.834808111190796 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 07:52:22.455217
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/07/50/image_19012025_07_50_02_236346_0003.jpg', '/home/pi/Desktop/images/19012025/07/51/image_19012025_07_51_02_720183_0000.jpg', '/home/pi/Desktop/images/19012025/07/51/image_19012025_07_51_02_720183_0001.jpg', '/home/pi/Desktop/images/19012025/07/51/image_19012025_07_51_02_720183_0002.jpg', '/home/pi/Desktop/images/19012025/07/51/image_19012025_07_51_02_720183_0003.jpg', '/home/pi/Desktop/images/19012025/07/52/image_19012025_07_52_02_212609_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/07/50/image_19012025_07_50_02_236346_0003.jpg
/home/pi/Desktop/images/19012025/07/51/image_19012025_07_51_02_720183_0000.jpg
/home/pi/Desktop/images/19012025/07/51/image_19012025_07_51_02_720183_0001.jpg
/home/pi/Desktop/images/19012025/07/51/image_19012025_07_51_02_720183_0002.jpg
/home/pi/Desktop/images/19012025/07/51/image_19012025_07_51_02_720183_0003.jpg
/home/pi/Desktop/images/19012025/07/52/image_19012025_07_52_02_212609_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329974410","1329974404","1329974412","1329974406","1329974408","1329974402"],"photo_ids_order":["1329974402","1329974404","1329974406","1329974408","1329974410","1329974412"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/a49446bfe4fbd0b48e4acfb7c8b7757d.jpg","text":"TemporaryFile(/tmp/multipartBody6248930243070424659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737269618931,"filename":"image_19012025_07_51_02_720183_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/ef9d30524a3538572a119b419af680ae.jpg","text":"TemporaryFile(/tmp/multipartBody96608118177237895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737269618931,"filename":"image_19012025_07_51_02_720183_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/992fd2228b3b60183b3f0636e59f740d.jpg","text":"TemporaryFile(/tmp/multipartBody8421192641138574577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737269618931,"filename":"image_19012025_07_52_02_212609_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/e8f0d6ca039803960ea1631340c15739.jpg","text":"TemporaryFile(/tmp/multipartBody8944292934819521754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737269618931,"filename":"image_19012025_07_51_02_720183_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/7ed47c607af7f56860bf12c9e985cba5.jpg","text":"TemporaryFile(/tmp/multipartBody2463284294572916317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737269618931,"filename":"image_19012025_07_51_02_720183_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/bcf43506f977970fbf61f503d3662be5.jpg","text":"TemporaryFile(/tmp/multipartBody7370501427025810215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737269618931,"filename":"image_19012025_07_50_02_236346_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329974406","file1":"1329974404","file0":"1329974402","file4":"1329974410","file5":"1329974412","file3":"1329974408"},"map_files_photo_id_array":[{"photo_id":"1329974412","filename":"file5"},{"photo_id":"1329974406","filename":"file2"},{"photo_id":"1329974410","filename":"file4"},{"photo_id":"1329974404","filename":"file1"},{"photo_id":"1329974402","filename":"file0"},{"photo_id":"1329974408","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329974410":["hashtag1","hashtag2"]},{"1329974404":["hashtag1","hashtag2"]},{"1329974412":["hashtag1","hashtag2"]},{"1329974406":["hashtag1","hashtag2"]},{"1329974408":["hashtag1","hashtag2"]},{"1329974402":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329974410, 1329974404, 1329974412, 1329974406, 1329974408, 1329974402)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.260515451431274 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 07:53:21.987001
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/07/52/image_19012025_07_52_02_212609_0001.jpg', '/home/pi/Desktop/images/19012025/07/52/image_19012025_07_52_02_212609_0002.jpg', '/home/pi/Desktop/images/19012025/07/52/image_19012025_07_52_02_212609_0003.jpg', '/home/pi/Desktop/images/19012025/07/53/image_19012025_07_53_02_890839_0000.jpg', '/home/pi/Desktop/images/19012025/07/53/image_19012025_07_53_02_890839_0001.jpg', '/home/pi/Desktop/images/19012025/07/53/image_19012025_07_53_02_890839_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/07/52/image_19012025_07_52_02_212609_0001.jpg
/home/pi/Desktop/images/19012025/07/52/image_19012025_07_52_02_212609_0002.jpg
/home/pi/Desktop/images/19012025/07/52/image_19012025_07_52_02_212609_0003.jpg
/home/pi/Desktop/images/19012025/07/53/image_19012025_07_53_02_890839_0000.jpg
/home/pi/Desktop/images/19012025/07/53/image_19012025_07_53_02_890839_0001.jpg
/home/pi/Desktop/images/19012025/07/53/image_19012025_07_53_02_890839_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329974425","1329974427","1329974429","1329974420","1329974423","1329974417"],"photo_ids_order":["1329974417","1329974420","1329974423","1329974425","1329974427","1329974429"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/95fd32c64187fe530b595d38efd89a70.jpg","text":"TemporaryFile(/tmp/multipartBody6151910184585196066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737269677587,"filename":"image_19012025_07_53_02_890839_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/3df2bfc3051d70e0ca0e80cbf1946768.jpg","text":"TemporaryFile(/tmp/multipartBody1598692481445713582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737269677587,"filename":"image_19012025_07_53_02_890839_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/a56d7ace711156540ff8d4b7826e5da3.jpg","text":"TemporaryFile(/tmp/multipartBody4124173241426430272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737269677587,"filename":"image_19012025_07_53_02_890839_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/b7b4801b110a787a50083ae3535a37b7.jpg","text":"TemporaryFile(/tmp/multipartBody8963295921456486993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737269677587,"filename":"image_19012025_07_52_02_212609_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/e81c417fb705371f242e45bae7a28d6f.jpg","text":"TemporaryFile(/tmp/multipartBody8730308328703198547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737269677587,"filename":"image_19012025_07_52_02_212609_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/3ec629cb3a5f841a8efba18f1ef13b22.jpg","text":"TemporaryFile(/tmp/multipartBody6268193458160299951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737269677587,"filename":"image_19012025_07_52_02_212609_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329974423","file1":"1329974420","file0":"1329974417","file4":"1329974427","file5":"1329974429","file3":"1329974425"},"map_files_photo_id_array":[{"photo_id":"1329974429","filename":"file5"},{"photo_id":"1329974423","filename":"file2"},{"photo_id":"1329974427","filename":"file4"},{"photo_id":"1329974420","filename":"file1"},{"photo_id":"1329974417","filename":"file0"},{"photo_id":"1329974425","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329974425":["hashtag1","hashtag2"]},{"1329974427":["hashtag1","hashtag2"]},{"1329974429":["hashtag1","hashtag2"]},{"1329974420":["hashtag1","hashtag2"]},{"1329974423":["hashtag1","hashtag2"]},{"1329974417":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329974425, 1329974427, 1329974429, 1329974420, 1329974423, 1329974417)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.96611404418945 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 07:54:22.557260
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/07/53/image_19012025_07_53_02_890839_0003.jpg', '/home/pi/Desktop/images/19012025/07/54/image_19012025_07_54_02_399352_0000.jpg', '/home/pi/Desktop/images/19012025/07/54/image_19012025_07_54_02_399352_0001.jpg', '/home/pi/Desktop/images/19012025/07/54/image_19012025_07_54_02_399352_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/07/53/image_19012025_07_53_02_890839_0003.jpg
/home/pi/Desktop/images/19012025/07/54/image_19012025_07_54_02_399352_0000.jpg
/home/pi/Desktop/images/19012025/07/54/image_19012025_07_54_02_399352_0001.jpg
/home/pi/Desktop/images/19012025/07/54/image_19012025_07_54_02_399352_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329974432","1329974435","1329974461","1329974458"],"photo_ids_order":["1329974432","1329974435","1329974458","1329974461"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/6b91619ecfc888f547b46f2732ff3884.jpg","text":"TemporaryFile(/tmp/multipartBody5979662094821094663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737269733478,"filename":"image_19012025_07_53_02_890839_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/a4077965040ffd8d8f2e26ff2f98ab5e.jpg","text":"TemporaryFile(/tmp/multipartBody7706782016856880589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737269733478,"filename":"image_19012025_07_54_02_399352_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/3b4d86f7911386e13de7d1ced5d2edd4.jpg","text":"TemporaryFile(/tmp/multipartBody1394451626454396558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737269733478,"filename":"image_19012025_07_54_02_399352_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/2dba1ab73cc1ccfbf2ae228e4386f815.jpg","text":"TemporaryFile(/tmp/multipartBody6097327617791798602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737269733478,"filename":"image_19012025_07_54_02_399352_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329974458","file1":"1329974435","file0":"1329974432","file3":"1329974461"},"map_files_photo_id_array":[{"photo_id":"1329974458","filename":"file2"},{"photo_id":"1329974435","filename":"file1"},{"photo_id":"1329974432","filename":"file0"},{"photo_id":"1329974461","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329974432":["hashtag1","hashtag2"]},{"1329974435":["hashtag1","hashtag2"]},{"1329974461":["hashtag1","hashtag2"]},{"1329974458":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329974432, 1329974435, 1329974461, 1329974458)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.076972246170044 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-19 07:55:21.985328
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/07/54/image_19012025_07_54_02_399352_0003.jpg', '/home/pi/Desktop/images/19012025/07/55/image_19012025_07_55_02_880551_0000.jpg', '/home/pi/Desktop/images/19012025/07/55/image_19012025_07_55_02_880551_0001.jpg', '/home/pi/Desktop/images/19012025/07/55/image_19012025_07_55_02_880551_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/07/54/image_19012025_07_54_02_399352_0003.jpg
/home/pi/Desktop/images/19012025/07/55/image_19012025_07_55_02_880551_0000.jpg
/home/pi/Desktop/images/19012025/07/55/image_19012025_07_55_02_880551_0001.jpg
/home/pi/Desktop/images/19012025/07/55/image_19012025_07_55_02_880551_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329974508","1329974510","1329974497","1329974485"],"photo_ids_order":["1329974485","1329974497","1329974508","1329974510"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/b005e8d16b0cce9673aa5a9b38dbb57d.jpg","text":"TemporaryFile(/tmp/multipartBody2704792522493248771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737269793215,"filename":"image_19012025_07_55_02_880551_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/fbe56e4cdb8ad48c244bbb3cb47fd293.jpg","text":"TemporaryFile(/tmp/multipartBody3758087815257205421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737269793215,"filename":"image_19012025_07_55_02_880551_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/8e93fcea8ef0b739b8dac53f61167d56.jpg","text":"TemporaryFile(/tmp/multipartBody1828277969209707269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737269793215,"filename":"image_19012025_07_55_02_880551_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/628266cbf42473a8829bbae514f2c8d8.jpg","text":"TemporaryFile(/tmp/multipartBody5532484518225291785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737269793215,"filename":"image_19012025_07_54_02_399352_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329974508","file1":"1329974497","file0":"1329974485","file3":"1329974510"},"map_files_photo_id_array":[{"photo_id":"1329974508","filename":"file2"},{"photo_id":"1329974497","filename":"file1"},{"photo_id":"1329974485","filename":"file0"},{"photo_id":"1329974510","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329974508":["hashtag1","hashtag2"]},{"1329974510":["hashtag1","hashtag2"]},{"1329974497":["hashtag1","hashtag2"]},{"1329974485":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329974508, 1329974510, 1329974497, 1329974485)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.95722818374634 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 07:56:03.113620
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
  port_id : 19698700
  datou_current_id : 2490825
in upload_from_sqlite, uploading in 19698700
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17012025/21/46/image_17012025_21_46_02_824424_0001.jpg', '/home/pi/Desktop/images/17012025/21/46/image_17012025_21_46_02_824424_0002.jpg', '/home/pi/Desktop/images/17012025/21/46/image_17012025_21_46_02_824424_0003.jpg', '/home/pi/Desktop/images/17012025/21/47/image_17012025_21_47_02_984333_0000.jpg', '/home/pi/Desktop/images/17012025/21/47/image_17012025_21_47_02_984333_0001.jpg', '/home/pi/Desktop/images/17012025/21/47/image_17012025_21_47_02_984333_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2490825&datou=0
/home/pi/Desktop/images/17012025/21/46/image_17012025_21_46_02_824424_0001.jpg
/home/pi/Desktop/images/17012025/21/46/image_17012025_21_46_02_824424_0002.jpg
/home/pi/Desktop/images/17012025/21/46/image_17012025_21_46_02_824424_0003.jpg
/home/pi/Desktop/images/17012025/21/47/image_17012025_21_47_02_984333_0000.jpg
/home/pi/Desktop/images/17012025/21/47/image_17012025_21_47_02_984333_0001.jpg
/home/pi/Desktop/images/17012025/21/47/image_17012025_21_47_02_984333_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 17.0873384475708 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 07:56:22.615315
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/07/55/image_19012025_07_55_02_880551_0003.jpg', '/home/pi/Desktop/images/19012025/07/56/image_19012025_07_56_02_454456_0000.jpg', '/home/pi/Desktop/images/19012025/07/56/image_19012025_07_56_02_454456_0001.jpg', '/home/pi/Desktop/images/19012025/07/56/image_19012025_07_56_02_454456_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/07/55/image_19012025_07_55_02_880551_0003.jpg
/home/pi/Desktop/images/19012025/07/56/image_19012025_07_56_02_454456_0000.jpg
/home/pi/Desktop/images/19012025/07/56/image_19012025_07_56_02_454456_0001.jpg
/home/pi/Desktop/images/19012025/07/56/image_19012025_07_56_02_454456_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329974655","1329974658","1329974652","1329974660"],"photo_ids_order":["1329974652","1329974655","1329974658","1329974660"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/1221ff1d7e4d3a6406903015f946e9f1.jpg","text":"TemporaryFile(/tmp/multipartBody2736239449275349176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737269854102,"filename":"image_19012025_07_56_02_454456_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/5f737a78c38bd42f34e75abf3e3ce1ed.jpg","text":"TemporaryFile(/tmp/multipartBody2749142744162050619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737269854102,"filename":"image_19012025_07_56_02_454456_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/d306a71e561beeaaf003543c4d81b77b.jpg","text":"TemporaryFile(/tmp/multipartBody8908054643484899039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737269854102,"filename":"image_19012025_07_55_02_880551_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/f011a9aaa0bc2e6558b785e0abaa05b6.jpg","text":"TemporaryFile(/tmp/multipartBody1926911383030309507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737269854102,"filename":"image_19012025_07_56_02_454456_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329974658","file1":"1329974655","file0":"1329974652","file3":"1329974660"},"map_files_photo_id_array":[{"photo_id":"1329974658","filename":"file2"},{"photo_id":"1329974655","filename":"file1"},{"photo_id":"1329974652","filename":"file0"},{"photo_id":"1329974660","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329974655":["hashtag1","hashtag2"]},{"1329974658":["hashtag1","hashtag2"]},{"1329974652":["hashtag1","hashtag2"]},{"1329974660":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329974655, 1329974658, 1329974652, 1329974660)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.974506855010986 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 07:57:22.008902
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/07/56/image_19012025_07_56_02_454456_0003.jpg', '/home/pi/Desktop/images/19012025/07/57/image_19012025_07_57_02_941688_0000.jpg', '/home/pi/Desktop/images/19012025/07/57/image_19012025_07_57_02_941688_0001.jpg', '/home/pi/Desktop/images/19012025/07/57/image_19012025_07_57_02_941688_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/07/56/image_19012025_07_56_02_454456_0003.jpg
/home/pi/Desktop/images/19012025/07/57/image_19012025_07_57_02_941688_0000.jpg
/home/pi/Desktop/images/19012025/07/57/image_19012025_07_57_02_941688_0001.jpg
/home/pi/Desktop/images/19012025/07/57/image_19012025_07_57_02_941688_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-19 07:59:02.623722
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 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-19 07:59:21.937269
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/07/56/image_19012025_07_56_02_454456_0003.jpg', '/home/pi/Desktop/images/19012025/07/57/image_19012025_07_57_02_941688_0000.jpg', '/home/pi/Desktop/images/19012025/07/57/image_19012025_07_57_02_941688_0001.jpg', '/home/pi/Desktop/images/19012025/07/57/image_19012025_07_57_02_941688_0002.jpg', '/home/pi/Desktop/images/19012025/07/57/image_19012025_07_57_02_941688_0003.jpg', '/home/pi/Desktop/images/19012025/07/58/image_19012025_07_58_02_562151_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/07/56/image_19012025_07_56_02_454456_0003.jpg
/home/pi/Desktop/images/19012025/07/57/image_19012025_07_57_02_941688_0000.jpg
/home/pi/Desktop/images/19012025/07/57/image_19012025_07_57_02_941688_0001.jpg
/home/pi/Desktop/images/19012025/07/57/image_19012025_07_57_02_941688_0002.jpg
/home/pi/Desktop/images/19012025/07/57/image_19012025_07_57_02_941688_0003.jpg
/home/pi/Desktop/images/19012025/07/58/image_19012025_07_58_02_562151_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329974760","1329974763","1329974757","1329974751","1329974753","1329974755"],"photo_ids_order":["1329974751","1329974753","1329974755","1329974757","1329974760","1329974763"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/0c4682cedbbfefcba024d7b3107e31ad.jpg","text":"TemporaryFile(/tmp/multipartBody1035660191715635886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737270038908,"filename":"image_19012025_07_57_02_941688_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/857c16b7791114f08dd4a3d679ea14f4.jpg","text":"TemporaryFile(/tmp/multipartBody8542024666408440008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737270038908,"filename":"image_19012025_07_58_02_562151_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/ec6c3172d9b5e4207a40864b1c1dc1a2.jpg","text":"TemporaryFile(/tmp/multipartBody7657042723457361203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737270038908,"filename":"image_19012025_07_57_02_941688_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/77b4773bdea84a871246b41a1de08631.jpg","text":"TemporaryFile(/tmp/multipartBody2890150378425557451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737270038908,"filename":"image_19012025_07_56_02_454456_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/a8129085a9295de0ebd6a30ae9757e4b.jpg","text":"TemporaryFile(/tmp/multipartBody4447268578805867187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737270038908,"filename":"image_19012025_07_57_02_941688_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/3abd982e317c899d8914e97e8189427f.jpg","text":"TemporaryFile(/tmp/multipartBody8465612045157332703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737270038908,"filename":"image_19012025_07_57_02_941688_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329974755","file1":"1329974753","file0":"1329974751","file4":"1329974760","file5":"1329974763","file3":"1329974757"},"map_files_photo_id_array":[{"photo_id":"1329974763","filename":"file5"},{"photo_id":"1329974755","filename":"file2"},{"photo_id":"1329974760","filename":"file4"},{"photo_id":"1329974753","filename":"file1"},{"photo_id":"1329974751","filename":"file0"},{"photo_id":"1329974757","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329974760":["hashtag1","hashtag2"]},{"1329974763":["hashtag1","hashtag2"]},{"1329974757":["hashtag1","hashtag2"]},{"1329974751":["hashtag1","hashtag2"]},{"1329974753":["hashtag1","hashtag2"]},{"1329974755":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329974760, 1329974763, 1329974757, 1329974751, 1329974753, 1329974755)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.41864824295044 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 08:00:22.507283
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/07/58/image_19012025_07_58_02_562151_0001.jpg', '/home/pi/Desktop/images/19012025/07/58/image_19012025_07_58_02_562151_0002.jpg', '/home/pi/Desktop/images/19012025/07/58/image_19012025_07_58_02_562151_0003.jpg', '/home/pi/Desktop/images/19012025/07/59/image_19012025_07_59_03_138016_0000.jpg', '/home/pi/Desktop/images/19012025/07/59/image_19012025_07_59_03_138016_0001.jpg', '/home/pi/Desktop/images/19012025/07/59/image_19012025_07_59_03_138016_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/07/58/image_19012025_07_58_02_562151_0001.jpg
/home/pi/Desktop/images/19012025/07/58/image_19012025_07_58_02_562151_0002.jpg
/home/pi/Desktop/images/19012025/07/58/image_19012025_07_58_02_562151_0003.jpg
/home/pi/Desktop/images/19012025/07/59/image_19012025_07_59_03_138016_0000.jpg
/home/pi/Desktop/images/19012025/07/59/image_19012025_07_59_03_138016_0001.jpg
/home/pi/Desktop/images/19012025/07/59/image_19012025_07_59_03_138016_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":["1329974775","1329974778","1329974771","1329974780","1329974768","1329974782"],"photo_ids_order":["1329974768","1329974771","1329974775","1329974778","1329974780","1329974782"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/5223ee02791ec5e1e0066b23c2937520.jpg","text":"TemporaryFile(/tmp/multipartBody3338513304018501506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737270099348,"filename":"image_19012025_07_58_02_562151_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/2c58170a4390de18e900e36e9bd94fbe.jpg","text":"TemporaryFile(/tmp/multipartBody1328129907387300722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737270099348,"filename":"image_19012025_07_59_03_138016_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/90168f18582776031f16303356e4c044.jpg","text":"TemporaryFile(/tmp/multipartBody1089801742499788510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737270099348,"filename":"image_19012025_07_58_02_562151_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/4f37d1b7e6cee45dbd075c561f3fa753.jpg","text":"TemporaryFile(/tmp/multipartBody7563096265333097265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737270099348,"filename":"image_19012025_07_59_03_138016_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/301861992c1b3a382aca7e643463d3c7.jpg","text":"TemporaryFile(/tmp/multipartBody6656102672574763779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737270099348,"filename":"image_19012025_07_58_02_562151_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/1e72e838c68907a92b57fb2bfc57520b.jpg","text":"TemporaryFile(/tmp/multipartBody3586810160347506435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737270099348,"filename":"image_19012025_07_59_03_138016_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329974775","file1":"1329974771","file0":"1329974768","file4":"1329974780","file5":"1329974782","file3":"1329974778"},"map_files_photo_id_array":[{"photo_id":"1329974782","filename":"file5"},{"photo_id":"1329974775","filename":"file2"},{"photo_id":"1329974780","filename":"file4"},{"photo_id":"1329974771","filename":"file1"},{"photo_id":"1329974768","filename":"file0"},{"photo_id":"1329974778","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329974775":["hashtag1","hashtag2"]},{"1329974778":["hashtag1","hashtag2"]},{"1329974771":["hashtag1","hashtag2"]},{"1329974780":["hashtag1","hashtag2"]},{"1329974768":["hashtag1","hashtag2"]},{"1329974782":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329974775, 1329974778, 1329974771, 1329974780, 1329974768, 1329974782)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.12950849533081 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 08:02:02.214510
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/07/59/image_19012025_07_59_03_138016_0003.jpg', '/home/pi/Desktop/images/19012025/08/00/image_19012025_08_00_02_312251_0000.jpg', '/home/pi/Desktop/images/19012025/08/00/image_19012025_08_00_02_312251_0001.jpg', '/home/pi/Desktop/images/19012025/08/00/image_19012025_08_00_02_312251_0002.jpg', '/home/pi/Desktop/images/19012025/08/00/image_19012025_08_00_02_312251_0003.jpg', '/home/pi/Desktop/images/19012025/08/01/image_19012025_08_01_02_921945_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/07/59/image_19012025_07_59_03_138016_0003.jpg
/home/pi/Desktop/images/19012025/08/00/image_19012025_08_00_02_312251_0000.jpg
/home/pi/Desktop/images/19012025/08/00/image_19012025_08_00_02_312251_0001.jpg
/home/pi/Desktop/images/19012025/08/00/image_19012025_08_00_02_312251_0002.jpg
/home/pi/Desktop/images/19012025/08/00/image_19012025_08_00_02_312251_0003.jpg
/home/pi/Desktop/images/19012025/08/01/image_19012025_08_01_02_921945_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329975780","1329976064","1329976060","1329975988","1329976056","1329976053"],"photo_ids_order":["1329975780","1329975988","1329976053","1329976056","1329976060","1329976064"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/9a1b60e63e47055ca746178ba090efce.jpg","text":"TemporaryFile(/tmp/multipartBody6570685485982231750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737270198596,"filename":"image_19012025_07_59_03_138016_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/3ea7a5c328eaef6ba418818fe2407127.jpg","text":"TemporaryFile(/tmp/multipartBody7650773622205194121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737270198596,"filename":"image_19012025_08_01_02_921945_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/ecddae876173bc655105d3e05de9f196.jpg","text":"TemporaryFile(/tmp/multipartBody4474529671460581537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737270198596,"filename":"image_19012025_08_00_02_312251_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/d40b05ce1bf2789c114d03d1d535845e.jpg","text":"TemporaryFile(/tmp/multipartBody7947374997037851749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737270198596,"filename":"image_19012025_08_00_02_312251_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/3fb624c5695521157275b5fd0fc7d52c.jpg","text":"TemporaryFile(/tmp/multipartBody1742793540077724047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737270198596,"filename":"image_19012025_08_00_02_312251_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/3c7ce2128379a25e9c4258f03509a253.jpg","text":"TemporaryFile(/tmp/multipartBody2616062580556008679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737270198596,"filename":"image_19012025_08_00_02_312251_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329976053","file1":"1329975988","file0":"1329975780","file4":"1329976060","file5":"1329976064","file3":"1329976056"},"map_files_photo_id_array":[{"photo_id":"1329976064","filename":"file5"},{"photo_id":"1329976053","filename":"file2"},{"photo_id":"1329976060","filename":"file4"},{"photo_id":"1329975988","filename":"file1"},{"photo_id":"1329975780","filename":"file0"},{"photo_id":"1329976056","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329975780":["hashtag1","hashtag2"]},{"1329976064":["hashtag1","hashtag2"]},{"1329976060":["hashtag1","hashtag2"]},{"1329975988":["hashtag1","hashtag2"]},{"1329976056":["hashtag1","hashtag2"]},{"1329976053":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329975780, 1329976064, 1329976060, 1329975988, 1329976056, 1329976053)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.591796875 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 08:03:03.027120
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/08/01/image_19012025_08_01_02_921945_0001.jpg', '/home/pi/Desktop/images/19012025/08/01/image_19012025_08_01_02_921945_0002.jpg', '/home/pi/Desktop/images/19012025/08/01/image_19012025_08_01_02_921945_0003.jpg', '/home/pi/Desktop/images/19012025/08/02/image_19012025_08_02_02_668208_0000.jpg', '/home/pi/Desktop/images/19012025/08/02/image_19012025_08_02_02_668208_0001.jpg', '/home/pi/Desktop/images/19012025/08/02/image_19012025_08_02_02_668208_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/08/01/image_19012025_08_01_02_921945_0001.jpg
/home/pi/Desktop/images/19012025/08/01/image_19012025_08_01_02_921945_0002.jpg
/home/pi/Desktop/images/19012025/08/01/image_19012025_08_01_02_921945_0003.jpg
/home/pi/Desktop/images/19012025/08/02/image_19012025_08_02_02_668208_0000.jpg
/home/pi/Desktop/images/19012025/08/02/image_19012025_08_02_02_668208_0001.jpg
/home/pi/Desktop/images/19012025/08/02/image_19012025_08_02_02_668208_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 16.302464485168457 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 08:03:22.372069
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/08/01/image_19012025_08_01_02_921945_0001.jpg', '/home/pi/Desktop/images/19012025/08/01/image_19012025_08_01_02_921945_0002.jpg', '/home/pi/Desktop/images/19012025/08/01/image_19012025_08_01_02_921945_0003.jpg', '/home/pi/Desktop/images/19012025/08/02/image_19012025_08_02_02_668208_0000.jpg', '/home/pi/Desktop/images/19012025/08/02/image_19012025_08_02_02_668208_0001.jpg', '/home/pi/Desktop/images/19012025/08/02/image_19012025_08_02_02_668208_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/08/01/image_19012025_08_01_02_921945_0001.jpg
/home/pi/Desktop/images/19012025/08/01/image_19012025_08_01_02_921945_0002.jpg
/home/pi/Desktop/images/19012025/08/01/image_19012025_08_01_02_921945_0003.jpg
/home/pi/Desktop/images/19012025/08/02/image_19012025_08_02_02_668208_0000.jpg
/home/pi/Desktop/images/19012025/08/02/image_19012025_08_02_02_668208_0001.jpg
/home/pi/Desktop/images/19012025/08/02/image_19012025_08_02_02_668208_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":["1329976623","1329976611","1329976625","1329976621","1329976906","1329977081"],"photo_ids_order":["1329976611","1329976621","1329976623","1329976625","1329976906","1329977081"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/f25c7a50c0c37d5c7741ddec602beda4.jpg","text":"TemporaryFile(/tmp/multipartBody3406009598819458547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737270279065,"filename":"image_19012025_08_01_02_921945_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/75b98f4be5bf42f0b4adc26f9227196d.jpg","text":"TemporaryFile(/tmp/multipartBody8716375665251715555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737270279065,"filename":"image_19012025_08_01_02_921945_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/b9a6159878fa15949be6272681b4cfc7.jpg","text":"TemporaryFile(/tmp/multipartBody4504927659849288754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737270279065,"filename":"image_19012025_08_02_02_668208_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/f55e80c674ccbbed72d0de02fc4f3e7e.jpg","text":"TemporaryFile(/tmp/multipartBody5573373250264505780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737270279065,"filename":"image_19012025_08_01_02_921945_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/75ec1133eec319514b6a889001dc1072.jpg","text":"TemporaryFile(/tmp/multipartBody5952219539573497679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737270279065,"filename":"image_19012025_08_02_02_668208_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/4c75663c78f79c56e6bab831ce735748.jpg","text":"TemporaryFile(/tmp/multipartBody8971752380641233671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737270279065,"filename":"image_19012025_08_02_02_668208_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329976623","file1":"1329976621","file0":"1329976611","file4":"1329976906","file5":"1329977081","file3":"1329976625"},"map_files_photo_id_array":[{"photo_id":"1329977081","filename":"file5"},{"photo_id":"1329976623","filename":"file2"},{"photo_id":"1329976906","filename":"file4"},{"photo_id":"1329976621","filename":"file1"},{"photo_id":"1329976611","filename":"file0"},{"photo_id":"1329976625","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329976623":["hashtag1","hashtag2"]},{"1329976611":["hashtag1","hashtag2"]},{"1329976625":["hashtag1","hashtag2"]},{"1329976621":["hashtag1","hashtag2"]},{"1329976906":["hashtag1","hashtag2"]},{"1329977081":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329976623, 1329976611, 1329976625, 1329976621, 1329976906, 1329977081)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.328994035720825 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 08:05:03.074540
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/08/02/image_19012025_08_02_02_668208_0003.jpg', '/home/pi/Desktop/images/19012025/08/03/image_19012025_08_03_02_217169_0000.jpg', '/home/pi/Desktop/images/19012025/08/03/image_19012025_08_03_02_217169_0001.jpg', '/home/pi/Desktop/images/19012025/08/03/image_19012025_08_03_02_217169_0002.jpg', '/home/pi/Desktop/images/19012025/08/03/image_19012025_08_03_02_217169_0003.jpg', '/home/pi/Desktop/images/19012025/08/04/image_19012025_08_04_02_787584_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/08/02/image_19012025_08_02_02_668208_0003.jpg
/home/pi/Desktop/images/19012025/08/03/image_19012025_08_03_02_217169_0000.jpg
/home/pi/Desktop/images/19012025/08/03/image_19012025_08_03_02_217169_0001.jpg
/home/pi/Desktop/images/19012025/08/03/image_19012025_08_03_02_217169_0002.jpg
/home/pi/Desktop/images/19012025/08/03/image_19012025_08_03_02_217169_0003.jpg
/home/pi/Desktop/images/19012025/08/04/image_19012025_08_04_02_787584_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.78116750717163 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 08:05:22.562193
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/08/02/image_19012025_08_02_02_668208_0003.jpg', '/home/pi/Desktop/images/19012025/08/03/image_19012025_08_03_02_217169_0000.jpg', '/home/pi/Desktop/images/19012025/08/03/image_19012025_08_03_02_217169_0001.jpg', '/home/pi/Desktop/images/19012025/08/03/image_19012025_08_03_02_217169_0002.jpg', '/home/pi/Desktop/images/19012025/08/03/image_19012025_08_03_02_217169_0003.jpg', '/home/pi/Desktop/images/19012025/08/04/image_19012025_08_04_02_787584_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/08/02/image_19012025_08_02_02_668208_0003.jpg
/home/pi/Desktop/images/19012025/08/03/image_19012025_08_03_02_217169_0000.jpg
/home/pi/Desktop/images/19012025/08/03/image_19012025_08_03_02_217169_0001.jpg
/home/pi/Desktop/images/19012025/08/03/image_19012025_08_03_02_217169_0002.jpg
/home/pi/Desktop/images/19012025/08/03/image_19012025_08_03_02_217169_0003.jpg
/home/pi/Desktop/images/19012025/08/04/image_19012025_08_04_02_787584_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329977774","1329977785","1329977787","1329977781","1329977778","1329977783"],"photo_ids_order":["1329977774","1329977778","1329977781","1329977783","1329977785","1329977787"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/7afa70339d4c86eed79a45d9cfbe146e.jpg","text":"TemporaryFile(/tmp/multipartBody8917468121491728550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737270398661,"filename":"image_19012025_08_02_02_668208_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/35658ea6379958309fb52e062f4607fa.jpg","text":"TemporaryFile(/tmp/multipartBody5301709433465457276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737270398661,"filename":"image_19012025_08_03_02_217169_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/ccb6a8b6f2252effdcbe7f2dbe0693c4.jpg","text":"TemporaryFile(/tmp/multipartBody6426214925124425431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737270398661,"filename":"image_19012025_08_04_02_787584_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/30b19b1960bd61e3cd426573716a52c9.jpg","text":"TemporaryFile(/tmp/multipartBody932320621388753081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737270398661,"filename":"image_19012025_08_03_02_217169_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/7b5a366977c3b453330c148a3ad76046.jpg","text":"TemporaryFile(/tmp/multipartBody6344265060256714773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737270398661,"filename":"image_19012025_08_03_02_217169_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/6a77c35cbac1330351861b3d2ae4afb8.jpg","text":"TemporaryFile(/tmp/multipartBody4862476522912342277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737270398661,"filename":"image_19012025_08_03_02_217169_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329977781","file1":"1329977778","file0":"1329977774","file4":"1329977785","file5":"1329977787","file3":"1329977783"},"map_files_photo_id_array":[{"photo_id":"1329977787","filename":"file5"},{"photo_id":"1329977781","filename":"file2"},{"photo_id":"1329977785","filename":"file4"},{"photo_id":"1329977778","filename":"file1"},{"photo_id":"1329977774","filename":"file0"},{"photo_id":"1329977783","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329977774":["hashtag1","hashtag2"]},{"1329977785":["hashtag1","hashtag2"]},{"1329977787":["hashtag1","hashtag2"]},{"1329977781":["hashtag1","hashtag2"]},{"1329977778":["hashtag1","hashtag2"]},{"1329977783":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329977774, 1329977785, 1329977787, 1329977781, 1329977778, 1329977783)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.269619941711426 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 08:06:22.225084
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/08/04/image_19012025_08_04_02_787584_0001.jpg', '/home/pi/Desktop/images/19012025/08/04/image_19012025_08_04_02_787584_0002.jpg', '/home/pi/Desktop/images/19012025/08/04/image_19012025_08_04_02_787584_0003.jpg', '/home/pi/Desktop/images/19012025/08/05/image_19012025_08_05_02_409301_0000.jpg', '/home/pi/Desktop/images/19012025/08/05/image_19012025_08_05_02_409301_0001.jpg', '/home/pi/Desktop/images/19012025/08/05/image_19012025_08_05_02_409301_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/08/04/image_19012025_08_04_02_787584_0001.jpg
/home/pi/Desktop/images/19012025/08/04/image_19012025_08_04_02_787584_0002.jpg
/home/pi/Desktop/images/19012025/08/04/image_19012025_08_04_02_787584_0003.jpg
/home/pi/Desktop/images/19012025/08/05/image_19012025_08_05_02_409301_0000.jpg
/home/pi/Desktop/images/19012025/08/05/image_19012025_08_05_02_409301_0001.jpg
/home/pi/Desktop/images/19012025/08/05/image_19012025_08_05_02_409301_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":["1329977828","1329977822","1329977825","1329977819","1329977830","1329977815"],"photo_ids_order":["1329977815","1329977819","1329977822","1329977825","1329977828","1329977830"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/7fe3b7dae15b48cea945e8acb1650fa3.jpg","text":"TemporaryFile(/tmp/multipartBody4717281061492949975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737270458967,"filename":"image_19012025_08_05_02_409301_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/49edb38b25027458ff7279fe5105cf00.jpg","text":"TemporaryFile(/tmp/multipartBody6798677423515260760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737270458967,"filename":"image_19012025_08_04_02_787584_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/f47395edc748e7adc0e0fa832bb11866.jpg","text":"TemporaryFile(/tmp/multipartBody5044261085961562688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737270458967,"filename":"image_19012025_08_05_02_409301_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/cf14e79ecfb8a231b26cc40d12352700.jpg","text":"TemporaryFile(/tmp/multipartBody983458557060035730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737270458967,"filename":"image_19012025_08_04_02_787584_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/c96d2fd55efa8d8da491a34b9bbdbf7b.jpg","text":"TemporaryFile(/tmp/multipartBody4895255189938471572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737270458967,"filename":"image_19012025_08_05_02_409301_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/a4545f80206134b424cece623d5013af.jpg","text":"TemporaryFile(/tmp/multipartBody5046896108296132053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737270458967,"filename":"image_19012025_08_04_02_787584_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329977822","file1":"1329977819","file0":"1329977815","file4":"1329977828","file5":"1329977830","file3":"1329977825"},"map_files_photo_id_array":[{"photo_id":"1329977830","filename":"file5"},{"photo_id":"1329977822","filename":"file2"},{"photo_id":"1329977828","filename":"file4"},{"photo_id":"1329977819","filename":"file1"},{"photo_id":"1329977815","filename":"file0"},{"photo_id":"1329977825","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329977828":["hashtag1","hashtag2"]},{"1329977822":["hashtag1","hashtag2"]},{"1329977825":["hashtag1","hashtag2"]},{"1329977819":["hashtag1","hashtag2"]},{"1329977830":["hashtag1","hashtag2"]},{"1329977815":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329977828, 1329977822, 1329977825, 1329977819, 1329977830, 1329977815)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.11001229286194 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 08:08:02.741777
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/08/05/image_19012025_08_05_02_409301_0003.jpg', '/home/pi/Desktop/images/19012025/08/06/image_19012025_08_06_02_950704_0000.jpg', '/home/pi/Desktop/images/19012025/08/06/image_19012025_08_06_02_950704_0001.jpg', '/home/pi/Desktop/images/19012025/08/06/image_19012025_08_06_02_950704_0002.jpg', '/home/pi/Desktop/images/19012025/08/06/image_19012025_08_06_02_950704_0003.jpg', '/home/pi/Desktop/images/19012025/08/07/image_19012025_08_07_02_574376_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/08/05/image_19012025_08_05_02_409301_0003.jpg
/home/pi/Desktop/images/19012025/08/06/image_19012025_08_06_02_950704_0000.jpg
/home/pi/Desktop/images/19012025/08/06/image_19012025_08_06_02_950704_0001.jpg
/home/pi/Desktop/images/19012025/08/06/image_19012025_08_06_02_950704_0002.jpg
/home/pi/Desktop/images/19012025/08/06/image_19012025_08_06_02_950704_0003.jpg
/home/pi/Desktop/images/19012025/08/07/image_19012025_08_07_02_574376_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":["1329978043","1329978031","1329978034","1329978063","1329978036","1329978039"],"photo_ids_order":["1329978031","1329978034","1329978036","1329978039","1329978043","1329978063"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/f9d9f5ef07a3069497e540a42b2f16ce.jpg","text":"TemporaryFile(/tmp/multipartBody6344980198906854357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737270559323,"filename":"image_19012025_08_06_02_950704_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/f07b7168952b9b0354daf80c3353b501.jpg","text":"TemporaryFile(/tmp/multipartBody2502354115838733521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737270559323,"filename":"image_19012025_08_05_02_409301_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/2c635f65a4faa52643b43c9acf29c443.jpg","text":"TemporaryFile(/tmp/multipartBody3134419240462161312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737270559323,"filename":"image_19012025_08_06_02_950704_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/4f1b9778b567b546cfdb67d2877f28f4.jpg","text":"TemporaryFile(/tmp/multipartBody6184080076335312157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737270559323,"filename":"image_19012025_08_07_02_574376_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/f9dc32e6b5f55c9260a33b48b8699b3e.jpg","text":"TemporaryFile(/tmp/multipartBody2915850757267061876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737270559323,"filename":"image_19012025_08_06_02_950704_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/2e25699635ffb4df7e6695a482915833.jpg","text":"TemporaryFile(/tmp/multipartBody8107430503844334659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737270559323,"filename":"image_19012025_08_06_02_950704_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329978036","file1":"1329978034","file0":"1329978031","file4":"1329978043","file5":"1329978063","file3":"1329978039"},"map_files_photo_id_array":[{"photo_id":"1329978063","filename":"file5"},{"photo_id":"1329978036","filename":"file2"},{"photo_id":"1329978043","filename":"file4"},{"photo_id":"1329978034","filename":"file1"},{"photo_id":"1329978031","filename":"file0"},{"photo_id":"1329978039","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329978043":["hashtag1","hashtag2"]},{"1329978031":["hashtag1","hashtag2"]},{"1329978034":["hashtag1","hashtag2"]},{"1329978063":["hashtag1","hashtag2"]},{"1329978036":["hashtag1","hashtag2"]},{"1329978039":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329978043, 1329978031, 1329978034, 1329978063, 1329978036, 1329978039)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.17233061790466 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 08:09:21.864027
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/08/07/image_19012025_08_07_02_574376_0001.jpg', '/home/pi/Desktop/images/19012025/08/07/image_19012025_08_07_02_574376_0002.jpg', '/home/pi/Desktop/images/19012025/08/07/image_19012025_08_07_02_574376_0003.jpg', '/home/pi/Desktop/images/19012025/08/08/image_19012025_08_08_03_136142_0000.jpg', '/home/pi/Desktop/images/19012025/08/08/image_19012025_08_08_03_136142_0001.jpg', '/home/pi/Desktop/images/19012025/08/08/image_19012025_08_08_03_136142_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/08/07/image_19012025_08_07_02_574376_0001.jpg
/home/pi/Desktop/images/19012025/08/07/image_19012025_08_07_02_574376_0002.jpg
/home/pi/Desktop/images/19012025/08/07/image_19012025_08_07_02_574376_0003.jpg
/home/pi/Desktop/images/19012025/08/08/image_19012025_08_08_03_136142_0000.jpg
/home/pi/Desktop/images/19012025/08/08/image_19012025_08_08_03_136142_0001.jpg
/home/pi/Desktop/images/19012025/08/08/image_19012025_08_08_03_136142_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":["1329978200","1329978203","1329978202","1329978132","1329978129","1329978197"],"photo_ids_order":["1329978129","1329978132","1329978197","1329978200","1329978202","1329978203"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/9133288f0716342235388a91293e31d9.jpg","text":"TemporaryFile(/tmp/multipartBody131706756779964492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737270638478,"filename":"image_19012025_08_08_03_136142_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/12871385a76e0e2b1de66d351270b0a8.jpg","text":"TemporaryFile(/tmp/multipartBody4378375406349257172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737270638478,"filename":"image_19012025_08_08_03_136142_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/4794b9e1730e0c90558755f48a13fc1d.jpg","text":"TemporaryFile(/tmp/multipartBody4884074432996943823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737270638478,"filename":"image_19012025_08_08_03_136142_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/1cfe7f78c7a272a71ee4abb4d8a81306.jpg","text":"TemporaryFile(/tmp/multipartBody3605755773051324046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737270638478,"filename":"image_19012025_08_07_02_574376_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/07fa8eca614a36e860f6867e0bd94de8.jpg","text":"TemporaryFile(/tmp/multipartBody4021499833668021928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737270638478,"filename":"image_19012025_08_07_02_574376_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/cbc250191abc208f555f3a742eb02d29.jpg","text":"TemporaryFile(/tmp/multipartBody2779215588170695411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737270638478,"filename":"image_19012025_08_07_02_574376_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329978197","file1":"1329978132","file0":"1329978129","file4":"1329978202","file5":"1329978203","file3":"1329978200"},"map_files_photo_id_array":[{"photo_id":"1329978203","filename":"file5"},{"photo_id":"1329978197","filename":"file2"},{"photo_id":"1329978202","filename":"file4"},{"photo_id":"1329978132","filename":"file1"},{"photo_id":"1329978129","filename":"file0"},{"photo_id":"1329978200","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329978200":["hashtag1","hashtag2"]},{"1329978203":["hashtag1","hashtag2"]},{"1329978202":["hashtag1","hashtag2"]},{"1329978132":["hashtag1","hashtag2"]},{"1329978129":["hashtag1","hashtag2"]},{"1329978197":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329978200, 1329978203, 1329978202, 1329978132, 1329978129, 1329978197)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.96380257606506 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 08:11:02.350118
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/08/08/image_19012025_08_08_03_136142_0003.jpg', '/home/pi/Desktop/images/19012025/08/09/image_19012025_08_09_02_666480_0000.jpg', '/home/pi/Desktop/images/19012025/08/09/image_19012025_08_09_02_666480_0001.jpg', '/home/pi/Desktop/images/19012025/08/09/image_19012025_08_09_02_666480_0002.jpg', '/home/pi/Desktop/images/19012025/08/09/image_19012025_08_09_02_666480_0003.jpg', '/home/pi/Desktop/images/19012025/08/10/image_19012025_08_10_02_151460_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/08/08/image_19012025_08_08_03_136142_0003.jpg
/home/pi/Desktop/images/19012025/08/09/image_19012025_08_09_02_666480_0000.jpg
/home/pi/Desktop/images/19012025/08/09/image_19012025_08_09_02_666480_0001.jpg
/home/pi/Desktop/images/19012025/08/09/image_19012025_08_09_02_666480_0002.jpg
/home/pi/Desktop/images/19012025/08/09/image_19012025_08_09_02_666480_0003.jpg
/home/pi/Desktop/images/19012025/08/10/image_19012025_08_10_02_151460_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: 16.080234050750732 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 08:11:21.827475
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/08/08/image_19012025_08_08_03_136142_0003.jpg', '/home/pi/Desktop/images/19012025/08/09/image_19012025_08_09_02_666480_0000.jpg', '/home/pi/Desktop/images/19012025/08/09/image_19012025_08_09_02_666480_0001.jpg', '/home/pi/Desktop/images/19012025/08/09/image_19012025_08_09_02_666480_0002.jpg', '/home/pi/Desktop/images/19012025/08/09/image_19012025_08_09_02_666480_0003.jpg', '/home/pi/Desktop/images/19012025/08/10/image_19012025_08_10_02_151460_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/08/08/image_19012025_08_08_03_136142_0003.jpg
/home/pi/Desktop/images/19012025/08/09/image_19012025_08_09_02_666480_0000.jpg
/home/pi/Desktop/images/19012025/08/09/image_19012025_08_09_02_666480_0001.jpg
/home/pi/Desktop/images/19012025/08/09/image_19012025_08_09_02_666480_0002.jpg
/home/pi/Desktop/images/19012025/08/09/image_19012025_08_09_02_666480_0003.jpg
/home/pi/Desktop/images/19012025/08/10/image_19012025_08_10_02_151460_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329978259","1329978261","1329978252","1329978255","1329978249","1329978257"],"photo_ids_order":["1329978249","1329978252","1329978255","1329978257","1329978259","1329978261"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/814a4510e617d3b9a8e7abd39f582cbf.jpg","text":"TemporaryFile(/tmp/multipartBody6729418062986136858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737270758227,"filename":"image_19012025_08_09_02_666480_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/fcb2990789069c0cf91ad1637bb06ece.jpg","text":"TemporaryFile(/tmp/multipartBody3455833329057109039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737270758227,"filename":"image_19012025_08_10_02_151460_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/f5bccf45995abd54d4530dcb183685a4.jpg","text":"TemporaryFile(/tmp/multipartBody8702505947615859589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737270758227,"filename":"image_19012025_08_09_02_666480_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/04d80b5c64542e893bec31b57f66275c.jpg","text":"TemporaryFile(/tmp/multipartBody1003324161486588624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737270758227,"filename":"image_19012025_08_09_02_666480_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/58d881f3cd633711112777976ddf8062.jpg","text":"TemporaryFile(/tmp/multipartBody2617602597063195240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737270758227,"filename":"image_19012025_08_08_03_136142_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/08f98b560e09db275a1e56dab47dcf72.jpg","text":"TemporaryFile(/tmp/multipartBody4972012733701006829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737270758227,"filename":"image_19012025_08_09_02_666480_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329978255","file1":"1329978252","file0":"1329978249","file4":"1329978259","file5":"1329978261","file3":"1329978257"},"map_files_photo_id_array":[{"photo_id":"1329978261","filename":"file5"},{"photo_id":"1329978255","filename":"file2"},{"photo_id":"1329978259","filename":"file4"},{"photo_id":"1329978252","filename":"file1"},{"photo_id":"1329978249","filename":"file0"},{"photo_id":"1329978257","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329978259":["hashtag1","hashtag2"]},{"1329978261":["hashtag1","hashtag2"]},{"1329978252":["hashtag1","hashtag2"]},{"1329978255":["hashtag1","hashtag2"]},{"1329978249":["hashtag1","hashtag2"]},{"1329978257":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329978259, 1329978261, 1329978252, 1329978255, 1329978249, 1329978257)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.76167964935303 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 08:12:22.451098
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/08/10/image_19012025_08_10_02_151460_0001.jpg', '/home/pi/Desktop/images/19012025/08/10/image_19012025_08_10_02_151460_0002.jpg', '/home/pi/Desktop/images/19012025/08/10/image_19012025_08_10_02_151460_0003.jpg', '/home/pi/Desktop/images/19012025/08/11/image_19012025_08_11_02_665581_0000.jpg', '/home/pi/Desktop/images/19012025/08/11/image_19012025_08_11_02_665581_0001.jpg', '/home/pi/Desktop/images/19012025/08/11/image_19012025_08_11_02_665581_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/08/10/image_19012025_08_10_02_151460_0001.jpg
/home/pi/Desktop/images/19012025/08/10/image_19012025_08_10_02_151460_0002.jpg
/home/pi/Desktop/images/19012025/08/10/image_19012025_08_10_02_151460_0003.jpg
/home/pi/Desktop/images/19012025/08/11/image_19012025_08_11_02_665581_0000.jpg
/home/pi/Desktop/images/19012025/08/11/image_19012025_08_11_02_665581_0001.jpg
/home/pi/Desktop/images/19012025/08/11/image_19012025_08_11_02_665581_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329978283","1329978268","1329978272","1329978281","1329978275","1329978278"],"photo_ids_order":["1329978268","1329978272","1329978275","1329978278","1329978281","1329978283"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/53bc1458a7fd99e15f81cdf358b99c21.jpg","text":"TemporaryFile(/tmp/multipartBody4038232325650960482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737270819307,"filename":"image_19012025_08_11_02_665581_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/47f2a29be12a49c81babc83dd0b7bf02.jpg","text":"TemporaryFile(/tmp/multipartBody3983169459466313115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737270819307,"filename":"image_19012025_08_10_02_151460_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/53af3dfc760e75e570bcdd1125be95c2.jpg","text":"TemporaryFile(/tmp/multipartBody898968225973913929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737270819307,"filename":"image_19012025_08_10_02_151460_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/68c7e85753603f4ae0e19333ee0a5ae1.jpg","text":"TemporaryFile(/tmp/multipartBody4735587751994460938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737270819307,"filename":"image_19012025_08_11_02_665581_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/98b0077c60ca80ab658b09bb8abba26c.jpg","text":"TemporaryFile(/tmp/multipartBody411988551423395969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737270819307,"filename":"image_19012025_08_10_02_151460_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/4ce979afc364e4a18c0b58fe74ed9b86.jpg","text":"TemporaryFile(/tmp/multipartBody5154958613126925091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737270819307,"filename":"image_19012025_08_11_02_665581_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329978275","file1":"1329978272","file0":"1329978268","file4":"1329978281","file5":"1329978283","file3":"1329978278"},"map_files_photo_id_array":[{"photo_id":"1329978283","filename":"file5"},{"photo_id":"1329978275","filename":"file2"},{"photo_id":"1329978281","filename":"file4"},{"photo_id":"1329978272","filename":"file1"},{"photo_id":"1329978268","filename":"file0"},{"photo_id":"1329978278","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329978283":["hashtag1","hashtag2"]},{"1329978268":["hashtag1","hashtag2"]},{"1329978272":["hashtag1","hashtag2"]},{"1329978281":["hashtag1","hashtag2"]},{"1329978275":["hashtag1","hashtag2"]},{"1329978278":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329978283, 1329978268, 1329978272, 1329978281, 1329978275, 1329978278)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.13914132118225 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 08:13:22.006140
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/08/11/image_19012025_08_11_02_665581_0003.jpg', '/home/pi/Desktop/images/19012025/08/12/image_19012025_08_12_02_215082_0000.jpg', '/home/pi/Desktop/images/19012025/08/12/image_19012025_08_12_02_215082_0001.jpg', '/home/pi/Desktop/images/19012025/08/12/image_19012025_08_12_02_215082_0002.jpg', '/home/pi/Desktop/images/19012025/08/12/image_19012025_08_12_02_215082_0003.jpg', '/home/pi/Desktop/images/19012025/08/13/image_19012025_08_13_02_854141_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/08/11/image_19012025_08_11_02_665581_0003.jpg
/home/pi/Desktop/images/19012025/08/12/image_19012025_08_12_02_215082_0000.jpg
/home/pi/Desktop/images/19012025/08/12/image_19012025_08_12_02_215082_0001.jpg
/home/pi/Desktop/images/19012025/08/12/image_19012025_08_12_02_215082_0002.jpg
/home/pi/Desktop/images/19012025/08/12/image_19012025_08_12_02_215082_0003.jpg
/home/pi/Desktop/images/19012025/08/13/image_19012025_08_13_02_854141_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329978430","1329978390","1329978366","1329978354","1329978392","1329978368"],"photo_ids_order":["1329978354","1329978366","1329978368","1329978390","1329978392","1329978430"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/d0f9805072db889811097b3bb253c982.jpg","text":"TemporaryFile(/tmp/multipartBody1164588371694006189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737270879026,"filename":"image_19012025_08_13_02_854141_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/c57c258de9fc93cd3257bc7059b6f704.jpg","text":"TemporaryFile(/tmp/multipartBody9013997229859714562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737270879026,"filename":"image_19012025_08_12_02_215082_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/63b1f0063dd76f4008710e03e4fcf597.jpg","text":"TemporaryFile(/tmp/multipartBody3666740751416847120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737270879026,"filename":"image_19012025_08_12_02_215082_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/c19ac89f8f9fdf20c647945310a4ece4.jpg","text":"TemporaryFile(/tmp/multipartBody678711146749439519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737270879026,"filename":"image_19012025_08_11_02_665581_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/30d3017b7f784dcd0933fb3f5dda99c3.jpg","text":"TemporaryFile(/tmp/multipartBody3886373386414234779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737270879026,"filename":"image_19012025_08_12_02_215082_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/81085025b5b955c005276c7fdfa33378.jpg","text":"TemporaryFile(/tmp/multipartBody8013129172837315552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737270879026,"filename":"image_19012025_08_12_02_215082_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329978368","file1":"1329978366","file0":"1329978354","file4":"1329978392","file5":"1329978430","file3":"1329978390"},"map_files_photo_id_array":[{"photo_id":"1329978430","filename":"file5"},{"photo_id":"1329978368","filename":"file2"},{"photo_id":"1329978392","filename":"file4"},{"photo_id":"1329978366","filename":"file1"},{"photo_id":"1329978354","filename":"file0"},{"photo_id":"1329978390","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329978430":["hashtag1","hashtag2"]},{"1329978390":["hashtag1","hashtag2"]},{"1329978366":["hashtag1","hashtag2"]},{"1329978354":["hashtag1","hashtag2"]},{"1329978392":["hashtag1","hashtag2"]},{"1329978368":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329978430, 1329978390, 1329978366, 1329978354, 1329978392, 1329978368)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.597907304763794 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 08:14:22.530855
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/08/13/image_19012025_08_13_02_854141_0001.jpg', '/home/pi/Desktop/images/19012025/08/13/image_19012025_08_13_02_854141_0002.jpg', '/home/pi/Desktop/images/19012025/08/13/image_19012025_08_13_02_854141_0003.jpg', '/home/pi/Desktop/images/19012025/08/14/image_19012025_08_14_02_357191_0000.jpg', '/home/pi/Desktop/images/19012025/08/14/image_19012025_08_14_02_357191_0001.jpg', '/home/pi/Desktop/images/19012025/08/14/image_19012025_08_14_02_357191_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/08/13/image_19012025_08_13_02_854141_0001.jpg
/home/pi/Desktop/images/19012025/08/13/image_19012025_08_13_02_854141_0002.jpg
/home/pi/Desktop/images/19012025/08/13/image_19012025_08_13_02_854141_0003.jpg
/home/pi/Desktop/images/19012025/08/14/image_19012025_08_14_02_357191_0000.jpg
/home/pi/Desktop/images/19012025/08/14/image_19012025_08_14_02_357191_0001.jpg
/home/pi/Desktop/images/19012025/08/14/image_19012025_08_14_02_357191_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329978511","1329978454","1329978514","1329978513","1329978473","1329978509"],"photo_ids_order":["1329978454","1329978473","1329978509","1329978511","1329978513","1329978514"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/d48eb94ffdcb6874701fe100fd41180e.jpg","text":"TemporaryFile(/tmp/multipartBody2782446329140374377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737270939561,"filename":"image_19012025_08_14_02_357191_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/27c6ccff6796f3d82b348a0c76f5d9f3.jpg","text":"TemporaryFile(/tmp/multipartBody2594267842659456839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737270939561,"filename":"image_19012025_08_13_02_854141_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/b7d163b754fe743399f80e906caf1dd2.jpg","text":"TemporaryFile(/tmp/multipartBody7647131299615878644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737270939561,"filename":"image_19012025_08_14_02_357191_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/cc2fe992ff4063ba039afc63b9edea8a.jpg","text":"TemporaryFile(/tmp/multipartBody4361072254738087375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737270939561,"filename":"image_19012025_08_14_02_357191_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/6df915afe78eadbdc8d3e5602d85cdfe.jpg","text":"TemporaryFile(/tmp/multipartBody8917039911407669908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737270939561,"filename":"image_19012025_08_13_02_854141_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/fd966daad48cdac959f1d539f60b340a.jpg","text":"TemporaryFile(/tmp/multipartBody9029744853411051777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737270939561,"filename":"image_19012025_08_13_02_854141_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329978509","file1":"1329978473","file0":"1329978454","file4":"1329978513","file5":"1329978514","file3":"1329978511"},"map_files_photo_id_array":[{"photo_id":"1329978514","filename":"file5"},{"photo_id":"1329978509","filename":"file2"},{"photo_id":"1329978513","filename":"file4"},{"photo_id":"1329978473","filename":"file1"},{"photo_id":"1329978454","filename":"file0"},{"photo_id":"1329978511","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329978511":["hashtag1","hashtag2"]},{"1329978454":["hashtag1","hashtag2"]},{"1329978514":["hashtag1","hashtag2"]},{"1329978513":["hashtag1","hashtag2"]},{"1329978473":["hashtag1","hashtag2"]},{"1329978509":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329978511, 1329978454, 1329978514, 1329978513, 1329978473, 1329978509)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.18537950515747 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 08:15:21.995261
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/08/14/image_19012025_08_14_02_357191_0003.jpg', '/home/pi/Desktop/images/19012025/08/15/image_19012025_08_15_02_849703_0000.jpg', '/home/pi/Desktop/images/19012025/08/15/image_19012025_08_15_02_849703_0001.jpg', '/home/pi/Desktop/images/19012025/08/15/image_19012025_08_15_02_849703_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/08/14/image_19012025_08_14_02_357191_0003.jpg
/home/pi/Desktop/images/19012025/08/15/image_19012025_08_15_02_849703_0000.jpg
/home/pi/Desktop/images/19012025/08/15/image_19012025_08_15_02_849703_0001.jpg
/home/pi/Desktop/images/19012025/08/15/image_19012025_08_15_02_849703_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 11.039962530136108 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 08:16:02.923126
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/08/14/image_19012025_08_14_02_357191_0003.jpg', '/home/pi/Desktop/images/19012025/08/15/image_19012025_08_15_02_849703_0000.jpg', '/home/pi/Desktop/images/19012025/08/15/image_19012025_08_15_02_849703_0001.jpg', '/home/pi/Desktop/images/19012025/08/15/image_19012025_08_15_02_849703_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/08/14/image_19012025_08_14_02_357191_0003.jpg
/home/pi/Desktop/images/19012025/08/15/image_19012025_08_15_02_849703_0000.jpg
/home/pi/Desktop/images/19012025/08/15/image_19012025_08_15_02_849703_0001.jpg
/home/pi/Desktop/images/19012025/08/15/image_19012025_08_15_02_849703_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329978532","1329978534","1329978537","1329978531"],"photo_ids_order":["1329978531","1329978532","1329978534","1329978537"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/26c5d4abcbc0825679af80d49df3cc85.jpg","text":"TemporaryFile(/tmp/multipartBody7795921123259990654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737271034389,"filename":"image_19012025_08_15_02_849703_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/8241776696276a9f7e1b0d4d96e7b393.jpg","text":"TemporaryFile(/tmp/multipartBody1765588345925452461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737271034389,"filename":"image_19012025_08_15_02_849703_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/4a72fed5a795188abd93dc4811aae769.jpg","text":"TemporaryFile(/tmp/multipartBody2583939284701848170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737271034389,"filename":"image_19012025_08_15_02_849703_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/de8b49e41e36a8166965a41ad1e0503d.jpg","text":"TemporaryFile(/tmp/multipartBody9125678499440947435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737271034389,"filename":"image_19012025_08_14_02_357191_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329978534","file1":"1329978532","file0":"1329978531","file3":"1329978537"},"map_files_photo_id_array":[{"photo_id":"1329978534","filename":"file2"},{"photo_id":"1329978532","filename":"file1"},{"photo_id":"1329978531","filename":"file0"},{"photo_id":"1329978537","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329978532":["hashtag1","hashtag2"]},{"1329978534":["hashtag1","hashtag2"]},{"1329978537":["hashtag1","hashtag2"]},{"1329978531":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329978532, 1329978534, 1329978537, 1329978531)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.559672594070435 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 08:17:02.655890
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/08/15/image_19012025_08_15_02_849703_0003.jpg', '/home/pi/Desktop/images/19012025/08/16/image_19012025_08_16_02_327177_0000.jpg', '/home/pi/Desktop/images/19012025/08/16/image_19012025_08_16_02_327177_0001.jpg', '/home/pi/Desktop/images/19012025/08/16/image_19012025_08_16_02_327177_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/08/15/image_19012025_08_15_02_849703_0003.jpg
/home/pi/Desktop/images/19012025/08/16/image_19012025_08_16_02_327177_0000.jpg
/home/pi/Desktop/images/19012025/08/16/image_19012025_08_16_02_327177_0001.jpg
/home/pi/Desktop/images/19012025/08/16/image_19012025_08_16_02_327177_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 11.01141905784607 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 08:17:22.114795
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/08/15/image_19012025_08_15_02_849703_0003.jpg', '/home/pi/Desktop/images/19012025/08/16/image_19012025_08_16_02_327177_0000.jpg', '/home/pi/Desktop/images/19012025/08/16/image_19012025_08_16_02_327177_0001.jpg', '/home/pi/Desktop/images/19012025/08/16/image_19012025_08_16_02_327177_0002.jpg', '/home/pi/Desktop/images/19012025/08/16/image_19012025_08_16_02_327177_0003.jpg', '/home/pi/Desktop/images/19012025/08/17/image_19012025_08_17_02_849996_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/08/15/image_19012025_08_15_02_849703_0003.jpg
/home/pi/Desktop/images/19012025/08/16/image_19012025_08_16_02_327177_0000.jpg
/home/pi/Desktop/images/19012025/08/16/image_19012025_08_16_02_327177_0001.jpg
/home/pi/Desktop/images/19012025/08/16/image_19012025_08_16_02_327177_0002.jpg
/home/pi/Desktop/images/19012025/08/16/image_19012025_08_16_02_327177_0003.jpg
/home/pi/Desktop/images/19012025/08/17/image_19012025_08_17_02_849996_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329979093","1329979048","1329979098","1329979206","1329979112","1329979096"],"photo_ids_order":["1329979048","1329979093","1329979096","1329979098","1329979112","1329979206"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/a3742607865d584384e5f4a60b56f275.jpg","text":"TemporaryFile(/tmp/multipartBody8406810216551589400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737271118963,"filename":"image_19012025_08_16_02_327177_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/dcad27830dedcc3fcf93c616a86cdf7d.jpg","text":"TemporaryFile(/tmp/multipartBody332265891703829520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737271118963,"filename":"image_19012025_08_15_02_849703_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/12c8a4bb9f46b9b025d95e323150ff12.jpg","text":"TemporaryFile(/tmp/multipartBody8527064198826646425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737271118963,"filename":"image_19012025_08_16_02_327177_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/f09729e3e88ac37c7ff9b17204d6024f.jpg","text":"TemporaryFile(/tmp/multipartBody1356223236167318731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737271118963,"filename":"image_19012025_08_17_02_849996_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/17245dbd0ee18f52176714465303aa9a.jpg","text":"TemporaryFile(/tmp/multipartBody4025097399211614264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737271118963,"filename":"image_19012025_08_16_02_327177_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/99848ff78020eed5133a305468760ba0.jpg","text":"TemporaryFile(/tmp/multipartBody5336946892322740560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737271118963,"filename":"image_19012025_08_16_02_327177_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329979096","file1":"1329979093","file0":"1329979048","file4":"1329979112","file5":"1329979206","file3":"1329979098"},"map_files_photo_id_array":[{"photo_id":"1329979206","filename":"file5"},{"photo_id":"1329979096","filename":"file2"},{"photo_id":"1329979112","filename":"file4"},{"photo_id":"1329979093","filename":"file1"},{"photo_id":"1329979048","filename":"file0"},{"photo_id":"1329979098","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329979093":["hashtag1","hashtag2"]},{"1329979048":["hashtag1","hashtag2"]},{"1329979098":["hashtag1","hashtag2"]},{"1329979206":["hashtag1","hashtag2"]},{"1329979112":["hashtag1","hashtag2"]},{"1329979096":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329979093, 1329979048, 1329979098, 1329979206, 1329979112, 1329979096)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.7178111076355 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 08:18:22.667815
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/08/17/image_19012025_08_17_02_849996_0001.jpg', '/home/pi/Desktop/images/19012025/08/17/image_19012025_08_17_02_849996_0002.jpg', '/home/pi/Desktop/images/19012025/08/17/image_19012025_08_17_02_849996_0003.jpg', '/home/pi/Desktop/images/19012025/08/18/image_19012025_08_18_02_378704_0000.jpg', '/home/pi/Desktop/images/19012025/08/18/image_19012025_08_18_02_378704_0001.jpg', '/home/pi/Desktop/images/19012025/08/18/image_19012025_08_18_02_378704_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/08/17/image_19012025_08_17_02_849996_0001.jpg
/home/pi/Desktop/images/19012025/08/17/image_19012025_08_17_02_849996_0002.jpg
/home/pi/Desktop/images/19012025/08/17/image_19012025_08_17_02_849996_0003.jpg
/home/pi/Desktop/images/19012025/08/18/image_19012025_08_18_02_378704_0000.jpg
/home/pi/Desktop/images/19012025/08/18/image_19012025_08_18_02_378704_0001.jpg
/home/pi/Desktop/images/19012025/08/18/image_19012025_08_18_02_378704_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":["1329979221","1329979224","1329979218","1329979212","1329979215","1329979226"],"photo_ids_order":["1329979212","1329979215","1329979218","1329979221","1329979224","1329979226"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/267616bfc41a8f76635aa48885c8018c.jpg","text":"TemporaryFile(/tmp/multipartBody1801127184152729690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737271179389,"filename":"image_19012025_08_18_02_378704_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/f0addbc152df79382ffc14912f797aac.jpg","text":"TemporaryFile(/tmp/multipartBody5002211120761373500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737271179389,"filename":"image_19012025_08_18_02_378704_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/bbd30990d78b2eebd1c0da5d757ddce4.jpg","text":"TemporaryFile(/tmp/multipartBody6542153463685963560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737271179389,"filename":"image_19012025_08_17_02_849996_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/9b23c6d3ca074bed6b95c03431b22dee.jpg","text":"TemporaryFile(/tmp/multipartBody8998871689708222048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737271179389,"filename":"image_19012025_08_17_02_849996_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/5dfb986fb3b332a5e6fbc794c1b31742.jpg","text":"TemporaryFile(/tmp/multipartBody7129290670490123625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737271179389,"filename":"image_19012025_08_17_02_849996_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/806d8c5ccdd380c009bbe242d2f91e8e.jpg","text":"TemporaryFile(/tmp/multipartBody3601917664211638257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737271179389,"filename":"image_19012025_08_18_02_378704_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329979218","file1":"1329979215","file0":"1329979212","file4":"1329979224","file5":"1329979226","file3":"1329979221"},"map_files_photo_id_array":[{"photo_id":"1329979226","filename":"file5"},{"photo_id":"1329979218","filename":"file2"},{"photo_id":"1329979224","filename":"file4"},{"photo_id":"1329979215","filename":"file1"},{"photo_id":"1329979212","filename":"file0"},{"photo_id":"1329979221","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329979221":["hashtag1","hashtag2"]},{"1329979224":["hashtag1","hashtag2"]},{"1329979218":["hashtag1","hashtag2"]},{"1329979212":["hashtag1","hashtag2"]},{"1329979215":["hashtag1","hashtag2"]},{"1329979226":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329979221, 1329979224, 1329979218, 1329979212, 1329979215, 1329979226)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.14048218727112 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 08:20:02.226016
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/08/18/image_19012025_08_18_02_378704_0003.jpg', '/home/pi/Desktop/images/19012025/08/19/image_19012025_08_19_03_060574_0000.jpg', '/home/pi/Desktop/images/19012025/08/19/image_19012025_08_19_03_060574_0001.jpg', '/home/pi/Desktop/images/19012025/08/19/image_19012025_08_19_03_060574_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/08/18/image_19012025_08_18_02_378704_0003.jpg
/home/pi/Desktop/images/19012025/08/19/image_19012025_08_19_03_060574_0000.jpg
/home/pi/Desktop/images/19012025/08/19/image_19012025_08_19_03_060574_0001.jpg
/home/pi/Desktop/images/19012025/08/19/image_19012025_08_19_03_060574_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.864280939102173 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 08:20:21.784901
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/08/18/image_19012025_08_18_02_378704_0003.jpg', '/home/pi/Desktop/images/19012025/08/19/image_19012025_08_19_03_060574_0000.jpg', '/home/pi/Desktop/images/19012025/08/19/image_19012025_08_19_03_060574_0001.jpg', '/home/pi/Desktop/images/19012025/08/19/image_19012025_08_19_03_060574_0002.jpg', '/home/pi/Desktop/images/19012025/08/19/image_19012025_08_19_03_060574_0003.jpg', '/home/pi/Desktop/images/19012025/08/20/image_19012025_08_20_02_659960_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/08/18/image_19012025_08_18_02_378704_0003.jpg
/home/pi/Desktop/images/19012025/08/19/image_19012025_08_19_03_060574_0000.jpg
/home/pi/Desktop/images/19012025/08/19/image_19012025_08_19_03_060574_0001.jpg
/home/pi/Desktop/images/19012025/08/19/image_19012025_08_19_03_060574_0002.jpg
/home/pi/Desktop/images/19012025/08/19/image_19012025_08_19_03_060574_0003.jpg
/home/pi/Desktop/images/19012025/08/20/image_19012025_08_20_02_659960_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":["1329979291","1329979290","1329979293","1329979287","1329979295","1329979283"],"photo_ids_order":["1329979283","1329979287","1329979290","1329979291","1329979293","1329979295"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/57032f2e16b0d919e424ae1977baff1b.jpg","text":"TemporaryFile(/tmp/multipartBody5804274592315890438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737271298513,"filename":"image_19012025_08_19_03_060574_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/d488d5344d149994c34f7613652d5293.jpg","text":"TemporaryFile(/tmp/multipartBody8741885064474665975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737271298513,"filename":"image_19012025_08_19_03_060574_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/e3fd90cfd2d3dedffd7c0c4d481e24f8.jpg","text":"TemporaryFile(/tmp/multipartBody2982165323359049149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737271298513,"filename":"image_19012025_08_19_03_060574_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/4b8f6b38541de953b63db79062f07b0a.jpg","text":"TemporaryFile(/tmp/multipartBody3836605141522232351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737271298513,"filename":"image_19012025_08_19_03_060574_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/f5e7fbfbfb0fe2bbbae2def36dd77455.jpg","text":"TemporaryFile(/tmp/multipartBody7830634586459870538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737271298513,"filename":"image_19012025_08_20_02_659960_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/6d21a7555ef415af7b054a92f4c3be85.jpg","text":"TemporaryFile(/tmp/multipartBody6885053912659894154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737271298513,"filename":"image_19012025_08_18_02_378704_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329979290","file1":"1329979287","file0":"1329979283","file4":"1329979293","file5":"1329979295","file3":"1329979291"},"map_files_photo_id_array":[{"photo_id":"1329979295","filename":"file5"},{"photo_id":"1329979290","filename":"file2"},{"photo_id":"1329979293","filename":"file4"},{"photo_id":"1329979287","filename":"file1"},{"photo_id":"1329979283","filename":"file0"},{"photo_id":"1329979291","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329979291":["hashtag1","hashtag2"]},{"1329979290":["hashtag1","hashtag2"]},{"1329979293":["hashtag1","hashtag2"]},{"1329979287":["hashtag1","hashtag2"]},{"1329979295":["hashtag1","hashtag2"]},{"1329979283":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329979291, 1329979290, 1329979293, 1329979287, 1329979295, 1329979283)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 65.05673623085022 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 08:22:02.224813
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/08/20/image_19012025_08_20_02_659960_0001.jpg', '/home/pi/Desktop/images/19012025/08/20/image_19012025_08_20_02_659960_0002.jpg', '/home/pi/Desktop/images/19012025/08/20/image_19012025_08_20_02_659960_0003.jpg', '/home/pi/Desktop/images/19012025/08/21/image_19012025_08_21_02_148325_0000.jpg', '/home/pi/Desktop/images/19012025/08/21/image_19012025_08_21_02_148325_0001.jpg', '/home/pi/Desktop/images/19012025/08/21/image_19012025_08_21_02_148325_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/08/20/image_19012025_08_20_02_659960_0001.jpg
/home/pi/Desktop/images/19012025/08/20/image_19012025_08_20_02_659960_0002.jpg
/home/pi/Desktop/images/19012025/08/20/image_19012025_08_20_02_659960_0003.jpg
/home/pi/Desktop/images/19012025/08/21/image_19012025_08_21_02_148325_0000.jpg
/home/pi/Desktop/images/19012025/08/21/image_19012025_08_21_02_148325_0001.jpg
/home/pi/Desktop/images/19012025/08/21/image_19012025_08_21_02_148325_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329979348","1329979335","1329979338","1329979332","1329979346","1329979343"],"photo_ids_order":["1329979332","1329979335","1329979338","1329979343","1329979346","1329979348"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/c726bd7ac2675b5a421442d9032d3326.jpg","text":"TemporaryFile(/tmp/multipartBody5577590202639021811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737271398862,"filename":"image_19012025_08_21_02_148325_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/2e83e74dbc7bb4b9649a68549c8a387e.jpg","text":"TemporaryFile(/tmp/multipartBody3471003185707219533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737271398862,"filename":"image_19012025_08_20_02_659960_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/98eb75091c0f40a74cadb3d88c0359d3.jpg","text":"TemporaryFile(/tmp/multipartBody1461177497087405462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737271398862,"filename":"image_19012025_08_20_02_659960_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/19e6cf5751a67968c2cc0da8ff5d3516.jpg","text":"TemporaryFile(/tmp/multipartBody7564496172610746657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737271398862,"filename":"image_19012025_08_20_02_659960_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/9f7889534ad56ed7b8c373f526c5d74e.jpg","text":"TemporaryFile(/tmp/multipartBody7618793828299103012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737271398862,"filename":"image_19012025_08_21_02_148325_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/53d4ff358c124507c21a0d77aa950c01.jpg","text":"TemporaryFile(/tmp/multipartBody8052395375453304087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737271398862,"filename":"image_19012025_08_21_02_148325_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329979338","file1":"1329979335","file0":"1329979332","file4":"1329979346","file5":"1329979348","file3":"1329979343"},"map_files_photo_id_array":[{"photo_id":"1329979348","filename":"file5"},{"photo_id":"1329979338","filename":"file2"},{"photo_id":"1329979346","filename":"file4"},{"photo_id":"1329979335","filename":"file1"},{"photo_id":"1329979332","filename":"file0"},{"photo_id":"1329979343","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329979348":["hashtag1","hashtag2"]},{"1329979335":["hashtag1","hashtag2"]},{"1329979338":["hashtag1","hashtag2"]},{"1329979332":["hashtag1","hashtag2"]},{"1329979346":["hashtag1","hashtag2"]},{"1329979343":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329979348, 1329979335, 1329979338, 1329979332, 1329979346, 1329979343)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.37697219848633 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 08:23:02.982708
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/08/21/image_19012025_08_21_02_148325_0003.jpg', '/home/pi/Desktop/images/19012025/08/22/image_19012025_08_22_02_658931_0000.jpg', '/home/pi/Desktop/images/19012025/08/22/image_19012025_08_22_02_658931_0001.jpg', '/home/pi/Desktop/images/19012025/08/22/image_19012025_08_22_02_658931_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/08/21/image_19012025_08_21_02_148325_0003.jpg
/home/pi/Desktop/images/19012025/08/22/image_19012025_08_22_02_658931_0000.jpg
/home/pi/Desktop/images/19012025/08/22/image_19012025_08_22_02_658931_0001.jpg
/home/pi/Desktop/images/19012025/08/22/image_19012025_08_22_02_658931_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 11.29949951171875 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 08:23:22.343372
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/08/21/image_19012025_08_21_02_148325_0003.jpg', '/home/pi/Desktop/images/19012025/08/22/image_19012025_08_22_02_658931_0000.jpg', '/home/pi/Desktop/images/19012025/08/22/image_19012025_08_22_02_658931_0001.jpg', '/home/pi/Desktop/images/19012025/08/22/image_19012025_08_22_02_658931_0002.jpg', '/home/pi/Desktop/images/19012025/08/22/image_19012025_08_22_02_658931_0003.jpg', '/home/pi/Desktop/images/19012025/08/23/image_19012025_08_23_02_167170_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/08/21/image_19012025_08_21_02_148325_0003.jpg
/home/pi/Desktop/images/19012025/08/22/image_19012025_08_22_02_658931_0000.jpg
/home/pi/Desktop/images/19012025/08/22/image_19012025_08_22_02_658931_0001.jpg
/home/pi/Desktop/images/19012025/08/22/image_19012025_08_22_02_658931_0002.jpg
/home/pi/Desktop/images/19012025/08/22/image_19012025_08_22_02_658931_0003.jpg
/home/pi/Desktop/images/19012025/08/23/image_19012025_08_23_02_167170_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329979438","1329979408","1329979402","1329979404","1329979400","1329979406"],"photo_ids_order":["1329979400","1329979402","1329979404","1329979406","1329979408","1329979438"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/870a1073a0709f0dd6b68dcc3fff8d77.jpg","text":"TemporaryFile(/tmp/multipartBody5665399694784425680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737271479505,"filename":"image_19012025_08_23_02_167170_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/7b3616b3f343ae2ad34b6e235fc94d73.jpg","text":"TemporaryFile(/tmp/multipartBody5731137045717351251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737271479505,"filename":"image_19012025_08_22_02_658931_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/9f32fd13c2c5b1a2f36d75193ec9545e.jpg","text":"TemporaryFile(/tmp/multipartBody9049874800742660106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737271479505,"filename":"image_19012025_08_22_02_658931_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/396c9e79c5a26c87a6ccb550ee0481a9.jpg","text":"TemporaryFile(/tmp/multipartBody2285207016786677511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737271479505,"filename":"image_19012025_08_22_02_658931_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/cca985cdacba168681bdeaf15b35a638.jpg","text":"TemporaryFile(/tmp/multipartBody7045928160272182730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737271479505,"filename":"image_19012025_08_21_02_148325_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/2e8e00a489ab1f2ea26c6bac139bc43d.jpg","text":"TemporaryFile(/tmp/multipartBody3431522186069216262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737271479505,"filename":"image_19012025_08_22_02_658931_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329979404","file1":"1329979402","file0":"1329979400","file4":"1329979408","file5":"1329979438","file3":"1329979406"},"map_files_photo_id_array":[{"photo_id":"1329979438","filename":"file5"},{"photo_id":"1329979404","filename":"file2"},{"photo_id":"1329979408","filename":"file4"},{"photo_id":"1329979402","filename":"file1"},{"photo_id":"1329979400","filename":"file0"},{"photo_id":"1329979406","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329979438":["hashtag1","hashtag2"]},{"1329979408":["hashtag1","hashtag2"]},{"1329979402":["hashtag1","hashtag2"]},{"1329979404":["hashtag1","hashtag2"]},{"1329979400":["hashtag1","hashtag2"]},{"1329979406":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329979438, 1329979408, 1329979402, 1329979404, 1329979400, 1329979406)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.57033848762512 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 08:24:21.902144
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/08/23/image_19012025_08_23_02_167170_0001.jpg', '/home/pi/Desktop/images/19012025/08/23/image_19012025_08_23_02_167170_0002.jpg', '/home/pi/Desktop/images/19012025/08/23/image_19012025_08_23_02_167170_0003.jpg', '/home/pi/Desktop/images/19012025/08/24/image_19012025_08_24_02_646273_0000.jpg', '/home/pi/Desktop/images/19012025/08/24/image_19012025_08_24_02_646273_0001.jpg', '/home/pi/Desktop/images/19012025/08/24/image_19012025_08_24_02_646273_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/08/23/image_19012025_08_23_02_167170_0001.jpg
/home/pi/Desktop/images/19012025/08/23/image_19012025_08_23_02_167170_0002.jpg
/home/pi/Desktop/images/19012025/08/23/image_19012025_08_23_02_167170_0003.jpg
/home/pi/Desktop/images/19012025/08/24/image_19012025_08_24_02_646273_0000.jpg
/home/pi/Desktop/images/19012025/08/24/image_19012025_08_24_02_646273_0001.jpg
/home/pi/Desktop/images/19012025/08/24/image_19012025_08_24_02_646273_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329979482","1329979479","1329979467","1329979475","1329979484","1329979471"],"photo_ids_order":["1329979467","1329979471","1329979475","1329979479","1329979482","1329979484"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/fdd151695582d4f15f7cd54f656fde36.jpg","text":"TemporaryFile(/tmp/multipartBody8537731803242137388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737271538814,"filename":"image_19012025_08_24_02_646273_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/042634b59d505bde1a8635103b547ef9.jpg","text":"TemporaryFile(/tmp/multipartBody199347394776707959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737271538814,"filename":"image_19012025_08_24_02_646273_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/a2554802f26b25dbc659396fabb0e075.jpg","text":"TemporaryFile(/tmp/multipartBody2443186963714751417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737271538814,"filename":"image_19012025_08_23_02_167170_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/46dd4b114073427dde80b0a1818760ae.jpg","text":"TemporaryFile(/tmp/multipartBody5980423931880773726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737271538814,"filename":"image_19012025_08_23_02_167170_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/6fa728c8b6392047fd6bc656048e6fc2.jpg","text":"TemporaryFile(/tmp/multipartBody675596275137491164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737271538814,"filename":"image_19012025_08_24_02_646273_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/68113b6296bfb676ae0fe0081527a880.jpg","text":"TemporaryFile(/tmp/multipartBody546293685097576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737271538814,"filename":"image_19012025_08_23_02_167170_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329979475","file1":"1329979471","file0":"1329979467","file4":"1329979482","file5":"1329979484","file3":"1329979479"},"map_files_photo_id_array":[{"photo_id":"1329979484","filename":"file5"},{"photo_id":"1329979475","filename":"file2"},{"photo_id":"1329979482","filename":"file4"},{"photo_id":"1329979471","filename":"file1"},{"photo_id":"1329979467","filename":"file0"},{"photo_id":"1329979479","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329979482":["hashtag1","hashtag2"]},{"1329979479":["hashtag1","hashtag2"]},{"1329979467":["hashtag1","hashtag2"]},{"1329979475":["hashtag1","hashtag2"]},{"1329979484":["hashtag1","hashtag2"]},{"1329979471":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329979482, 1329979479, 1329979467, 1329979475, 1329979484, 1329979471)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.5454216003418 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 08:25:22.447800
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/08/24/image_19012025_08_24_02_646273_0003.jpg', '/home/pi/Desktop/images/19012025/08/25/image_19012025_08_25_02_311540_0000.jpg', '/home/pi/Desktop/images/19012025/08/25/image_19012025_08_25_02_311540_0001.jpg', '/home/pi/Desktop/images/19012025/08/25/image_19012025_08_25_02_311540_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/08/24/image_19012025_08_24_02_646273_0003.jpg
/home/pi/Desktop/images/19012025/08/25/image_19012025_08_25_02_311540_0000.jpg
/home/pi/Desktop/images/19012025/08/25/image_19012025_08_25_02_311540_0001.jpg
/home/pi/Desktop/images/19012025/08/25/image_19012025_08_25_02_311540_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329979669","1329979513","1329979671","1329979570"],"photo_ids_order":["1329979513","1329979570","1329979669","1329979671"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/66aa67f15ad6ad18f0de7bcaf621b946.jpg","text":"TemporaryFile(/tmp/multipartBody4970960843513782228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737271593780,"filename":"image_19012025_08_25_02_311540_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/b71a8c6602db7010179507896d032701.jpg","text":"TemporaryFile(/tmp/multipartBody7298265142227584740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737271593780,"filename":"image_19012025_08_24_02_646273_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/338460fc36b7c105d9054211794d9ddb.jpg","text":"TemporaryFile(/tmp/multipartBody6940000414573548486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737271593780,"filename":"image_19012025_08_25_02_311540_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/ffb011a6de43fd48e1f3f37473c60ca6.jpg","text":"TemporaryFile(/tmp/multipartBody4271087920050325723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737271593780,"filename":"image_19012025_08_25_02_311540_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329979669","file1":"1329979570","file0":"1329979513","file3":"1329979671"},"map_files_photo_id_array":[{"photo_id":"1329979669","filename":"file2"},{"photo_id":"1329979570","filename":"file1"},{"photo_id":"1329979513","filename":"file0"},{"photo_id":"1329979671","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329979669":["hashtag1","hashtag2"]},{"1329979513":["hashtag1","hashtag2"]},{"1329979671":["hashtag1","hashtag2"]},{"1329979570":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329979669, 1329979513, 1329979671, 1329979570)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.90398812294006 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 08:26:21.901471
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/08/25/image_19012025_08_25_02_311540_0003.jpg', '/home/pi/Desktop/images/19012025/08/26/image_19012025_08_26_02_780890_0000.jpg', '/home/pi/Desktop/images/19012025/08/26/image_19012025_08_26_02_780890_0001.jpg', '/home/pi/Desktop/images/19012025/08/26/image_19012025_08_26_02_780890_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/08/25/image_19012025_08_25_02_311540_0003.jpg
/home/pi/Desktop/images/19012025/08/26/image_19012025_08_26_02_780890_0000.jpg
/home/pi/Desktop/images/19012025/08/26/image_19012025_08_26_02_780890_0001.jpg
/home/pi/Desktop/images/19012025/08/26/image_19012025_08_26_02_780890_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 11.098291635513306 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 08:27:02.914175
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/08/25/image_19012025_08_25_02_311540_0003.jpg', '/home/pi/Desktop/images/19012025/08/26/image_19012025_08_26_02_780890_0000.jpg', '/home/pi/Desktop/images/19012025/08/26/image_19012025_08_26_02_780890_0001.jpg', '/home/pi/Desktop/images/19012025/08/26/image_19012025_08_26_02_780890_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/08/25/image_19012025_08_25_02_311540_0003.jpg
/home/pi/Desktop/images/19012025/08/26/image_19012025_08_26_02_780890_0000.jpg
/home/pi/Desktop/images/19012025/08/26/image_19012025_08_26_02_780890_0001.jpg
/home/pi/Desktop/images/19012025/08/26/image_19012025_08_26_02_780890_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329979768","1329979773","1329979770","1329979766"],"photo_ids_order":["1329979766","1329979768","1329979770","1329979773"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/c6f1b028bfeb7adaf6d7446dca4e216a.jpg","text":"TemporaryFile(/tmp/multipartBody8570705520795135061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737271694476,"filename":"image_19012025_08_26_02_780890_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/5679a1f5e3feb7315ba59ea33b6e5ce7.jpg","text":"TemporaryFile(/tmp/multipartBody8057009523573253883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737271694476,"filename":"image_19012025_08_26_02_780890_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/e354d1f1e595d594195da4ee690014c0.jpg","text":"TemporaryFile(/tmp/multipartBody9001065271863501585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737271694476,"filename":"image_19012025_08_26_02_780890_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/4912e985cc2c158cd6831039e260f2f8.jpg","text":"TemporaryFile(/tmp/multipartBody2876990773001583655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737271694476,"filename":"image_19012025_08_25_02_311540_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329979770","file1":"1329979768","file0":"1329979766","file3":"1329979773"},"map_files_photo_id_array":[{"photo_id":"1329979770","filename":"file2"},{"photo_id":"1329979768","filename":"file1"},{"photo_id":"1329979766","filename":"file0"},{"photo_id":"1329979773","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329979768":["hashtag1","hashtag2"]},{"1329979773":["hashtag1","hashtag2"]},{"1329979770":["hashtag1","hashtag2"]},{"1329979766":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329979768, 1329979773, 1329979770, 1329979766)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 45.59138536453247 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 08:28:02.431699
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/08/26/image_19012025_08_26_02_780890_0003.jpg', '/home/pi/Desktop/images/19012025/08/27/image_19012025_08_27_02_229626_0000.jpg', '/home/pi/Desktop/images/19012025/08/27/image_19012025_08_27_02_229626_0001.jpg', '/home/pi/Desktop/images/19012025/08/27/image_19012025_08_27_02_229626_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/08/26/image_19012025_08_26_02_780890_0003.jpg
/home/pi/Desktop/images/19012025/08/27/image_19012025_08_27_02_229626_0000.jpg
/home/pi/Desktop/images/19012025/08/27/image_19012025_08_27_02_229626_0001.jpg
/home/pi/Desktop/images/19012025/08/27/image_19012025_08_27_02_229626_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.950381755828857 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 08:28:22.037474
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/08/26/image_19012025_08_26_02_780890_0003.jpg', '/home/pi/Desktop/images/19012025/08/27/image_19012025_08_27_02_229626_0000.jpg', '/home/pi/Desktop/images/19012025/08/27/image_19012025_08_27_02_229626_0001.jpg', '/home/pi/Desktop/images/19012025/08/27/image_19012025_08_27_02_229626_0002.jpg', '/home/pi/Desktop/images/19012025/08/27/image_19012025_08_27_02_229626_0003.jpg', '/home/pi/Desktop/images/19012025/08/28/image_19012025_08_28_02_786822_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/08/26/image_19012025_08_26_02_780890_0003.jpg
/home/pi/Desktop/images/19012025/08/27/image_19012025_08_27_02_229626_0000.jpg
/home/pi/Desktop/images/19012025/08/27/image_19012025_08_27_02_229626_0001.jpg
/home/pi/Desktop/images/19012025/08/27/image_19012025_08_27_02_229626_0002.jpg
/home/pi/Desktop/images/19012025/08/27/image_19012025_08_27_02_229626_0003.jpg
/home/pi/Desktop/images/19012025/08/28/image_19012025_08_28_02_786822_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329979828","1329979830","1329979824","1329979835","1329979832","1329979826"],"photo_ids_order":["1329979824","1329979826","1329979828","1329979830","1329979832","1329979835"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/2a4897f110593f7101a781f3bbac6bc7.jpg","text":"TemporaryFile(/tmp/multipartBody6673882719575971403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737271778594,"filename":"image_19012025_08_27_02_229626_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/9b8887cc71bfa69c6408ed5754e0c789.jpg","text":"TemporaryFile(/tmp/multipartBody3348504887622699973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737271778594,"filename":"image_19012025_08_27_02_229626_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/24ef583d85f1dea0991aae75b017cbc1.jpg","text":"TemporaryFile(/tmp/multipartBody1487902625039810390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737271778594,"filename":"image_19012025_08_26_02_780890_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/83dd1ad7348c2169fcc7e099af47fe33.jpg","text":"TemporaryFile(/tmp/multipartBody4273634591988113541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737271778594,"filename":"image_19012025_08_28_02_786822_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/8ebe2cd8a7c4223ead95383b1fdcaca7.jpg","text":"TemporaryFile(/tmp/multipartBody3593853045826782327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737271778594,"filename":"image_19012025_08_27_02_229626_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/6cd984d021450b0c64eafb1a1ebfc364.jpg","text":"TemporaryFile(/tmp/multipartBody5604364279909206831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737271778594,"filename":"image_19012025_08_27_02_229626_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329979828","file1":"1329979826","file0":"1329979824","file4":"1329979832","file5":"1329979835","file3":"1329979830"},"map_files_photo_id_array":[{"photo_id":"1329979835","filename":"file5"},{"photo_id":"1329979828","filename":"file2"},{"photo_id":"1329979832","filename":"file4"},{"photo_id":"1329979826","filename":"file1"},{"photo_id":"1329979824","filename":"file0"},{"photo_id":"1329979830","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329979828":["hashtag1","hashtag2"]},{"1329979830":["hashtag1","hashtag2"]},{"1329979824":["hashtag1","hashtag2"]},{"1329979835":["hashtag1","hashtag2"]},{"1329979832":["hashtag1","hashtag2"]},{"1329979826":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329979828, 1329979830, 1329979824, 1329979835, 1329979832, 1329979826)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.78489089012146 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 08:29:22.674837
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/08/28/image_19012025_08_28_02_786822_0001.jpg', '/home/pi/Desktop/images/19012025/08/28/image_19012025_08_28_02_786822_0002.jpg', '/home/pi/Desktop/images/19012025/08/28/image_19012025_08_28_02_786822_0003.jpg', '/home/pi/Desktop/images/19012025/08/29/image_19012025_08_29_02_414457_0000.jpg', '/home/pi/Desktop/images/19012025/08/29/image_19012025_08_29_02_414457_0001.jpg', '/home/pi/Desktop/images/19012025/08/29/image_19012025_08_29_02_414457_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/08/28/image_19012025_08_28_02_786822_0001.jpg
/home/pi/Desktop/images/19012025/08/28/image_19012025_08_28_02_786822_0002.jpg
/home/pi/Desktop/images/19012025/08/28/image_19012025_08_28_02_786822_0003.jpg
/home/pi/Desktop/images/19012025/08/29/image_19012025_08_29_02_414457_0000.jpg
/home/pi/Desktop/images/19012025/08/29/image_19012025_08_29_02_414457_0001.jpg
/home/pi/Desktop/images/19012025/08/29/image_19012025_08_29_02_414457_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329979843","1329979851","1329979845","1329979847","1329979841","1329979850"],"photo_ids_order":["1329979841","1329979843","1329979845","1329979847","1329979850","1329979851"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/4572d7b7b69e6b75b308564d3187fea5.jpg","text":"TemporaryFile(/tmp/multipartBody2614463690288778694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737271839098,"filename":"image_19012025_08_28_02_786822_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/8e408a003cd7b0b933a6730864e3af90.jpg","text":"TemporaryFile(/tmp/multipartBody8654147404388562197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737271839098,"filename":"image_19012025_08_29_02_414457_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/4f69b5e1cdbfa065cdec222be985590d.jpg","text":"TemporaryFile(/tmp/multipartBody4749668263827882802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737271839098,"filename":"image_19012025_08_28_02_786822_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/917fe9d0e90b40717b9b5c9efb27f0c4.jpg","text":"TemporaryFile(/tmp/multipartBody6352295155628918565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737271839098,"filename":"image_19012025_08_29_02_414457_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/9e637157a4ccf5926c75023b286fbccd.jpg","text":"TemporaryFile(/tmp/multipartBody6957620633645880417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737271839098,"filename":"image_19012025_08_28_02_786822_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/5b56ab56aaa4b914931745ae2ad40ae4.jpg","text":"TemporaryFile(/tmp/multipartBody1735995904823517362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737271839098,"filename":"image_19012025_08_29_02_414457_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329979845","file1":"1329979843","file0":"1329979841","file4":"1329979850","file5":"1329979851","file3":"1329979847"},"map_files_photo_id_array":[{"photo_id":"1329979851","filename":"file5"},{"photo_id":"1329979845","filename":"file2"},{"photo_id":"1329979850","filename":"file4"},{"photo_id":"1329979843","filename":"file1"},{"photo_id":"1329979841","filename":"file0"},{"photo_id":"1329979847","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329979843":["hashtag1","hashtag2"]},{"1329979851":["hashtag1","hashtag2"]},{"1329979845":["hashtag1","hashtag2"]},{"1329979847":["hashtag1","hashtag2"]},{"1329979841":["hashtag1","hashtag2"]},{"1329979850":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329979843, 1329979851, 1329979845, 1329979847, 1329979841, 1329979850)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.67840361595154 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 08:30:22.077854
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/08/29/image_19012025_08_29_02_414457_0003.jpg', '/home/pi/Desktop/images/19012025/08/30/image_19012025_08_30_02_962956_0000.jpg', '/home/pi/Desktop/images/19012025/08/30/image_19012025_08_30_02_962956_0001.jpg', '/home/pi/Desktop/images/19012025/08/30/image_19012025_08_30_02_962956_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/08/29/image_19012025_08_29_02_414457_0003.jpg
/home/pi/Desktop/images/19012025/08/30/image_19012025_08_30_02_962956_0000.jpg
/home/pi/Desktop/images/19012025/08/30/image_19012025_08_30_02_962956_0001.jpg
/home/pi/Desktop/images/19012025/08/30/image_19012025_08_30_02_962956_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329979861","1329979855","1329979864","1329979858"],"photo_ids_order":["1329979855","1329979858","1329979861","1329979864"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/4e588e070ca94e52dcbe270d20e156c6.jpg","text":"TemporaryFile(/tmp/multipartBody526893263737657758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737271892663,"filename":"image_19012025_08_30_02_962956_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/2136596458225de8e50c76f3aa20372c.jpg","text":"TemporaryFile(/tmp/multipartBody4130478038155888217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737271892663,"filename":"image_19012025_08_29_02_414457_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/a37dcc40b4dc805d5aff5417b28971df.jpg","text":"TemporaryFile(/tmp/multipartBody8021198579298094190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737271892663,"filename":"image_19012025_08_30_02_962956_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/d7a06350184f5c65ebcb042281148c42.jpg","text":"TemporaryFile(/tmp/multipartBody233877504908936766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737271892663,"filename":"image_19012025_08_30_02_962956_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329979861","file1":"1329979858","file0":"1329979855","file3":"1329979864"},"map_files_photo_id_array":[{"photo_id":"1329979861","filename":"file2"},{"photo_id":"1329979858","filename":"file1"},{"photo_id":"1329979855","filename":"file0"},{"photo_id":"1329979864","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329979861":["hashtag1","hashtag2"]},{"1329979855":["hashtag1","hashtag2"]},{"1329979864":["hashtag1","hashtag2"]},{"1329979858":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329979861, 1329979855, 1329979864, 1329979858)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.016831159591675 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 08:31:03.194555
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
  port_id : 19698700
  datou_current_id : 2490825
in upload_from_sqlite, uploading in 19698700
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17012025/21/46/image_17012025_21_46_02_824424_0001.jpg', '/home/pi/Desktop/images/17012025/21/46/image_17012025_21_46_02_824424_0002.jpg', '/home/pi/Desktop/images/17012025/21/46/image_17012025_21_46_02_824424_0003.jpg', '/home/pi/Desktop/images/17012025/21/47/image_17012025_21_47_02_984333_0000.jpg', '/home/pi/Desktop/images/17012025/21/47/image_17012025_21_47_02_984333_0001.jpg', '/home/pi/Desktop/images/17012025/21/47/image_17012025_21_47_02_984333_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2490825&datou=0
/home/pi/Desktop/images/17012025/21/46/image_17012025_21_46_02_824424_0001.jpg
/home/pi/Desktop/images/17012025/21/46/image_17012025_21_46_02_824424_0002.jpg
/home/pi/Desktop/images/17012025/21/46/image_17012025_21_46_02_824424_0003.jpg
/home/pi/Desktop/images/17012025/21/47/image_17012025_21_47_02_984333_0000.jpg
/home/pi/Desktop/images/17012025/21/47/image_17012025_21_47_02_984333_0001.jpg
/home/pi/Desktop/images/17012025/21/47/image_17012025_21_47_02_984333_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329979930","1329979933","1329979893","1329979881","1329979905","1329979871"],"photo_ids_order":["1329979871","1329979881","1329979893","1329979905","1329979930","1329979933"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/09f93271e46317388af4abe4ffa38581.jpg","text":"TemporaryFile(/tmp/multipartBody2201082296075968862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737271940648,"filename":"image_17012025_21_47_02_984333_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/f727597c1b51cd1407a0feaa793a6c62.jpg","text":"TemporaryFile(/tmp/multipartBody5661389108133627568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737271940648,"filename":"image_17012025_21_47_02_984333_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/a4d0eba42ca725e1a60c9d60c9fd0c06.jpg","text":"TemporaryFile(/tmp/multipartBody4826312874400306560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737271940648,"filename":"image_17012025_21_46_02_824424_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/fee381d6a087a67f4c5fa8592188bbb1.jpg","text":"TemporaryFile(/tmp/multipartBody5073705514278735235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737271940648,"filename":"image_17012025_21_46_02_824424_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/a1db5abc8a2b6dcef9bf7690604b5caf.jpg","text":"TemporaryFile(/tmp/multipartBody3901110057106467304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737271940648,"filename":"image_17012025_21_47_02_984333_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/d8b31e4bf11662e6e4225044f2c953ea.jpg","text":"TemporaryFile(/tmp/multipartBody8391064396672311053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737271940648,"filename":"image_17012025_21_46_02_824424_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329979893","file1":"1329979881","file0":"1329979871","file4":"1329979930","file5":"1329979933","file3":"1329979905"},"map_files_photo_id_array":[{"photo_id":"1329979933","filename":"file5"},{"photo_id":"1329979893","filename":"file2"},{"photo_id":"1329979930","filename":"file4"},{"photo_id":"1329979881","filename":"file1"},{"photo_id":"1329979871","filename":"file0"},{"photo_id":"1329979905","filename":"file3"}],"portfolio_id":19698700,"hashtag_by_photo_ids":[{"1329979930":["hashtag1","hashtag2"]},{"1329979933":["hashtag1","hashtag2"]},{"1329979893":["hashtag1","hashtag2"]},{"1329979881":["hashtag1","hashtag2"]},{"1329979905":["hashtag1","hashtag2"]},{"1329979871":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698700 used, photo_id : ArrayBuffer(1329979930, 1329979933, 1329979893, 1329979881, 1329979905, 1329979871)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.53860116004944 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 08:32:02.741683
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/08/30/image_19012025_08_30_02_962956_0003.jpg', '/home/pi/Desktop/images/19012025/08/31/image_19012025_08_31_02_463311_0000.jpg', '/home/pi/Desktop/images/19012025/08/31/image_19012025_08_31_02_463311_0001.jpg', '/home/pi/Desktop/images/19012025/08/31/image_19012025_08_31_02_463311_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/08/30/image_19012025_08_30_02_962956_0003.jpg
/home/pi/Desktop/images/19012025/08/31/image_19012025_08_31_02_463311_0000.jpg
/home/pi/Desktop/images/19012025/08/31/image_19012025_08_31_02_463311_0001.jpg
/home/pi/Desktop/images/19012025/08/31/image_19012025_08_31_02_463311_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.479309320449829 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 08:32:22.291485
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/08/30/image_19012025_08_30_02_962956_0003.jpg', '/home/pi/Desktop/images/19012025/08/31/image_19012025_08_31_02_463311_0000.jpg', '/home/pi/Desktop/images/19012025/08/31/image_19012025_08_31_02_463311_0001.jpg', '/home/pi/Desktop/images/19012025/08/31/image_19012025_08_31_02_463311_0002.jpg', '/home/pi/Desktop/images/19012025/08/31/image_19012025_08_31_02_463311_0003.jpg', '/home/pi/Desktop/images/19012025/08/32/image_19012025_08_32_02_971901_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/08/30/image_19012025_08_30_02_962956_0003.jpg
/home/pi/Desktop/images/19012025/08/31/image_19012025_08_31_02_463311_0000.jpg
/home/pi/Desktop/images/19012025/08/31/image_19012025_08_31_02_463311_0001.jpg
/home/pi/Desktop/images/19012025/08/31/image_19012025_08_31_02_463311_0002.jpg
/home/pi/Desktop/images/19012025/08/31/image_19012025_08_31_02_463311_0003.jpg
/home/pi/Desktop/images/19012025/08/32/image_19012025_08_32_02_971901_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329980018","1329979995","1329980014","1329979991","1329980019","1329980016"],"photo_ids_order":["1329979991","1329979995","1329980014","1329980016","1329980018","1329980019"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/edd9f417bcdbba448dcd6c1776fd924f.jpg","text":"TemporaryFile(/tmp/multipartBody5747637703515062052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737272018227,"filename":"image_19012025_08_31_02_463311_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/231750ed7542998a6a5779617e17d5a6.jpg","text":"TemporaryFile(/tmp/multipartBody7975843019427877747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737272018227,"filename":"image_19012025_08_31_02_463311_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/4a05a42d060cfb9dc5058a8f838e1cb5.jpg","text":"TemporaryFile(/tmp/multipartBody137700593460416840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737272018227,"filename":"image_19012025_08_31_02_463311_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/b0f379860c6bea6069f8ca4f782a9a4c.jpg","text":"TemporaryFile(/tmp/multipartBody6174675409271572477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737272018227,"filename":"image_19012025_08_30_02_962956_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/756f490a7f2ac9941c23b5951df3531a.jpg","text":"TemporaryFile(/tmp/multipartBody874325124502824432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737272018227,"filename":"image_19012025_08_32_02_971901_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/09b18543486867f856b710d4036b5125.jpg","text":"TemporaryFile(/tmp/multipartBody2342118548029811330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737272018227,"filename":"image_19012025_08_31_02_463311_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329980014","file1":"1329979995","file0":"1329979991","file4":"1329980018","file5":"1329980019","file3":"1329980016"},"map_files_photo_id_array":[{"photo_id":"1329980019","filename":"file5"},{"photo_id":"1329980014","filename":"file2"},{"photo_id":"1329980018","filename":"file4"},{"photo_id":"1329979995","filename":"file1"},{"photo_id":"1329979991","filename":"file0"},{"photo_id":"1329980016","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329980018":["hashtag1","hashtag2"]},{"1329979995":["hashtag1","hashtag2"]},{"1329980014":["hashtag1","hashtag2"]},{"1329979991":["hashtag1","hashtag2"]},{"1329980019":["hashtag1","hashtag2"]},{"1329980016":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329980018, 1329979995, 1329980014, 1329979991, 1329980019, 1329980016)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.29708814620972 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 08:33:21.796570
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/08/32/image_19012025_08_32_02_971901_0001.jpg', '/home/pi/Desktop/images/19012025/08/32/image_19012025_08_32_02_971901_0002.jpg', '/home/pi/Desktop/images/19012025/08/32/image_19012025_08_32_02_971901_0003.jpg', '/home/pi/Desktop/images/19012025/08/33/image_19012025_08_33_02_657714_0000.jpg', '/home/pi/Desktop/images/19012025/08/33/image_19012025_08_33_02_657714_0001.jpg', '/home/pi/Desktop/images/19012025/08/33/image_19012025_08_33_02_657714_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/08/32/image_19012025_08_32_02_971901_0001.jpg
/home/pi/Desktop/images/19012025/08/32/image_19012025_08_32_02_971901_0002.jpg
/home/pi/Desktop/images/19012025/08/32/image_19012025_08_32_02_971901_0003.jpg
/home/pi/Desktop/images/19012025/08/33/image_19012025_08_33_02_657714_0000.jpg
/home/pi/Desktop/images/19012025/08/33/image_19012025_08_33_02_657714_0001.jpg
/home/pi/Desktop/images/19012025/08/33/image_19012025_08_33_02_657714_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":["1329980030","1329980145","1329980025","1329980028","1329980099","1329980144"],"photo_ids_order":["1329980025","1329980028","1329980030","1329980099","1329980144","1329980145"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/284af81253cbd02be18225c98ac59098.jpg","text":"TemporaryFile(/tmp/multipartBody1320168328622253390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737272078114,"filename":"image_19012025_08_32_02_971901_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/1b7849a1920341e63a84eef5b47eaecc.jpg","text":"TemporaryFile(/tmp/multipartBody8099652778506817416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737272078114,"filename":"image_19012025_08_33_02_657714_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/0ca5c0e7044c845b5586a86b8379fc58.jpg","text":"TemporaryFile(/tmp/multipartBody2386815350170557779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737272078114,"filename":"image_19012025_08_32_02_971901_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/143041d35a7c3b79ec492ed3d49d7eee.jpg","text":"TemporaryFile(/tmp/multipartBody245317257648582381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737272078114,"filename":"image_19012025_08_32_02_971901_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/bb567addb8a8ab814e5d79835df4dfc8.jpg","text":"TemporaryFile(/tmp/multipartBody5743815070995614551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737272078114,"filename":"image_19012025_08_33_02_657714_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/667c03b214653ce553308108721ff90a.jpg","text":"TemporaryFile(/tmp/multipartBody3782250243696709955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737272078114,"filename":"image_19012025_08_33_02_657714_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329980030","file1":"1329980028","file0":"1329980025","file4":"1329980144","file5":"1329980145","file3":"1329980099"},"map_files_photo_id_array":[{"photo_id":"1329980145","filename":"file5"},{"photo_id":"1329980030","filename":"file2"},{"photo_id":"1329980144","filename":"file4"},{"photo_id":"1329980028","filename":"file1"},{"photo_id":"1329980025","filename":"file0"},{"photo_id":"1329980099","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329980030":["hashtag1","hashtag2"]},{"1329980145":["hashtag1","hashtag2"]},{"1329980025":["hashtag1","hashtag2"]},{"1329980028":["hashtag1","hashtag2"]},{"1329980099":["hashtag1","hashtag2"]},{"1329980144":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329980030, 1329980145, 1329980025, 1329980028, 1329980099, 1329980144)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 61.139312982559204 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 08:35:02.538077
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/08/33/image_19012025_08_33_02_657714_0003.jpg', '/home/pi/Desktop/images/19012025/08/34/image_19012025_08_34_02_176051_0000.jpg', '/home/pi/Desktop/images/19012025/08/34/image_19012025_08_34_02_176051_0001.jpg', '/home/pi/Desktop/images/19012025/08/34/image_19012025_08_34_02_176051_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/08/33/image_19012025_08_33_02_657714_0003.jpg
/home/pi/Desktop/images/19012025/08/34/image_19012025_08_34_02_176051_0000.jpg
/home/pi/Desktop/images/19012025/08/34/image_19012025_08_34_02_176051_0001.jpg
/home/pi/Desktop/images/19012025/08/34/image_19012025_08_34_02_176051_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.908857107162476 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 08:35:21.863172
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/08/33/image_19012025_08_33_02_657714_0003.jpg', '/home/pi/Desktop/images/19012025/08/34/image_19012025_08_34_02_176051_0000.jpg', '/home/pi/Desktop/images/19012025/08/34/image_19012025_08_34_02_176051_0001.jpg', '/home/pi/Desktop/images/19012025/08/34/image_19012025_08_34_02_176051_0002.jpg', '/home/pi/Desktop/images/19012025/08/34/image_19012025_08_34_02_176051_0003.jpg', '/home/pi/Desktop/images/19012025/08/35/image_19012025_08_35_02_664002_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/08/33/image_19012025_08_33_02_657714_0003.jpg
/home/pi/Desktop/images/19012025/08/34/image_19012025_08_34_02_176051_0000.jpg
/home/pi/Desktop/images/19012025/08/34/image_19012025_08_34_02_176051_0001.jpg
/home/pi/Desktop/images/19012025/08/34/image_19012025_08_34_02_176051_0002.jpg
/home/pi/Desktop/images/19012025/08/34/image_19012025_08_34_02_176051_0003.jpg
/home/pi/Desktop/images/19012025/08/35/image_19012025_08_35_02_664002_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329980204","1329980197","1329980206","1329980200","1329980202","1329980208"],"photo_ids_order":["1329980197","1329980200","1329980202","1329980204","1329980206","1329980208"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/628358c8316540c0e72826ae47930bc4.jpg","text":"TemporaryFile(/tmp/multipartBody1320258525002695943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737272198527,"filename":"image_19012025_08_34_02_176051_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/d9c4a3505f19384f07e205bf26e3a1cb.jpg","text":"TemporaryFile(/tmp/multipartBody5072561768034607936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737272198527,"filename":"image_19012025_08_33_02_657714_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/6d6a2313b543b319fbee713855be547f.jpg","text":"TemporaryFile(/tmp/multipartBody6952658620090605451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737272198527,"filename":"image_19012025_08_34_02_176051_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/47ed999e36b1526f2ecc230a62975c6b.jpg","text":"TemporaryFile(/tmp/multipartBody6059629592813303563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737272198527,"filename":"image_19012025_08_34_02_176051_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/ef9fdb1410074a677d7b86b717e5c9da.jpg","text":"TemporaryFile(/tmp/multipartBody5202795060331291137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737272198527,"filename":"image_19012025_08_34_02_176051_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/ba0e00fb728ea101a4eb3a7d100c2056.jpg","text":"TemporaryFile(/tmp/multipartBody6574768048362360214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737272198527,"filename":"image_19012025_08_35_02_664002_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329980202","file1":"1329980200","file0":"1329980197","file4":"1329980206","file5":"1329980208","file3":"1329980204"},"map_files_photo_id_array":[{"photo_id":"1329980208","filename":"file5"},{"photo_id":"1329980202","filename":"file2"},{"photo_id":"1329980206","filename":"file4"},{"photo_id":"1329980200","filename":"file1"},{"photo_id":"1329980197","filename":"file0"},{"photo_id":"1329980204","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329980204":["hashtag1","hashtag2"]},{"1329980197":["hashtag1","hashtag2"]},{"1329980206":["hashtag1","hashtag2"]},{"1329980200":["hashtag1","hashtag2"]},{"1329980202":["hashtag1","hashtag2"]},{"1329980208":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329980204, 1329980197, 1329980206, 1329980200, 1329980202, 1329980208)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.27232265472412 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 08:36:22.498926
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/08/35/image_19012025_08_35_02_664002_0001.jpg', '/home/pi/Desktop/images/19012025/08/35/image_19012025_08_35_02_664002_0002.jpg', '/home/pi/Desktop/images/19012025/08/35/image_19012025_08_35_02_664002_0003.jpg', '/home/pi/Desktop/images/19012025/08/36/image_19012025_08_36_02_208587_0000.jpg', '/home/pi/Desktop/images/19012025/08/36/image_19012025_08_36_02_208587_0001.jpg', '/home/pi/Desktop/images/19012025/08/36/image_19012025_08_36_02_208587_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/08/35/image_19012025_08_35_02_664002_0001.jpg
/home/pi/Desktop/images/19012025/08/35/image_19012025_08_35_02_664002_0002.jpg
/home/pi/Desktop/images/19012025/08/35/image_19012025_08_35_02_664002_0003.jpg
/home/pi/Desktop/images/19012025/08/36/image_19012025_08_36_02_208587_0000.jpg
/home/pi/Desktop/images/19012025/08/36/image_19012025_08_36_02_208587_0001.jpg
/home/pi/Desktop/images/19012025/08/36/image_19012025_08_36_02_208587_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329980220","1329980223","1329980217","1329980226","1329980243","1329980213"],"photo_ids_order":["1329980213","1329980217","1329980220","1329980223","1329980226","1329980243"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/2ba76d78ced040f082a1cd4df17cdc6a.jpg","text":"TemporaryFile(/tmp/multipartBody8021452869713693866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737272258965,"filename":"image_19012025_08_35_02_664002_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/ae959c715845f038e871eb1f0e79369d.jpg","text":"TemporaryFile(/tmp/multipartBody1407947213969809003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737272258965,"filename":"image_19012025_08_36_02_208587_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/5786db2b90084c614e06af0d9b8b82dd.jpg","text":"TemporaryFile(/tmp/multipartBody8431244924030862505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737272258965,"filename":"image_19012025_08_35_02_664002_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/624a9bd7fa3e03bb1b61eed119c64bde.jpg","text":"TemporaryFile(/tmp/multipartBody8518860573510740858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737272258965,"filename":"image_19012025_08_36_02_208587_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/a63422d8f8eaf47760bb549974eee9bf.jpg","text":"TemporaryFile(/tmp/multipartBody6120982292731054560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737272258965,"filename":"image_19012025_08_36_02_208587_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/c84d0127f0f7059607c37be6d08e7edd.jpg","text":"TemporaryFile(/tmp/multipartBody178935261355079398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737272258965,"filename":"image_19012025_08_35_02_664002_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329980220","file1":"1329980217","file0":"1329980213","file4":"1329980226","file5":"1329980243","file3":"1329980223"},"map_files_photo_id_array":[{"photo_id":"1329980243","filename":"file5"},{"photo_id":"1329980220","filename":"file2"},{"photo_id":"1329980226","filename":"file4"},{"photo_id":"1329980217","filename":"file1"},{"photo_id":"1329980213","filename":"file0"},{"photo_id":"1329980223","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329980220":["hashtag1","hashtag2"]},{"1329980223":["hashtag1","hashtag2"]},{"1329980217":["hashtag1","hashtag2"]},{"1329980226":["hashtag1","hashtag2"]},{"1329980243":["hashtag1","hashtag2"]},{"1329980213":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329980220, 1329980223, 1329980217, 1329980226, 1329980243, 1329980213)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.858546018600464 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 08:37:22.054007
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/08/36/image_19012025_08_36_02_208587_0003.jpg', '/home/pi/Desktop/images/19012025/08/37/image_19012025_08_37_02_860976_0000.jpg', '/home/pi/Desktop/images/19012025/08/37/image_19012025_08_37_02_860976_0001.jpg', '/home/pi/Desktop/images/19012025/08/37/image_19012025_08_37_02_860976_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/08/36/image_19012025_08_36_02_208587_0003.jpg
/home/pi/Desktop/images/19012025/08/37/image_19012025_08_37_02_860976_0000.jpg
/home/pi/Desktop/images/19012025/08/37/image_19012025_08_37_02_860976_0001.jpg
/home/pi/Desktop/images/19012025/08/37/image_19012025_08_37_02_860976_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329980284","1329980266","1329980280","1329980282"],"photo_ids_order":["1329980266","1329980280","1329980282","1329980284"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/20134bc192d3026c8f30dac35e292cdd.jpg","text":"TemporaryFile(/tmp/multipartBody4447984517926086341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737272313689,"filename":"image_19012025_08_37_02_860976_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/f55d68d84652684ba9ab6ca1f1c471cc.jpg","text":"TemporaryFile(/tmp/multipartBody4788175312407593176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737272313689,"filename":"image_19012025_08_36_02_208587_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/db54b615995c2e06f7c8a3155517cb07.jpg","text":"TemporaryFile(/tmp/multipartBody8375914498442778163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737272313689,"filename":"image_19012025_08_37_02_860976_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/a926c98c020b0b11fb25a7098bb4062a.jpg","text":"TemporaryFile(/tmp/multipartBody1274762169181863492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737272313689,"filename":"image_19012025_08_37_02_860976_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329980282","file1":"1329980280","file0":"1329980266","file3":"1329980284"},"map_files_photo_id_array":[{"photo_id":"1329980282","filename":"file2"},{"photo_id":"1329980280","filename":"file1"},{"photo_id":"1329980266","filename":"file0"},{"photo_id":"1329980284","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329980284":["hashtag1","hashtag2"]},{"1329980266":["hashtag1","hashtag2"]},{"1329980280":["hashtag1","hashtag2"]},{"1329980282":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329980284, 1329980266, 1329980280, 1329980282)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.592602252960205 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 08:38:03.040487
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
  port_id : 19698700
  datou_current_id : 2490825
in upload_from_sqlite, uploading in 19698700
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17012025/21/47/image_17012025_21_47_02_984333_0003.jpg', '/home/pi/Desktop/images/17012025/21/48/image_17012025_21_48_02_211936_0000.jpg', '/home/pi/Desktop/images/17012025/21/48/image_17012025_21_48_02_211936_0001.jpg', '/home/pi/Desktop/images/17012025/21/48/image_17012025_21_48_02_211936_0002.jpg', '/home/pi/Desktop/images/17012025/21/48/image_17012025_21_48_02_211936_0003.jpg', '/home/pi/Desktop/images/17012025/21/49/image_17012025_21_49_02_487444_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2490825&datou=0
/home/pi/Desktop/images/17012025/21/47/image_17012025_21_47_02_984333_0003.jpg
/home/pi/Desktop/images/17012025/21/48/image_17012025_21_48_02_211936_0000.jpg
/home/pi/Desktop/images/17012025/21/48/image_17012025_21_48_02_211936_0001.jpg
/home/pi/Desktop/images/17012025/21/48/image_17012025_21_48_02_211936_0002.jpg
/home/pi/Desktop/images/17012025/21/48/image_17012025_21_48_02_211936_0003.jpg
/home/pi/Desktop/images/17012025/21/49/image_17012025_21_49_02_487444_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: 17.38188672065735 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 08:38:22.619786
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/08/37/image_19012025_08_37_02_860976_0003.jpg', '/home/pi/Desktop/images/19012025/08/38/image_19012025_08_38_02_475648_0000.jpg', '/home/pi/Desktop/images/19012025/08/38/image_19012025_08_38_02_475648_0001.jpg', '/home/pi/Desktop/images/19012025/08/38/image_19012025_08_38_02_475648_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/08/37/image_19012025_08_37_02_860976_0003.jpg
/home/pi/Desktop/images/19012025/08/38/image_19012025_08_38_02_475648_0000.jpg
/home/pi/Desktop/images/19012025/08/38/image_19012025_08_38_02_475648_0001.jpg
/home/pi/Desktop/images/19012025/08/38/image_19012025_08_38_02_475648_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329980485","1329980473","1329980481","1329980477"],"photo_ids_order":["1329980473","1329980477","1329980481","1329980485"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/ed5cc58ebbf1a0f0880daf464c868584.jpg","text":"TemporaryFile(/tmp/multipartBody7946079752521917626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737272374187,"filename":"image_19012025_08_38_02_475648_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/954a993988303ca0547666fd6a853809.jpg","text":"TemporaryFile(/tmp/multipartBody853976131703663187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737272374187,"filename":"image_19012025_08_37_02_860976_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/d65962cedf77b61a18d205b29e24d5f4.jpg","text":"TemporaryFile(/tmp/multipartBody7289871456730927572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737272374187,"filename":"image_19012025_08_38_02_475648_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/5d3f06ffd77db29748eec5a666bb6d74.jpg","text":"TemporaryFile(/tmp/multipartBody7422948667740347883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737272374187,"filename":"image_19012025_08_38_02_475648_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329980481","file1":"1329980477","file0":"1329980473","file3":"1329980485"},"map_files_photo_id_array":[{"photo_id":"1329980481","filename":"file2"},{"photo_id":"1329980477","filename":"file1"},{"photo_id":"1329980473","filename":"file0"},{"photo_id":"1329980485","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329980485":["hashtag1","hashtag2"]},{"1329980473":["hashtag1","hashtag2"]},{"1329980481":["hashtag1","hashtag2"]},{"1329980477":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329980485, 1329980473, 1329980481, 1329980477)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.636669635772705 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 08:39:02.690146
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
  port_id : 19698700
  datou_current_id : 2490825
in upload_from_sqlite, uploading in 19698700
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17012025/21/47/image_17012025_21_47_02_984333_0003.jpg', '/home/pi/Desktop/images/17012025/21/48/image_17012025_21_48_02_211936_0000.jpg', '/home/pi/Desktop/images/17012025/21/48/image_17012025_21_48_02_211936_0001.jpg', '/home/pi/Desktop/images/17012025/21/48/image_17012025_21_48_02_211936_0002.jpg', '/home/pi/Desktop/images/17012025/21/48/image_17012025_21_48_02_211936_0003.jpg', '/home/pi/Desktop/images/17012025/21/49/image_17012025_21_49_02_487444_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2490825&datou=0
/home/pi/Desktop/images/17012025/21/47/image_17012025_21_47_02_984333_0003.jpg
/home/pi/Desktop/images/17012025/21/48/image_17012025_21_48_02_211936_0000.jpg
/home/pi/Desktop/images/17012025/21/48/image_17012025_21_48_02_211936_0001.jpg
/home/pi/Desktop/images/17012025/21/48/image_17012025_21_48_02_211936_0002.jpg
/home/pi/Desktop/images/17012025/21/48/image_17012025_21_48_02_211936_0003.jpg
/home/pi/Desktop/images/17012025/21/49/image_17012025_21_49_02_487444_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":["1329980491","1329980503","1329980493","1329980496","1329980500","1329980489"],"photo_ids_order":["1329980489","1329980491","1329980493","1329980496","1329980500","1329980503"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/bd1f3bf789d77dc574146579cf1db0bb.jpg","text":"TemporaryFile(/tmp/multipartBody2899227703418041526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737272420412,"filename":"image_17012025_21_48_02_211936_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/a6bc54da943471bba4b30c0c8211d745.jpg","text":"TemporaryFile(/tmp/multipartBody2300772534971190022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737272420412,"filename":"image_17012025_21_49_02_487444_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/d30260668a40f2006bc46911420b34c5.jpg","text":"TemporaryFile(/tmp/multipartBody8389675659486457723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737272420412,"filename":"image_17012025_21_48_02_211936_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/4a0504778011113ca006d9e733dc8c13.jpg","text":"TemporaryFile(/tmp/multipartBody4505857709516059076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737272420412,"filename":"image_17012025_21_48_02_211936_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/20dbcbb0a0caff4ec4d4f5c2c72ea67b.jpg","text":"TemporaryFile(/tmp/multipartBody9003557615276407604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737272420412,"filename":"image_17012025_21_48_02_211936_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/a1f7e28476ff7c7d86e51026e4143073.jpg","text":"TemporaryFile(/tmp/multipartBody5159700473244481330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737272420412,"filename":"image_17012025_21_47_02_984333_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329980493","file1":"1329980491","file0":"1329980489","file4":"1329980500","file5":"1329980503","file3":"1329980496"},"map_files_photo_id_array":[{"photo_id":"1329980503","filename":"file5"},{"photo_id":"1329980493","filename":"file2"},{"photo_id":"1329980500","filename":"file4"},{"photo_id":"1329980491","filename":"file1"},{"photo_id":"1329980489","filename":"file0"},{"photo_id":"1329980496","filename":"file3"}],"portfolio_id":19698700,"hashtag_by_photo_ids":[{"1329980491":["hashtag1","hashtag2"]},{"1329980503":["hashtag1","hashtag2"]},{"1329980493":["hashtag1","hashtag2"]},{"1329980496":["hashtag1","hashtag2"]},{"1329980500":["hashtag1","hashtag2"]},{"1329980489":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698700 used, photo_id : ArrayBuffer(1329980491, 1329980503, 1329980493, 1329980496, 1329980500, 1329980489)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.467272996902466 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 08:40:22.722932
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/08/38/image_19012025_08_38_02_475648_0003.jpg', '/home/pi/Desktop/images/19012025/08/39/image_19012025_08_39_02_950399_0000.jpg', '/home/pi/Desktop/images/19012025/08/39/image_19012025_08_39_02_950399_0001.jpg', '/home/pi/Desktop/images/19012025/08/39/image_19012025_08_39_02_950399_0002.jpg', '/home/pi/Desktop/images/19012025/08/39/image_19012025_08_39_02_950399_0003.jpg', '/home/pi/Desktop/images/19012025/08/40/image_19012025_08_40_02_423078_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/08/38/image_19012025_08_38_02_475648_0003.jpg
/home/pi/Desktop/images/19012025/08/39/image_19012025_08_39_02_950399_0000.jpg
/home/pi/Desktop/images/19012025/08/39/image_19012025_08_39_02_950399_0001.jpg
/home/pi/Desktop/images/19012025/08/39/image_19012025_08_39_02_950399_0002.jpg
/home/pi/Desktop/images/19012025/08/39/image_19012025_08_39_02_950399_0003.jpg
/home/pi/Desktop/images/19012025/08/40/image_19012025_08_40_02_423078_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329980513","1329980516","1329980524","1329980522","1329980519","1329980510"],"photo_ids_order":["1329980510","1329980513","1329980516","1329980519","1329980522","1329980524"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/4f58c2df6734cfbb7871da6a4b06c5a7.jpg","text":"TemporaryFile(/tmp/multipartBody3160653070670858702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737272499425,"filename":"image_19012025_08_39_02_950399_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/a3f6dd24062d8cefaeaf0cd809b9997d.jpg","text":"TemporaryFile(/tmp/multipartBody7709598266676539076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737272499425,"filename":"image_19012025_08_39_02_950399_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/0af5d791d7d1303651466938d5739ae9.jpg","text":"TemporaryFile(/tmp/multipartBody8640823751175769289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737272499425,"filename":"image_19012025_08_40_02_423078_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/75f37b98225602c538380ed52dbd4150.jpg","text":"TemporaryFile(/tmp/multipartBody1153391556528073276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737272499425,"filename":"image_19012025_08_39_02_950399_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/bed4aac44582448daffcb0cdbf1bfea4.jpg","text":"TemporaryFile(/tmp/multipartBody6494494446872151099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737272499425,"filename":"image_19012025_08_39_02_950399_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/b062287cab2d2069257c3bc139a5b661.jpg","text":"TemporaryFile(/tmp/multipartBody1941862392471714321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737272499425,"filename":"image_19012025_08_38_02_475648_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329980516","file1":"1329980513","file0":"1329980510","file4":"1329980522","file5":"1329980524","file3":"1329980519"},"map_files_photo_id_array":[{"photo_id":"1329980524","filename":"file5"},{"photo_id":"1329980516","filename":"file2"},{"photo_id":"1329980522","filename":"file4"},{"photo_id":"1329980513","filename":"file1"},{"photo_id":"1329980510","filename":"file0"},{"photo_id":"1329980519","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329980513":["hashtag1","hashtag2"]},{"1329980516":["hashtag1","hashtag2"]},{"1329980524":["hashtag1","hashtag2"]},{"1329980522":["hashtag1","hashtag2"]},{"1329980519":["hashtag1","hashtag2"]},{"1329980510":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329980513, 1329980516, 1329980524, 1329980522, 1329980519, 1329980510)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.61791276931763 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 08:41:22.204228
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/08/40/image_19012025_08_40_02_423078_0001.jpg', '/home/pi/Desktop/images/19012025/08/40/image_19012025_08_40_02_423078_0002.jpg', '/home/pi/Desktop/images/19012025/08/40/image_19012025_08_40_02_423078_0003.jpg', '/home/pi/Desktop/images/19012025/08/41/image_19012025_08_41_03_087480_0000.jpg', '/home/pi/Desktop/images/19012025/08/41/image_19012025_08_41_03_087480_0001.jpg', '/home/pi/Desktop/images/19012025/08/41/image_19012025_08_41_03_087480_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/08/40/image_19012025_08_40_02_423078_0001.jpg
/home/pi/Desktop/images/19012025/08/40/image_19012025_08_40_02_423078_0002.jpg
/home/pi/Desktop/images/19012025/08/40/image_19012025_08_40_02_423078_0003.jpg
/home/pi/Desktop/images/19012025/08/41/image_19012025_08_41_03_087480_0000.jpg
/home/pi/Desktop/images/19012025/08/41/image_19012025_08_41_03_087480_0001.jpg
/home/pi/Desktop/images/19012025/08/41/image_19012025_08_41_03_087480_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":["1329980534","1329980542","1329980536","1329980538","1329980540","1329980531"],"photo_ids_order":["1329980531","1329980534","1329980536","1329980538","1329980540","1329980542"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/9fe94eb9fb2ba21f4733cfa93e861caf.jpg","text":"TemporaryFile(/tmp/multipartBody4850653213874574297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737272559305,"filename":"image_19012025_08_40_02_423078_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/b6d2442098421bacc16447d96cb367f3.jpg","text":"TemporaryFile(/tmp/multipartBody2020547170483660720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737272559305,"filename":"image_19012025_08_41_03_087480_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/89915ae219d9cca62a913c7996eb406a.jpg","text":"TemporaryFile(/tmp/multipartBody6200958065671044786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737272559305,"filename":"image_19012025_08_40_02_423078_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/ae1b511f3aece8c49d1880d63b1f1be3.jpg","text":"TemporaryFile(/tmp/multipartBody5416181074362742914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737272559305,"filename":"image_19012025_08_41_03_087480_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/d9434ac091741d71704a4fb49fb116fe.jpg","text":"TemporaryFile(/tmp/multipartBody3565841769593268665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737272559305,"filename":"image_19012025_08_41_03_087480_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/c9559d195eae94578f706a0c85d8fc04.jpg","text":"TemporaryFile(/tmp/multipartBody2609431797653976053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737272559305,"filename":"image_19012025_08_40_02_423078_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329980536","file1":"1329980534","file0":"1329980531","file4":"1329980540","file5":"1329980542","file3":"1329980538"},"map_files_photo_id_array":[{"photo_id":"1329980542","filename":"file5"},{"photo_id":"1329980536","filename":"file2"},{"photo_id":"1329980540","filename":"file4"},{"photo_id":"1329980534","filename":"file1"},{"photo_id":"1329980531","filename":"file0"},{"photo_id":"1329980538","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329980534":["hashtag1","hashtag2"]},{"1329980542":["hashtag1","hashtag2"]},{"1329980536":["hashtag1","hashtag2"]},{"1329980538":["hashtag1","hashtag2"]},{"1329980540":["hashtag1","hashtag2"]},{"1329980531":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329980534, 1329980542, 1329980536, 1329980538, 1329980540, 1329980531)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 62.500200271606445 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 08:43:02.808191
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/08/41/image_19012025_08_41_03_087480_0003.jpg', '/home/pi/Desktop/images/19012025/08/42/image_19012025_08_42_02_564178_0000.jpg', '/home/pi/Desktop/images/19012025/08/42/image_19012025_08_42_02_564178_0001.jpg', '/home/pi/Desktop/images/19012025/08/42/image_19012025_08_42_02_564178_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/08/41/image_19012025_08_41_03_087480_0003.jpg
/home/pi/Desktop/images/19012025/08/42/image_19012025_08_42_02_564178_0000.jpg
/home/pi/Desktop/images/19012025/08/42/image_19012025_08_42_02_564178_0001.jpg
/home/pi/Desktop/images/19012025/08/42/image_19012025_08_42_02_564178_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329980563","1329980587","1329980561","1329980570"],"photo_ids_order":["1329980561","1329980563","1329980570","1329980587"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/a8256bc904d256c9873b982fb7aafad0.jpg","text":"TemporaryFile(/tmp/multipartBody937400120947721504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737272654437,"filename":"image_19012025_08_42_02_564178_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/7bceeba3fa0a3fef1d46f08e110f74d4.jpg","text":"TemporaryFile(/tmp/multipartBody7725616538174128958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737272654437,"filename":"image_19012025_08_42_02_564178_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/a82832a152252d9c94ad4fbc9a7a4d4c.jpg","text":"TemporaryFile(/tmp/multipartBody6570973172664484424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737272654437,"filename":"image_19012025_08_41_03_087480_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/cb6819b846367180ed0a3ec5de6cbe71.jpg","text":"TemporaryFile(/tmp/multipartBody7469383491258155135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737272654437,"filename":"image_19012025_08_42_02_564178_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329980570","file1":"1329980563","file0":"1329980561","file3":"1329980587"},"map_files_photo_id_array":[{"photo_id":"1329980570","filename":"file2"},{"photo_id":"1329980563","filename":"file1"},{"photo_id":"1329980561","filename":"file0"},{"photo_id":"1329980587","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329980563":["hashtag1","hashtag2"]},{"1329980587":["hashtag1","hashtag2"]},{"1329980561":["hashtag1","hashtag2"]},{"1329980570":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329980563, 1329980587, 1329980561, 1329980570)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.42764329910278 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 08:44:02.185779
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/08/42/image_19012025_08_42_02_564178_0003.jpg', '/home/pi/Desktop/images/19012025/08/43/image_19012025_08_43_03_075104_0000.jpg', '/home/pi/Desktop/images/19012025/08/43/image_19012025_08_43_03_075104_0001.jpg', '/home/pi/Desktop/images/19012025/08/43/image_19012025_08_43_03_075104_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/08/42/image_19012025_08_42_02_564178_0003.jpg
/home/pi/Desktop/images/19012025/08/43/image_19012025_08_43_03_075104_0000.jpg
/home/pi/Desktop/images/19012025/08/43/image_19012025_08_43_03_075104_0001.jpg
/home/pi/Desktop/images/19012025/08/43/image_19012025_08_43_03_075104_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.703150987625122 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 08:44:21.800793
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/08/42/image_19012025_08_42_02_564178_0003.jpg', '/home/pi/Desktop/images/19012025/08/43/image_19012025_08_43_03_075104_0000.jpg', '/home/pi/Desktop/images/19012025/08/43/image_19012025_08_43_03_075104_0001.jpg', '/home/pi/Desktop/images/19012025/08/43/image_19012025_08_43_03_075104_0002.jpg', '/home/pi/Desktop/images/19012025/08/43/image_19012025_08_43_03_075104_0003.jpg', '/home/pi/Desktop/images/19012025/08/44/image_19012025_08_44_02_614410_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/08/42/image_19012025_08_42_02_564178_0003.jpg
/home/pi/Desktop/images/19012025/08/43/image_19012025_08_43_03_075104_0000.jpg
/home/pi/Desktop/images/19012025/08/43/image_19012025_08_43_03_075104_0001.jpg
/home/pi/Desktop/images/19012025/08/43/image_19012025_08_43_03_075104_0002.jpg
/home/pi/Desktop/images/19012025/08/43/image_19012025_08_43_03_075104_0003.jpg
/home/pi/Desktop/images/19012025/08/44/image_19012025_08_44_02_614410_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329980615","1329980620","1329980617","1329980610","1329980613","1329980618"],"photo_ids_order":["1329980610","1329980613","1329980615","1329980617","1329980618","1329980620"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/68500c0c1cbd1e06ad12e936772be19b.jpg","text":"TemporaryFile(/tmp/multipartBody1771761059866304965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737272738186,"filename":"image_19012025_08_43_03_075104_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/2ea01b29442b00a7c393a33364fa0829.jpg","text":"TemporaryFile(/tmp/multipartBody4714971838843857407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737272738186,"filename":"image_19012025_08_44_02_614410_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/5cd03ee26dbe28cd343988e1e51b4394.jpg","text":"TemporaryFile(/tmp/multipartBody394999989010418524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737272738186,"filename":"image_19012025_08_43_03_075104_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/cbecfb23a74431928e32db7e12e0a5c7.jpg","text":"TemporaryFile(/tmp/multipartBody281501815468410929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737272738186,"filename":"image_19012025_08_42_02_564178_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/9a14c286bbfdd9fcde938f065033a4ea.jpg","text":"TemporaryFile(/tmp/multipartBody6900043255575742565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737272738186,"filename":"image_19012025_08_43_03_075104_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/7da7f9f9930176594c0fb4c3690efeb4.jpg","text":"TemporaryFile(/tmp/multipartBody6633764827983378992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737272738186,"filename":"image_19012025_08_43_03_075104_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329980615","file1":"1329980613","file0":"1329980610","file4":"1329980618","file5":"1329980620","file3":"1329980617"},"map_files_photo_id_array":[{"photo_id":"1329980620","filename":"file5"},{"photo_id":"1329980615","filename":"file2"},{"photo_id":"1329980618","filename":"file4"},{"photo_id":"1329980613","filename":"file1"},{"photo_id":"1329980610","filename":"file0"},{"photo_id":"1329980617","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329980615":["hashtag1","hashtag2"]},{"1329980620":["hashtag1","hashtag2"]},{"1329980617":["hashtag1","hashtag2"]},{"1329980610":["hashtag1","hashtag2"]},{"1329980613":["hashtag1","hashtag2"]},{"1329980618":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329980615, 1329980620, 1329980617, 1329980610, 1329980613, 1329980618)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.91253995895386 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 08:45:22.257134
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/08/44/image_19012025_08_44_02_614410_0001.jpg', '/home/pi/Desktop/images/19012025/08/44/image_19012025_08_44_02_614410_0002.jpg', '/home/pi/Desktop/images/19012025/08/44/image_19012025_08_44_02_614410_0003.jpg', '/home/pi/Desktop/images/19012025/08/45/image_19012025_08_45_02_151547_0000.jpg', '/home/pi/Desktop/images/19012025/08/45/image_19012025_08_45_02_151547_0001.jpg', '/home/pi/Desktop/images/19012025/08/45/image_19012025_08_45_02_151547_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/08/44/image_19012025_08_44_02_614410_0001.jpg
/home/pi/Desktop/images/19012025/08/44/image_19012025_08_44_02_614410_0002.jpg
/home/pi/Desktop/images/19012025/08/44/image_19012025_08_44_02_614410_0003.jpg
/home/pi/Desktop/images/19012025/08/45/image_19012025_08_45_02_151547_0000.jpg
/home/pi/Desktop/images/19012025/08/45/image_19012025_08_45_02_151547_0001.jpg
/home/pi/Desktop/images/19012025/08/45/image_19012025_08_45_02_151547_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329980633","1329980627","1329980635","1329980629","1329980637","1329980631"],"photo_ids_order":["1329980627","1329980629","1329980631","1329980633","1329980635","1329980637"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/44e1b69eb57f3a1f463b6d0ac3b74f61.jpg","text":"TemporaryFile(/tmp/multipartBody637650723656441941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737272799259,"filename":"image_19012025_08_45_02_151547_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/df64ed48a842b4096992f01f3d488bec.jpg","text":"TemporaryFile(/tmp/multipartBody3166332771216379732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737272799259,"filename":"image_19012025_08_44_02_614410_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/05dc160fbf40706880ee63680153dc85.jpg","text":"TemporaryFile(/tmp/multipartBody3675781526012590246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737272799259,"filename":"image_19012025_08_45_02_151547_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/a221908dd8af44fca4c3641af25d4509.jpg","text":"TemporaryFile(/tmp/multipartBody6272968538100218485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737272799259,"filename":"image_19012025_08_44_02_614410_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/9a8c473d6a17e19237dd82bdf9c9d79b.jpg","text":"TemporaryFile(/tmp/multipartBody7062613684108690592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737272799259,"filename":"image_19012025_08_45_02_151547_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/1e7417ede2c328e4880e19fb49f123bc.jpg","text":"TemporaryFile(/tmp/multipartBody6641806357598431976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737272799259,"filename":"image_19012025_08_44_02_614410_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329980631","file1":"1329980629","file0":"1329980627","file4":"1329980635","file5":"1329980637","file3":"1329980633"},"map_files_photo_id_array":[{"photo_id":"1329980637","filename":"file5"},{"photo_id":"1329980631","filename":"file2"},{"photo_id":"1329980635","filename":"file4"},{"photo_id":"1329980629","filename":"file1"},{"photo_id":"1329980627","filename":"file0"},{"photo_id":"1329980633","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329980633":["hashtag1","hashtag2"]},{"1329980627":["hashtag1","hashtag2"]},{"1329980635":["hashtag1","hashtag2"]},{"1329980629":["hashtag1","hashtag2"]},{"1329980637":["hashtag1","hashtag2"]},{"1329980631":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329980633, 1329980627, 1329980635, 1329980629, 1329980637, 1329980631)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.03677988052368 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 08:46:21.812781
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/08/45/image_19012025_08_45_02_151547_0003.jpg', '/home/pi/Desktop/images/19012025/08/46/image_19012025_08_46_02_682651_0000.jpg', '/home/pi/Desktop/images/19012025/08/46/image_19012025_08_46_02_682651_0001.jpg', '/home/pi/Desktop/images/19012025/08/46/image_19012025_08_46_02_682651_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/08/45/image_19012025_08_45_02_151547_0003.jpg
/home/pi/Desktop/images/19012025/08/46/image_19012025_08_46_02_682651_0000.jpg
/home/pi/Desktop/images/19012025/08/46/image_19012025_08_46_02_682651_0001.jpg
/home/pi/Desktop/images/19012025/08/46/image_19012025_08_46_02_682651_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329980644","1329980646","1329980663","1329980642"],"photo_ids_order":["1329980642","1329980644","1329980646","1329980663"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/b2f11b1b28a2d01669c25de899676ebc.jpg","text":"TemporaryFile(/tmp/multipartBody1634364213718848153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737272852876,"filename":"image_19012025_08_46_02_682651_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/f0a2b899ad6de3ac057001a009e44f2a.jpg","text":"TemporaryFile(/tmp/multipartBody4032815886270702443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737272852876,"filename":"image_19012025_08_46_02_682651_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/48b8c587bd6a4dde4bfb5a0dbda9f38f.jpg","text":"TemporaryFile(/tmp/multipartBody3061030706655596964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737272852876,"filename":"image_19012025_08_46_02_682651_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/eb65a488fe10c3d1f8bdea78c425c9fb.jpg","text":"TemporaryFile(/tmp/multipartBody7498955689292682634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737272852876,"filename":"image_19012025_08_45_02_151547_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329980646","file1":"1329980644","file0":"1329980642","file3":"1329980663"},"map_files_photo_id_array":[{"photo_id":"1329980646","filename":"file2"},{"photo_id":"1329980644","filename":"file1"},{"photo_id":"1329980642","filename":"file0"},{"photo_id":"1329980663","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329980644":["hashtag1","hashtag2"]},{"1329980646":["hashtag1","hashtag2"]},{"1329980663":["hashtag1","hashtag2"]},{"1329980642":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329980644, 1329980646, 1329980663, 1329980642)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.25827074050903 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 08:47:22.254769
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/08/46/image_19012025_08_46_02_682651_0003.jpg', '/home/pi/Desktop/images/19012025/08/47/image_19012025_08_47_02_159169_0000.jpg', '/home/pi/Desktop/images/19012025/08/47/image_19012025_08_47_02_159169_0001.jpg', '/home/pi/Desktop/images/19012025/08/47/image_19012025_08_47_02_159169_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/08/46/image_19012025_08_46_02_682651_0003.jpg
/home/pi/Desktop/images/19012025/08/47/image_19012025_08_47_02_159169_0000.jpg
/home/pi/Desktop/images/19012025/08/47/image_19012025_08_47_02_159169_0001.jpg
/home/pi/Desktop/images/19012025/08/47/image_19012025_08_47_02_159169_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329981934","1329981928","1329981930","1329981932"],"photo_ids_order":["1329981928","1329981930","1329981932","1329981934"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/b56845bc2706e626883c090eeb12b1a6.jpg","text":"TemporaryFile(/tmp/multipartBody3322365591531092035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737272913576,"filename":"image_19012025_08_47_02_159169_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/ed9834d1532d86788f644dd6d5b10c13.jpg","text":"TemporaryFile(/tmp/multipartBody224946973401452418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737272913576,"filename":"image_19012025_08_46_02_682651_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/1b6a9a1f3b942309a6e8715e4dcc3f6e.jpg","text":"TemporaryFile(/tmp/multipartBody4961904522189666775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737272913576,"filename":"image_19012025_08_47_02_159169_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/26288aeb1c6cba0c63e89a38958ad994.jpg","text":"TemporaryFile(/tmp/multipartBody6242660315270576747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737272913576,"filename":"image_19012025_08_47_02_159169_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329981932","file1":"1329981930","file0":"1329981928","file3":"1329981934"},"map_files_photo_id_array":[{"photo_id":"1329981932","filename":"file2"},{"photo_id":"1329981930","filename":"file1"},{"photo_id":"1329981928","filename":"file0"},{"photo_id":"1329981934","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329981934":["hashtag1","hashtag2"]},{"1329981928":["hashtag1","hashtag2"]},{"1329981930":["hashtag1","hashtag2"]},{"1329981932":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329981934, 1329981928, 1329981930, 1329981932)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.04088068008423 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 08:48:21.925366
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/08/47/image_19012025_08_47_02_159169_0003.jpg', '/home/pi/Desktop/images/19012025/08/48/image_19012025_08_48_02_728994_0000.jpg', '/home/pi/Desktop/images/19012025/08/48/image_19012025_08_48_02_728994_0001.jpg', '/home/pi/Desktop/images/19012025/08/48/image_19012025_08_48_02_728994_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/08/47/image_19012025_08_47_02_159169_0003.jpg
/home/pi/Desktop/images/19012025/08/48/image_19012025_08_48_02_728994_0000.jpg
/home/pi/Desktop/images/19012025/08/48/image_19012025_08_48_02_728994_0001.jpg
/home/pi/Desktop/images/19012025/08/48/image_19012025_08_48_02_728994_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329981940","1329982104","1329982304","1329981944"],"photo_ids_order":["1329981940","1329981944","1329982104","1329982304"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/77eedfe471f1a85299043eb21c0a8186.jpg","text":"TemporaryFile(/tmp/multipartBody9072954806174486765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737272973238,"filename":"image_19012025_08_47_02_159169_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/8cf3e2335893f8511b79ebfe0697188c.jpg","text":"TemporaryFile(/tmp/multipartBody5800009570855373566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737272973238,"filename":"image_19012025_08_48_02_728994_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/20d535a21e442d35c3d412bb050c3d0f.jpg","text":"TemporaryFile(/tmp/multipartBody2061479477949912462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737272973238,"filename":"image_19012025_08_48_02_728994_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/51d51c99cbffd0e244089d0e660c357b.jpg","text":"TemporaryFile(/tmp/multipartBody1393895106264149976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737272973238,"filename":"image_19012025_08_48_02_728994_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329982104","file1":"1329981944","file0":"1329981940","file3":"1329982304"},"map_files_photo_id_array":[{"photo_id":"1329982104","filename":"file2"},{"photo_id":"1329981944","filename":"file1"},{"photo_id":"1329981940","filename":"file0"},{"photo_id":"1329982304","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329981940":["hashtag1","hashtag2"]},{"1329982104":["hashtag1","hashtag2"]},{"1329982304":["hashtag1","hashtag2"]},{"1329981944":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329981940, 1329982104, 1329982304, 1329981944)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.72393012046814 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 08:49:22.436574
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/08/48/image_19012025_08_48_02_728994_0003.jpg', '/home/pi/Desktop/images/19012025/08/49/image_19012025_08_49_02_207131_0000.jpg', '/home/pi/Desktop/images/19012025/08/49/image_19012025_08_49_02_207131_0001.jpg', '/home/pi/Desktop/images/19012025/08/49/image_19012025_08_49_02_207131_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/08/48/image_19012025_08_48_02_728994_0003.jpg
/home/pi/Desktop/images/19012025/08/49/image_19012025_08_49_02_207131_0000.jpg
/home/pi/Desktop/images/19012025/08/49/image_19012025_08_49_02_207131_0001.jpg
/home/pi/Desktop/images/19012025/08/49/image_19012025_08_49_02_207131_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329982830","1329982533","1329982557","1329982628"],"photo_ids_order":["1329982533","1329982557","1329982628","1329982830"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/42916ff55827eb8f922590632c512015.jpg","text":"TemporaryFile(/tmp/multipartBody1756275307367822753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737273034070,"filename":"image_19012025_08_49_02_207131_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/bee66b43763c4fd139b3cf7a9d89ef22.jpg","text":"TemporaryFile(/tmp/multipartBody164949028905588820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737273034070,"filename":"image_19012025_08_48_02_728994_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/167c96cdcab9e52933c2bceac922e589.jpg","text":"TemporaryFile(/tmp/multipartBody1099045292046768952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737273034070,"filename":"image_19012025_08_49_02_207131_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/49104584aecfefbef4bed2ec33fc8251.jpg","text":"TemporaryFile(/tmp/multipartBody6079814525133605769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737273034070,"filename":"image_19012025_08_49_02_207131_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329982628","file1":"1329982557","file0":"1329982533","file3":"1329982830"},"map_files_photo_id_array":[{"photo_id":"1329982628","filename":"file2"},{"photo_id":"1329982557","filename":"file1"},{"photo_id":"1329982533","filename":"file0"},{"photo_id":"1329982830","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329982830":["hashtag1","hashtag2"]},{"1329982533":["hashtag1","hashtag2"]},{"1329982557":["hashtag1","hashtag2"]},{"1329982628":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329982830, 1329982533, 1329982557, 1329982628)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.39767408370972 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 08:50:21.979237
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/08/49/image_19012025_08_49_02_207131_0003.jpg', '/home/pi/Desktop/images/19012025/08/50/image_19012025_08_50_02_736658_0000.jpg', '/home/pi/Desktop/images/19012025/08/50/image_19012025_08_50_02_736658_0001.jpg', '/home/pi/Desktop/images/19012025/08/50/image_19012025_08_50_02_736658_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/08/49/image_19012025_08_49_02_207131_0003.jpg
/home/pi/Desktop/images/19012025/08/50/image_19012025_08_50_02_736658_0000.jpg
/home/pi/Desktop/images/19012025/08/50/image_19012025_08_50_02_736658_0001.jpg
/home/pi/Desktop/images/19012025/08/50/image_19012025_08_50_02_736658_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 11.20967960357666 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 08:51:03.015156
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/08/49/image_19012025_08_49_02_207131_0003.jpg', '/home/pi/Desktop/images/19012025/08/50/image_19012025_08_50_02_736658_0000.jpg', '/home/pi/Desktop/images/19012025/08/50/image_19012025_08_50_02_736658_0001.jpg', '/home/pi/Desktop/images/19012025/08/50/image_19012025_08_50_02_736658_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/08/49/image_19012025_08_49_02_207131_0003.jpg
/home/pi/Desktop/images/19012025/08/50/image_19012025_08_50_02_736658_0000.jpg
/home/pi/Desktop/images/19012025/08/50/image_19012025_08_50_02_736658_0001.jpg
/home/pi/Desktop/images/19012025/08/50/image_19012025_08_50_02_736658_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329983492","1329983495","1329983497","1329983493"],"photo_ids_order":["1329983492","1329983493","1329983495","1329983497"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/d20977ede8aa8c878a951349fb7692b0.jpg","text":"TemporaryFile(/tmp/multipartBody138528715934214654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737273134680,"filename":"image_19012025_08_49_02_207131_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/a8a4baf9d4678c53441d8ae83be174b7.jpg","text":"TemporaryFile(/tmp/multipartBody2512615795006250137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737273134680,"filename":"image_19012025_08_50_02_736658_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/16a186da94ee7ba29c3d14e10ec6765e.jpg","text":"TemporaryFile(/tmp/multipartBody4633640360829419909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737273134680,"filename":"image_19012025_08_50_02_736658_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/dbae93c2f3db6cc01145f26cfd319ba7.jpg","text":"TemporaryFile(/tmp/multipartBody6044680078553901082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737273134680,"filename":"image_19012025_08_50_02_736658_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329983495","file1":"1329983493","file0":"1329983492","file3":"1329983497"},"map_files_photo_id_array":[{"photo_id":"1329983495","filename":"file2"},{"photo_id":"1329983493","filename":"file1"},{"photo_id":"1329983492","filename":"file0"},{"photo_id":"1329983497","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329983492":["hashtag1","hashtag2"]},{"1329983495":["hashtag1","hashtag2"]},{"1329983497":["hashtag1","hashtag2"]},{"1329983493":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329983492, 1329983495, 1329983497, 1329983493)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.63823485374451 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 08:52:02.491144
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/08/50/image_19012025_08_50_02_736658_0003.jpg', '/home/pi/Desktop/images/19012025/08/51/image_19012025_08_51_02_262657_0000.jpg', '/home/pi/Desktop/images/19012025/08/51/image_19012025_08_51_02_262657_0001.jpg', '/home/pi/Desktop/images/19012025/08/51/image_19012025_08_51_02_262657_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/08/50/image_19012025_08_50_02_736658_0003.jpg
/home/pi/Desktop/images/19012025/08/51/image_19012025_08_51_02_262657_0000.jpg
/home/pi/Desktop/images/19012025/08/51/image_19012025_08_51_02_262657_0001.jpg
/home/pi/Desktop/images/19012025/08/51/image_19012025_08_51_02_262657_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 11.478677034378052 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 08:52:22.090052
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/08/50/image_19012025_08_50_02_736658_0003.jpg', '/home/pi/Desktop/images/19012025/08/51/image_19012025_08_51_02_262657_0000.jpg', '/home/pi/Desktop/images/19012025/08/51/image_19012025_08_51_02_262657_0001.jpg', '/home/pi/Desktop/images/19012025/08/51/image_19012025_08_51_02_262657_0002.jpg', '/home/pi/Desktop/images/19012025/08/51/image_19012025_08_51_02_262657_0003.jpg', '/home/pi/Desktop/images/19012025/08/52/image_19012025_08_52_02_753189_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/08/50/image_19012025_08_50_02_736658_0003.jpg
/home/pi/Desktop/images/19012025/08/51/image_19012025_08_51_02_262657_0000.jpg
/home/pi/Desktop/images/19012025/08/51/image_19012025_08_51_02_262657_0001.jpg
/home/pi/Desktop/images/19012025/08/51/image_19012025_08_51_02_262657_0002.jpg
/home/pi/Desktop/images/19012025/08/51/image_19012025_08_51_02_262657_0003.jpg
/home/pi/Desktop/images/19012025/08/52/image_19012025_08_52_02_753189_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329984869","1329984860","1329984857","1329985075","1329984883","1329985228"],"photo_ids_order":["1329984857","1329984860","1329984869","1329984883","1329985075","1329985228"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/c5ec12aa253d038ed05d9d29532d2906.jpg","text":"TemporaryFile(/tmp/multipartBody8582408156390418843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737273219325,"filename":"image_19012025_08_51_02_262657_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/dd8873a0ef80982e1b6957a94922580b.jpg","text":"TemporaryFile(/tmp/multipartBody2458342677583081396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737273219325,"filename":"image_19012025_08_51_02_262657_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/243d73d85a7eb8417d46d7934505d203.jpg","text":"TemporaryFile(/tmp/multipartBody7935098925035370555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737273219325,"filename":"image_19012025_08_50_02_736658_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/48c7cc67806895b340e29a88fed704b5.jpg","text":"TemporaryFile(/tmp/multipartBody5485103523172786429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737273219325,"filename":"image_19012025_08_51_02_262657_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/428a3059d5d3af48b8d7ab259f650499.jpg","text":"TemporaryFile(/tmp/multipartBody7233459232416919428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737273219325,"filename":"image_19012025_08_51_02_262657_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/52464a30d94b6f6d2d4b0fd5686c63cf.jpg","text":"TemporaryFile(/tmp/multipartBody5578081703130511241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737273219325,"filename":"image_19012025_08_52_02_753189_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329984869","file1":"1329984860","file0":"1329984857","file4":"1329985075","file5":"1329985228","file3":"1329984883"},"map_files_photo_id_array":[{"photo_id":"1329985228","filename":"file5"},{"photo_id":"1329984869","filename":"file2"},{"photo_id":"1329985075","filename":"file4"},{"photo_id":"1329984860","filename":"file1"},{"photo_id":"1329984857","filename":"file0"},{"photo_id":"1329984883","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329984869":["hashtag1","hashtag2"]},{"1329984860":["hashtag1","hashtag2"]},{"1329984857":["hashtag1","hashtag2"]},{"1329985075":["hashtag1","hashtag2"]},{"1329984883":["hashtag1","hashtag2"]},{"1329985228":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329984869, 1329984860, 1329984857, 1329985075, 1329984883, 1329985228)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.85907173156738 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 08:53:22.602899
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/08/52/image_19012025_08_52_02_753189_0001.jpg', '/home/pi/Desktop/images/19012025/08/52/image_19012025_08_52_02_753189_0002.jpg', '/home/pi/Desktop/images/19012025/08/52/image_19012025_08_52_02_753189_0003.jpg', '/home/pi/Desktop/images/19012025/08/53/image_19012025_08_53_02_419979_0000.jpg', '/home/pi/Desktop/images/19012025/08/53/image_19012025_08_53_02_419979_0001.jpg', '/home/pi/Desktop/images/19012025/08/53/image_19012025_08_53_02_419979_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/08/52/image_19012025_08_52_02_753189_0001.jpg
/home/pi/Desktop/images/19012025/08/52/image_19012025_08_52_02_753189_0002.jpg
/home/pi/Desktop/images/19012025/08/52/image_19012025_08_52_02_753189_0003.jpg
/home/pi/Desktop/images/19012025/08/53/image_19012025_08_53_02_419979_0000.jpg
/home/pi/Desktop/images/19012025/08/53/image_19012025_08_53_02_419979_0001.jpg
/home/pi/Desktop/images/19012025/08/53/image_19012025_08_53_02_419979_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":["1329985381","1329985375","1329985378","1329985386","1329985382","1329985385"],"photo_ids_order":["1329985375","1329985378","1329985381","1329985382","1329985385","1329985386"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/70374332b7082991274c2d95bd8350bb.jpg","text":"TemporaryFile(/tmp/multipartBody7359504835413264905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737273279442,"filename":"image_19012025_08_52_02_753189_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/62d3f878972705e2e486bef58d3cb7a0.jpg","text":"TemporaryFile(/tmp/multipartBody2621669305662093981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737273279442,"filename":"image_19012025_08_52_02_753189_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/6ea6beafc9ab69334b6f8a66b65908ee.jpg","text":"TemporaryFile(/tmp/multipartBody5199845819523344015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737273279442,"filename":"image_19012025_08_52_02_753189_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/75afd329ff1f8f158973447fb0c35b11.jpg","text":"TemporaryFile(/tmp/multipartBody8713511761863291073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737273279442,"filename":"image_19012025_08_53_02_419979_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/69870e9dd08d5ab8a5d26a058f2ef872.jpg","text":"TemporaryFile(/tmp/multipartBody966329691571454791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737273279442,"filename":"image_19012025_08_53_02_419979_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/7a995f2b0fb7c8e131a48610aa5fdd3a.jpg","text":"TemporaryFile(/tmp/multipartBody5175144836343586208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737273279442,"filename":"image_19012025_08_53_02_419979_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329985381","file1":"1329985378","file0":"1329985375","file4":"1329985385","file5":"1329985386","file3":"1329985382"},"map_files_photo_id_array":[{"photo_id":"1329985386","filename":"file5"},{"photo_id":"1329985381","filename":"file2"},{"photo_id":"1329985385","filename":"file4"},{"photo_id":"1329985378","filename":"file1"},{"photo_id":"1329985375","filename":"file0"},{"photo_id":"1329985382","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329985381":["hashtag1","hashtag2"]},{"1329985375":["hashtag1","hashtag2"]},{"1329985378":["hashtag1","hashtag2"]},{"1329985386":["hashtag1","hashtag2"]},{"1329985382":["hashtag1","hashtag2"]},{"1329985385":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329985381, 1329985375, 1329985378, 1329985386, 1329985382, 1329985385)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.2164523601532 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 08:55:03.222636
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/08/53/image_19012025_08_53_02_419979_0003.jpg', '/home/pi/Desktop/images/19012025/08/54/image_19012025_08_54_02_979019_0000.jpg', '/home/pi/Desktop/images/19012025/08/54/image_19012025_08_54_02_979019_0001.jpg', '/home/pi/Desktop/images/19012025/08/54/image_19012025_08_54_02_979019_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/08/53/image_19012025_08_53_02_419979_0003.jpg
/home/pi/Desktop/images/19012025/08/54/image_19012025_08_54_02_979019_0000.jpg
/home/pi/Desktop/images/19012025/08/54/image_19012025_08_54_02_979019_0001.jpg
/home/pi/Desktop/images/19012025/08/54/image_19012025_08_54_02_979019_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.65174651145935 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 08:55:22.584097
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/08/53/image_19012025_08_53_02_419979_0003.jpg', '/home/pi/Desktop/images/19012025/08/54/image_19012025_08_54_02_979019_0000.jpg', '/home/pi/Desktop/images/19012025/08/54/image_19012025_08_54_02_979019_0001.jpg', '/home/pi/Desktop/images/19012025/08/54/image_19012025_08_54_02_979019_0002.jpg', '/home/pi/Desktop/images/19012025/08/54/image_19012025_08_54_02_979019_0003.jpg', '/home/pi/Desktop/images/19012025/08/55/image_19012025_08_55_02_458660_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/08/53/image_19012025_08_53_02_419979_0003.jpg
/home/pi/Desktop/images/19012025/08/54/image_19012025_08_54_02_979019_0000.jpg
/home/pi/Desktop/images/19012025/08/54/image_19012025_08_54_02_979019_0001.jpg
/home/pi/Desktop/images/19012025/08/54/image_19012025_08_54_02_979019_0002.jpg
/home/pi/Desktop/images/19012025/08/54/image_19012025_08_54_02_979019_0003.jpg
/home/pi/Desktop/images/19012025/08/55/image_19012025_08_55_02_458660_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":["1329985750","1329985732","1329985756","1329985737","1329985752","1329985754"],"photo_ids_order":["1329985732","1329985737","1329985750","1329985752","1329985754","1329985756"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/7dc9d9169eb1984e344ad3d70eac53a3.jpg","text":"TemporaryFile(/tmp/multipartBody7238534389144006908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737273398906,"filename":"image_19012025_08_54_02_979019_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/0d600ef81ed6c03715acc2761888d1fc.jpg","text":"TemporaryFile(/tmp/multipartBody8985186638718074336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737273398906,"filename":"image_19012025_08_53_02_419979_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/0170379f45823be50415961093a062b0.jpg","text":"TemporaryFile(/tmp/multipartBody7934848258007163852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737273398906,"filename":"image_19012025_08_55_02_458660_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/7eb699bdb972b7aa4fc6e7f796204b8e.jpg","text":"TemporaryFile(/tmp/multipartBody3910595970515722296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737273398906,"filename":"image_19012025_08_54_02_979019_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/78c283bb9277c88c2aef9007fae78edf.jpg","text":"TemporaryFile(/tmp/multipartBody5147770514954624127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737273398906,"filename":"image_19012025_08_54_02_979019_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/ac323acd72113ff283381d378975fd22.jpg","text":"TemporaryFile(/tmp/multipartBody4130684007339083642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737273398906,"filename":"image_19012025_08_54_02_979019_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329985750","file1":"1329985737","file0":"1329985732","file4":"1329985754","file5":"1329985756","file3":"1329985752"},"map_files_photo_id_array":[{"photo_id":"1329985756","filename":"file5"},{"photo_id":"1329985750","filename":"file2"},{"photo_id":"1329985754","filename":"file4"},{"photo_id":"1329985737","filename":"file1"},{"photo_id":"1329985732","filename":"file0"},{"photo_id":"1329985752","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329985750":["hashtag1","hashtag2"]},{"1329985732":["hashtag1","hashtag2"]},{"1329985756":["hashtag1","hashtag2"]},{"1329985737":["hashtag1","hashtag2"]},{"1329985752":["hashtag1","hashtag2"]},{"1329985754":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329985750, 1329985732, 1329985756, 1329985737, 1329985752, 1329985754)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.10891103744507 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 08:57:02.430352
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/08/55/image_19012025_08_55_02_458660_0001.jpg', '/home/pi/Desktop/images/19012025/08/55/image_19012025_08_55_02_458660_0002.jpg', '/home/pi/Desktop/images/19012025/08/55/image_19012025_08_55_02_458660_0003.jpg', '/home/pi/Desktop/images/19012025/08/56/image_19012025_08_56_02_962079_0000.jpg', '/home/pi/Desktop/images/19012025/08/56/image_19012025_08_56_02_962079_0001.jpg', '/home/pi/Desktop/images/19012025/08/56/image_19012025_08_56_02_962079_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/08/55/image_19012025_08_55_02_458660_0001.jpg
/home/pi/Desktop/images/19012025/08/55/image_19012025_08_55_02_458660_0002.jpg
/home/pi/Desktop/images/19012025/08/55/image_19012025_08_55_02_458660_0003.jpg
/home/pi/Desktop/images/19012025/08/56/image_19012025_08_56_02_962079_0000.jpg
/home/pi/Desktop/images/19012025/08/56/image_19012025_08_56_02_962079_0001.jpg
/home/pi/Desktop/images/19012025/08/56/image_19012025_08_56_02_962079_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 16.912593364715576 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 08:57:21.769551
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/08/55/image_19012025_08_55_02_458660_0001.jpg', '/home/pi/Desktop/images/19012025/08/55/image_19012025_08_55_02_458660_0002.jpg', '/home/pi/Desktop/images/19012025/08/55/image_19012025_08_55_02_458660_0003.jpg', '/home/pi/Desktop/images/19012025/08/56/image_19012025_08_56_02_962079_0000.jpg', '/home/pi/Desktop/images/19012025/08/56/image_19012025_08_56_02_962079_0001.jpg', '/home/pi/Desktop/images/19012025/08/56/image_19012025_08_56_02_962079_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/08/55/image_19012025_08_55_02_458660_0001.jpg
/home/pi/Desktop/images/19012025/08/55/image_19012025_08_55_02_458660_0002.jpg
/home/pi/Desktop/images/19012025/08/55/image_19012025_08_55_02_458660_0003.jpg
/home/pi/Desktop/images/19012025/08/56/image_19012025_08_56_02_962079_0000.jpg
/home/pi/Desktop/images/19012025/08/56/image_19012025_08_56_02_962079_0001.jpg
/home/pi/Desktop/images/19012025/08/56/image_19012025_08_56_02_962079_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-19 08:59:03.252083
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/08/55/image_19012025_08_55_02_458660_0001.jpg', '/home/pi/Desktop/images/19012025/08/55/image_19012025_08_55_02_458660_0002.jpg', '/home/pi/Desktop/images/19012025/08/55/image_19012025_08_55_02_458660_0003.jpg', '/home/pi/Desktop/images/19012025/08/56/image_19012025_08_56_02_962079_0000.jpg', '/home/pi/Desktop/images/19012025/08/56/image_19012025_08_56_02_962079_0001.jpg', '/home/pi/Desktop/images/19012025/08/56/image_19012025_08_56_02_962079_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/08/55/image_19012025_08_55_02_458660_0001.jpg
/home/pi/Desktop/images/19012025/08/55/image_19012025_08_55_02_458660_0002.jpg
/home/pi/Desktop/images/19012025/08/55/image_19012025_08_55_02_458660_0003.jpg
/home/pi/Desktop/images/19012025/08/56/image_19012025_08_56_02_962079_0000.jpg
/home/pi/Desktop/images/19012025/08/56/image_19012025_08_56_02_962079_0001.jpg
/home/pi/Desktop/images/19012025/08/56/image_19012025_08_56_02_962079_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329986077","1329985855","1329986451","1329985845","1329985859","1329985850"],"photo_ids_order":["1329985845","1329985850","1329985855","1329985859","1329986077","1329986451"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/a4e749c08ff74db87f78120a29b14163.jpg","text":"TemporaryFile(/tmp/multipartBody4557762028120264767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737273620683,"filename":"image_19012025_08_56_02_962079_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/b737cee8c2bdcb25f6de057eea435e3c.jpg","text":"TemporaryFile(/tmp/multipartBody642789206895329318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737273620683,"filename":"image_19012025_08_55_02_458660_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/0f5b67f9922cce5887f8a9eca532dd6b.jpg","text":"TemporaryFile(/tmp/multipartBody7699404491883821209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737273620683,"filename":"image_19012025_08_56_02_962079_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/0364487c4d16e49dbcf27978c62832c5.jpg","text":"TemporaryFile(/tmp/multipartBody5179627431220135628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737273620683,"filename":"image_19012025_08_55_02_458660_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/6b257767baf59d6cee476bba394c4423.jpg","text":"TemporaryFile(/tmp/multipartBody2957595648347377160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737273620683,"filename":"image_19012025_08_56_02_962079_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/4f5b4986396021b5f7cffaf417947613.jpg","text":"TemporaryFile(/tmp/multipartBody8913357550037469994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737273620683,"filename":"image_19012025_08_55_02_458660_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329985855","file1":"1329985850","file0":"1329985845","file4":"1329986077","file5":"1329986451","file3":"1329985859"},"map_files_photo_id_array":[{"photo_id":"1329986451","filename":"file5"},{"photo_id":"1329985855","filename":"file2"},{"photo_id":"1329986077","filename":"file4"},{"photo_id":"1329985850","filename":"file1"},{"photo_id":"1329985845","filename":"file0"},{"photo_id":"1329985859","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329986077":["hashtag1","hashtag2"]},{"1329985855":["hashtag1","hashtag2"]},{"1329986451":["hashtag1","hashtag2"]},{"1329985845":["hashtag1","hashtag2"]},{"1329985859":["hashtag1","hashtag2"]},{"1329985850":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329986077, 1329985855, 1329986451, 1329985845, 1329985859, 1329985850)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.06853270530701 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 09:00:02.614635
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/08/56/image_19012025_08_56_02_962079_0003.jpg', '/home/pi/Desktop/images/19012025/08/57/image_19012025_08_57_02_630299_0000.jpg', '/home/pi/Desktop/images/19012025/08/57/image_19012025_08_57_02_630299_0001.jpg', '/home/pi/Desktop/images/19012025/08/57/image_19012025_08_57_02_630299_0002.jpg', '/home/pi/Desktop/images/19012025/08/57/image_19012025_08_57_02_630299_0003.jpg', '/home/pi/Desktop/images/19012025/08/58/image_19012025_08_58_02_167332_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/08/56/image_19012025_08_56_02_962079_0003.jpg
/home/pi/Desktop/images/19012025/08/57/image_19012025_08_57_02_630299_0000.jpg
/home/pi/Desktop/images/19012025/08/57/image_19012025_08_57_02_630299_0001.jpg
/home/pi/Desktop/images/19012025/08/57/image_19012025_08_57_02_630299_0002.jpg
/home/pi/Desktop/images/19012025/08/57/image_19012025_08_57_02_630299_0003.jpg
/home/pi/Desktop/images/19012025/08/58/image_19012025_08_58_02_167332_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329986575","1329986848","1329986584","1329986883","1329986577","1329986834"],"photo_ids_order":["1329986575","1329986577","1329986584","1329986834","1329986848","1329986883"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/8d125201bea07969514fffe081f3d136.jpg","text":"TemporaryFile(/tmp/multipartBody2309916107869234525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737273679470,"filename":"image_19012025_08_56_02_962079_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/109f0fe861e6f6f51b1c7363365d6d9e.jpg","text":"TemporaryFile(/tmp/multipartBody2527948439999174184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737273679470,"filename":"image_19012025_08_57_02_630299_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/4354091b57eb5b918aad8a723bc80016.jpg","text":"TemporaryFile(/tmp/multipartBody6285580257704112738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737273679470,"filename":"image_19012025_08_57_02_630299_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/31fa6348fba8593b45ede1137391127a.jpg","text":"TemporaryFile(/tmp/multipartBody6973356761304243678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737273679470,"filename":"image_19012025_08_58_02_167332_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/2847aa4505defa735854e24103a97c31.jpg","text":"TemporaryFile(/tmp/multipartBody5110273246046466471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737273679470,"filename":"image_19012025_08_57_02_630299_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/03430c8c9e1240e338ceb79a1a1080f3.jpg","text":"TemporaryFile(/tmp/multipartBody8580762708492117667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737273679470,"filename":"image_19012025_08_57_02_630299_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329986584","file1":"1329986577","file0":"1329986575","file4":"1329986848","file5":"1329986883","file3":"1329986834"},"map_files_photo_id_array":[{"photo_id":"1329986883","filename":"file5"},{"photo_id":"1329986584","filename":"file2"},{"photo_id":"1329986848","filename":"file4"},{"photo_id":"1329986577","filename":"file1"},{"photo_id":"1329986575","filename":"file0"},{"photo_id":"1329986834","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329986575":["hashtag1","hashtag2"]},{"1329986848":["hashtag1","hashtag2"]},{"1329986584":["hashtag1","hashtag2"]},{"1329986883":["hashtag1","hashtag2"]},{"1329986577":["hashtag1","hashtag2"]},{"1329986834":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329986575, 1329986848, 1329986584, 1329986883, 1329986577, 1329986834)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.72046136856079 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 09:01:03.333586
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/08/58/image_19012025_08_58_02_167332_0001.jpg', '/home/pi/Desktop/images/19012025/08/58/image_19012025_08_58_02_167332_0002.jpg', '/home/pi/Desktop/images/19012025/08/58/image_19012025_08_58_02_167332_0003.jpg', '/home/pi/Desktop/images/19012025/08/59/image_19012025_08_59_02_782953_0000.jpg', '/home/pi/Desktop/images/19012025/08/59/image_19012025_08_59_02_782953_0001.jpg', '/home/pi/Desktop/images/19012025/08/59/image_19012025_08_59_02_782953_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/08/58/image_19012025_08_58_02_167332_0001.jpg
/home/pi/Desktop/images/19012025/08/58/image_19012025_08_58_02_167332_0002.jpg
/home/pi/Desktop/images/19012025/08/58/image_19012025_08_58_02_167332_0003.jpg
/home/pi/Desktop/images/19012025/08/59/image_19012025_08_59_02_782953_0000.jpg
/home/pi/Desktop/images/19012025/08/59/image_19012025_08_59_02_782953_0001.jpg
/home/pi/Desktop/images/19012025/08/59/image_19012025_08_59_02_782953_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329986919","1329986930","1329986924","1329986933","1329986927","1329986921"],"photo_ids_order":["1329986919","1329986921","1329986924","1329986927","1329986930","1329986933"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/a985eecd17bcabb7f2f5d3a94dec6f9f.jpg","text":"TemporaryFile(/tmp/multipartBody6430146345349648943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737273740050,"filename":"image_19012025_08_58_02_167332_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/b45057c4806fd308b1082411ccb966cd.jpg","text":"TemporaryFile(/tmp/multipartBody6291882155571986744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737273740050,"filename":"image_19012025_08_59_02_782953_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/c344d5470e9842389ab4321cc7db39cf.jpg","text":"TemporaryFile(/tmp/multipartBody6127493499220692087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737273740050,"filename":"image_19012025_08_58_02_167332_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/82326438e3e8c0c560a72903b0153e10.jpg","text":"TemporaryFile(/tmp/multipartBody1696149314744036341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737273740050,"filename":"image_19012025_08_59_02_782953_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/e95a18abefc3fa242906b122d6fdd6b2.jpg","text":"TemporaryFile(/tmp/multipartBody1336567148423290653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737273740050,"filename":"image_19012025_08_59_02_782953_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/5e200007ed3c3ec127151683846f6ad5.jpg","text":"TemporaryFile(/tmp/multipartBody8603934312192016906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737273740050,"filename":"image_19012025_08_58_02_167332_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329986924","file1":"1329986921","file0":"1329986919","file4":"1329986930","file5":"1329986933","file3":"1329986927"},"map_files_photo_id_array":[{"photo_id":"1329986933","filename":"file5"},{"photo_id":"1329986924","filename":"file2"},{"photo_id":"1329986930","filename":"file4"},{"photo_id":"1329986921","filename":"file1"},{"photo_id":"1329986919","filename":"file0"},{"photo_id":"1329986927","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329986919":["hashtag1","hashtag2"]},{"1329986930":["hashtag1","hashtag2"]},{"1329986924":["hashtag1","hashtag2"]},{"1329986933":["hashtag1","hashtag2"]},{"1329986927":["hashtag1","hashtag2"]},{"1329986921":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329986919, 1329986930, 1329986924, 1329986933, 1329986927, 1329986921)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.28194761276245 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 09:02:02.623268
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/08/59/image_19012025_08_59_02_782953_0003.jpg', '/home/pi/Desktop/images/19012025/09/00/image_19012025_09_00_02_975302_0000.jpg', '/home/pi/Desktop/images/19012025/09/00/image_19012025_09_00_02_975302_0001.jpg', '/home/pi/Desktop/images/19012025/09/00/image_19012025_09_00_02_975302_0002.jpg', '/home/pi/Desktop/images/19012025/09/00/image_19012025_09_00_02_975302_0003.jpg', '/home/pi/Desktop/images/19012025/09/01/image_19012025_09_01_02_511037_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/08/59/image_19012025_08_59_02_782953_0003.jpg
/home/pi/Desktop/images/19012025/09/00/image_19012025_09_00_02_975302_0000.jpg
/home/pi/Desktop/images/19012025/09/00/image_19012025_09_00_02_975302_0001.jpg
/home/pi/Desktop/images/19012025/09/00/image_19012025_09_00_02_975302_0002.jpg
/home/pi/Desktop/images/19012025/09/00/image_19012025_09_00_02_975302_0003.jpg
/home/pi/Desktop/images/19012025/09/01/image_19012025_09_01_02_511037_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: 17.25893807411194 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 09:02:22.113961
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/08/59/image_19012025_08_59_02_782953_0003.jpg', '/home/pi/Desktop/images/19012025/09/00/image_19012025_09_00_02_975302_0000.jpg', '/home/pi/Desktop/images/19012025/09/00/image_19012025_09_00_02_975302_0001.jpg', '/home/pi/Desktop/images/19012025/09/00/image_19012025_09_00_02_975302_0002.jpg', '/home/pi/Desktop/images/19012025/09/00/image_19012025_09_00_02_975302_0003.jpg', '/home/pi/Desktop/images/19012025/09/01/image_19012025_09_01_02_511037_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/08/59/image_19012025_08_59_02_782953_0003.jpg
/home/pi/Desktop/images/19012025/09/00/image_19012025_09_00_02_975302_0000.jpg
/home/pi/Desktop/images/19012025/09/00/image_19012025_09_00_02_975302_0001.jpg
/home/pi/Desktop/images/19012025/09/00/image_19012025_09_00_02_975302_0002.jpg
/home/pi/Desktop/images/19012025/09/00/image_19012025_09_00_02_975302_0003.jpg
/home/pi/Desktop/images/19012025/09/01/image_19012025_09_01_02_511037_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329986947","1329986944","1329986955","1329986949","1329986951","1329986954"],"photo_ids_order":["1329986944","1329986947","1329986949","1329986951","1329986954","1329986955"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/eebef81341e85f31c9047b8d245725b6.jpg","text":"TemporaryFile(/tmp/multipartBody9027945432172892444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737273819716,"filename":"image_19012025_09_00_02_975302_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/fc279d17caf87cf49e0d51dbaf54e0a4.jpg","text":"TemporaryFile(/tmp/multipartBody6011438212680847513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737273819716,"filename":"image_19012025_08_59_02_782953_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/316e8424d4747ea4414a889087a70943.jpg","text":"TemporaryFile(/tmp/multipartBody8857303610114388692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737273819716,"filename":"image_19012025_09_01_02_511037_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/4d2019082437f86304c4eb64326a5373.jpg","text":"TemporaryFile(/tmp/multipartBody2031522127984148904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737273819716,"filename":"image_19012025_09_00_02_975302_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/4cccf405d2761b0d819aa16e75c27436.jpg","text":"TemporaryFile(/tmp/multipartBody4577055726408481728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737273819716,"filename":"image_19012025_09_00_02_975302_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/64ec20f2e188300f063bda1529dbe31f.jpg","text":"TemporaryFile(/tmp/multipartBody722543302137713975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737273819716,"filename":"image_19012025_09_00_02_975302_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329986949","file1":"1329986947","file0":"1329986944","file4":"1329986954","file5":"1329986955","file3":"1329986951"},"map_files_photo_id_array":[{"photo_id":"1329986955","filename":"file5"},{"photo_id":"1329986949","filename":"file2"},{"photo_id":"1329986954","filename":"file4"},{"photo_id":"1329986947","filename":"file1"},{"photo_id":"1329986944","filename":"file0"},{"photo_id":"1329986951","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329986947":["hashtag1","hashtag2"]},{"1329986944":["hashtag1","hashtag2"]},{"1329986955":["hashtag1","hashtag2"]},{"1329986949":["hashtag1","hashtag2"]},{"1329986951":["hashtag1","hashtag2"]},{"1329986954":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329986947, 1329986944, 1329986955, 1329986949, 1329986951, 1329986954)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.7176079750061 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 09:03:22.779384
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/09/01/image_19012025_09_01_02_511037_0001.jpg', '/home/pi/Desktop/images/19012025/09/01/image_19012025_09_01_02_511037_0002.jpg', '/home/pi/Desktop/images/19012025/09/01/image_19012025_09_01_02_511037_0003.jpg', '/home/pi/Desktop/images/19012025/09/02/image_19012025_09_02_02_988559_0000.jpg', '/home/pi/Desktop/images/19012025/09/02/image_19012025_09_02_02_988559_0001.jpg', '/home/pi/Desktop/images/19012025/09/02/image_19012025_09_02_02_988559_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/09/01/image_19012025_09_01_02_511037_0001.jpg
/home/pi/Desktop/images/19012025/09/01/image_19012025_09_01_02_511037_0002.jpg
/home/pi/Desktop/images/19012025/09/01/image_19012025_09_01_02_511037_0003.jpg
/home/pi/Desktop/images/19012025/09/02/image_19012025_09_02_02_988559_0000.jpg
/home/pi/Desktop/images/19012025/09/02/image_19012025_09_02_02_988559_0001.jpg
/home/pi/Desktop/images/19012025/09/02/image_19012025_09_02_02_988559_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329986968","1329986979","1329986964","1329986961","1329986990","1329986966"],"photo_ids_order":["1329986961","1329986964","1329986966","1329986968","1329986979","1329986990"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/d53113af2ed4e52cff2d7df1968a425e.jpg","text":"TemporaryFile(/tmp/multipartBody5872792222921937746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737273880388,"filename":"image_19012025_09_02_02_988559_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/9256c028350f7df03d1115a576f2076d.jpg","text":"TemporaryFile(/tmp/multipartBody7751629957351665024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737273880388,"filename":"image_19012025_09_02_02_988559_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/a65b40c428c5907819875d8e2b1c4b17.jpg","text":"TemporaryFile(/tmp/multipartBody3362341297796236379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737273880388,"filename":"image_19012025_09_01_02_511037_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/ea6768fb53bf7f2058569ab2fe8c4ede.jpg","text":"TemporaryFile(/tmp/multipartBody2350849727600397950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737273880388,"filename":"image_19012025_09_01_02_511037_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/c3961a0eaa0a53b40c709e9e359bcc8e.jpg","text":"TemporaryFile(/tmp/multipartBody5602590951431767264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737273880388,"filename":"image_19012025_09_02_02_988559_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/6fc3daf96741dca7c908f6f44a638b11.jpg","text":"TemporaryFile(/tmp/multipartBody8173956490855645120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737273880388,"filename":"image_19012025_09_01_02_511037_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329986966","file1":"1329986964","file0":"1329986961","file4":"1329986979","file5":"1329986990","file3":"1329986968"},"map_files_photo_id_array":[{"photo_id":"1329986990","filename":"file5"},{"photo_id":"1329986966","filename":"file2"},{"photo_id":"1329986979","filename":"file4"},{"photo_id":"1329986964","filename":"file1"},{"photo_id":"1329986961","filename":"file0"},{"photo_id":"1329986968","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329986968":["hashtag1","hashtag2"]},{"1329986979":["hashtag1","hashtag2"]},{"1329986964":["hashtag1","hashtag2"]},{"1329986961":["hashtag1","hashtag2"]},{"1329986990":["hashtag1","hashtag2"]},{"1329986966":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329986968, 1329986979, 1329986964, 1329986961, 1329986990, 1329986966)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.18663191795349 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 09:04:22.235737
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/09/02/image_19012025_09_02_02_988559_0003.jpg', '/home/pi/Desktop/images/19012025/09/03/image_19012025_09_03_02_598731_0000.jpg', '/home/pi/Desktop/images/19012025/09/03/image_19012025_09_03_02_598731_0001.jpg', '/home/pi/Desktop/images/19012025/09/03/image_19012025_09_03_02_598731_0002.jpg', '/home/pi/Desktop/images/19012025/09/04/image_19012025_09_04_03_110360_0000.jpg', '/home/pi/Desktop/images/19012025/09/04/image_19012025_09_04_03_110360_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/09/02/image_19012025_09_02_02_988559_0003.jpg
/home/pi/Desktop/images/19012025/09/03/image_19012025_09_03_02_598731_0000.jpg
/home/pi/Desktop/images/19012025/09/03/image_19012025_09_03_02_598731_0001.jpg
/home/pi/Desktop/images/19012025/09/03/image_19012025_09_03_02_598731_0002.jpg
/home/pi/Desktop/images/19012025/09/04/image_19012025_09_04_03_110360_0000.jpg
/home/pi/Desktop/images/19012025/09/04/image_19012025_09_04_03_110360_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329987016","1329987025","1329987019","1329987013","1329987027","1329987023"],"photo_ids_order":["1329987013","1329987016","1329987019","1329987023","1329987025","1329987027"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/bd25f57f0e6f6ae4c6218cd79e314d15.jpg","text":"TemporaryFile(/tmp/multipartBody8823324454370785670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737273939896,"filename":"image_19012025_09_03_02_598731_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/91e33dd6c42c7a2f0f4a25d262fc8939.jpg","text":"TemporaryFile(/tmp/multipartBody6646846701348295232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737273939896,"filename":"image_19012025_09_04_03_110360_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/17cf9b340667366def6c834177e76e47.jpg","text":"TemporaryFile(/tmp/multipartBody7184911016697403291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737273939896,"filename":"image_19012025_09_03_02_598731_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/7a34f20f97b999110ccd7bd2956892b2.jpg","text":"TemporaryFile(/tmp/multipartBody171086458391907459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737273939896,"filename":"image_19012025_09_02_02_988559_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/40265a7d735622932a2969115b1e4be7.jpg","text":"TemporaryFile(/tmp/multipartBody4603453130152967054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737273939896,"filename":"image_19012025_09_04_03_110360_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/ce00fd65209b02f2ca210091824bf79b.jpg","text":"TemporaryFile(/tmp/multipartBody5497040157752266856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737273939896,"filename":"image_19012025_09_03_02_598731_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329987019","file1":"1329987016","file0":"1329987013","file4":"1329987025","file5":"1329987027","file3":"1329987023"},"map_files_photo_id_array":[{"photo_id":"1329987027","filename":"file5"},{"photo_id":"1329987019","filename":"file2"},{"photo_id":"1329987025","filename":"file4"},{"photo_id":"1329987016","filename":"file1"},{"photo_id":"1329987013","filename":"file0"},{"photo_id":"1329987023","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329987016":["hashtag1","hashtag2"]},{"1329987025":["hashtag1","hashtag2"]},{"1329987019":["hashtag1","hashtag2"]},{"1329987013":["hashtag1","hashtag2"]},{"1329987027":["hashtag1","hashtag2"]},{"1329987023":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329987016, 1329987025, 1329987019, 1329987013, 1329987027, 1329987023)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.53199911117554 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 09:05:21.749339
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/09/04/image_19012025_09_04_03_110360_0002.jpg', '/home/pi/Desktop/images/19012025/09/05/image_19012025_09_05_02_629625_0001.jpg', '/home/pi/Desktop/images/19012025/09/05/image_19012025_09_05_02_629625_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/09/04/image_19012025_09_04_03_110360_0002.jpg
/home/pi/Desktop/images/19012025/09/05/image_19012025_09_05_02_629625_0001.jpg
/home/pi/Desktop/images/19012025/09/05/image_19012025_09_05_02_629625_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329987742","1329987731","1329987704"],"photo_ids_order":["1329987704","1329987731","1329987742"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/28c7c5e0e6c4ac037fabd711f90eea82.jpg","text":"TemporaryFile(/tmp/multipartBody5202215212518754057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737273990879,"filename":"image_19012025_09_05_02_629625_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/cc43b7c2c662de5f2710933f75a6a3ea.jpg","text":"TemporaryFile(/tmp/multipartBody8895092222573576157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737273990879,"filename":"image_19012025_09_05_02_629625_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/55b0c3aca3fe2d0bd3a5513fc8f31eba.jpg","text":"TemporaryFile(/tmp/multipartBody6205844917778485247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737273990879,"filename":"image_19012025_09_04_03_110360_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329987742","file1":"1329987731","file0":"1329987704"},"map_files_photo_id_array":[{"photo_id":"1329987742","filename":"file2"},{"photo_id":"1329987731","filename":"file1"},{"photo_id":"1329987704","filename":"file0"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329987742":["hashtag1","hashtag2"]},{"1329987731":["hashtag1","hashtag2"]},{"1329987704":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329987742, 1329987731, 1329987704)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 32.16568565368652 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 09:06:02.760214
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
  port_id : 19698700
  datou_current_id : 2490825
in upload_from_sqlite, uploading in 19698700
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17012025/21/49/image_17012025_21_49_02_487444_0001.jpg', '/home/pi/Desktop/images/17012025/21/49/image_17012025_21_49_02_487444_0002.jpg', '/home/pi/Desktop/images/17012025/21/49/image_17012025_21_49_02_487444_0003.jpg', '/home/pi/Desktop/images/17012025/21/50/image_17012025_21_50_02_660061_0000.jpg', '/home/pi/Desktop/images/17012025/21/50/image_17012025_21_50_02_660061_0001.jpg', '/home/pi/Desktop/images/17012025/21/50/image_17012025_21_50_02_660061_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2490825&datou=0
/home/pi/Desktop/images/17012025/21/49/image_17012025_21_49_02_487444_0001.jpg
/home/pi/Desktop/images/17012025/21/49/image_17012025_21_49_02_487444_0002.jpg
/home/pi/Desktop/images/17012025/21/49/image_17012025_21_49_02_487444_0003.jpg
/home/pi/Desktop/images/17012025/21/50/image_17012025_21_50_02_660061_0000.jpg
/home/pi/Desktop/images/17012025/21/50/image_17012025_21_50_02_660061_0001.jpg
/home/pi/Desktop/images/17012025/21/50/image_17012025_21_50_02_660061_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 17.11444854736328 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 09:06:22.331196
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/09/05/image_19012025_09_05_02_629625_0003.jpg', '/home/pi/Desktop/images/19012025/09/06/image_19012025_09_06_02_143084_0000.jpg', '/home/pi/Desktop/images/19012025/09/06/image_19012025_09_06_02_143084_0001.jpg', '/home/pi/Desktop/images/19012025/09/06/image_19012025_09_06_02_143084_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/09/05/image_19012025_09_05_02_629625_0003.jpg
/home/pi/Desktop/images/19012025/09/06/image_19012025_09_06_02_143084_0000.jpg
/home/pi/Desktop/images/19012025/09/06/image_19012025_09_06_02_143084_0001.jpg
/home/pi/Desktop/images/19012025/09/06/image_19012025_09_06_02_143084_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329988739","1329988136","1329988357","1329988045"],"photo_ids_order":["1329988045","1329988136","1329988357","1329988739"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/cad6bc7bcc6fecc08834c30d7d529c4e.jpg","text":"TemporaryFile(/tmp/multipartBody2933230128173637866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737274054298,"filename":"image_19012025_09_06_02_143084_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/83cd3066d54e4dbaee94faa42d4e20ce.jpg","text":"TemporaryFile(/tmp/multipartBody835719972325006749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737274054298,"filename":"image_19012025_09_06_02_143084_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/18d9832bf1e2f687fee9397f9704d0b3.jpg","text":"TemporaryFile(/tmp/multipartBody7209513606836707173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737274054298,"filename":"image_19012025_09_06_02_143084_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/5b06480cfbb3dfdd1bd5c3aff21c9c5f.jpg","text":"TemporaryFile(/tmp/multipartBody3311970404097621983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737274054298,"filename":"image_19012025_09_05_02_629625_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329988357","file1":"1329988136","file0":"1329988045","file3":"1329988739"},"map_files_photo_id_array":[{"photo_id":"1329988357","filename":"file2"},{"photo_id":"1329988136","filename":"file1"},{"photo_id":"1329988045","filename":"file0"},{"photo_id":"1329988739","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329988739":["hashtag1","hashtag2"]},{"1329988136":["hashtag1","hashtag2"]},{"1329988357":["hashtag1","hashtag2"]},{"1329988045":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329988739, 1329988136, 1329988357, 1329988045)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.92308163642883 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 09:07:21.823677
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/09/06/image_19012025_09_06_02_143084_0003.jpg', '/home/pi/Desktop/images/19012025/09/07/image_19012025_09_07_02_681597_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/09/06/image_19012025_09_06_02_143084_0003.jpg
/home/pi/Desktop/images/19012025/09/07/image_19012025_09_07_02_681597_0000.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329988944","1329988942"],"photo_ids_order":["1329988942","1329988944"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/faa6b4b7d7b6b7e8924742aaa5e26cbc.jpg","text":"TemporaryFile(/tmp/multipartBody5888293828646313120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737274108159,"filename":"image_19012025_09_07_02_681597_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/835e9696bf38920d52baa99b74014bde.jpg","text":"TemporaryFile(/tmp/multipartBody5210264034449738349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737274108159,"filename":"image_19012025_09_06_02_143084_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1329988944","file0":"1329988942"},"map_files_photo_id_array":[{"photo_id":"1329988944","filename":"file1"},{"photo_id":"1329988942","filename":"file0"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329988944":["hashtag1","hashtag2"]},{"1329988942":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329988944, 1329988942)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 23.218150854110718 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 09:08:02.924351
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
  port_id : 19698700
  datou_current_id : 2490825
in upload_from_sqlite, uploading in 19698700
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17012025/21/49/image_17012025_21_49_02_487444_0001.jpg', '/home/pi/Desktop/images/17012025/21/49/image_17012025_21_49_02_487444_0002.jpg', '/home/pi/Desktop/images/17012025/21/49/image_17012025_21_49_02_487444_0003.jpg', '/home/pi/Desktop/images/17012025/21/50/image_17012025_21_50_02_660061_0000.jpg', '/home/pi/Desktop/images/17012025/21/50/image_17012025_21_50_02_660061_0001.jpg', '/home/pi/Desktop/images/17012025/21/50/image_17012025_21_50_02_660061_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2490825&datou=0
/home/pi/Desktop/images/17012025/21/49/image_17012025_21_49_02_487444_0001.jpg
/home/pi/Desktop/images/17012025/21/49/image_17012025_21_49_02_487444_0002.jpg
/home/pi/Desktop/images/17012025/21/49/image_17012025_21_49_02_487444_0003.jpg
/home/pi/Desktop/images/17012025/21/50/image_17012025_21_50_02_660061_0000.jpg
/home/pi/Desktop/images/17012025/21/50/image_17012025_21_50_02_660061_0001.jpg
/home/pi/Desktop/images/17012025/21/50/image_17012025_21_50_02_660061_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":["1329989348","1329989411","1329989414","1329989408","1329989422","1329989317"],"photo_ids_order":["1329989317","1329989348","1329989408","1329989411","1329989414","1329989422"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/bf18f35845865c053728191f553c6a3b.jpg","text":"TemporaryFile(/tmp/multipartBody7357150075840251988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737274160265,"filename":"image_17012025_21_49_02_487444_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/f868a89c0a93af653f8cad6819cb25c6.jpg","text":"TemporaryFile(/tmp/multipartBody2050608222498850395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737274160265,"filename":"image_17012025_21_50_02_660061_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/5bbde162dd86d54e80cb52906e980dc1.jpg","text":"TemporaryFile(/tmp/multipartBody1286967079869014329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737274160265,"filename":"image_17012025_21_50_02_660061_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/86a340b1a5289fd1029825a14e524d64.jpg","text":"TemporaryFile(/tmp/multipartBody8008360817789318983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737274160265,"filename":"image_17012025_21_49_02_487444_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/c97b39daf85795ef2bc0d32a9e060067.jpg","text":"TemporaryFile(/tmp/multipartBody6080086451290444291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737274160265,"filename":"image_17012025_21_50_02_660061_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/43e3fea91c68b26052a2e9ef63d62a99.jpg","text":"TemporaryFile(/tmp/multipartBody7927997860410330803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737274160265,"filename":"image_17012025_21_49_02_487444_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329989408","file1":"1329989348","file0":"1329989317","file4":"1329989414","file5":"1329989422","file3":"1329989411"},"map_files_photo_id_array":[{"photo_id":"1329989422","filename":"file5"},{"photo_id":"1329989408","filename":"file2"},{"photo_id":"1329989414","filename":"file4"},{"photo_id":"1329989348","filename":"file1"},{"photo_id":"1329989317","filename":"file0"},{"photo_id":"1329989411","filename":"file3"}],"portfolio_id":19698700,"hashtag_by_photo_ids":[{"1329989348":["hashtag1","hashtag2"]},{"1329989411":["hashtag1","hashtag2"]},{"1329989414":["hashtag1","hashtag2"]},{"1329989408":["hashtag1","hashtag2"]},{"1329989422":["hashtag1","hashtag2"]},{"1329989317":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698700 used, photo_id : ArrayBuffer(1329989348, 1329989411, 1329989414, 1329989408, 1329989422, 1329989317)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.705602169036865 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 09:09:21.953621
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/09/07/image_19012025_09_07_02_681597_0002.jpg', '/home/pi/Desktop/images/19012025/09/08/image_19012025_09_08_02_253512_0000.jpg', '/home/pi/Desktop/images/19012025/09/08/image_19012025_09_08_02_253512_0001.jpg', '/home/pi/Desktop/images/19012025/09/08/image_19012025_09_08_02_253512_0002.jpg', '/home/pi/Desktop/images/19012025/09/08/image_19012025_09_08_02_253512_0003.jpg', '/home/pi/Desktop/images/19012025/09/09/image_19012025_09_09_02_748016_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/09/07/image_19012025_09_07_02_681597_0002.jpg
/home/pi/Desktop/images/19012025/09/08/image_19012025_09_08_02_253512_0000.jpg
/home/pi/Desktop/images/19012025/09/08/image_19012025_09_08_02_253512_0001.jpg
/home/pi/Desktop/images/19012025/09/08/image_19012025_09_08_02_253512_0002.jpg
/home/pi/Desktop/images/19012025/09/08/image_19012025_09_08_02_253512_0003.jpg
/home/pi/Desktop/images/19012025/09/09/image_19012025_09_09_02_748016_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329989439","1329989430","1329989435","1329989432","1329989440","1329989437"],"photo_ids_order":["1329989430","1329989432","1329989435","1329989437","1329989439","1329989440"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/83405317ea90f00d5a4a8f75707dac0a.jpg","text":"TemporaryFile(/tmp/multipartBody3842056420631755857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737274239577,"filename":"image_19012025_09_08_02_253512_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/358847cd740ce137771e024045858ddf.jpg","text":"TemporaryFile(/tmp/multipartBody8136046471107515420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737274239577,"filename":"image_19012025_09_07_02_681597_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/98fe387a4379758afc8cb23879a2025b.jpg","text":"TemporaryFile(/tmp/multipartBody4048012453292082786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737274239577,"filename":"image_19012025_09_08_02_253512_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/ca66658ee3b660169435ab7d4e8d3944.jpg","text":"TemporaryFile(/tmp/multipartBody5144471080688239699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737274239577,"filename":"image_19012025_09_08_02_253512_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/a6d93414e3b1919ab68de75605e870bc.jpg","text":"TemporaryFile(/tmp/multipartBody7711076932634374741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737274239577,"filename":"image_19012025_09_09_02_748016_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/a285003aa91ce5a29f47e159cdd3e5d2.jpg","text":"TemporaryFile(/tmp/multipartBody9113428921902071265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737274239577,"filename":"image_19012025_09_08_02_253512_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329989435","file1":"1329989432","file0":"1329989430","file4":"1329989439","file5":"1329989440","file3":"1329989437"},"map_files_photo_id_array":[{"photo_id":"1329989440","filename":"file5"},{"photo_id":"1329989435","filename":"file2"},{"photo_id":"1329989439","filename":"file4"},{"photo_id":"1329989432","filename":"file1"},{"photo_id":"1329989430","filename":"file0"},{"photo_id":"1329989437","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329989439":["hashtag1","hashtag2"]},{"1329989430":["hashtag1","hashtag2"]},{"1329989435":["hashtag1","hashtag2"]},{"1329989432":["hashtag1","hashtag2"]},{"1329989440":["hashtag1","hashtag2"]},{"1329989437":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329989439, 1329989430, 1329989435, 1329989432, 1329989440, 1329989437)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.256057262420654 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 09:10:22.483933
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/09/09/image_19012025_09_09_02_748016_0001.jpg', '/home/pi/Desktop/images/19012025/09/09/image_19012025_09_09_02_748016_0002.jpg', '/home/pi/Desktop/images/19012025/09/09/image_19012025_09_09_02_748016_0003.jpg', '/home/pi/Desktop/images/19012025/09/10/image_19012025_09_10_02_360142_0000.jpg', '/home/pi/Desktop/images/19012025/09/10/image_19012025_09_10_02_360142_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/09/09/image_19012025_09_09_02_748016_0001.jpg
/home/pi/Desktop/images/19012025/09/09/image_19012025_09_09_02_748016_0002.jpg
/home/pi/Desktop/images/19012025/09/09/image_19012025_09_09_02_748016_0003.jpg
/home/pi/Desktop/images/19012025/09/10/image_19012025_09_10_02_360142_0000.jpg
/home/pi/Desktop/images/19012025/09/10/image_19012025_09_10_02_360142_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329989497","1329989500","1329989503","1329989493","1329989472"],"photo_ids_order":["1329989472","1329989493","1329989497","1329989500","1329989503"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/0ae8e6a1d1d54244612c860a1b4e781b.jpg","text":"TemporaryFile(/tmp/multipartBody2994694450551117054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737274297286,"filename":"image_19012025_09_09_02_748016_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/5b6b8363cebfa92073ce49ef1ac3e746.jpg","text":"TemporaryFile(/tmp/multipartBody2154339946385510446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737274297286,"filename":"image_19012025_09_10_02_360142_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/9e7a022fce9dee686a2d14636abae042.jpg","text":"TemporaryFile(/tmp/multipartBody1460059232784415077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737274297286,"filename":"image_19012025_09_10_02_360142_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/12644f68a1d51e39f3cd350cc49196dd.jpg","text":"TemporaryFile(/tmp/multipartBody2153123821939208409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737274297286,"filename":"image_19012025_09_09_02_748016_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/19805408a6d6601b33e618fc8c0d62c7.jpg","text":"TemporaryFile(/tmp/multipartBody1306324548006145934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737274297286,"filename":"image_19012025_09_09_02_748016_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329989497","file1":"1329989493","file0":"1329989472","file4":"1329989503","file3":"1329989500"},"map_files_photo_id_array":[{"photo_id":"1329989497","filename":"file2"},{"photo_id":"1329989503","filename":"file4"},{"photo_id":"1329989493","filename":"file1"},{"photo_id":"1329989472","filename":"file0"},{"photo_id":"1329989500","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329989497":["hashtag1","hashtag2"]},{"1329989500":["hashtag1","hashtag2"]},{"1329989503":["hashtag1","hashtag2"]},{"1329989493":["hashtag1","hashtag2"]},{"1329989472":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329989497, 1329989500, 1329989503, 1329989493, 1329989472)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 49.58199214935303 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 09:11:22.095362
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/09/10/image_19012025_09_10_02_360142_0003.jpg', '/home/pi/Desktop/images/19012025/09/11/image_19012025_09_11_02_885932_0000.jpg', '/home/pi/Desktop/images/19012025/09/11/image_19012025_09_11_02_885932_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/09/10/image_19012025_09_10_02_360142_0003.jpg
/home/pi/Desktop/images/19012025/09/11/image_19012025_09_11_02_885932_0000.jpg
/home/pi/Desktop/images/19012025/09/11/image_19012025_09_11_02_885932_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329989517","1329989514","1329989510"],"photo_ids_order":["1329989510","1329989514","1329989517"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/ff978f6d6b8cdb26645fcd53fcc79580.jpg","text":"TemporaryFile(/tmp/multipartBody6893885002472056108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737274351249,"filename":"image_19012025_09_11_02_885932_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/5e55af460000f6e534212e73b6ed276b.jpg","text":"TemporaryFile(/tmp/multipartBody962552794461904925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737274351249,"filename":"image_19012025_09_11_02_885932_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/a0fb5ea9079afe386754ffedbe12cd1c.jpg","text":"TemporaryFile(/tmp/multipartBody1196122572978903588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737274351249,"filename":"image_19012025_09_10_02_360142_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329989517","file1":"1329989514","file0":"1329989510"},"map_files_photo_id_array":[{"photo_id":"1329989517","filename":"file2"},{"photo_id":"1329989514","filename":"file1"},{"photo_id":"1329989510","filename":"file0"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329989517":["hashtag1","hashtag2"]},{"1329989514":["hashtag1","hashtag2"]},{"1329989510":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329989517, 1329989514, 1329989510)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 32.64444088935852 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 09:12:03.103646
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
  port_id : 19698700
  datou_current_id : 2490825
in upload_from_sqlite, uploading in 19698700
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17012025/21/50/image_17012025_21_50_02_660061_0003.jpg', '/home/pi/Desktop/images/17012025/21/51/image_17012025_21_51_02_887282_0000.jpg', '/home/pi/Desktop/images/17012025/21/51/image_17012025_21_51_02_887282_0001.jpg', '/home/pi/Desktop/images/17012025/21/51/image_17012025_21_51_02_887282_0002.jpg', '/home/pi/Desktop/images/17012025/21/51/image_17012025_21_51_02_887282_0003.jpg', '/home/pi/Desktop/images/17012025/21/52/image_17012025_21_52_02_994421_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2490825&datou=0
/home/pi/Desktop/images/17012025/21/50/image_17012025_21_50_02_660061_0003.jpg
/home/pi/Desktop/images/17012025/21/51/image_17012025_21_51_02_887282_0000.jpg
/home/pi/Desktop/images/17012025/21/51/image_17012025_21_51_02_887282_0001.jpg
/home/pi/Desktop/images/17012025/21/51/image_17012025_21_51_02_887282_0002.jpg
/home/pi/Desktop/images/17012025/21/51/image_17012025_21_51_02_887282_0003.jpg
/home/pi/Desktop/images/17012025/21/52/image_17012025_21_52_02_994421_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329989532","1329989529","1329989540","1329989534","1329989543","1329989537"],"photo_ids_order":["1329989529","1329989532","1329989534","1329989537","1329989540","1329989543"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/6f584118500592bc1c36dc8b041e3cfa.jpg","text":"TemporaryFile(/tmp/multipartBody5635823261140043875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737274400177,"filename":"image_17012025_21_51_02_887282_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/091f2fb1ecf763e1abde3b023f3a965a.jpg","text":"TemporaryFile(/tmp/multipartBody3609137815735899613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737274400177,"filename":"image_17012025_21_50_02_660061_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/fbbd1cff1ca4930b678ebb127e8f8258.jpg","text":"TemporaryFile(/tmp/multipartBody4096740971013299301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737274400177,"filename":"image_17012025_21_51_02_887282_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/ec911d1ab3524a47923576e5973e789b.jpg","text":"TemporaryFile(/tmp/multipartBody6463239138515878484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737274400177,"filename":"image_17012025_21_51_02_887282_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/b5056a7b3cedac1dd3352dfdfa9535b2.jpg","text":"TemporaryFile(/tmp/multipartBody4027350235992259200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737274400177,"filename":"image_17012025_21_52_02_994421_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/2b1f4c70e80d47c67df29dbbcfb410a3.jpg","text":"TemporaryFile(/tmp/multipartBody5743036359890507405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737274400177,"filename":"image_17012025_21_51_02_887282_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329989534","file1":"1329989532","file0":"1329989529","file4":"1329989540","file5":"1329989543","file3":"1329989537"},"map_files_photo_id_array":[{"photo_id":"1329989543","filename":"file5"},{"photo_id":"1329989534","filename":"file2"},{"photo_id":"1329989540","filename":"file4"},{"photo_id":"1329989532","filename":"file1"},{"photo_id":"1329989529","filename":"file0"},{"photo_id":"1329989537","filename":"file3"}],"portfolio_id":19698700,"hashtag_by_photo_ids":[{"1329989532":["hashtag1","hashtag2"]},{"1329989529":["hashtag1","hashtag2"]},{"1329989540":["hashtag1","hashtag2"]},{"1329989534":["hashtag1","hashtag2"]},{"1329989543":["hashtag1","hashtag2"]},{"1329989537":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698700 used, photo_id : ArrayBuffer(1329989532, 1329989529, 1329989540, 1329989534, 1329989543, 1329989537)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.89385962486267 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 09:13:02.738358
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/09/11/image_19012025_09_11_02_885932_0003.jpg', '/home/pi/Desktop/images/19012025/09/12/image_19012025_09_12_02_502860_0000.jpg', '/home/pi/Desktop/images/19012025/09/12/image_19012025_09_12_02_502860_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/09/11/image_19012025_09_11_02_885932_0003.jpg
/home/pi/Desktop/images/19012025/09/12/image_19012025_09_12_02_502860_0000.jpg
/home/pi/Desktop/images/19012025/09/12/image_19012025_09_12_02_502860_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329989552","1329989551","1329989554"],"photo_ids_order":["1329989551","1329989552","1329989554"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/cdfb7cb146a8b7aa75c09c28f3952330.jpg","text":"TemporaryFile(/tmp/multipartBody4276431085682908934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737274451955,"filename":"image_19012025_09_12_02_502860_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/b04488c93f2e7a61b7fd461405619203.jpg","text":"TemporaryFile(/tmp/multipartBody2341248575481996529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737274451955,"filename":"image_19012025_09_11_02_885932_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/c6d510d807e48c6a28df200e2646dc00.jpg","text":"TemporaryFile(/tmp/multipartBody2610261033978903149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737274451955,"filename":"image_19012025_09_12_02_502860_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329989554","file1":"1329989552","file0":"1329989551"},"map_files_photo_id_array":[{"photo_id":"1329989554","filename":"file2"},{"photo_id":"1329989552","filename":"file1"},{"photo_id":"1329989551","filename":"file0"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329989552":["hashtag1","hashtag2"]},{"1329989551":["hashtag1","hashtag2"]},{"1329989554":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329989552, 1329989551, 1329989554)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 35.257354736328125 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 09:14:02.234168
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/09/12/image_19012025_09_12_02_502860_0002.jpg', '/home/pi/Desktop/images/19012025/09/13/image_19012025_09_13_03_052806_0000.jpg', '/home/pi/Desktop/images/19012025/09/13/image_19012025_09_13_03_052806_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/09/12/image_19012025_09_12_02_502860_0002.jpg
/home/pi/Desktop/images/19012025/09/13/image_19012025_09_13_03_052806_0000.jpg
/home/pi/Desktop/images/19012025/09/13/image_19012025_09_13_03_052806_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329989564","1329989692","1329989630"],"photo_ids_order":["1329989564","1329989630","1329989692"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/4d7f5618213e1b5292095089cd2c57bd.jpg","text":"TemporaryFile(/tmp/multipartBody6181398767865841856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737274511405,"filename":"image_19012025_09_12_02_502860_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/f9cf61c12b3a36563683810c471f5f9a.jpg","text":"TemporaryFile(/tmp/multipartBody606551595714651492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737274511405,"filename":"image_19012025_09_13_03_052806_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/bed7aeac55f271b47ce4dc0fd99516b4.jpg","text":"TemporaryFile(/tmp/multipartBody5197579991714316954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737274511405,"filename":"image_19012025_09_13_03_052806_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329989692","file1":"1329989630","file0":"1329989564"},"map_files_photo_id_array":[{"photo_id":"1329989692","filename":"file2"},{"photo_id":"1329989630","filename":"file1"},{"photo_id":"1329989564","filename":"file0"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329989564":["hashtag1","hashtag2"]},{"1329989692":["hashtag1","hashtag2"]},{"1329989630":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329989564, 1329989692, 1329989630)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 36.919591188430786 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 09:15:02.744576
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/09/13/image_19012025_09_13_03_052806_0002.jpg', '/home/pi/Desktop/images/19012025/09/14/image_19012025_09_14_02_593741_0000.jpg', '/home/pi/Desktop/images/19012025/09/14/image_19012025_09_14_02_593741_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/09/13/image_19012025_09_13_03_052806_0002.jpg
/home/pi/Desktop/images/19012025/09/14/image_19012025_09_14_02_593741_0000.jpg
/home/pi/Desktop/images/19012025/09/14/image_19012025_09_14_02_593741_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329990657","1329990313","1329990390"],"photo_ids_order":["1329990313","1329990390","1329990657"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/2e1a324f6e78239ce5c64067f18c8b5d.jpg","text":"TemporaryFile(/tmp/multipartBody6163098242896463843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737274572007,"filename":"image_19012025_09_14_02_593741_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/e2d5915c368f3a80d1f6245eb3b006ba.jpg","text":"TemporaryFile(/tmp/multipartBody7635259693836298587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737274572007,"filename":"image_19012025_09_13_03_052806_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/1ffcdb1ec73a88267bcb896b4d78c053.jpg","text":"TemporaryFile(/tmp/multipartBody7192278876602325512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737274572007,"filename":"image_19012025_09_14_02_593741_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329990657","file1":"1329990390","file0":"1329990313"},"map_files_photo_id_array":[{"photo_id":"1329990657","filename":"file2"},{"photo_id":"1329990390","filename":"file1"},{"photo_id":"1329990313","filename":"file0"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329990657":["hashtag1","hashtag2"]},{"1329990313":["hashtag1","hashtag2"]},{"1329990390":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329990657, 1329990313, 1329990390)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 32.70389223098755 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 09:16:02.454994
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/09/14/image_19012025_09_14_02_593741_0003.jpg', '/home/pi/Desktop/images/19012025/09/15/image_19012025_09_15_02_180461_0000.jpg', '/home/pi/Desktop/images/19012025/09/15/image_19012025_09_15_02_180461_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/09/14/image_19012025_09_14_02_593741_0003.jpg
/home/pi/Desktop/images/19012025/09/15/image_19012025_09_15_02_180461_0000.jpg
/home/pi/Desktop/images/19012025/09/15/image_19012025_09_15_02_180461_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329990759","1329990669","1329990668"],"photo_ids_order":["1329990668","1329990669","1329990759"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/7c06c5895d23ec0b83d9b3c494722636.jpg","text":"TemporaryFile(/tmp/multipartBody7849288466476079773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737274631636,"filename":"image_19012025_09_15_02_180461_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/02df574b983c7fd8e6e747b101bba4d4.jpg","text":"TemporaryFile(/tmp/multipartBody1565014337563538324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737274631636,"filename":"image_19012025_09_15_02_180461_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/1d004f5367f06a101b7943ab717ee3cb.jpg","text":"TemporaryFile(/tmp/multipartBody1769921556390859884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737274631636,"filename":"image_19012025_09_14_02_593741_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329990759","file1":"1329990669","file0":"1329990668"},"map_files_photo_id_array":[{"photo_id":"1329990759","filename":"file2"},{"photo_id":"1329990669","filename":"file1"},{"photo_id":"1329990668","filename":"file0"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329990759":["hashtag1","hashtag2"]},{"1329990669":["hashtag1","hashtag2"]},{"1329990668":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329990759, 1329990669, 1329990668)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.86929416656494 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 09:17:03.164097
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/09/15/image_19012025_09_15_02_180461_0002.jpg', '/home/pi/Desktop/images/19012025/09/16/image_19012025_09_16_02_815946_0000.jpg', '/home/pi/Desktop/images/19012025/09/16/image_19012025_09_16_02_815946_0001.jpg', '/home/pi/Desktop/images/19012025/09/16/image_19012025_09_16_02_815946_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/09/15/image_19012025_09_15_02_180461_0002.jpg
/home/pi/Desktop/images/19012025/09/16/image_19012025_09_16_02_815946_0000.jpg
/home/pi/Desktop/images/19012025/09/16/image_19012025_09_16_02_815946_0001.jpg
/home/pi/Desktop/images/19012025/09/16/image_19012025_09_16_02_815946_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 11.709331274032593 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 09:17:22.551533
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/09/15/image_19012025_09_15_02_180461_0002.jpg', '/home/pi/Desktop/images/19012025/09/16/image_19012025_09_16_02_815946_0000.jpg', '/home/pi/Desktop/images/19012025/09/16/image_19012025_09_16_02_815946_0001.jpg', '/home/pi/Desktop/images/19012025/09/16/image_19012025_09_16_02_815946_0002.jpg', '/home/pi/Desktop/images/19012025/09/16/image_19012025_09_16_02_815946_0003.jpg', '/home/pi/Desktop/images/19012025/09/17/image_19012025_09_17_02_428314_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/09/15/image_19012025_09_15_02_180461_0002.jpg
/home/pi/Desktop/images/19012025/09/16/image_19012025_09_16_02_815946_0000.jpg
/home/pi/Desktop/images/19012025/09/16/image_19012025_09_16_02_815946_0001.jpg
/home/pi/Desktop/images/19012025/09/16/image_19012025_09_16_02_815946_0002.jpg
/home/pi/Desktop/images/19012025/09/16/image_19012025_09_16_02_815946_0003.jpg
/home/pi/Desktop/images/19012025/09/17/image_19012025_09_17_02_428314_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329991244","1329991253","1329991247","1329991249","1329991240","1329991251"],"photo_ids_order":["1329991240","1329991244","1329991247","1329991249","1329991251","1329991253"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/c9fe6ca12a34c07b6fedc33a1ea8fad1.jpg","text":"TemporaryFile(/tmp/multipartBody747768057748766486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737274720176,"filename":"image_19012025_09_16_02_815946_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/bc7f0efa1a1b73f1614323b08411ed35.jpg","text":"TemporaryFile(/tmp/multipartBody3058122619645719848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737274720176,"filename":"image_19012025_09_17_02_428314_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/3a5a850fc2696555247be5d329535510.jpg","text":"TemporaryFile(/tmp/multipartBody6572559223712344855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737274720176,"filename":"image_19012025_09_16_02_815946_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/1deeb2dea22a4b51b2b45bfce2dd0c94.jpg","text":"TemporaryFile(/tmp/multipartBody365552728641656866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737274720176,"filename":"image_19012025_09_16_02_815946_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/3cbbb154f4952d182d908d5ab100398e.jpg","text":"TemporaryFile(/tmp/multipartBody3055498370326273306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737274720176,"filename":"image_19012025_09_15_02_180461_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/ccc3be224249cda2dfdd9a1c9d18fe75.jpg","text":"TemporaryFile(/tmp/multipartBody1083362060102332623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737274720176,"filename":"image_19012025_09_16_02_815946_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329991247","file1":"1329991244","file0":"1329991240","file4":"1329991251","file5":"1329991253","file3":"1329991249"},"map_files_photo_id_array":[{"photo_id":"1329991253","filename":"file5"},{"photo_id":"1329991247","filename":"file2"},{"photo_id":"1329991251","filename":"file4"},{"photo_id":"1329991244","filename":"file1"},{"photo_id":"1329991240","filename":"file0"},{"photo_id":"1329991249","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329991244":["hashtag1","hashtag2"]},{"1329991253":["hashtag1","hashtag2"]},{"1329991247":["hashtag1","hashtag2"]},{"1329991249":["hashtag1","hashtag2"]},{"1329991240":["hashtag1","hashtag2"]},{"1329991251":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329991244, 1329991253, 1329991247, 1329991249, 1329991240, 1329991251)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.545024394989014 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 09:18:22.232205
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/09/17/image_19012025_09_17_02_428314_0003.jpg', '/home/pi/Desktop/images/19012025/09/18/image_19012025_09_18_02_904272_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/09/17/image_19012025_09_17_02_428314_0003.jpg
/home/pi/Desktop/images/19012025/09/18/image_19012025_09_18_02_904272_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329991585","1329991587"],"photo_ids_order":["1329991585","1329991587"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/0d2f3ecbce075440b377a24798c8cceb.jpg","text":"TemporaryFile(/tmp/multipartBody931083177822145434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737274768524,"filename":"image_19012025_09_17_02_428314_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/97189119ef1b75dc57ffc0d5c40b4bdc.jpg","text":"TemporaryFile(/tmp/multipartBody3989188002526578380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737274768524,"filename":"image_19012025_09_18_02_904272_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1329991587","file0":"1329991585"},"map_files_photo_id_array":[{"photo_id":"1329991587","filename":"file1"},{"photo_id":"1329991585","filename":"file0"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329991585":["hashtag1","hashtag2"]},{"1329991587":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329991585, 1329991587)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 23.501907348632812 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 09:19:03.201208
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
  port_id : 19698700
  datou_current_id : 2490825
in upload_from_sqlite, uploading in 19698700
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17012025/21/52/image_17012025_21_52_02_994421_0001.jpg', '/home/pi/Desktop/images/17012025/21/52/image_17012025_21_52_02_994421_0002.jpg', '/home/pi/Desktop/images/17012025/21/52/image_17012025_21_52_02_994421_0003.jpg', '/home/pi/Desktop/images/17012025/21/53/image_17012025_21_53_02_165565_0000.jpg', '/home/pi/Desktop/images/17012025/21/53/image_17012025_21_53_02_165565_0001.jpg', '/home/pi/Desktop/images/17012025/21/53/image_17012025_21_53_02_165565_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2490825&datou=0
/home/pi/Desktop/images/17012025/21/52/image_17012025_21_52_02_994421_0001.jpg
/home/pi/Desktop/images/17012025/21/52/image_17012025_21_52_02_994421_0002.jpg
/home/pi/Desktop/images/17012025/21/52/image_17012025_21_52_02_994421_0003.jpg
/home/pi/Desktop/images/17012025/21/53/image_17012025_21_53_02_165565_0000.jpg
/home/pi/Desktop/images/17012025/21/53/image_17012025_21_53_02_165565_0001.jpg
/home/pi/Desktop/images/17012025/21/53/image_17012025_21_53_02_165565_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329991629","1329991620","1329991617","1329991646","1329991603","1329991606"],"photo_ids_order":["1329991603","1329991606","1329991617","1329991620","1329991629","1329991646"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/cbe4681c5b5abf247145682ba33899cd.jpg","text":"TemporaryFile(/tmp/multipartBody7492054439197999611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737274820655,"filename":"image_17012025_21_53_02_165565_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/08c6442e1bf01691257335118d120bae.jpg","text":"TemporaryFile(/tmp/multipartBody5934479877384316594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737274820655,"filename":"image_17012025_21_53_02_165565_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/8403033009dfdbcedec1fa486521df23.jpg","text":"TemporaryFile(/tmp/multipartBody2320403789936426191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737274820655,"filename":"image_17012025_21_52_02_994421_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/4e6552035dbed94969bdff4047e1b59e.jpg","text":"TemporaryFile(/tmp/multipartBody2957373554222332270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737274820655,"filename":"image_17012025_21_53_02_165565_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/7a0061c838d8438e873a932585bdb538.jpg","text":"TemporaryFile(/tmp/multipartBody7761214074138717768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737274820655,"filename":"image_17012025_21_52_02_994421_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/ee5a955719e720ae239f81c3542cf570.jpg","text":"TemporaryFile(/tmp/multipartBody875982255841548239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737274820655,"filename":"image_17012025_21_52_02_994421_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329991617","file1":"1329991606","file0":"1329991603","file4":"1329991629","file5":"1329991646","file3":"1329991620"},"map_files_photo_id_array":[{"photo_id":"1329991646","filename":"file5"},{"photo_id":"1329991617","filename":"file2"},{"photo_id":"1329991629","filename":"file4"},{"photo_id":"1329991606","filename":"file1"},{"photo_id":"1329991603","filename":"file0"},{"photo_id":"1329991620","filename":"file3"}],"portfolio_id":19698700,"hashtag_by_photo_ids":[{"1329991629":["hashtag1","hashtag2"]},{"1329991620":["hashtag1","hashtag2"]},{"1329991617":["hashtag1","hashtag2"]},{"1329991646":["hashtag1","hashtag2"]},{"1329991603":["hashtag1","hashtag2"]},{"1329991606":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698700 used, photo_id : ArrayBuffer(1329991629, 1329991620, 1329991617, 1329991646, 1329991603, 1329991606)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.96760153770447 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 09:20:02.791820
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/09/18/image_19012025_09_18_02_904272_0003.jpg', '/home/pi/Desktop/images/19012025/09/19/image_19012025_09_19_02_541019_0000.jpg', '/home/pi/Desktop/images/19012025/09/19/image_19012025_09_19_02_541019_0001.jpg', '/home/pi/Desktop/images/19012025/09/19/image_19012025_09_19_02_541019_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/09/18/image_19012025_09_18_02_904272_0003.jpg
/home/pi/Desktop/images/19012025/09/19/image_19012025_09_19_02_541019_0000.jpg
/home/pi/Desktop/images/19012025/09/19/image_19012025_09_19_02_541019_0001.jpg
/home/pi/Desktop/images/19012025/09/19/image_19012025_09_19_02_541019_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 11.571633338928223 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 09:20:22.262666
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/09/18/image_19012025_09_18_02_904272_0003.jpg', '/home/pi/Desktop/images/19012025/09/19/image_19012025_09_19_02_541019_0000.jpg', '/home/pi/Desktop/images/19012025/09/19/image_19012025_09_19_02_541019_0001.jpg', '/home/pi/Desktop/images/19012025/09/19/image_19012025_09_19_02_541019_0002.jpg', '/home/pi/Desktop/images/19012025/09/19/image_19012025_09_19_02_541019_0003.jpg', '/home/pi/Desktop/images/19012025/09/20/image_19012025_09_20_03_062924_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/09/18/image_19012025_09_18_02_904272_0003.jpg
/home/pi/Desktop/images/19012025/09/19/image_19012025_09_19_02_541019_0000.jpg
/home/pi/Desktop/images/19012025/09/19/image_19012025_09_19_02_541019_0001.jpg
/home/pi/Desktop/images/19012025/09/19/image_19012025_09_19_02_541019_0002.jpg
/home/pi/Desktop/images/19012025/09/19/image_19012025_09_19_02_541019_0003.jpg
/home/pi/Desktop/images/19012025/09/20/image_19012025_09_20_03_062924_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329992460","1329992454","1329992463","1329992457","1329992523","1329992466"],"photo_ids_order":["1329992454","1329992457","1329992460","1329992463","1329992466","1329992523"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/e1ea70507dbc3e8a7c0ad18b8d97049c.jpg","text":"TemporaryFile(/tmp/multipartBody2340243409552273867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737274899932,"filename":"image_19012025_09_19_02_541019_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/7ed7329cf6239b449d84f82d3086444f.jpg","text":"TemporaryFile(/tmp/multipartBody2018573761402655479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737274899932,"filename":"image_19012025_09_18_02_904272_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/9ed4e7128585945cd9fc11d93075f78d.jpg","text":"TemporaryFile(/tmp/multipartBody776761607422910751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737274899932,"filename":"image_19012025_09_19_02_541019_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/910a0c4f6dbe0a90ed169022dff0d002.jpg","text":"TemporaryFile(/tmp/multipartBody5811877054227375527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737274899932,"filename":"image_19012025_09_19_02_541019_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/9f0c88275c6723f39004faed46b4347e.jpg","text":"TemporaryFile(/tmp/multipartBody7157354648106827224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737274899932,"filename":"image_19012025_09_20_03_062924_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/c5a4963583a47ae6b89fd03ef2736c79.jpg","text":"TemporaryFile(/tmp/multipartBody2668106102064415343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737274899932,"filename":"image_19012025_09_19_02_541019_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329992460","file1":"1329992457","file0":"1329992454","file4":"1329992466","file5":"1329992523","file3":"1329992463"},"map_files_photo_id_array":[{"photo_id":"1329992523","filename":"file5"},{"photo_id":"1329992460","filename":"file2"},{"photo_id":"1329992466","filename":"file4"},{"photo_id":"1329992457","filename":"file1"},{"photo_id":"1329992454","filename":"file0"},{"photo_id":"1329992463","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329992460":["hashtag1","hashtag2"]},{"1329992454":["hashtag1","hashtag2"]},{"1329992463":["hashtag1","hashtag2"]},{"1329992457":["hashtag1","hashtag2"]},{"1329992523":["hashtag1","hashtag2"]},{"1329992466":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329992460, 1329992454, 1329992463, 1329992457, 1329992523, 1329992466)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.82313275337219 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 09:21:22.775467
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/09/20/image_19012025_09_20_03_062924_0001.jpg', '/home/pi/Desktop/images/19012025/09/20/image_19012025_09_20_03_062924_0002.jpg', '/home/pi/Desktop/images/19012025/09/20/image_19012025_09_20_03_062924_0003.jpg', '/home/pi/Desktop/images/19012025/09/21/image_19012025_09_21_02_636555_0000.jpg', '/home/pi/Desktop/images/19012025/09/21/image_19012025_09_21_02_636555_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/09/20/image_19012025_09_20_03_062924_0001.jpg
/home/pi/Desktop/images/19012025/09/20/image_19012025_09_20_03_062924_0002.jpg
/home/pi/Desktop/images/19012025/09/20/image_19012025_09_20_03_062924_0003.jpg
/home/pi/Desktop/images/19012025/09/21/image_19012025_09_21_02_636555_0000.jpg
/home/pi/Desktop/images/19012025/09/21/image_19012025_09_21_02_636555_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329993245","1329993616","1329992872","1329993939","1329992874"],"photo_ids_order":["1329992872","1329992874","1329993245","1329993616","1329993939"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/ddddd7d9692e683fde33cc3096b0a098.jpg","text":"TemporaryFile(/tmp/multipartBody473493524953485702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737274957565,"filename":"image_19012025_09_20_03_062924_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/96be9828939b46cd0f1668694e1a09b0.jpg","text":"TemporaryFile(/tmp/multipartBody6321994437137546171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737274957565,"filename":"image_19012025_09_21_02_636555_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/58f8093848993c9328b1e6147fab6243.jpg","text":"TemporaryFile(/tmp/multipartBody2053340193672286423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737274957565,"filename":"image_19012025_09_20_03_062924_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/e1834b51c7bd5e1823527d3c4debfde7.jpg","text":"TemporaryFile(/tmp/multipartBody3889902529351992219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737274957565,"filename":"image_19012025_09_21_02_636555_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/c65faddd14c55548a94f95ea981e26a8.jpg","text":"TemporaryFile(/tmp/multipartBody8461669960715969482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737274957565,"filename":"image_19012025_09_20_03_062924_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329993245","file1":"1329992874","file0":"1329992872","file4":"1329993939","file3":"1329993616"},"map_files_photo_id_array":[{"photo_id":"1329993245","filename":"file2"},{"photo_id":"1329993939","filename":"file4"},{"photo_id":"1329992874","filename":"file1"},{"photo_id":"1329992872","filename":"file0"},{"photo_id":"1329993616","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329993245":["hashtag1","hashtag2"]},{"1329993616":["hashtag1","hashtag2"]},{"1329992872":["hashtag1","hashtag2"]},{"1329993939":["hashtag1","hashtag2"]},{"1329992874":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329993245, 1329993616, 1329992872, 1329993939, 1329992874)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 47.37560272216797 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 09:22:22.388735
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/09/21/image_19012025_09_21_02_636555_0003.jpg', '/home/pi/Desktop/images/19012025/09/22/image_19012025_09_22_03_192203_0000.jpg', '/home/pi/Desktop/images/19012025/09/22/image_19012025_09_22_03_192203_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/09/21/image_19012025_09_21_02_636555_0003.jpg
/home/pi/Desktop/images/19012025/09/22/image_19012025_09_22_03_192203_0000.jpg
/home/pi/Desktop/images/19012025/09/22/image_19012025_09_22_03_192203_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329994393","1329994396","1329994399"],"photo_ids_order":["1329994393","1329994396","1329994399"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/702bfe076254753083781dff9d3636a4.jpg","text":"TemporaryFile(/tmp/multipartBody1113218138903669129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737275011562,"filename":"image_19012025_09_21_02_636555_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/f5e0c262dca7fd0e54cefe812f9494ac.jpg","text":"TemporaryFile(/tmp/multipartBody7313309071044764147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737275011562,"filename":"image_19012025_09_22_03_192203_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/ceb500eca6454b9c95d87cf35ce0b8c4.jpg","text":"TemporaryFile(/tmp/multipartBody4464038816113206348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737275011562,"filename":"image_19012025_09_22_03_192203_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329994399","file1":"1329994396","file0":"1329994393"},"map_files_photo_id_array":[{"photo_id":"1329994399","filename":"file2"},{"photo_id":"1329994396","filename":"file1"},{"photo_id":"1329994393","filename":"file0"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329994393":["hashtag1","hashtag2"]},{"1329994396":["hashtag1","hashtag2"]},{"1329994399":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329994393, 1329994396, 1329994399)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 32.396291732788086 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 09:23:02.502794
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
  port_id : 19698700
  datou_current_id : 2490825
in upload_from_sqlite, uploading in 19698700
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17012025/21/53/image_17012025_21_53_02_165565_0003.jpg', '/home/pi/Desktop/images/17012025/21/54/image_17012025_21_54_02_387599_0000.jpg', '/home/pi/Desktop/images/17012025/21/54/image_17012025_21_54_02_387599_0001.jpg', '/home/pi/Desktop/images/17012025/21/54/image_17012025_21_54_02_387599_0002.jpg', '/home/pi/Desktop/images/17012025/21/54/image_17012025_21_54_02_387599_0003.jpg', '/home/pi/Desktop/images/17012025/21/55/image_17012025_21_55_02_615810_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2490825&datou=0
/home/pi/Desktop/images/17012025/21/53/image_17012025_21_53_02_165565_0003.jpg
/home/pi/Desktop/images/17012025/21/54/image_17012025_21_54_02_387599_0000.jpg
/home/pi/Desktop/images/17012025/21/54/image_17012025_21_54_02_387599_0001.jpg
/home/pi/Desktop/images/17012025/21/54/image_17012025_21_54_02_387599_0002.jpg
/home/pi/Desktop/images/17012025/21/54/image_17012025_21_54_02_387599_0003.jpg
/home/pi/Desktop/images/17012025/21/55/image_17012025_21_55_02_615810_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":["1329994981","1329994849","1329994852","1329994846","1329994976","1329994979"],"photo_ids_order":["1329994846","1329994849","1329994852","1329994976","1329994979","1329994981"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/21d7792fe3ad6c14203ee9c987df3be3.jpg","text":"TemporaryFile(/tmp/multipartBody3631796446646686091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737275060377,"filename":"image_17012025_21_55_02_615810_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/7628a7cc4a101d6e1fe4547a7264bf52.jpg","text":"TemporaryFile(/tmp/multipartBody6430426118182871683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737275060377,"filename":"image_17012025_21_54_02_387599_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/dafa20322e00245a8025048214b61170.jpg","text":"TemporaryFile(/tmp/multipartBody4927138890232542884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737275060377,"filename":"image_17012025_21_54_02_387599_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/f051e230008e18bbe4a55b2f0fff320c.jpg","text":"TemporaryFile(/tmp/multipartBody7748345469500820075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737275060377,"filename":"image_17012025_21_53_02_165565_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/b5cf9f033c6ff37531132b669bbce35c.jpg","text":"TemporaryFile(/tmp/multipartBody1974419112400677725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737275060377,"filename":"image_17012025_21_54_02_387599_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/93901ae3d5b6adf1af389994f54c6983.jpg","text":"TemporaryFile(/tmp/multipartBody6080541079910607170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737275060377,"filename":"image_17012025_21_54_02_387599_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329994852","file1":"1329994849","file0":"1329994846","file4":"1329994979","file5":"1329994981","file3":"1329994976"},"map_files_photo_id_array":[{"photo_id":"1329994981","filename":"file5"},{"photo_id":"1329994852","filename":"file2"},{"photo_id":"1329994979","filename":"file4"},{"photo_id":"1329994849","filename":"file1"},{"photo_id":"1329994846","filename":"file0"},{"photo_id":"1329994976","filename":"file3"}],"portfolio_id":19698700,"hashtag_by_photo_ids":[{"1329994981":["hashtag1","hashtag2"]},{"1329994849":["hashtag1","hashtag2"]},{"1329994852":["hashtag1","hashtag2"]},{"1329994846":["hashtag1","hashtag2"]},{"1329994976":["hashtag1","hashtag2"]},{"1329994979":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698700 used, photo_id : ArrayBuffer(1329994981, 1329994849, 1329994852, 1329994846, 1329994976, 1329994979)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 62.24889898300171 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 09:24:22.540514
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/09/22/image_19012025_09_22_03_192203_0003.jpg', '/home/pi/Desktop/images/19012025/09/23/image_19012025_09_23_02_735490_0000.jpg', '/home/pi/Desktop/images/19012025/09/23/image_19012025_09_23_02_735490_0001.jpg', '/home/pi/Desktop/images/19012025/09/23/image_19012025_09_23_02_735490_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/09/22/image_19012025_09_22_03_192203_0003.jpg
/home/pi/Desktop/images/19012025/09/23/image_19012025_09_23_02_735490_0000.jpg
/home/pi/Desktop/images/19012025/09/23/image_19012025_09_23_02_735490_0001.jpg
/home/pi/Desktop/images/19012025/09/23/image_19012025_09_23_02_735490_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329994989","1329995321","1329995165","1329994987"],"photo_ids_order":["1329994987","1329994989","1329995165","1329995321"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/8036fb79063952c3afaddfea3d33eaeb.jpg","text":"TemporaryFile(/tmp/multipartBody8304529582246413695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737275134534,"filename":"image_19012025_09_23_02_735490_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/68937d24ad741341470460b8e67f258d.jpg","text":"TemporaryFile(/tmp/multipartBody1517118667771744791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737275134534,"filename":"image_19012025_09_23_02_735490_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/aaf179aa2959f0c11cbcf22632cb4c84.jpg","text":"TemporaryFile(/tmp/multipartBody2372869417278602331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737275134534,"filename":"image_19012025_09_23_02_735490_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/48874bc3b46af757e431f5a91b21de56.jpg","text":"TemporaryFile(/tmp/multipartBody3806087560320051963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737275134534,"filename":"image_19012025_09_22_03_192203_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329995165","file1":"1329994989","file0":"1329994987","file3":"1329995321"},"map_files_photo_id_array":[{"photo_id":"1329995165","filename":"file2"},{"photo_id":"1329994989","filename":"file1"},{"photo_id":"1329994987","filename":"file0"},{"photo_id":"1329995321","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329994989":["hashtag1","hashtag2"]},{"1329995321":["hashtag1","hashtag2"]},{"1329995165":["hashtag1","hashtag2"]},{"1329994987":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329994989, 1329995321, 1329995165, 1329994987)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 45.879631996154785 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 09:25:22.157354
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/09/24/image_19012025_09_24_02_230565_0000.jpg', '/home/pi/Desktop/images/19012025/09/25/image_19012025_09_25_02_937581_0000.jpg', '/home/pi/Desktop/images/19012025/09/25/image_19012025_09_25_02_937581_0001.jpg', '/home/pi/Desktop/images/19012025/09/25/image_19012025_09_25_02_937581_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/09/24/image_19012025_09_24_02_230565_0000.jpg
/home/pi/Desktop/images/19012025/09/25/image_19012025_09_25_02_937581_0000.jpg
/home/pi/Desktop/images/19012025/09/25/image_19012025_09_25_02_937581_0001.jpg
/home/pi/Desktop/images/19012025/09/25/image_19012025_09_25_02_937581_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329995351","1329995369","1329995371","1329995374"],"photo_ids_order":["1329995351","1329995369","1329995371","1329995374"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/c551872aecdc7356c60929b1006b4465.jpg","text":"TemporaryFile(/tmp/multipartBody585777406264062867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737275194134,"filename":"image_19012025_09_24_02_230565_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/35e1e28ce61a4e094577c25441265c75.jpg","text":"TemporaryFile(/tmp/multipartBody2317057695830828477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737275194134,"filename":"image_19012025_09_25_02_937581_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/e51ff711b019f0e2c6ee561f002664a8.jpg","text":"TemporaryFile(/tmp/multipartBody7953881006960863421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737275194134,"filename":"image_19012025_09_25_02_937581_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/32d28f9b586c6a69a19a178e8f7b9844.jpg","text":"TemporaryFile(/tmp/multipartBody477440745215063761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737275194134,"filename":"image_19012025_09_25_02_937581_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329995371","file1":"1329995369","file0":"1329995351","file3":"1329995374"},"map_files_photo_id_array":[{"photo_id":"1329995371","filename":"file2"},{"photo_id":"1329995369","filename":"file1"},{"photo_id":"1329995351","filename":"file0"},{"photo_id":"1329995374","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329995351":["hashtag1","hashtag2"]},{"1329995369":["hashtag1","hashtag2"]},{"1329995371":["hashtag1","hashtag2"]},{"1329995374":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329995351, 1329995369, 1329995371, 1329995374)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.334471702575684 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 09:26:22.654979
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/09/25/image_19012025_09_25_02_937581_0003.jpg', '/home/pi/Desktop/images/19012025/09/26/image_19012025_09_26_02_539763_0000.jpg', '/home/pi/Desktop/images/19012025/09/26/image_19012025_09_26_02_539763_0001.jpg', '/home/pi/Desktop/images/19012025/09/26/image_19012025_09_26_02_539763_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/09/25/image_19012025_09_25_02_937581_0003.jpg
/home/pi/Desktop/images/19012025/09/26/image_19012025_09_26_02_539763_0000.jpg
/home/pi/Desktop/images/19012025/09/26/image_19012025_09_26_02_539763_0001.jpg
/home/pi/Desktop/images/19012025/09/26/image_19012025_09_26_02_539763_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.163452386856079 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 09:27:02.797693
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/09/25/image_19012025_09_25_02_937581_0003.jpg', '/home/pi/Desktop/images/19012025/09/26/image_19012025_09_26_02_539763_0000.jpg', '/home/pi/Desktop/images/19012025/09/26/image_19012025_09_26_02_539763_0001.jpg', '/home/pi/Desktop/images/19012025/09/26/image_19012025_09_26_02_539763_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/09/25/image_19012025_09_25_02_937581_0003.jpg
/home/pi/Desktop/images/19012025/09/26/image_19012025_09_26_02_539763_0000.jpg
/home/pi/Desktop/images/19012025/09/26/image_19012025_09_26_02_539763_0001.jpg
/home/pi/Desktop/images/19012025/09/26/image_19012025_09_26_02_539763_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329995391","1329995388","1329995393","1329995389"],"photo_ids_order":["1329995388","1329995389","1329995391","1329995393"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/ab46432f9461b947bade0417cd76497a.jpg","text":"TemporaryFile(/tmp/multipartBody7783097309411908890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737275293439,"filename":"image_19012025_09_26_02_539763_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/3da1a363a072bf5dd34e7886174e5810.jpg","text":"TemporaryFile(/tmp/multipartBody8371022817033807632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737275293439,"filename":"image_19012025_09_25_02_937581_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/db3985e95540f0297a1476fb3ad8394c.jpg","text":"TemporaryFile(/tmp/multipartBody7153175845475819384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737275293439,"filename":"image_19012025_09_26_02_539763_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/f0c7e79f401543882dda4e3ed4061a89.jpg","text":"TemporaryFile(/tmp/multipartBody7979271305231110847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737275293439,"filename":"image_19012025_09_26_02_539763_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329995391","file1":"1329995389","file0":"1329995388","file3":"1329995393"},"map_files_photo_id_array":[{"photo_id":"1329995391","filename":"file2"},{"photo_id":"1329995389","filename":"file1"},{"photo_id":"1329995388","filename":"file0"},{"photo_id":"1329995393","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329995391":["hashtag1","hashtag2"]},{"1329995388":["hashtag1","hashtag2"]},{"1329995393":["hashtag1","hashtag2"]},{"1329995389":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329995391, 1329995388, 1329995393, 1329995389)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.63402342796326 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 09:28:02.174323
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/09/26/image_19012025_09_26_02_539763_0003.jpg', '/home/pi/Desktop/images/19012025/09/27/image_19012025_09_27_03_025701_0000.jpg', '/home/pi/Desktop/images/19012025/09/27/image_19012025_09_27_03_025701_0001.jpg', '/home/pi/Desktop/images/19012025/09/27/image_19012025_09_27_03_025701_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/09/26/image_19012025_09_26_02_539763_0003.jpg
/home/pi/Desktop/images/19012025/09/27/image_19012025_09_27_03_025701_0000.jpg
/home/pi/Desktop/images/19012025/09/27/image_19012025_09_27_03_025701_0001.jpg
/home/pi/Desktop/images/19012025/09/27/image_19012025_09_27_03_025701_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 11.046431541442871 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 09:28:21.796025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/09/26/image_19012025_09_26_02_539763_0003.jpg', '/home/pi/Desktop/images/19012025/09/27/image_19012025_09_27_03_025701_0000.jpg', '/home/pi/Desktop/images/19012025/09/27/image_19012025_09_27_03_025701_0001.jpg', '/home/pi/Desktop/images/19012025/09/27/image_19012025_09_27_03_025701_0002.jpg', '/home/pi/Desktop/images/19012025/09/27/image_19012025_09_27_03_025701_0003.jpg', '/home/pi/Desktop/images/19012025/09/28/image_19012025_09_28_02_534423_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/09/26/image_19012025_09_26_02_539763_0003.jpg
/home/pi/Desktop/images/19012025/09/27/image_19012025_09_27_03_025701_0000.jpg
/home/pi/Desktop/images/19012025/09/27/image_19012025_09_27_03_025701_0001.jpg
/home/pi/Desktop/images/19012025/09/27/image_19012025_09_27_03_025701_0002.jpg
/home/pi/Desktop/images/19012025/09/27/image_19012025_09_27_03_025701_0003.jpg
/home/pi/Desktop/images/19012025/09/28/image_19012025_09_28_02_534423_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329995472","1329995478","1329995480","1329995474","1329995482","1329995476"],"photo_ids_order":["1329995472","1329995474","1329995476","1329995478","1329995480","1329995482"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/b7741a2b2d0be95acded1a0713de6a77.jpg","text":"TemporaryFile(/tmp/multipartBody5410311822545121897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737275378877,"filename":"image_19012025_09_26_02_539763_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/2a18eb48a4558227d8db9db4e5cc26c0.jpg","text":"TemporaryFile(/tmp/multipartBody4178625023216577086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737275378877,"filename":"image_19012025_09_27_03_025701_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/a0d09773b46d20ff8f271194bec47225.jpg","text":"TemporaryFile(/tmp/multipartBody3163915245084149001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737275378877,"filename":"image_19012025_09_27_03_025701_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/acb6c8427d7dffbdf17b4913db9788e0.jpg","text":"TemporaryFile(/tmp/multipartBody3680866299311849499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737275378877,"filename":"image_19012025_09_27_03_025701_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/f2d5a4654c7f45bf123d7f93e0d9727c.jpg","text":"TemporaryFile(/tmp/multipartBody1251472256094987397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737275378877,"filename":"image_19012025_09_28_02_534423_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/55677715470af099da25e42754f2e650.jpg","text":"TemporaryFile(/tmp/multipartBody1964168010946940379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737275378877,"filename":"image_19012025_09_27_03_025701_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329995476","file1":"1329995474","file0":"1329995472","file4":"1329995480","file5":"1329995482","file3":"1329995478"},"map_files_photo_id_array":[{"photo_id":"1329995482","filename":"file5"},{"photo_id":"1329995476","filename":"file2"},{"photo_id":"1329995480","filename":"file4"},{"photo_id":"1329995474","filename":"file1"},{"photo_id":"1329995472","filename":"file0"},{"photo_id":"1329995478","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329995472":["hashtag1","hashtag2"]},{"1329995478":["hashtag1","hashtag2"]},{"1329995480":["hashtag1","hashtag2"]},{"1329995474":["hashtag1","hashtag2"]},{"1329995482":["hashtag1","hashtag2"]},{"1329995476":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329995472, 1329995478, 1329995480, 1329995474, 1329995482, 1329995476)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.13976836204529 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 09:29:22.295386
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/09/28/image_19012025_09_28_02_534423_0001.jpg', '/home/pi/Desktop/images/19012025/09/28/image_19012025_09_28_02_534423_0002.jpg', '/home/pi/Desktop/images/19012025/09/28/image_19012025_09_28_02_534423_0003.jpg', '/home/pi/Desktop/images/19012025/09/29/image_19012025_09_29_02_109856_0000.jpg', '/home/pi/Desktop/images/19012025/09/29/image_19012025_09_29_02_109856_0001.jpg', '/home/pi/Desktop/images/19012025/09/29/image_19012025_09_29_02_109856_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/09/28/image_19012025_09_28_02_534423_0001.jpg
/home/pi/Desktop/images/19012025/09/28/image_19012025_09_28_02_534423_0002.jpg
/home/pi/Desktop/images/19012025/09/28/image_19012025_09_28_02_534423_0003.jpg
/home/pi/Desktop/images/19012025/09/29/image_19012025_09_29_02_109856_0000.jpg
/home/pi/Desktop/images/19012025/09/29/image_19012025_09_29_02_109856_0001.jpg
/home/pi/Desktop/images/19012025/09/29/image_19012025_09_29_02_109856_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329996492","1329995784","1329996494","1329996179","1329996490","1329996496"],"photo_ids_order":["1329995784","1329996179","1329996490","1329996492","1329996494","1329996496"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/c05a8a5fd8253903f666254ce9c60679.jpg","text":"TemporaryFile(/tmp/multipartBody4575556412318473814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737275439021,"filename":"image_19012025_09_29_02_109856_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/9b890b7345fbae50f25eec9426ae2878.jpg","text":"TemporaryFile(/tmp/multipartBody634435824656252909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737275439021,"filename":"image_19012025_09_28_02_534423_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/ef1303cb1fcac0295acc468bef203e49.jpg","text":"TemporaryFile(/tmp/multipartBody8326434511810671908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737275439021,"filename":"image_19012025_09_29_02_109856_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/ccf289c683ca1433b385f41e9d270953.jpg","text":"TemporaryFile(/tmp/multipartBody6353635521838442122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737275439021,"filename":"image_19012025_09_28_02_534423_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/8321fb64666fdc4c050f810ae4372be3.jpg","text":"TemporaryFile(/tmp/multipartBody5336005150776887681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737275439021,"filename":"image_19012025_09_28_02_534423_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/9c83ab8991d28cc11f1d6cb446ef8ac2.jpg","text":"TemporaryFile(/tmp/multipartBody4247688463145651109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737275439021,"filename":"image_19012025_09_29_02_109856_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329996490","file1":"1329996179","file0":"1329995784","file4":"1329996494","file5":"1329996496","file3":"1329996492"},"map_files_photo_id_array":[{"photo_id":"1329996496","filename":"file5"},{"photo_id":"1329996490","filename":"file2"},{"photo_id":"1329996494","filename":"file4"},{"photo_id":"1329996179","filename":"file1"},{"photo_id":"1329995784","filename":"file0"},{"photo_id":"1329996492","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329996492":["hashtag1","hashtag2"]},{"1329995784":["hashtag1","hashtag2"]},{"1329996494":["hashtag1","hashtag2"]},{"1329996179":["hashtag1","hashtag2"]},{"1329996490":["hashtag1","hashtag2"]},{"1329996496":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329996492, 1329995784, 1329996494, 1329996179, 1329996490, 1329996496)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.98271870613098 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 09:30:21.824122
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/09/29/image_19012025_09_29_02_109856_0003.jpg', '/home/pi/Desktop/images/19012025/09/30/image_19012025_09_30_02_612333_0000.jpg', '/home/pi/Desktop/images/19012025/09/30/image_19012025_09_30_02_612333_0001.jpg', '/home/pi/Desktop/images/19012025/09/30/image_19012025_09_30_02_612333_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/09/29/image_19012025_09_29_02_109856_0003.jpg
/home/pi/Desktop/images/19012025/09/30/image_19012025_09_30_02_612333_0000.jpg
/home/pi/Desktop/images/19012025/09/30/image_19012025_09_30_02_612333_0001.jpg
/home/pi/Desktop/images/19012025/09/30/image_19012025_09_30_02_612333_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329996777","1329996717","1329996702","1329996704"],"photo_ids_order":["1329996702","1329996704","1329996717","1329996777"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/3f2f01ec08f4edb04a49ee0881b4c87d.jpg","text":"TemporaryFile(/tmp/multipartBody5756297447306622752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737275493039,"filename":"image_19012025_09_30_02_612333_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/21f7f4fa1ab5d050941b5914adee1d7d.jpg","text":"TemporaryFile(/tmp/multipartBody2098703490805474341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737275493039,"filename":"image_19012025_09_30_02_612333_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/f068184eaafc30aa4459ce8644ca6149.jpg","text":"TemporaryFile(/tmp/multipartBody8426957870378508272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737275493039,"filename":"image_19012025_09_29_02_109856_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/c92d862769e17d4d8ba6482fe2015967.jpg","text":"TemporaryFile(/tmp/multipartBody2083958740179650489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737275493039,"filename":"image_19012025_09_30_02_612333_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329996717","file1":"1329996704","file0":"1329996702","file3":"1329996777"},"map_files_photo_id_array":[{"photo_id":"1329996717","filename":"file2"},{"photo_id":"1329996704","filename":"file1"},{"photo_id":"1329996702","filename":"file0"},{"photo_id":"1329996777","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329996777":["hashtag1","hashtag2"]},{"1329996717":["hashtag1","hashtag2"]},{"1329996702":["hashtag1","hashtag2"]},{"1329996704":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329996777, 1329996717, 1329996702, 1329996704)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.04082274436951 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 09:31:22.290674
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/09/30/image_19012025_09_30_02_612333_0003.jpg', '/home/pi/Desktop/images/19012025/09/31/image_19012025_09_31_02_143358_0000.jpg', '/home/pi/Desktop/images/19012025/09/31/image_19012025_09_31_02_143358_0001.jpg', '/home/pi/Desktop/images/19012025/09/31/image_19012025_09_31_02_143358_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/09/30/image_19012025_09_30_02_612333_0003.jpg
/home/pi/Desktop/images/19012025/09/31/image_19012025_09_31_02_143358_0000.jpg
/home/pi/Desktop/images/19012025/09/31/image_19012025_09_31_02_143358_0001.jpg
/home/pi/Desktop/images/19012025/09/31/image_19012025_09_31_02_143358_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329997040","1329997043","1329997045","1329997021"],"photo_ids_order":["1329997021","1329997040","1329997043","1329997045"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/d53123efd4e824f50d5341cbbd609a79.jpg","text":"TemporaryFile(/tmp/multipartBody301880009859296191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737275553786,"filename":"image_19012025_09_31_02_143358_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/537a78a7fe38867606dedbe006d7d209.jpg","text":"TemporaryFile(/tmp/multipartBody4567929467822708787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737275553786,"filename":"image_19012025_09_31_02_143358_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/b907101d3bf0d919026dadcc1f41d8ec.jpg","text":"TemporaryFile(/tmp/multipartBody7092584141670431894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737275553786,"filename":"image_19012025_09_31_02_143358_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/4c6c727167433c17d367ceec80a1fe14.jpg","text":"TemporaryFile(/tmp/multipartBody5645193331431577002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737275553786,"filename":"image_19012025_09_30_02_612333_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329997043","file1":"1329997040","file0":"1329997021","file3":"1329997045"},"map_files_photo_id_array":[{"photo_id":"1329997043","filename":"file2"},{"photo_id":"1329997040","filename":"file1"},{"photo_id":"1329997021","filename":"file0"},{"photo_id":"1329997045","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329997040":["hashtag1","hashtag2"]},{"1329997043":["hashtag1","hashtag2"]},{"1329997045":["hashtag1","hashtag2"]},{"1329997021":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329997040, 1329997043, 1329997045, 1329997021)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.45928239822388 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 09:32:21.819658
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/09/31/image_19012025_09_31_02_143358_0003.jpg', '/home/pi/Desktop/images/19012025/09/32/image_19012025_09_32_02_658456_0000.jpg', '/home/pi/Desktop/images/19012025/09/32/image_19012025_09_32_02_658456_0001.jpg', '/home/pi/Desktop/images/19012025/09/32/image_19012025_09_32_02_658456_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/09/31/image_19012025_09_31_02_143358_0003.jpg
/home/pi/Desktop/images/19012025/09/32/image_19012025_09_32_02_658456_0000.jpg
/home/pi/Desktop/images/19012025/09/32/image_19012025_09_32_02_658456_0001.jpg
/home/pi/Desktop/images/19012025/09/32/image_19012025_09_32_02_658456_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 11.09461236000061 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 09:33:03.007515
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/09/31/image_19012025_09_31_02_143358_0003.jpg', '/home/pi/Desktop/images/19012025/09/32/image_19012025_09_32_02_658456_0000.jpg', '/home/pi/Desktop/images/19012025/09/32/image_19012025_09_32_02_658456_0001.jpg', '/home/pi/Desktop/images/19012025/09/32/image_19012025_09_32_02_658456_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/09/31/image_19012025_09_31_02_143358_0003.jpg
/home/pi/Desktop/images/19012025/09/32/image_19012025_09_32_02_658456_0000.jpg
/home/pi/Desktop/images/19012025/09/32/image_19012025_09_32_02_658456_0001.jpg
/home/pi/Desktop/images/19012025/09/32/image_19012025_09_32_02_658456_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329997335","1329997064","1329997118","1329997065"],"photo_ids_order":["1329997064","1329997065","1329997118","1329997335"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/28641790902b9437d01ee344f0167431.jpg","text":"TemporaryFile(/tmp/multipartBody1102716638808348603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737275654564,"filename":"image_19012025_09_32_02_658456_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/bb9638b911d3008386f686c7d4d49c32.jpg","text":"TemporaryFile(/tmp/multipartBody6265408697754472949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737275654564,"filename":"image_19012025_09_31_02_143358_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/b80ed459305315c7b4a82990e13c66ba.jpg","text":"TemporaryFile(/tmp/multipartBody8164261347940111383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737275654564,"filename":"image_19012025_09_32_02_658456_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/8c14502a649c674346dae75fe7b1cada.jpg","text":"TemporaryFile(/tmp/multipartBody2916089749062509357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737275654564,"filename":"image_19012025_09_32_02_658456_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329997118","file1":"1329997065","file0":"1329997064","file3":"1329997335"},"map_files_photo_id_array":[{"photo_id":"1329997118","filename":"file2"},{"photo_id":"1329997065","filename":"file1"},{"photo_id":"1329997064","filename":"file0"},{"photo_id":"1329997335","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329997335":["hashtag1","hashtag2"]},{"1329997064":["hashtag1","hashtag2"]},{"1329997118":["hashtag1","hashtag2"]},{"1329997065":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329997335, 1329997064, 1329997118, 1329997065)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.42124056816101 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 09:34:02.563174
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/09/32/image_19012025_09_32_02_658456_0003.jpg', '/home/pi/Desktop/images/19012025/09/33/image_19012025_09_33_02_203445_0000.jpg', '/home/pi/Desktop/images/19012025/09/33/image_19012025_09_33_02_203445_0001.jpg', '/home/pi/Desktop/images/19012025/09/33/image_19012025_09_33_02_203445_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/09/32/image_19012025_09_32_02_658456_0003.jpg
/home/pi/Desktop/images/19012025/09/33/image_19012025_09_33_02_203445_0000.jpg
/home/pi/Desktop/images/19012025/09/33/image_19012025_09_33_02_203445_0001.jpg
/home/pi/Desktop/images/19012025/09/33/image_19012025_09_33_02_203445_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329998442","1329998421","1329998214","1329998400"],"photo_ids_order":["1329998214","1329998400","1329998421","1329998442"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/7494f06d4d7147891a3a184bf1cddf54.jpg","text":"TemporaryFile(/tmp/multipartBody5259812868605060652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737275714131,"filename":"image_19012025_09_33_02_203445_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/b72e485b247fd56b326eb8a81b287b7c.jpg","text":"TemporaryFile(/tmp/multipartBody1868670669868346030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737275714131,"filename":"image_19012025_09_33_02_203445_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/3236b333ebdcb401110ef0be9605a4f0.jpg","text":"TemporaryFile(/tmp/multipartBody6881632382127162437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737275714131,"filename":"image_19012025_09_32_02_658456_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/c1612e8b02d27accd7716369fe98b6b4.jpg","text":"TemporaryFile(/tmp/multipartBody3469809510434052631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737275714131,"filename":"image_19012025_09_33_02_203445_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329998421","file1":"1329998400","file0":"1329998214","file3":"1329998442"},"map_files_photo_id_array":[{"photo_id":"1329998421","filename":"file2"},{"photo_id":"1329998400","filename":"file1"},{"photo_id":"1329998214","filename":"file0"},{"photo_id":"1329998442","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329998442":["hashtag1","hashtag2"]},{"1329998421":["hashtag1","hashtag2"]},{"1329998214":["hashtag1","hashtag2"]},{"1329998400":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329998442, 1329998421, 1329998214, 1329998400)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 44.15414309501648 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 09:35:03.189814
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/09/33/image_19012025_09_33_02_203445_0003.jpg', '/home/pi/Desktop/images/19012025/09/34/image_19012025_09_34_02_725459_0000.jpg', '/home/pi/Desktop/images/19012025/09/34/image_19012025_09_34_02_725459_0001.jpg', '/home/pi/Desktop/images/19012025/09/34/image_19012025_09_34_02_725459_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/09/33/image_19012025_09_33_02_203445_0003.jpg
/home/pi/Desktop/images/19012025/09/34/image_19012025_09_34_02_725459_0000.jpg
/home/pi/Desktop/images/19012025/09/34/image_19012025_09_34_02_725459_0001.jpg
/home/pi/Desktop/images/19012025/09/34/image_19012025_09_34_02_725459_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 11.270244121551514 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 09:35:22.621304
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/09/33/image_19012025_09_33_02_203445_0003.jpg', '/home/pi/Desktop/images/19012025/09/34/image_19012025_09_34_02_725459_0000.jpg', '/home/pi/Desktop/images/19012025/09/34/image_19012025_09_34_02_725459_0001.jpg', '/home/pi/Desktop/images/19012025/09/34/image_19012025_09_34_02_725459_0002.jpg', '/home/pi/Desktop/images/19012025/09/34/image_19012025_09_34_02_725459_0003.jpg', '/home/pi/Desktop/images/19012025/09/35/image_19012025_09_35_02_403813_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/09/33/image_19012025_09_33_02_203445_0003.jpg
/home/pi/Desktop/images/19012025/09/34/image_19012025_09_34_02_725459_0000.jpg
/home/pi/Desktop/images/19012025/09/34/image_19012025_09_34_02_725459_0001.jpg
/home/pi/Desktop/images/19012025/09/34/image_19012025_09_34_02_725459_0002.jpg
/home/pi/Desktop/images/19012025/09/34/image_19012025_09_34_02_725459_0003.jpg
/home/pi/Desktop/images/19012025/09/35/image_19012025_09_35_02_403813_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329998870","1329998872","1329998758","1329998874","1329998877","1329998868"],"photo_ids_order":["1329998758","1329998868","1329998870","1329998872","1329998874","1329998877"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/2e14f09949ebb6064cb8ebf38255aca5.jpg","text":"TemporaryFile(/tmp/multipartBody356623589914127119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737275799332,"filename":"image_19012025_09_34_02_725459_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/d5989bc36fc26956539a66d7e74eb54d.jpg","text":"TemporaryFile(/tmp/multipartBody8554392393749858696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737275799332,"filename":"image_19012025_09_34_02_725459_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/c1c85d62edc4df5485d988fa6d39bb5a.jpg","text":"TemporaryFile(/tmp/multipartBody2743546840532486342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737275799332,"filename":"image_19012025_09_33_02_203445_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/8ac0c550b50dce5cb8d503ae104e50b7.jpg","text":"TemporaryFile(/tmp/multipartBody8046792509802280137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737275799332,"filename":"image_19012025_09_34_02_725459_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/31df381c1e8eea38d0ef5043a83d7456.jpg","text":"TemporaryFile(/tmp/multipartBody3048448498865005494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737275799332,"filename":"image_19012025_09_35_02_403813_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/1df7c97322c8ea6bb39fa380f9f241ae.jpg","text":"TemporaryFile(/tmp/multipartBody3086352159371618721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737275799332,"filename":"image_19012025_09_34_02_725459_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329998870","file1":"1329998868","file0":"1329998758","file4":"1329998874","file5":"1329998877","file3":"1329998872"},"map_files_photo_id_array":[{"photo_id":"1329998877","filename":"file5"},{"photo_id":"1329998870","filename":"file2"},{"photo_id":"1329998874","filename":"file4"},{"photo_id":"1329998868","filename":"file1"},{"photo_id":"1329998758","filename":"file0"},{"photo_id":"1329998872","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329998870":["hashtag1","hashtag2"]},{"1329998872":["hashtag1","hashtag2"]},{"1329998758":["hashtag1","hashtag2"]},{"1329998874":["hashtag1","hashtag2"]},{"1329998877":["hashtag1","hashtag2"]},{"1329998868":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329998870, 1329998872, 1329998758, 1329998874, 1329998877, 1329998868)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.620808124542236 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 09:36:22.281718
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/09/35/image_19012025_09_35_02_403813_0001.jpg', '/home/pi/Desktop/images/19012025/09/35/image_19012025_09_35_02_403813_0002.jpg', '/home/pi/Desktop/images/19012025/09/35/image_19012025_09_35_02_403813_0003.jpg', '/home/pi/Desktop/images/19012025/09/36/image_19012025_09_36_02_988916_0000.jpg', '/home/pi/Desktop/images/19012025/09/36/image_19012025_09_36_02_988916_0001.jpg', '/home/pi/Desktop/images/19012025/09/36/image_19012025_09_36_02_988916_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/09/35/image_19012025_09_35_02_403813_0001.jpg
/home/pi/Desktop/images/19012025/09/35/image_19012025_09_35_02_403813_0002.jpg
/home/pi/Desktop/images/19012025/09/35/image_19012025_09_35_02_403813_0003.jpg
/home/pi/Desktop/images/19012025/09/36/image_19012025_09_36_02_988916_0000.jpg
/home/pi/Desktop/images/19012025/09/36/image_19012025_09_36_02_988916_0001.jpg
/home/pi/Desktop/images/19012025/09/36/image_19012025_09_36_02_988916_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329998924","1329998912","1329998906","1329998915","1329998909","1329998902"],"photo_ids_order":["1329998902","1329998906","1329998909","1329998912","1329998915","1329998924"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/529a5c5256ef32810d2d479e3d0eea28.jpg","text":"TemporaryFile(/tmp/multipartBody8806870565969815392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737275858739,"filename":"image_19012025_09_36_02_988916_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/0ff897f1412aa381548bf962cf3037bb.jpg","text":"TemporaryFile(/tmp/multipartBody8924569345419202889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737275858739,"filename":"image_19012025_09_36_02_988916_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/7f11a897b4ba86a1930bccc86045b087.jpg","text":"TemporaryFile(/tmp/multipartBody8996711625163818809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737275858739,"filename":"image_19012025_09_35_02_403813_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/cf1f32fd923148fc99538f50d4b4c0e6.jpg","text":"TemporaryFile(/tmp/multipartBody5808270587360471509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737275858739,"filename":"image_19012025_09_36_02_988916_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/464a07946d26a3dd1c3775f96caa897f.jpg","text":"TemporaryFile(/tmp/multipartBody6124609756607606223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737275858739,"filename":"image_19012025_09_35_02_403813_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/589f5081c3322be898a1ec348deee500.jpg","text":"TemporaryFile(/tmp/multipartBody5113776966659803785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737275858739,"filename":"image_19012025_09_35_02_403813_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329998909","file1":"1329998906","file0":"1329998902","file4":"1329998915","file5":"1329998924","file3":"1329998912"},"map_files_photo_id_array":[{"photo_id":"1329998924","filename":"file5"},{"photo_id":"1329998909","filename":"file2"},{"photo_id":"1329998915","filename":"file4"},{"photo_id":"1329998906","filename":"file1"},{"photo_id":"1329998902","filename":"file0"},{"photo_id":"1329998912","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329998924":["hashtag1","hashtag2"]},{"1329998912":["hashtag1","hashtag2"]},{"1329998906":["hashtag1","hashtag2"]},{"1329998915":["hashtag1","hashtag2"]},{"1329998909":["hashtag1","hashtag2"]},{"1329998902":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329998924, 1329998912, 1329998906, 1329998915, 1329998909, 1329998902)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.73211359977722 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 09:37:21.841736
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/09/36/image_19012025_09_36_02_988916_0003.jpg', '/home/pi/Desktop/images/19012025/09/37/image_19012025_09_37_02_674641_0000.jpg', '/home/pi/Desktop/images/19012025/09/37/image_19012025_09_37_02_674641_0001.jpg', '/home/pi/Desktop/images/19012025/09/37/image_19012025_09_37_02_674641_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/09/36/image_19012025_09_36_02_988916_0003.jpg
/home/pi/Desktop/images/19012025/09/37/image_19012025_09_37_02_674641_0000.jpg
/home/pi/Desktop/images/19012025/09/37/image_19012025_09_37_02_674641_0001.jpg
/home/pi/Desktop/images/19012025/09/37/image_19012025_09_37_02_674641_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329999044","1329999046","1329999006","1329999009"],"photo_ids_order":["1329999006","1329999009","1329999044","1329999046"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/8bb3c6c8becf0f458994cf8688fe9ef9.jpg","text":"TemporaryFile(/tmp/multipartBody5693201473513903997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737275913083,"filename":"image_19012025_09_37_02_674641_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/a57b282251f7e2db32c42ecd5509afda.jpg","text":"TemporaryFile(/tmp/multipartBody957693702590968030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737275913083,"filename":"image_19012025_09_37_02_674641_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/7749e0e25bf14d2b32c45a59425bac2d.jpg","text":"TemporaryFile(/tmp/multipartBody3966520359608939363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737275913083,"filename":"image_19012025_09_36_02_988916_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/ca34fda5419e14ee7b354aca9cd38218.jpg","text":"TemporaryFile(/tmp/multipartBody8225842289944981147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737275913083,"filename":"image_19012025_09_37_02_674641_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329999044","file1":"1329999009","file0":"1329999006","file3":"1329999046"},"map_files_photo_id_array":[{"photo_id":"1329999044","filename":"file2"},{"photo_id":"1329999009","filename":"file1"},{"photo_id":"1329999006","filename":"file0"},{"photo_id":"1329999046","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329999044":["hashtag1","hashtag2"]},{"1329999046":["hashtag1","hashtag2"]},{"1329999006":["hashtag1","hashtag2"]},{"1329999009":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329999044, 1329999046, 1329999006, 1329999009)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.91989231109619 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 09:38:02.847782
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
  port_id : 19698700
  datou_current_id : 2490825
in upload_from_sqlite, uploading in 19698700
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17012025/21/55/image_17012025_21_55_02_615810_0001.jpg', '/home/pi/Desktop/images/17012025/21/55/image_17012025_21_55_02_615810_0002.jpg', '/home/pi/Desktop/images/17012025/21/55/image_17012025_21_55_02_615810_0003.jpg', '/home/pi/Desktop/images/17012025/21/56/image_17012025_21_56_02_857288_0000.jpg', '/home/pi/Desktop/images/17012025/21/56/image_17012025_21_56_02_857288_0001.jpg', '/home/pi/Desktop/images/17012025/21/56/image_17012025_21_56_02_857288_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2490825&datou=0
/home/pi/Desktop/images/17012025/21/55/image_17012025_21_55_02_615810_0001.jpg
/home/pi/Desktop/images/17012025/21/55/image_17012025_21_55_02_615810_0002.jpg
/home/pi/Desktop/images/17012025/21/55/image_17012025_21_55_02_615810_0003.jpg
/home/pi/Desktop/images/17012025/21/56/image_17012025_21_56_02_857288_0000.jpg
/home/pi/Desktop/images/17012025/21/56/image_17012025_21_56_02_857288_0001.jpg
/home/pi/Desktop/images/17012025/21/56/image_17012025_21_56_02_857288_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 17.544344425201416 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 09:38:22.344429
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/09/37/image_19012025_09_37_02_674641_0003.jpg', '/home/pi/Desktop/images/19012025/09/38/image_19012025_09_38_02_228900_0000.jpg', '/home/pi/Desktop/images/19012025/09/38/image_19012025_09_38_02_228900_0001.jpg', '/home/pi/Desktop/images/19012025/09/38/image_19012025_09_38_02_228900_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/09/37/image_19012025_09_37_02_674641_0003.jpg
/home/pi/Desktop/images/19012025/09/38/image_19012025_09_38_02_228900_0000.jpg
/home/pi/Desktop/images/19012025/09/38/image_19012025_09_38_02_228900_0001.jpg
/home/pi/Desktop/images/19012025/09/38/image_19012025_09_38_02_228900_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329999329","1329999320","1329999323","1329999326"],"photo_ids_order":["1329999320","1329999323","1329999326","1329999329"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/11ca05f902d20def382720c8f5910e1c.jpg","text":"TemporaryFile(/tmp/multipartBody8883511835216522076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737275973424,"filename":"image_19012025_09_38_02_228900_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/1a9b389ee7f4dd9f5ace82903fc352e2.jpg","text":"TemporaryFile(/tmp/multipartBody6911042580998751423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737275973424,"filename":"image_19012025_09_37_02_674641_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/dd14e6f63ea460d6f3ae0691f0dc49fa.jpg","text":"TemporaryFile(/tmp/multipartBody4305769712419300369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737275973424,"filename":"image_19012025_09_38_02_228900_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/4430b20f3c0370516b35b5b7cc3aa288.jpg","text":"TemporaryFile(/tmp/multipartBody7349439853410340081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737275973424,"filename":"image_19012025_09_38_02_228900_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329999326","file1":"1329999323","file0":"1329999320","file3":"1329999329"},"map_files_photo_id_array":[{"photo_id":"1329999326","filename":"file2"},{"photo_id":"1329999323","filename":"file1"},{"photo_id":"1329999320","filename":"file0"},{"photo_id":"1329999329","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329999329":["hashtag1","hashtag2"]},{"1329999320":["hashtag1","hashtag2"]},{"1329999323":["hashtag1","hashtag2"]},{"1329999326":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329999329, 1329999320, 1329999323, 1329999326)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.30299758911133 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 09:39:21.977421
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/09/38/image_19012025_09_38_02_228900_0003.jpg', '/home/pi/Desktop/images/19012025/09/39/image_19012025_09_39_02_740478_0000.jpg', '/home/pi/Desktop/images/19012025/09/39/image_19012025_09_39_02_740478_0001.jpg', '/home/pi/Desktop/images/19012025/09/39/image_19012025_09_39_02_740478_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/09/38/image_19012025_09_38_02_228900_0003.jpg
/home/pi/Desktop/images/19012025/09/39/image_19012025_09_39_02_740478_0000.jpg
/home/pi/Desktop/images/19012025/09/39/image_19012025_09_39_02_740478_0001.jpg
/home/pi/Desktop/images/19012025/09/39/image_19012025_09_39_02_740478_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329999335","1329999357","1329999342","1329999339"],"photo_ids_order":["1329999335","1329999339","1329999342","1329999357"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/cb780d804afbbfa7225fd4733f42c4a1.jpg","text":"TemporaryFile(/tmp/multipartBody2004318168161381899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737276033107,"filename":"image_19012025_09_38_02_228900_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/1823eaf145bc7159193360a60fed5d20.jpg","text":"TemporaryFile(/tmp/multipartBody8437012253988166872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737276033107,"filename":"image_19012025_09_39_02_740478_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/03d7f933dbea960582c2f1558edfd480.jpg","text":"TemporaryFile(/tmp/multipartBody5357650826705242373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737276033107,"filename":"image_19012025_09_39_02_740478_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/8a8eaa68f3a562f2443163e9394c8a1d.jpg","text":"TemporaryFile(/tmp/multipartBody7853724668205721488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737276033107,"filename":"image_19012025_09_39_02_740478_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329999342","file1":"1329999339","file0":"1329999335","file3":"1329999357"},"map_files_photo_id_array":[{"photo_id":"1329999342","filename":"file2"},{"photo_id":"1329999339","filename":"file1"},{"photo_id":"1329999335","filename":"file0"},{"photo_id":"1329999357","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329999335":["hashtag1","hashtag2"]},{"1329999357":["hashtag1","hashtag2"]},{"1329999342":["hashtag1","hashtag2"]},{"1329999339":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329999335, 1329999357, 1329999342, 1329999339)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.128395795822144 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 09:40:22.616612
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/09/39/image_19012025_09_39_02_740478_0003.jpg', '/home/pi/Desktop/images/19012025/09/40/image_19012025_09_40_02_313928_0000.jpg', '/home/pi/Desktop/images/19012025/09/40/image_19012025_09_40_02_313928_0001.jpg', '/home/pi/Desktop/images/19012025/09/40/image_19012025_09_40_02_313928_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/09/39/image_19012025_09_39_02_740478_0003.jpg
/home/pi/Desktop/images/19012025/09/40/image_19012025_09_40_02_313928_0000.jpg
/home/pi/Desktop/images/19012025/09/40/image_19012025_09_40_02_313928_0001.jpg
/home/pi/Desktop/images/19012025/09/40/image_19012025_09_40_02_313928_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329999367","1329999370","1329999374","1329999377"],"photo_ids_order":["1329999367","1329999370","1329999374","1329999377"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/9495dcbfb8622dee5f1a381fab9d50cb.jpg","text":"TemporaryFile(/tmp/multipartBody1846742815823369553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737276094354,"filename":"image_19012025_09_39_02_740478_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/f58fb4689ed64f3d099571b48557f6b6.jpg","text":"TemporaryFile(/tmp/multipartBody2677567654600947128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737276094354,"filename":"image_19012025_09_40_02_313928_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/5b48895090ee83141266fb3a4cf3501a.jpg","text":"TemporaryFile(/tmp/multipartBody2206207831907833851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737276094354,"filename":"image_19012025_09_40_02_313928_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/93c7f3263a0a7ab02485e992234dd2cb.jpg","text":"TemporaryFile(/tmp/multipartBody7773750557442303710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737276094354,"filename":"image_19012025_09_40_02_313928_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329999374","file1":"1329999370","file0":"1329999367","file3":"1329999377"},"map_files_photo_id_array":[{"photo_id":"1329999374","filename":"file2"},{"photo_id":"1329999370","filename":"file1"},{"photo_id":"1329999367","filename":"file0"},{"photo_id":"1329999377","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329999367":["hashtag1","hashtag2"]},{"1329999370":["hashtag1","hashtag2"]},{"1329999374":["hashtag1","hashtag2"]},{"1329999377":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329999367, 1329999370, 1329999374, 1329999377)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.76240944862366 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 09:41:21.921893
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/09/40/image_19012025_09_40_02_313928_0003.jpg', '/home/pi/Desktop/images/19012025/09/41/image_19012025_09_41_02_785292_0000.jpg', '/home/pi/Desktop/images/19012025/09/41/image_19012025_09_41_02_785292_0001.jpg', '/home/pi/Desktop/images/19012025/09/41/image_19012025_09_41_02_785292_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/09/40/image_19012025_09_40_02_313928_0003.jpg
/home/pi/Desktop/images/19012025/09/41/image_19012025_09_41_02_785292_0000.jpg
/home/pi/Desktop/images/19012025/09/41/image_19012025_09_41_02_785292_0001.jpg
/home/pi/Desktop/images/19012025/09/41/image_19012025_09_41_02_785292_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329999401","1329999404","1329999433","1329999431"],"photo_ids_order":["1329999401","1329999404","1329999431","1329999433"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/551fe3c20b614693621fc7a36e1a5405.jpg","text":"TemporaryFile(/tmp/multipartBody278240800706640606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737276153551,"filename":"image_19012025_09_40_02_313928_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/c93877f7dde90a9a61e5d5dd01aede57.jpg","text":"TemporaryFile(/tmp/multipartBody5000620565012943671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737276153551,"filename":"image_19012025_09_41_02_785292_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/68b93b69cc90243b295d8a4aea954ea0.jpg","text":"TemporaryFile(/tmp/multipartBody8097079003292187676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737276153551,"filename":"image_19012025_09_41_02_785292_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/23bb05188dce366233bd7d02dd81f6ac.jpg","text":"TemporaryFile(/tmp/multipartBody3118345419195784031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737276153551,"filename":"image_19012025_09_41_02_785292_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329999431","file1":"1329999404","file0":"1329999401","file3":"1329999433"},"map_files_photo_id_array":[{"photo_id":"1329999431","filename":"file2"},{"photo_id":"1329999404","filename":"file1"},{"photo_id":"1329999401","filename":"file0"},{"photo_id":"1329999433","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329999401":["hashtag1","hashtag2"]},{"1329999404":["hashtag1","hashtag2"]},{"1329999433":["hashtag1","hashtag2"]},{"1329999431":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329999401, 1329999404, 1329999433, 1329999431)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.70085024833679 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 09:42:02.941339
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
  port_id : 19698700
  datou_current_id : 2490825
in upload_from_sqlite, uploading in 19698700
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17012025/21/55/image_17012025_21_55_02_615810_0001.jpg', '/home/pi/Desktop/images/17012025/21/55/image_17012025_21_55_02_615810_0002.jpg', '/home/pi/Desktop/images/17012025/21/55/image_17012025_21_55_02_615810_0003.jpg', '/home/pi/Desktop/images/17012025/21/56/image_17012025_21_56_02_857288_0000.jpg', '/home/pi/Desktop/images/17012025/21/56/image_17012025_21_56_02_857288_0001.jpg', '/home/pi/Desktop/images/17012025/21/56/image_17012025_21_56_02_857288_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2490825&datou=0
/home/pi/Desktop/images/17012025/21/55/image_17012025_21_55_02_615810_0001.jpg
/home/pi/Desktop/images/17012025/21/55/image_17012025_21_55_02_615810_0002.jpg
/home/pi/Desktop/images/17012025/21/55/image_17012025_21_55_02_615810_0003.jpg
/home/pi/Desktop/images/17012025/21/56/image_17012025_21_56_02_857288_0000.jpg
/home/pi/Desktop/images/17012025/21/56/image_17012025_21_56_02_857288_0001.jpg
/home/pi/Desktop/images/17012025/21/56/image_17012025_21_56_02_857288_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329999449","1329999463","1329999451","1329999459","1329999447","1329999455"],"photo_ids_order":["1329999447","1329999449","1329999451","1329999455","1329999459","1329999463"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/3ea622b32bd959323b51e12c9faf7718.jpg","text":"TemporaryFile(/tmp/multipartBody3036558028655764102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737276200707,"filename":"image_17012025_21_55_02_615810_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/d1b31f8bef7a3d526613406d04800435.jpg","text":"TemporaryFile(/tmp/multipartBody1523948965201018128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737276200707,"filename":"image_17012025_21_56_02_857288_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/33d97dc40ba7d696ea181ec9637a54db.jpg","text":"TemporaryFile(/tmp/multipartBody2845979965525300772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737276200707,"filename":"image_17012025_21_55_02_615810_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/63d1e07569685121233a040ef73cd040.jpg","text":"TemporaryFile(/tmp/multipartBody6757917070056522582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737276200707,"filename":"image_17012025_21_56_02_857288_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/73c1d082171699efed24bcb8cc007f33.jpg","text":"TemporaryFile(/tmp/multipartBody161708812309507826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737276200707,"filename":"image_17012025_21_55_02_615810_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/0fb3a1de5ccd8cb7cfdf7f8f20bba4fd.jpg","text":"TemporaryFile(/tmp/multipartBody2590539112821175181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737276200707,"filename":"image_17012025_21_56_02_857288_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329999451","file1":"1329999449","file0":"1329999447","file4":"1329999459","file5":"1329999463","file3":"1329999455"},"map_files_photo_id_array":[{"photo_id":"1329999463","filename":"file5"},{"photo_id":"1329999451","filename":"file2"},{"photo_id":"1329999459","filename":"file4"},{"photo_id":"1329999449","filename":"file1"},{"photo_id":"1329999447","filename":"file0"},{"photo_id":"1329999455","filename":"file3"}],"portfolio_id":19698700,"hashtag_by_photo_ids":[{"1329999449":["hashtag1","hashtag2"]},{"1329999463":["hashtag1","hashtag2"]},{"1329999451":["hashtag1","hashtag2"]},{"1329999459":["hashtag1","hashtag2"]},{"1329999447":["hashtag1","hashtag2"]},{"1329999455":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698700 used, photo_id : ArrayBuffer(1329999449, 1329999463, 1329999451, 1329999459, 1329999447, 1329999455)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.20649695396423 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 09:43:02.534199
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/09/41/image_19012025_09_41_02_785292_0003.jpg', '/home/pi/Desktop/images/19012025/09/42/image_19012025_09_42_02_314023_0000.jpg', '/home/pi/Desktop/images/19012025/09/42/image_19012025_09_42_02_314023_0001.jpg', '/home/pi/Desktop/images/19012025/09/42/image_19012025_09_42_02_314023_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/09/41/image_19012025_09_41_02_785292_0003.jpg
/home/pi/Desktop/images/19012025/09/42/image_19012025_09_42_02_314023_0000.jpg
/home/pi/Desktop/images/19012025/09/42/image_19012025_09_42_02_314023_0001.jpg
/home/pi/Desktop/images/19012025/09/42/image_19012025_09_42_02_314023_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329999484","1329999471","1329999473","1329999497"],"photo_ids_order":["1329999471","1329999473","1329999484","1329999497"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/68999766000dcfb2b72917dfa1fddd7b.jpg","text":"TemporaryFile(/tmp/multipartBody7900109589788674284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737276254115,"filename":"image_19012025_09_42_02_314023_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/be295e7a4c5c20a730325a56d63acf32.jpg","text":"TemporaryFile(/tmp/multipartBody6111247620585418887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737276254115,"filename":"image_19012025_09_41_02_785292_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/e903a8b79efec360b8dad0c00624655a.jpg","text":"TemporaryFile(/tmp/multipartBody100030509684425955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737276254115,"filename":"image_19012025_09_42_02_314023_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/e1692a1647663d295d112eef75a20a9b.jpg","text":"TemporaryFile(/tmp/multipartBody1167019759821638892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737276254115,"filename":"image_19012025_09_42_02_314023_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329999484","file1":"1329999473","file0":"1329999471","file3":"1329999497"},"map_files_photo_id_array":[{"photo_id":"1329999484","filename":"file2"},{"photo_id":"1329999473","filename":"file1"},{"photo_id":"1329999471","filename":"file0"},{"photo_id":"1329999497","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329999484":["hashtag1","hashtag2"]},{"1329999471":["hashtag1","hashtag2"]},{"1329999473":["hashtag1","hashtag2"]},{"1329999497":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329999484, 1329999471, 1329999473, 1329999497)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.52700185775757 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 09:44:03.012415
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/09/42/image_19012025_09_42_02_314023_0003.jpg', '/home/pi/Desktop/images/19012025/09/43/image_19012025_09_43_02_767410_0000.jpg', '/home/pi/Desktop/images/19012025/09/43/image_19012025_09_43_02_767410_0001.jpg', '/home/pi/Desktop/images/19012025/09/43/image_19012025_09_43_02_767410_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/09/42/image_19012025_09_42_02_314023_0003.jpg
/home/pi/Desktop/images/19012025/09/43/image_19012025_09_43_02_767410_0000.jpg
/home/pi/Desktop/images/19012025/09/43/image_19012025_09_43_02_767410_0001.jpg
/home/pi/Desktop/images/19012025/09/43/image_19012025_09_43_02_767410_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329999568","1329999622","1329999624","1329999618"],"photo_ids_order":["1329999568","1329999618","1329999622","1329999624"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/9714d54d6a2982681533c5b81fa138c5.jpg","text":"TemporaryFile(/tmp/multipartBody5294245341097606212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737276314708,"filename":"image_19012025_09_42_02_314023_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/ca8061ca61dc313da2c31c73c18e83ed.jpg","text":"TemporaryFile(/tmp/multipartBody6598216425559057785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737276314708,"filename":"image_19012025_09_43_02_767410_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/63830d09c21091a6fd2237f087dfc34d.jpg","text":"TemporaryFile(/tmp/multipartBody3472107920148183585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737276314708,"filename":"image_19012025_09_43_02_767410_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/dad236152c699985048aa9947cdb3b23.jpg","text":"TemporaryFile(/tmp/multipartBody7152676267392765975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737276314708,"filename":"image_19012025_09_43_02_767410_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329999622","file1":"1329999618","file0":"1329999568","file3":"1329999624"},"map_files_photo_id_array":[{"photo_id":"1329999622","filename":"file2"},{"photo_id":"1329999618","filename":"file1"},{"photo_id":"1329999568","filename":"file0"},{"photo_id":"1329999624","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329999568":["hashtag1","hashtag2"]},{"1329999622":["hashtag1","hashtag2"]},{"1329999624":["hashtag1","hashtag2"]},{"1329999618":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329999568, 1329999622, 1329999624, 1329999618)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.33007597923279 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 09:45:02.717977
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/09/43/image_19012025_09_43_02_767410_0003.jpg', '/home/pi/Desktop/images/19012025/09/44/image_19012025_09_44_02_243967_0000.jpg', '/home/pi/Desktop/images/19012025/09/44/image_19012025_09_44_02_243967_0001.jpg', '/home/pi/Desktop/images/19012025/09/44/image_19012025_09_44_02_243967_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/09/43/image_19012025_09_43_02_767410_0003.jpg
/home/pi/Desktop/images/19012025/09/44/image_19012025_09_44_02_243967_0000.jpg
/home/pi/Desktop/images/19012025/09/44/image_19012025_09_44_02_243967_0001.jpg
/home/pi/Desktop/images/19012025/09/44/image_19012025_09_44_02_243967_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329999803","1329999646","1329999805","1329999845"],"photo_ids_order":["1329999646","1329999803","1329999805","1329999845"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/905bbb1ff12eec082054448f31063f33.jpg","text":"TemporaryFile(/tmp/multipartBody276339231267379832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737276374407,"filename":"image_19012025_09_44_02_243967_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/bba15aa29de97f1c870f42d8ac8c34b8.jpg","text":"TemporaryFile(/tmp/multipartBody8183669092049002347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737276374407,"filename":"image_19012025_09_43_02_767410_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/29727a7fd3345de80c516b1a3bbc65b1.jpg","text":"TemporaryFile(/tmp/multipartBody7237689656414233925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737276374407,"filename":"image_19012025_09_44_02_243967_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/8eff042774eba6652b6d3cf18c9cc26f.jpg","text":"TemporaryFile(/tmp/multipartBody7253205413505167056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737276374407,"filename":"image_19012025_09_44_02_243967_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329999805","file1":"1329999803","file0":"1329999646","file3":"1329999845"},"map_files_photo_id_array":[{"photo_id":"1329999805","filename":"file2"},{"photo_id":"1329999803","filename":"file1"},{"photo_id":"1329999646","filename":"file0"},{"photo_id":"1329999845","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329999803":["hashtag1","hashtag2"]},{"1329999646":["hashtag1","hashtag2"]},{"1329999805":["hashtag1","hashtag2"]},{"1329999845":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329999803, 1329999646, 1329999805, 1329999845)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.3608283996582 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 09:46:03.157920
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/09/44/image_19012025_09_44_02_243967_0003.jpg', '/home/pi/Desktop/images/19012025/09/45/image_19012025_09_45_02_980288_0000.jpg', '/home/pi/Desktop/images/19012025/09/45/image_19012025_09_45_02_980288_0001.jpg', '/home/pi/Desktop/images/19012025/09/45/image_19012025_09_45_02_980288_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/09/44/image_19012025_09_44_02_243967_0003.jpg
/home/pi/Desktop/images/19012025/09/45/image_19012025_09_45_02_980288_0000.jpg
/home/pi/Desktop/images/19012025/09/45/image_19012025_09_45_02_980288_0001.jpg
/home/pi/Desktop/images/19012025/09/45/image_19012025_09_45_02_980288_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329999943","1329999948","1329999945","1329999924"],"photo_ids_order":["1329999924","1329999943","1329999945","1329999948"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/222489829f1eb0d17b8ec3eceeac8566.jpg","text":"TemporaryFile(/tmp/multipartBody2691486443337863985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737276434442,"filename":"image_19012025_09_45_02_980288_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/1c29e7e391138c83d252f7708152ead1.jpg","text":"TemporaryFile(/tmp/multipartBody5857751656110724813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737276434442,"filename":"image_19012025_09_45_02_980288_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/68cc160cb87cc84b03e78269900ddcab.jpg","text":"TemporaryFile(/tmp/multipartBody5986668772387559050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737276434442,"filename":"image_19012025_09_45_02_980288_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/42d352ff4ef94a6e85266d9cded30da9.jpg","text":"TemporaryFile(/tmp/multipartBody5027799068314758775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737276434442,"filename":"image_19012025_09_44_02_243967_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329999945","file1":"1329999943","file0":"1329999924","file3":"1329999948"},"map_files_photo_id_array":[{"photo_id":"1329999945","filename":"file2"},{"photo_id":"1329999943","filename":"file1"},{"photo_id":"1329999924","filename":"file0"},{"photo_id":"1329999948","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1329999943":["hashtag1","hashtag2"]},{"1329999948":["hashtag1","hashtag2"]},{"1329999945":["hashtag1","hashtag2"]},{"1329999924":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1329999943, 1329999948, 1329999945, 1329999924)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.083324670791626 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 09:47:02.859617
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/09/45/image_19012025_09_45_02_980288_0003.jpg', '/home/pi/Desktop/images/19012025/09/46/image_19012025_09_46_02_458254_0000.jpg', '/home/pi/Desktop/images/19012025/09/46/image_19012025_09_46_02_458254_0001.jpg', '/home/pi/Desktop/images/19012025/09/46/image_19012025_09_46_02_458254_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/09/45/image_19012025_09_45_02_980288_0003.jpg
/home/pi/Desktop/images/19012025/09/46/image_19012025_09_46_02_458254_0000.jpg
/home/pi/Desktop/images/19012025/09/46/image_19012025_09_46_02_458254_0001.jpg
/home/pi/Desktop/images/19012025/09/46/image_19012025_09_46_02_458254_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 11.474261999130249 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 09:47:22.268214
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/09/45/image_19012025_09_45_02_980288_0003.jpg', '/home/pi/Desktop/images/19012025/09/46/image_19012025_09_46_02_458254_0000.jpg', '/home/pi/Desktop/images/19012025/09/46/image_19012025_09_46_02_458254_0001.jpg', '/home/pi/Desktop/images/19012025/09/46/image_19012025_09_46_02_458254_0002.jpg', '/home/pi/Desktop/images/19012025/09/46/image_19012025_09_46_02_458254_0003.jpg', '/home/pi/Desktop/images/19012025/09/47/image_19012025_09_47_03_071060_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/09/45/image_19012025_09_45_02_980288_0003.jpg
/home/pi/Desktop/images/19012025/09/46/image_19012025_09_46_02_458254_0000.jpg
/home/pi/Desktop/images/19012025/09/46/image_19012025_09_46_02_458254_0001.jpg
/home/pi/Desktop/images/19012025/09/46/image_19012025_09_46_02_458254_0002.jpg
/home/pi/Desktop/images/19012025/09/46/image_19012025_09_46_02_458254_0003.jpg
/home/pi/Desktop/images/19012025/09/47/image_19012025_09_47_03_071060_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":["1330001255","1330001287","1330001335","1330001289","1330001337","1330001285"],"photo_ids_order":["1330001255","1330001285","1330001287","1330001289","1330001335","1330001337"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/99c235d38d9541b7ee98cb475367a473.jpg","text":"TemporaryFile(/tmp/multipartBody3720984881628048316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737276519426,"filename":"image_19012025_09_45_02_980288_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/588402425eaf0ee10c6bb4c622fb4dbf.jpg","text":"TemporaryFile(/tmp/multipartBody9190264397150813383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737276519426,"filename":"image_19012025_09_46_02_458254_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/fcba3b0361d37d0990671e391872305d.jpg","text":"TemporaryFile(/tmp/multipartBody1568933404422683748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737276519426,"filename":"image_19012025_09_46_02_458254_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/45f358e9640f4fdbd88f091cd9266259.jpg","text":"TemporaryFile(/tmp/multipartBody779838229623043280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737276519426,"filename":"image_19012025_09_46_02_458254_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/a2e103fb026264c5a949b36845010037.jpg","text":"TemporaryFile(/tmp/multipartBody3136947957548206893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737276519426,"filename":"image_19012025_09_47_03_071060_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/f3854177579da5abc8c82a736aa0b4f5.jpg","text":"TemporaryFile(/tmp/multipartBody9142814224794268862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737276519426,"filename":"image_19012025_09_46_02_458254_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330001287","file1":"1330001285","file0":"1330001255","file4":"1330001335","file5":"1330001337","file3":"1330001289"},"map_files_photo_id_array":[{"photo_id":"1330001337","filename":"file5"},{"photo_id":"1330001287","filename":"file2"},{"photo_id":"1330001335","filename":"file4"},{"photo_id":"1330001285","filename":"file1"},{"photo_id":"1330001255","filename":"file0"},{"photo_id":"1330001289","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330001255":["hashtag1","hashtag2"]},{"1330001287":["hashtag1","hashtag2"]},{"1330001335":["hashtag1","hashtag2"]},{"1330001289":["hashtag1","hashtag2"]},{"1330001337":["hashtag1","hashtag2"]},{"1330001285":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330001255, 1330001287, 1330001335, 1330001289, 1330001337, 1330001285)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 66.14192366600037 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 09:49:03.077035
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/09/47/image_19012025_09_47_03_071060_0001.jpg', '/home/pi/Desktop/images/19012025/09/47/image_19012025_09_47_03_071060_0002.jpg', '/home/pi/Desktop/images/19012025/09/47/image_19012025_09_47_03_071060_0003.jpg', '/home/pi/Desktop/images/19012025/09/48/image_19012025_09_48_02_653775_0000.jpg', '/home/pi/Desktop/images/19012025/09/48/image_19012025_09_48_02_653775_0001.jpg', '/home/pi/Desktop/images/19012025/09/48/image_19012025_09_48_02_653775_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/09/47/image_19012025_09_47_03_071060_0001.jpg
/home/pi/Desktop/images/19012025/09/47/image_19012025_09_47_03_071060_0002.jpg
/home/pi/Desktop/images/19012025/09/47/image_19012025_09_47_03_071060_0003.jpg
/home/pi/Desktop/images/19012025/09/48/image_19012025_09_48_02_653775_0000.jpg
/home/pi/Desktop/images/19012025/09/48/image_19012025_09_48_02_653775_0001.jpg
/home/pi/Desktop/images/19012025/09/48/image_19012025_09_48_02_653775_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 16.841610193252563 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 09:49:22.389214
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/09/47/image_19012025_09_47_03_071060_0001.jpg', '/home/pi/Desktop/images/19012025/09/47/image_19012025_09_47_03_071060_0002.jpg', '/home/pi/Desktop/images/19012025/09/47/image_19012025_09_47_03_071060_0003.jpg', '/home/pi/Desktop/images/19012025/09/48/image_19012025_09_48_02_653775_0000.jpg', '/home/pi/Desktop/images/19012025/09/48/image_19012025_09_48_02_653775_0001.jpg', '/home/pi/Desktop/images/19012025/09/48/image_19012025_09_48_02_653775_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/09/47/image_19012025_09_47_03_071060_0001.jpg
/home/pi/Desktop/images/19012025/09/47/image_19012025_09_47_03_071060_0002.jpg
/home/pi/Desktop/images/19012025/09/47/image_19012025_09_47_03_071060_0003.jpg
/home/pi/Desktop/images/19012025/09/48/image_19012025_09_48_02_653775_0000.jpg
/home/pi/Desktop/images/19012025/09/48/image_19012025_09_48_02_653775_0001.jpg
/home/pi/Desktop/images/19012025/09/48/image_19012025_09_48_02_653775_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330001960","1330001970","1330001999","1330002233","1330002227","1330001972"],"photo_ids_order":["1330001960","1330001970","1330001972","1330001999","1330002227","1330002233"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/458268934397119431075bfedb3db8f2.jpg","text":"TemporaryFile(/tmp/multipartBody122432310336525526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737276639519,"filename":"image_19012025_09_47_03_071060_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/3ffc83065091505126324f8c89ac8d5e.jpg","text":"TemporaryFile(/tmp/multipartBody2585378909574703259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737276639519,"filename":"image_19012025_09_47_03_071060_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/fb83195a8e205c61c8e6d52d522a9a40.jpg","text":"TemporaryFile(/tmp/multipartBody6601322281770831818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737276639519,"filename":"image_19012025_09_48_02_653775_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/2aad118f5c6c159f9e02c4e185fcd55a.jpg","text":"TemporaryFile(/tmp/multipartBody9111929832443323793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737276639519,"filename":"image_19012025_09_48_02_653775_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/79b577d83971e82897cf0aab7eff7c0a.jpg","text":"TemporaryFile(/tmp/multipartBody7075635294698286177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737276639519,"filename":"image_19012025_09_48_02_653775_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/b52e6eb1f368011928a323db79c3ccad.jpg","text":"TemporaryFile(/tmp/multipartBody3903811490009022112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737276639519,"filename":"image_19012025_09_47_03_071060_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330001972","file1":"1330001970","file0":"1330001960","file4":"1330002227","file5":"1330002233","file3":"1330001999"},"map_files_photo_id_array":[{"photo_id":"1330002233","filename":"file5"},{"photo_id":"1330001972","filename":"file2"},{"photo_id":"1330002227","filename":"file4"},{"photo_id":"1330001970","filename":"file1"},{"photo_id":"1330001960","filename":"file0"},{"photo_id":"1330001999","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330001960":["hashtag1","hashtag2"]},{"1330001970":["hashtag1","hashtag2"]},{"1330001999":["hashtag1","hashtag2"]},{"1330002233":["hashtag1","hashtag2"]},{"1330002227":["hashtag1","hashtag2"]},{"1330001972":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330001960, 1330001970, 1330001999, 1330002233, 1330002227, 1330001972)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.76285171508789 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 09:50:21.999102
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/09/48/image_19012025_09_48_02_653775_0003.jpg', '/home/pi/Desktop/images/19012025/09/49/image_19012025_09_49_02_266831_0000.jpg', '/home/pi/Desktop/images/19012025/09/49/image_19012025_09_49_02_266831_0001.jpg', '/home/pi/Desktop/images/19012025/09/49/image_19012025_09_49_02_266831_0002.jpg', '/home/pi/Desktop/images/19012025/09/49/image_19012025_09_49_02_266831_0003.jpg', '/home/pi/Desktop/images/19012025/09/50/image_19012025_09_50_02_754004_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/09/48/image_19012025_09_48_02_653775_0003.jpg
/home/pi/Desktop/images/19012025/09/49/image_19012025_09_49_02_266831_0000.jpg
/home/pi/Desktop/images/19012025/09/49/image_19012025_09_49_02_266831_0001.jpg
/home/pi/Desktop/images/19012025/09/49/image_19012025_09_49_02_266831_0002.jpg
/home/pi/Desktop/images/19012025/09/49/image_19012025_09_49_02_266831_0003.jpg
/home/pi/Desktop/images/19012025/09/50/image_19012025_09_50_02_754004_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330002661","1330002658","1330002652","1330002655","1330002649","1330002663"],"photo_ids_order":["1330002649","1330002652","1330002655","1330002658","1330002661","1330002663"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/e3288984621367590a1ffe0da2c56170.jpg","text":"TemporaryFile(/tmp/multipartBody9090086063652507473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737276698838,"filename":"image_19012025_09_49_02_266831_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/3730a1bb835966414e7928f70b34d4e1.jpg","text":"TemporaryFile(/tmp/multipartBody279783648398248290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737276698838,"filename":"image_19012025_09_49_02_266831_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/7650e7903a1819aefe4c7f6edd50b210.jpg","text":"TemporaryFile(/tmp/multipartBody7149293432928898283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737276698838,"filename":"image_19012025_09_49_02_266831_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/45ffa01b7f655c9c2f050df571110489.jpg","text":"TemporaryFile(/tmp/multipartBody8457847646816906110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737276698838,"filename":"image_19012025_09_49_02_266831_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/83295cef4a494b43f26839e664453055.jpg","text":"TemporaryFile(/tmp/multipartBody113870804397515575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737276698838,"filename":"image_19012025_09_48_02_653775_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/325deee3b2446e3d9c4f696d88f8bec3.jpg","text":"TemporaryFile(/tmp/multipartBody8674836610963356261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737276698838,"filename":"image_19012025_09_50_02_754004_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330002655","file1":"1330002652","file0":"1330002649","file4":"1330002661","file5":"1330002663","file3":"1330002658"},"map_files_photo_id_array":[{"photo_id":"1330002663","filename":"file5"},{"photo_id":"1330002655","filename":"file2"},{"photo_id":"1330002661","filename":"file4"},{"photo_id":"1330002652","filename":"file1"},{"photo_id":"1330002649","filename":"file0"},{"photo_id":"1330002658","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330002661":["hashtag1","hashtag2"]},{"1330002658":["hashtag1","hashtag2"]},{"1330002652":["hashtag1","hashtag2"]},{"1330002655":["hashtag1","hashtag2"]},{"1330002649":["hashtag1","hashtag2"]},{"1330002663":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330002661, 1330002658, 1330002652, 1330002655, 1330002649, 1330002663)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.43393301963806 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 09:51:22.479643
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/09/50/image_19012025_09_50_02_754004_0001.jpg', '/home/pi/Desktop/images/19012025/09/50/image_19012025_09_50_02_754004_0002.jpg', '/home/pi/Desktop/images/19012025/09/50/image_19012025_09_50_02_754004_0003.jpg', '/home/pi/Desktop/images/19012025/09/51/image_19012025_09_51_02_385735_0000.jpg', '/home/pi/Desktop/images/19012025/09/51/image_19012025_09_51_02_385735_0001.jpg', '/home/pi/Desktop/images/19012025/09/51/image_19012025_09_51_02_385735_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/09/50/image_19012025_09_50_02_754004_0001.jpg
/home/pi/Desktop/images/19012025/09/50/image_19012025_09_50_02_754004_0002.jpg
/home/pi/Desktop/images/19012025/09/50/image_19012025_09_50_02_754004_0003.jpg
/home/pi/Desktop/images/19012025/09/51/image_19012025_09_51_02_385735_0000.jpg
/home/pi/Desktop/images/19012025/09/51/image_19012025_09_51_02_385735_0001.jpg
/home/pi/Desktop/images/19012025/09/51/image_19012025_09_51_02_385735_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330002682","1330002679","1330002670","1330002673","1330002681","1330002677"],"photo_ids_order":["1330002670","1330002673","1330002677","1330002679","1330002681","1330002682"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/c6cb99b84af49a8a539d134c17d9733d.jpg","text":"TemporaryFile(/tmp/multipartBody2154868419279625200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737276759280,"filename":"image_19012025_09_51_02_385735_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/4cd6fb73c61e85e175744d4b4804630b.jpg","text":"TemporaryFile(/tmp/multipartBody4134565806492927384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737276759280,"filename":"image_19012025_09_51_02_385735_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/88447c2893ff9a89710aed2fb0e82be2.jpg","text":"TemporaryFile(/tmp/multipartBody3882158776443339929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737276759280,"filename":"image_19012025_09_50_02_754004_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/a7c8064bba634b6974655abba1e7d088.jpg","text":"TemporaryFile(/tmp/multipartBody147632961902228895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737276759280,"filename":"image_19012025_09_50_02_754004_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/4ea519f5b6df7c7cbbb7b1c1d6b6455f.jpg","text":"TemporaryFile(/tmp/multipartBody7219157005301537486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737276759280,"filename":"image_19012025_09_51_02_385735_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/e609bff00b0bf79d8fd87311afed4e14.jpg","text":"TemporaryFile(/tmp/multipartBody670171783180257966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737276759280,"filename":"image_19012025_09_50_02_754004_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330002677","file1":"1330002673","file0":"1330002670","file4":"1330002681","file5":"1330002682","file3":"1330002679"},"map_files_photo_id_array":[{"photo_id":"1330002682","filename":"file5"},{"photo_id":"1330002677","filename":"file2"},{"photo_id":"1330002681","filename":"file4"},{"photo_id":"1330002673","filename":"file1"},{"photo_id":"1330002670","filename":"file0"},{"photo_id":"1330002679","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330002682":["hashtag1","hashtag2"]},{"1330002679":["hashtag1","hashtag2"]},{"1330002670":["hashtag1","hashtag2"]},{"1330002673":["hashtag1","hashtag2"]},{"1330002681":["hashtag1","hashtag2"]},{"1330002677":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330002682, 1330002679, 1330002670, 1330002673, 1330002681, 1330002677)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.35076284408569 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 09:52:21.974189
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/09/51/image_19012025_09_51_02_385735_0003.jpg', '/home/pi/Desktop/images/19012025/09/52/image_19012025_09_52_02_865963_0000.jpg', '/home/pi/Desktop/images/19012025/09/52/image_19012025_09_52_02_865963_0001.jpg', '/home/pi/Desktop/images/19012025/09/52/image_19012025_09_52_02_865963_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/09/51/image_19012025_09_51_02_385735_0003.jpg
/home/pi/Desktop/images/19012025/09/52/image_19012025_09_52_02_865963_0000.jpg
/home/pi/Desktop/images/19012025/09/52/image_19012025_09_52_02_865963_0001.jpg
/home/pi/Desktop/images/19012025/09/52/image_19012025_09_52_02_865963_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.836533546447754 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 09:53:03.131890
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/09/51/image_19012025_09_51_02_385735_0003.jpg', '/home/pi/Desktop/images/19012025/09/52/image_19012025_09_52_02_865963_0000.jpg', '/home/pi/Desktop/images/19012025/09/52/image_19012025_09_52_02_865963_0001.jpg', '/home/pi/Desktop/images/19012025/09/52/image_19012025_09_52_02_865963_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/09/51/image_19012025_09_51_02_385735_0003.jpg
/home/pi/Desktop/images/19012025/09/52/image_19012025_09_52_02_865963_0000.jpg
/home/pi/Desktop/images/19012025/09/52/image_19012025_09_52_02_865963_0001.jpg
/home/pi/Desktop/images/19012025/09/52/image_19012025_09_52_02_865963_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330002742","1330002738","1330002740","1330002737"],"photo_ids_order":["1330002737","1330002738","1330002740","1330002742"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/1624b9cfb88b33aec8602908c07577eb.jpg","text":"TemporaryFile(/tmp/multipartBody841676671253603080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737276854449,"filename":"image_19012025_09_52_02_865963_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/630a92ecfe71be9ef15c41f2c0de5792.jpg","text":"TemporaryFile(/tmp/multipartBody2749110282570052317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737276854449,"filename":"image_19012025_09_52_02_865963_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/8a3023d3c0775379e542d034f23bc74d.jpg","text":"TemporaryFile(/tmp/multipartBody4680496561521156798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737276854449,"filename":"image_19012025_09_52_02_865963_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/df3ad1577dc3adc2586bbe18032f72ff.jpg","text":"TemporaryFile(/tmp/multipartBody5314998319395623553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737276854449,"filename":"image_19012025_09_51_02_385735_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330002740","file1":"1330002738","file0":"1330002737","file3":"1330002742"},"map_files_photo_id_array":[{"photo_id":"1330002740","filename":"file2"},{"photo_id":"1330002738","filename":"file1"},{"photo_id":"1330002737","filename":"file0"},{"photo_id":"1330002742","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330002742":["hashtag1","hashtag2"]},{"1330002738":["hashtag1","hashtag2"]},{"1330002740":["hashtag1","hashtag2"]},{"1330002737":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330002742, 1330002738, 1330002740, 1330002737)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.63390135765076 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 09:54:02.603334
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/09/52/image_19012025_09_52_02_865963_0003.jpg', '/home/pi/Desktop/images/19012025/09/53/image_19012025_09_53_02_373492_0000.jpg', '/home/pi/Desktop/images/19012025/09/53/image_19012025_09_53_02_373492_0001.jpg', '/home/pi/Desktop/images/19012025/09/53/image_19012025_09_53_02_373492_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/09/52/image_19012025_09_52_02_865963_0003.jpg
/home/pi/Desktop/images/19012025/09/53/image_19012025_09_53_02_373492_0000.jpg
/home/pi/Desktop/images/19012025/09/53/image_19012025_09_53_02_373492_0001.jpg
/home/pi/Desktop/images/19012025/09/53/image_19012025_09_53_02_373492_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.933642625808716 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 09:54:22.184566
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/09/52/image_19012025_09_52_02_865963_0003.jpg', '/home/pi/Desktop/images/19012025/09/53/image_19012025_09_53_02_373492_0000.jpg', '/home/pi/Desktop/images/19012025/09/53/image_19012025_09_53_02_373492_0001.jpg', '/home/pi/Desktop/images/19012025/09/53/image_19012025_09_53_02_373492_0002.jpg', '/home/pi/Desktop/images/19012025/09/53/image_19012025_09_53_02_373492_0003.jpg', '/home/pi/Desktop/images/19012025/09/54/image_19012025_09_54_02_860926_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/09/52/image_19012025_09_52_02_865963_0003.jpg
/home/pi/Desktop/images/19012025/09/53/image_19012025_09_53_02_373492_0000.jpg
/home/pi/Desktop/images/19012025/09/53/image_19012025_09_53_02_373492_0001.jpg
/home/pi/Desktop/images/19012025/09/53/image_19012025_09_53_02_373492_0002.jpg
/home/pi/Desktop/images/19012025/09/53/image_19012025_09_53_02_373492_0003.jpg
/home/pi/Desktop/images/19012025/09/54/image_19012025_09_54_02_860926_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330002769","1330002771","1330002765","1330002762","1330002773","1330002767"],"photo_ids_order":["1330002762","1330002765","1330002767","1330002769","1330002771","1330002773"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/8d75451bdc2bf2ee83648eaf77e339e6.jpg","text":"TemporaryFile(/tmp/multipartBody5813077825843622034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737276939011,"filename":"image_19012025_09_53_02_373492_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/412e42f70c397b309a5c3c2a22ff5f1c.jpg","text":"TemporaryFile(/tmp/multipartBody140058560814226928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737276939011,"filename":"image_19012025_09_53_02_373492_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/162decbf58795df577f0d0bac4228829.jpg","text":"TemporaryFile(/tmp/multipartBody1467153659770544532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737276939011,"filename":"image_19012025_09_53_02_373492_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/2a84646c38e3455f1370d6026f391e95.jpg","text":"TemporaryFile(/tmp/multipartBody8552345015173128985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737276939011,"filename":"image_19012025_09_52_02_865963_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/9ec9393e97ccb777a8db38b9696c0da4.jpg","text":"TemporaryFile(/tmp/multipartBody7765584100968165334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737276939011,"filename":"image_19012025_09_54_02_860926_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/3b1a99173b451bab97435ca2d597006c.jpg","text":"TemporaryFile(/tmp/multipartBody2920958129485312245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737276939011,"filename":"image_19012025_09_53_02_373492_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330002767","file1":"1330002765","file0":"1330002762","file4":"1330002771","file5":"1330002773","file3":"1330002769"},"map_files_photo_id_array":[{"photo_id":"1330002773","filename":"file5"},{"photo_id":"1330002767","filename":"file2"},{"photo_id":"1330002771","filename":"file4"},{"photo_id":"1330002765","filename":"file1"},{"photo_id":"1330002762","filename":"file0"},{"photo_id":"1330002769","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330002769":["hashtag1","hashtag2"]},{"1330002771":["hashtag1","hashtag2"]},{"1330002765":["hashtag1","hashtag2"]},{"1330002762":["hashtag1","hashtag2"]},{"1330002773":["hashtag1","hashtag2"]},{"1330002767":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330002769, 1330002771, 1330002765, 1330002762, 1330002773, 1330002767)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.14147138595581 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 09:55:22.693876
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/09/54/image_19012025_09_54_02_860926_0001.jpg', '/home/pi/Desktop/images/19012025/09/54/image_19012025_09_54_02_860926_0002.jpg', '/home/pi/Desktop/images/19012025/09/54/image_19012025_09_54_02_860926_0003.jpg', '/home/pi/Desktop/images/19012025/09/55/image_19012025_09_55_02_552681_0000.jpg', '/home/pi/Desktop/images/19012025/09/55/image_19012025_09_55_02_552681_0001.jpg', '/home/pi/Desktop/images/19012025/09/55/image_19012025_09_55_02_552681_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/09/54/image_19012025_09_54_02_860926_0001.jpg
/home/pi/Desktop/images/19012025/09/54/image_19012025_09_54_02_860926_0002.jpg
/home/pi/Desktop/images/19012025/09/54/image_19012025_09_54_02_860926_0003.jpg
/home/pi/Desktop/images/19012025/09/55/image_19012025_09_55_02_552681_0000.jpg
/home/pi/Desktop/images/19012025/09/55/image_19012025_09_55_02_552681_0001.jpg
/home/pi/Desktop/images/19012025/09/55/image_19012025_09_55_02_552681_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330002824","1330002793","1330002796","1330002826","1330002828","1330002830"],"photo_ids_order":["1330002793","1330002796","1330002824","1330002826","1330002828","1330002830"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/646d9bf620ad2db5d77520ab9e610415.jpg","text":"TemporaryFile(/tmp/multipartBody5797184350840882325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737276999596,"filename":"image_19012025_09_54_02_860926_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/29256c74d31fd78371486256a01194c0.jpg","text":"TemporaryFile(/tmp/multipartBody44115715981632146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737276999596,"filename":"image_19012025_09_54_02_860926_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/d83aeca51a66614380b9820fd37de9b2.jpg","text":"TemporaryFile(/tmp/multipartBody2865770705500324078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737276999596,"filename":"image_19012025_09_54_02_860926_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/bd2012fea9a5eef56a90837089aaad6f.jpg","text":"TemporaryFile(/tmp/multipartBody4570303233006719336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737276999596,"filename":"image_19012025_09_55_02_552681_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/5e2f8abb10009ece114498a59ae8c273.jpg","text":"TemporaryFile(/tmp/multipartBody8085151431484636591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737276999596,"filename":"image_19012025_09_55_02_552681_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/f3e2f7e577f34bcaa71fefbec920bf45.jpg","text":"TemporaryFile(/tmp/multipartBody41452986973408076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737276999596,"filename":"image_19012025_09_55_02_552681_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330002824","file1":"1330002796","file0":"1330002793","file4":"1330002828","file5":"1330002830","file3":"1330002826"},"map_files_photo_id_array":[{"photo_id":"1330002830","filename":"file5"},{"photo_id":"1330002824","filename":"file2"},{"photo_id":"1330002828","filename":"file4"},{"photo_id":"1330002796","filename":"file1"},{"photo_id":"1330002793","filename":"file0"},{"photo_id":"1330002826","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330002824":["hashtag1","hashtag2"]},{"1330002793":["hashtag1","hashtag2"]},{"1330002796":["hashtag1","hashtag2"]},{"1330002826":["hashtag1","hashtag2"]},{"1330002828":["hashtag1","hashtag2"]},{"1330002830":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330002824, 1330002793, 1330002796, 1330002826, 1330002828, 1330002830)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.83307242393494 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 09:56:22.185737
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/09/55/image_19012025_09_55_02_552681_0003.jpg', '/home/pi/Desktop/images/19012025/09/56/image_19012025_09_56_03_055689_0000.jpg', '/home/pi/Desktop/images/19012025/09/56/image_19012025_09_56_03_055689_0001.jpg', '/home/pi/Desktop/images/19012025/09/56/image_19012025_09_56_03_055689_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/09/55/image_19012025_09_55_02_552681_0003.jpg
/home/pi/Desktop/images/19012025/09/56/image_19012025_09_56_03_055689_0000.jpg
/home/pi/Desktop/images/19012025/09/56/image_19012025_09_56_03_055689_0001.jpg
/home/pi/Desktop/images/19012025/09/56/image_19012025_09_56_03_055689_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330002856","1330002853","1330002846","1330002849"],"photo_ids_order":["1330002846","1330002849","1330002853","1330002856"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/c1e28f80622bc07ddc74c3fee507b4d5.jpg","text":"TemporaryFile(/tmp/multipartBody161233763327249963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737277053636,"filename":"image_19012025_09_56_03_055689_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/b73a3ec419497726637fcf28f2b38fa5.jpg","text":"TemporaryFile(/tmp/multipartBody311767162320798881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737277053636,"filename":"image_19012025_09_56_03_055689_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/fad81de30be8a13c93141357aec1606b.jpg","text":"TemporaryFile(/tmp/multipartBody8972373967951861985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737277053636,"filename":"image_19012025_09_55_02_552681_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/50e31932a5c3374003afe73ca0eb05c7.jpg","text":"TemporaryFile(/tmp/multipartBody8720146630431497216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737277053636,"filename":"image_19012025_09_56_03_055689_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330002853","file1":"1330002849","file0":"1330002846","file3":"1330002856"},"map_files_photo_id_array":[{"photo_id":"1330002853","filename":"file2"},{"photo_id":"1330002849","filename":"file1"},{"photo_id":"1330002846","filename":"file0"},{"photo_id":"1330002856","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330002856":["hashtag1","hashtag2"]},{"1330002853":["hashtag1","hashtag2"]},{"1330002846":["hashtag1","hashtag2"]},{"1330002849":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330002856, 1330002853, 1330002846, 1330002849)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.67115545272827 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 09:57:03.331725
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
  port_id : 19698700
  datou_current_id : 2490825
in upload_from_sqlite, uploading in 19698700
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17012025/21/56/image_17012025_21_56_02_857288_0003.jpg', '/home/pi/Desktop/images/17012025/21/57/image_17012025_21_57_03_010754_0000.jpg', '/home/pi/Desktop/images/17012025/21/57/image_17012025_21_57_03_010754_0001.jpg', '/home/pi/Desktop/images/17012025/21/57/image_17012025_21_57_03_010754_0002.jpg', '/home/pi/Desktop/images/17012025/21/57/image_17012025_21_57_03_010754_0003.jpg', '/home/pi/Desktop/images/17012025/21/58/image_17012025_21_58_02_160929_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2490825&datou=0
/home/pi/Desktop/images/17012025/21/56/image_17012025_21_56_02_857288_0003.jpg
/home/pi/Desktop/images/17012025/21/57/image_17012025_21_57_03_010754_0000.jpg
/home/pi/Desktop/images/17012025/21/57/image_17012025_21_57_03_010754_0001.jpg
/home/pi/Desktop/images/17012025/21/57/image_17012025_21_57_03_010754_0002.jpg
/home/pi/Desktop/images/17012025/21/57/image_17012025_21_57_03_010754_0003.jpg
/home/pi/Desktop/images/17012025/21/58/image_17012025_21_58_02_160929_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330002952","1330002946","1330002948","1330002942","1330002950","1330002944"],"photo_ids_order":["1330002942","1330002944","1330002946","1330002948","1330002950","1330002952"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/236949646c842dad73ec185353eefcf3.jpg","text":"TemporaryFile(/tmp/multipartBody3396013276660308624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737277101188,"filename":"image_17012025_21_58_02_160929_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/d8b63a538ec883b05e79d2099d5551d4.jpg","text":"TemporaryFile(/tmp/multipartBody4642350570317145789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737277101188,"filename":"image_17012025_21_57_03_010754_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/5d20715061f95c08e5453197144eaec1.jpg","text":"TemporaryFile(/tmp/multipartBody1075486426713439258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737277101188,"filename":"image_17012025_21_57_03_010754_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/a9ea7e353e64254d8c52e7b0b009ff43.jpg","text":"TemporaryFile(/tmp/multipartBody3814031012982905897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737277101188,"filename":"image_17012025_21_56_02_857288_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/98e32f78994afd991603f9f8bdc9aa1c.jpg","text":"TemporaryFile(/tmp/multipartBody8779853925953306691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737277101188,"filename":"image_17012025_21_57_03_010754_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/b3ba2b6b8616ae9134026b14fcf43c06.jpg","text":"TemporaryFile(/tmp/multipartBody3006957061558483975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737277101188,"filename":"image_17012025_21_57_03_010754_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330002946","file1":"1330002944","file0":"1330002942","file4":"1330002950","file5":"1330002952","file3":"1330002948"},"map_files_photo_id_array":[{"photo_id":"1330002952","filename":"file5"},{"photo_id":"1330002946","filename":"file2"},{"photo_id":"1330002950","filename":"file4"},{"photo_id":"1330002944","filename":"file1"},{"photo_id":"1330002942","filename":"file0"},{"photo_id":"1330002948","filename":"file3"}],"portfolio_id":19698700,"hashtag_by_photo_ids":[{"1330002952":["hashtag1","hashtag2"]},{"1330002946":["hashtag1","hashtag2"]},{"1330002948":["hashtag1","hashtag2"]},{"1330002942":["hashtag1","hashtag2"]},{"1330002950":["hashtag1","hashtag2"]},{"1330002944":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698700 used, photo_id : ArrayBuffer(1330002952, 1330002946, 1330002948, 1330002942, 1330002950, 1330002944)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.75929617881775 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 09:59:03.077781
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/09/56/image_19012025_09_56_03_055689_0003.jpg', '/home/pi/Desktop/images/19012025/09/57/image_19012025_09_57_02_532529_0000.jpg', '/home/pi/Desktop/images/19012025/09/57/image_19012025_09_57_02_532529_0001.jpg', '/home/pi/Desktop/images/19012025/09/57/image_19012025_09_57_02_532529_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/09/56/image_19012025_09_56_03_055689_0003.jpg
/home/pi/Desktop/images/19012025/09/57/image_19012025_09_57_02_532529_0000.jpg
/home/pi/Desktop/images/19012025/09/57/image_19012025_09_57_02_532529_0001.jpg
/home/pi/Desktop/images/19012025/09/57/image_19012025_09_57_02_532529_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 11.348127365112305 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 09:59:22.527033
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/09/56/image_19012025_09_56_03_055689_0003.jpg', '/home/pi/Desktop/images/19012025/09/57/image_19012025_09_57_02_532529_0000.jpg', '/home/pi/Desktop/images/19012025/09/57/image_19012025_09_57_02_532529_0001.jpg', '/home/pi/Desktop/images/19012025/09/57/image_19012025_09_57_02_532529_0002.jpg', '/home/pi/Desktop/images/19012025/09/57/image_19012025_09_57_02_532529_0003.jpg', '/home/pi/Desktop/images/19012025/09/58/image_19012025_09_58_03_130338_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/09/56/image_19012025_09_56_03_055689_0003.jpg
/home/pi/Desktop/images/19012025/09/57/image_19012025_09_57_02_532529_0000.jpg
/home/pi/Desktop/images/19012025/09/57/image_19012025_09_57_02_532529_0001.jpg
/home/pi/Desktop/images/19012025/09/57/image_19012025_09_57_02_532529_0002.jpg
/home/pi/Desktop/images/19012025/09/57/image_19012025_09_57_02_532529_0003.jpg
/home/pi/Desktop/images/19012025/09/58/image_19012025_09_58_03_130338_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":["1330003030","1330003033","1330003027","1330003035","1330003025","1330003022"],"photo_ids_order":["1330003022","1330003025","1330003027","1330003030","1330003033","1330003035"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/52ab005486e842603dbc3e7ed9297f75.jpg","text":"TemporaryFile(/tmp/multipartBody1156595025661992567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737277239621,"filename":"image_19012025_09_57_02_532529_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/b51f7210edbe84f864669825d7f40aad.jpg","text":"TemporaryFile(/tmp/multipartBody2487927994439176086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737277239621,"filename":"image_19012025_09_57_02_532529_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/9b28aed3a474ba0eb51e9f7b13bbbe38.jpg","text":"TemporaryFile(/tmp/multipartBody6886547163617139339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737277239621,"filename":"image_19012025_09_57_02_532529_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/1f49f99ed4dea3028dea86db0a1d2809.jpg","text":"TemporaryFile(/tmp/multipartBody3780195053463404448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737277239621,"filename":"image_19012025_09_58_03_130338_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/980eb56fad71072ace4d34e26c9cffb1.jpg","text":"TemporaryFile(/tmp/multipartBody6066899603455018957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737277239621,"filename":"image_19012025_09_57_02_532529_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/42ce34fcc016410b9afd95c3b19a806a.jpg","text":"TemporaryFile(/tmp/multipartBody8150343672431772956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737277239621,"filename":"image_19012025_09_56_03_055689_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330003027","file1":"1330003025","file0":"1330003022","file4":"1330003033","file5":"1330003035","file3":"1330003030"},"map_files_photo_id_array":[{"photo_id":"1330003035","filename":"file5"},{"photo_id":"1330003027","filename":"file2"},{"photo_id":"1330003033","filename":"file4"},{"photo_id":"1330003025","filename":"file1"},{"photo_id":"1330003022","filename":"file0"},{"photo_id":"1330003030","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330003030":["hashtag1","hashtag2"]},{"1330003033":["hashtag1","hashtag2"]},{"1330003027":["hashtag1","hashtag2"]},{"1330003035":["hashtag1","hashtag2"]},{"1330003025":["hashtag1","hashtag2"]},{"1330003022":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330003030, 1330003033, 1330003027, 1330003035, 1330003025, 1330003022)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.50780248641968 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 10:00:22.713114
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/09/58/image_19012025_09_58_03_130338_0001.jpg', '/home/pi/Desktop/images/19012025/09/58/image_19012025_09_58_03_130338_0002.jpg', '/home/pi/Desktop/images/19012025/09/58/image_19012025_09_58_03_130338_0003.jpg', '/home/pi/Desktop/images/19012025/09/59/image_19012025_09_59_02_668211_0000.jpg', '/home/pi/Desktop/images/19012025/09/59/image_19012025_09_59_02_668211_0001.jpg', '/home/pi/Desktop/images/19012025/09/59/image_19012025_09_59_02_668211_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/09/58/image_19012025_09_58_03_130338_0001.jpg
/home/pi/Desktop/images/19012025/09/58/image_19012025_09_58_03_130338_0002.jpg
/home/pi/Desktop/images/19012025/09/58/image_19012025_09_58_03_130338_0003.jpg
/home/pi/Desktop/images/19012025/09/59/image_19012025_09_59_02_668211_0000.jpg
/home/pi/Desktop/images/19012025/09/59/image_19012025_09_59_02_668211_0001.jpg
/home/pi/Desktop/images/19012025/09/59/image_19012025_09_59_02_668211_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330003948","1330003940","1330003934","1330003943","1330003937","1330003946"],"photo_ids_order":["1330003934","1330003937","1330003940","1330003943","1330003946","1330003948"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/be075eb9da7a6352504724bb5ea360ce.jpg","text":"TemporaryFile(/tmp/multipartBody8434678969667732767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737277299330,"filename":"image_19012025_09_59_02_668211_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/4eb1e19eed77b6118eefd14246c91a54.jpg","text":"TemporaryFile(/tmp/multipartBody7630684111316419547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737277299330,"filename":"image_19012025_09_58_03_130338_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/fb7af127a72d86f583b3864229d8fbe4.jpg","text":"TemporaryFile(/tmp/multipartBody5195958832870121296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737277299330,"filename":"image_19012025_09_58_03_130338_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/eab911b7c9cfccff740aa742bf646afd.jpg","text":"TemporaryFile(/tmp/multipartBody3670458563659119865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737277299330,"filename":"image_19012025_09_59_02_668211_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/a809d54a2d36d0c9e8e0e1ddbbec8cbd.jpg","text":"TemporaryFile(/tmp/multipartBody2899017098323525525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737277299330,"filename":"image_19012025_09_58_03_130338_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/161530c8f8fae4fa581f77b91ab87c46.jpg","text":"TemporaryFile(/tmp/multipartBody4406078325417025381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737277299330,"filename":"image_19012025_09_59_02_668211_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330003940","file1":"1330003937","file0":"1330003934","file4":"1330003946","file5":"1330003948","file3":"1330003943"},"map_files_photo_id_array":[{"photo_id":"1330003948","filename":"file5"},{"photo_id":"1330003940","filename":"file2"},{"photo_id":"1330003946","filename":"file4"},{"photo_id":"1330003937","filename":"file1"},{"photo_id":"1330003934","filename":"file0"},{"photo_id":"1330003943","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330003948":["hashtag1","hashtag2"]},{"1330003940":["hashtag1","hashtag2"]},{"1330003934":["hashtag1","hashtag2"]},{"1330003943":["hashtag1","hashtag2"]},{"1330003937":["hashtag1","hashtag2"]},{"1330003946":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330003948, 1330003940, 1330003934, 1330003943, 1330003937, 1330003946)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.51317310333252 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 10:01:21.996765
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/09/59/image_19012025_09_59_02_668211_0003.jpg', '/home/pi/Desktop/images/19012025/10/00/image_19012025_10_00_02_929316_0000.jpg', '/home/pi/Desktop/images/19012025/10/00/image_19012025_10_00_02_929316_0001.jpg', '/home/pi/Desktop/images/19012025/10/00/image_19012025_10_00_02_929316_0002.jpg', '/home/pi/Desktop/images/19012025/10/00/image_19012025_10_00_02_929316_0003.jpg', '/home/pi/Desktop/images/19012025/10/01/image_19012025_10_01_03_036759_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/09/59/image_19012025_09_59_02_668211_0003.jpg
/home/pi/Desktop/images/19012025/10/00/image_19012025_10_00_02_929316_0000.jpg
/home/pi/Desktop/images/19012025/10/00/image_19012025_10_00_02_929316_0001.jpg
/home/pi/Desktop/images/19012025/10/00/image_19012025_10_00_02_929316_0002.jpg
/home/pi/Desktop/images/19012025/10/00/image_19012025_10_00_02_929316_0003.jpg
/home/pi/Desktop/images/19012025/10/01/image_19012025_10_01_03_036759_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":["1330004754","1330004265","1330004742","1330004433","1330004752","1330004224"],"photo_ids_order":["1330004224","1330004265","1330004433","1330004742","1330004752","1330004754"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/eee2c1de0fbcebfd181967adc1a0c4fb.jpg","text":"TemporaryFile(/tmp/multipartBody265713610749238055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737277358683,"filename":"image_19012025_10_01_03_036759_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/f5f78226b86f2f546472d31e1a64eede.jpg","text":"TemporaryFile(/tmp/multipartBody1764399424538035999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737277358683,"filename":"image_19012025_10_00_02_929316_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/b7c774d256cf7eae4c37a8192e4bf80c.jpg","text":"TemporaryFile(/tmp/multipartBody3744882698435220018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737277358683,"filename":"image_19012025_10_00_02_929316_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/ad04dc105a91665785acf354eed2da6e.jpg","text":"TemporaryFile(/tmp/multipartBody1155006001444962202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737277358683,"filename":"image_19012025_10_00_02_929316_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/09759eed807fbdec34149da30cca6007.jpg","text":"TemporaryFile(/tmp/multipartBody6651500027090717933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737277358683,"filename":"image_19012025_10_00_02_929316_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/41e2959e062e65e66f157c8bc67ce707.jpg","text":"TemporaryFile(/tmp/multipartBody8286083269182148402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737277358683,"filename":"image_19012025_09_59_02_668211_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330004433","file1":"1330004265","file0":"1330004224","file4":"1330004752","file5":"1330004754","file3":"1330004742"},"map_files_photo_id_array":[{"photo_id":"1330004754","filename":"file5"},{"photo_id":"1330004433","filename":"file2"},{"photo_id":"1330004752","filename":"file4"},{"photo_id":"1330004265","filename":"file1"},{"photo_id":"1330004224","filename":"file0"},{"photo_id":"1330004742","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330004754":["hashtag1","hashtag2"]},{"1330004265":["hashtag1","hashtag2"]},{"1330004742":["hashtag1","hashtag2"]},{"1330004433":["hashtag1","hashtag2"]},{"1330004752":["hashtag1","hashtag2"]},{"1330004224":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330004754, 1330004265, 1330004742, 1330004433, 1330004752, 1330004224)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.69173741340637 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 10:02:21.974873
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/10/01/image_19012025_10_01_03_036759_0001.jpg', '/home/pi/Desktop/images/19012025/10/01/image_19012025_10_01_03_036759_0002.jpg', '/home/pi/Desktop/images/19012025/10/01/image_19012025_10_01_03_036759_0003.jpg', '/home/pi/Desktop/images/19012025/10/02/image_19012025_10_02_02_229117_0000.jpg', '/home/pi/Desktop/images/19012025/10/02/image_19012025_10_02_02_229117_0001.jpg', '/home/pi/Desktop/images/19012025/10/02/image_19012025_10_02_02_229117_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/10/01/image_19012025_10_01_03_036759_0001.jpg
/home/pi/Desktop/images/19012025/10/01/image_19012025_10_01_03_036759_0002.jpg
/home/pi/Desktop/images/19012025/10/01/image_19012025_10_01_03_036759_0003.jpg
/home/pi/Desktop/images/19012025/10/02/image_19012025_10_02_02_229117_0000.jpg
/home/pi/Desktop/images/19012025/10/02/image_19012025_10_02_02_229117_0001.jpg
/home/pi/Desktop/images/19012025/10/02/image_19012025_10_02_02_229117_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330004933","1330004942","1330004936","1330004939","1330004930","1330004944"],"photo_ids_order":["1330004930","1330004933","1330004936","1330004939","1330004942","1330004944"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/1a20cd5d8366237e1db1e87984ef8fd6.jpg","text":"TemporaryFile(/tmp/multipartBody4744983290970228025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737277419022,"filename":"image_19012025_10_01_03_036759_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/776e69d3ccbbd176433a73a2996a12d4.jpg","text":"TemporaryFile(/tmp/multipartBody728270484351279292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737277419022,"filename":"image_19012025_10_02_02_229117_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/92d707792e75c101221326cc8837ce5e.jpg","text":"TemporaryFile(/tmp/multipartBody3766899466658858537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737277419022,"filename":"image_19012025_10_01_03_036759_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/fc5deac6f71dbf9bb534356d323c2790.jpg","text":"TemporaryFile(/tmp/multipartBody8279416071956047526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737277419022,"filename":"image_19012025_10_02_02_229117_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/b7aa7b9157be512965ed8065a89eeb23.jpg","text":"TemporaryFile(/tmp/multipartBody7075831109853051370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737277419022,"filename":"image_19012025_10_01_03_036759_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/bbe47b6e171189200c90d77d9a1a54af.jpg","text":"TemporaryFile(/tmp/multipartBody4061847046391168214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737277419022,"filename":"image_19012025_10_02_02_229117_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330004936","file1":"1330004933","file0":"1330004930","file4":"1330004942","file5":"1330004944","file3":"1330004939"},"map_files_photo_id_array":[{"photo_id":"1330004944","filename":"file5"},{"photo_id":"1330004936","filename":"file2"},{"photo_id":"1330004942","filename":"file4"},{"photo_id":"1330004933","filename":"file1"},{"photo_id":"1330004930","filename":"file0"},{"photo_id":"1330004939","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330004933":["hashtag1","hashtag2"]},{"1330004942":["hashtag1","hashtag2"]},{"1330004936":["hashtag1","hashtag2"]},{"1330004939":["hashtag1","hashtag2"]},{"1330004930":["hashtag1","hashtag2"]},{"1330004944":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330004933, 1330004942, 1330004936, 1330004939, 1330004930, 1330004944)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.57120370864868 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 10:03:22.284149
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/10/02/image_19012025_10_02_02_229117_0003.jpg', '/home/pi/Desktop/images/19012025/10/03/image_19012025_10_03_02_420062_0000.jpg', '/home/pi/Desktop/images/19012025/10/03/image_19012025_10_03_02_420062_0001.jpg', '/home/pi/Desktop/images/19012025/10/03/image_19012025_10_03_02_420062_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/10/02/image_19012025_10_02_02_229117_0003.jpg
/home/pi/Desktop/images/19012025/10/03/image_19012025_10_03_02_420062_0000.jpg
/home/pi/Desktop/images/19012025/10/03/image_19012025_10_03_02_420062_0001.jpg
/home/pi/Desktop/images/19012025/10/03/image_19012025_10_03_02_420062_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330004955","1330004963","1330004960","1330004965"],"photo_ids_order":["1330004955","1330004960","1330004963","1330004965"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/da6082bfad8af13ff5d31f003a738414.jpg","text":"TemporaryFile(/tmp/multipartBody3152806959314342273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737277474154,"filename":"image_19012025_10_02_02_229117_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/fd118fa245baf0b5267aef918a5f1076.jpg","text":"TemporaryFile(/tmp/multipartBody9019862689900782984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737277474154,"filename":"image_19012025_10_03_02_420062_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/265c08e811062a5112eb6934fc2a0227.jpg","text":"TemporaryFile(/tmp/multipartBody4901284686899600648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737277474154,"filename":"image_19012025_10_03_02_420062_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/da8539cfe4858b946dc365eed5323ac9.jpg","text":"TemporaryFile(/tmp/multipartBody5086385142187618614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737277474154,"filename":"image_19012025_10_03_02_420062_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330004963","file1":"1330004960","file0":"1330004955","file3":"1330004965"},"map_files_photo_id_array":[{"photo_id":"1330004963","filename":"file2"},{"photo_id":"1330004960","filename":"file1"},{"photo_id":"1330004955","filename":"file0"},{"photo_id":"1330004965","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330004955":["hashtag1","hashtag2"]},{"1330004963":["hashtag1","hashtag2"]},{"1330004960":["hashtag1","hashtag2"]},{"1330004965":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330004955, 1330004963, 1330004960, 1330004965)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.10610222816467 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 10:04:22.452451
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/10/03/image_19012025_10_03_02_420062_0003.jpg', '/home/pi/Desktop/images/19012025/10/04/image_19012025_10_04_02_627182_0000.jpg', '/home/pi/Desktop/images/19012025/10/04/image_19012025_10_04_02_627182_0001.jpg', '/home/pi/Desktop/images/19012025/10/04/image_19012025_10_04_02_627182_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/10/03/image_19012025_10_03_02_420062_0003.jpg
/home/pi/Desktop/images/19012025/10/04/image_19012025_10_04_02_627182_0000.jpg
/home/pi/Desktop/images/19012025/10/04/image_19012025_10_04_02_627182_0001.jpg
/home/pi/Desktop/images/19012025/10/04/image_19012025_10_04_02_627182_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330005027","1330005029","1330004995","1330004998"],"photo_ids_order":["1330004995","1330004998","1330005027","1330005029"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/577d81268c97842853a7e458484afc0a.jpg","text":"TemporaryFile(/tmp/multipartBody3496136735115797524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737277534051,"filename":"image_19012025_10_04_02_627182_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/7381b4766093268b689c072bd6c0e0f8.jpg","text":"TemporaryFile(/tmp/multipartBody2901797278103938549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737277534051,"filename":"image_19012025_10_04_02_627182_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/eb630083dc1de759d9368615423bf499.jpg","text":"TemporaryFile(/tmp/multipartBody6894328105464135144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737277534051,"filename":"image_19012025_10_03_02_420062_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/e85c653c2756f15cfd7d9fee98627afb.jpg","text":"TemporaryFile(/tmp/multipartBody8758702336101224814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737277534051,"filename":"image_19012025_10_04_02_627182_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330005027","file1":"1330004998","file0":"1330004995","file3":"1330005029"},"map_files_photo_id_array":[{"photo_id":"1330005027","filename":"file2"},{"photo_id":"1330004998","filename":"file1"},{"photo_id":"1330004995","filename":"file0"},{"photo_id":"1330005029","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330005027":["hashtag1","hashtag2"]},{"1330005029":["hashtag1","hashtag2"]},{"1330004995":["hashtag1","hashtag2"]},{"1330004998":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330005027, 1330005029, 1330004995, 1330004998)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.88511347770691 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 10:05:22.610386
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/10/04/image_19012025_10_04_02_627182_0003.jpg', '/home/pi/Desktop/images/19012025/10/05/image_19012025_10_05_02_787153_0000.jpg', '/home/pi/Desktop/images/19012025/10/05/image_19012025_10_05_02_787153_0001.jpg', '/home/pi/Desktop/images/19012025/10/05/image_19012025_10_05_02_787153_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/10/04/image_19012025_10_04_02_627182_0003.jpg
/home/pi/Desktop/images/19012025/10/05/image_19012025_10_05_02_787153_0000.jpg
/home/pi/Desktop/images/19012025/10/05/image_19012025_10_05_02_787153_0001.jpg
/home/pi/Desktop/images/19012025/10/05/image_19012025_10_05_02_787153_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330005048","1330005045","1330005050","1330005041"],"photo_ids_order":["1330005041","1330005045","1330005048","1330005050"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/c2fe38b6844b8c0782a05b1a1e234598.jpg","text":"TemporaryFile(/tmp/multipartBody6400231747655490799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737277593945,"filename":"image_19012025_10_05_02_787153_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/1cc455c87641828b5316826c4d21e592.jpg","text":"TemporaryFile(/tmp/multipartBody992859049656313898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737277593945,"filename":"image_19012025_10_05_02_787153_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/f6187bf32b239006f6097de7c89d22c9.jpg","text":"TemporaryFile(/tmp/multipartBody8599014941203978118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737277593945,"filename":"image_19012025_10_05_02_787153_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/213984be10dc7a42093380462fa9d65d.jpg","text":"TemporaryFile(/tmp/multipartBody7290669206194544097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737277593945,"filename":"image_19012025_10_04_02_627182_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330005048","file1":"1330005045","file0":"1330005041","file3":"1330005050"},"map_files_photo_id_array":[{"photo_id":"1330005048","filename":"file2"},{"photo_id":"1330005045","filename":"file1"},{"photo_id":"1330005041","filename":"file0"},{"photo_id":"1330005050","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330005048":["hashtag1","hashtag2"]},{"1330005045":["hashtag1","hashtag2"]},{"1330005050":["hashtag1","hashtag2"]},{"1330005041":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330005048, 1330005045, 1330005050, 1330005041)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 4 photos
time to upload: 38.72116947174072 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 10:06:21.833398
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/10/05/image_19012025_10_05_02_787153_0003.jpg', '/home/pi/Desktop/images/19012025/10/06/image_19012025_10_06_02_957350_0000.jpg', '/home/pi/Desktop/images/19012025/10/06/image_19012025_10_06_02_957350_0001.jpg', '/home/pi/Desktop/images/19012025/10/06/image_19012025_10_06_02_957350_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/10/05/image_19012025_10_05_02_787153_0003.jpg
/home/pi/Desktop/images/19012025/10/06/image_19012025_10_06_02_957350_0000.jpg
/home/pi/Desktop/images/19012025/10/06/image_19012025_10_06_02_957350_0001.jpg
/home/pi/Desktop/images/19012025/10/06/image_19012025_10_06_02_957350_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330006221","1330006223","1330006021","1330006219"],"photo_ids_order":["1330006021","1330006219","1330006221","1330006223"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/16979e50a8bafa7d3f4b954a254cba4e.jpg","text":"TemporaryFile(/tmp/multipartBody3903531675916565120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737277653582,"filename":"image_19012025_10_06_02_957350_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/2bcc8903777c43b50c2391eecb77a657.jpg","text":"TemporaryFile(/tmp/multipartBody4338826980140469314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737277653582,"filename":"image_19012025_10_06_02_957350_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/ed1a6bdc59445e7541ae845718fb4474.jpg","text":"TemporaryFile(/tmp/multipartBody1340006054472060891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737277653582,"filename":"image_19012025_10_05_02_787153_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/887c6f932756222f3e10b254eeb917f2.jpg","text":"TemporaryFile(/tmp/multipartBody2838620176027815302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737277653582,"filename":"image_19012025_10_06_02_957350_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330006221","file1":"1330006219","file0":"1330006021","file3":"1330006223"},"map_files_photo_id_array":[{"photo_id":"1330006221","filename":"file2"},{"photo_id":"1330006219","filename":"file1"},{"photo_id":"1330006021","filename":"file0"},{"photo_id":"1330006223","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330006221":["hashtag1","hashtag2"]},{"1330006223":["hashtag1","hashtag2"]},{"1330006021":["hashtag1","hashtag2"]},{"1330006219":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330006221, 1330006223, 1330006021, 1330006219)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.229063987731934 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 10:07:02.513466
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
  port_id : 19698700
  datou_current_id : 2490825
in upload_from_sqlite, uploading in 19698700
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17012025/21/58/image_17012025_21_58_02_160929_0001.jpg', '/home/pi/Desktop/images/17012025/21/58/image_17012025_21_58_02_160929_0002.jpg', '/home/pi/Desktop/images/17012025/21/58/image_17012025_21_58_02_160929_0003.jpg', '/home/pi/Desktop/images/17012025/21/59/image_17012025_21_59_02_382116_0000.jpg', '/home/pi/Desktop/images/17012025/21/59/image_17012025_21_59_02_382116_0001.jpg', '/home/pi/Desktop/images/17012025/21/59/image_17012025_21_59_02_382116_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2490825&datou=0
/home/pi/Desktop/images/17012025/21/58/image_17012025_21_58_02_160929_0001.jpg
/home/pi/Desktop/images/17012025/21/58/image_17012025_21_58_02_160929_0002.jpg
/home/pi/Desktop/images/17012025/21/58/image_17012025_21_58_02_160929_0003.jpg
/home/pi/Desktop/images/17012025/21/59/image_17012025_21_59_02_382116_0000.jpg
/home/pi/Desktop/images/17012025/21/59/image_17012025_21_59_02_382116_0001.jpg
/home/pi/Desktop/images/17012025/21/59/image_17012025_21_59_02_382116_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330006262","1330006256","1330006229","1330006259","1330006236","1330006227"],"photo_ids_order":["1330006227","1330006229","1330006236","1330006256","1330006259","1330006262"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/eeeb36c9f9540f49671b403178e72cf1.jpg","text":"TemporaryFile(/tmp/multipartBody4151984240789137914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737277700640,"filename":"image_17012025_21_59_02_382116_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/0636f995ac833982512918e309ca47f9.jpg","text":"TemporaryFile(/tmp/multipartBody8866164490343199188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737277700640,"filename":"image_17012025_21_59_02_382116_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/3b524bdb3fdeaa87618aea9d52aef618.jpg","text":"TemporaryFile(/tmp/multipartBody1599158617055614243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737277700640,"filename":"image_17012025_21_58_02_160929_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/d413d3a1264bcb502c7f5553fba5b53a.jpg","text":"TemporaryFile(/tmp/multipartBody284144603229616160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737277700640,"filename":"image_17012025_21_59_02_382116_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/506fc4b18f9ce531600493d889aee9f9.jpg","text":"TemporaryFile(/tmp/multipartBody4098260576414043802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737277700640,"filename":"image_17012025_21_58_02_160929_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/1928a17439e6050fe245ed7be8b8c2c4.jpg","text":"TemporaryFile(/tmp/multipartBody2245739746522061182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737277700640,"filename":"image_17012025_21_58_02_160929_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330006236","file1":"1330006229","file0":"1330006227","file4":"1330006259","file5":"1330006262","file3":"1330006256"},"map_files_photo_id_array":[{"photo_id":"1330006262","filename":"file5"},{"photo_id":"1330006236","filename":"file2"},{"photo_id":"1330006259","filename":"file4"},{"photo_id":"1330006229","filename":"file1"},{"photo_id":"1330006227","filename":"file0"},{"photo_id":"1330006256","filename":"file3"}],"portfolio_id":19698700,"hashtag_by_photo_ids":[{"1330006262":["hashtag1","hashtag2"]},{"1330006256":["hashtag1","hashtag2"]},{"1330006229":["hashtag1","hashtag2"]},{"1330006259":["hashtag1","hashtag2"]},{"1330006236":["hashtag1","hashtag2"]},{"1330006227":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698700 used, photo_id : ArrayBuffer(1330006262, 1330006256, 1330006229, 1330006259, 1330006236, 1330006227)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.39519190788269 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 10:08:02.488661
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/10/06/image_19012025_10_06_02_957350_0003.jpg', '/home/pi/Desktop/images/19012025/10/07/image_19012025_10_07_02_092422_0000.jpg', '/home/pi/Desktop/images/19012025/10/07/image_19012025_10_07_02_092422_0001.jpg', '/home/pi/Desktop/images/19012025/10/07/image_19012025_10_07_02_092422_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/10/06/image_19012025_10_06_02_957350_0003.jpg
/home/pi/Desktop/images/19012025/10/07/image_19012025_10_07_02_092422_0000.jpg
/home/pi/Desktop/images/19012025/10/07/image_19012025_10_07_02_092422_0001.jpg
/home/pi/Desktop/images/19012025/10/07/image_19012025_10_07_02_092422_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330006710","1330006894","1330006712","1330006686"],"photo_ids_order":["1330006686","1330006710","1330006712","1330006894"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/7424b6224010bc92a440124ac725ea75.jpg","text":"TemporaryFile(/tmp/multipartBody4209151786906672202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737277753770,"filename":"image_19012025_10_07_02_092422_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/4e7f52af5912b233db8d46bc08ffc5d5.jpg","text":"TemporaryFile(/tmp/multipartBody7488717061195143016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737277753770,"filename":"image_19012025_10_07_02_092422_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/9b19b4b89b20b5434b18cfb219310ba4.jpg","text":"TemporaryFile(/tmp/multipartBody1523112728008814091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737277753770,"filename":"image_19012025_10_07_02_092422_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/e458d7d40076ce0b6d4d945135f65943.jpg","text":"TemporaryFile(/tmp/multipartBody4856286234397977741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737277753770,"filename":"image_19012025_10_06_02_957350_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330006712","file1":"1330006710","file0":"1330006686","file3":"1330006894"},"map_files_photo_id_array":[{"photo_id":"1330006712","filename":"file2"},{"photo_id":"1330006710","filename":"file1"},{"photo_id":"1330006686","filename":"file0"},{"photo_id":"1330006894","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330006710":["hashtag1","hashtag2"]},{"1330006894":["hashtag1","hashtag2"]},{"1330006712":["hashtag1","hashtag2"]},{"1330006686":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330006710, 1330006894, 1330006712, 1330006686)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.12615990638733 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-19 10:08:52.052532
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/10/07/image_19012025_10_07_02_092422_0003.jpg', '/home/pi/Desktop/images/19012025/10/08/image_19012025_10_08_02_311730_0000.jpg', '/home/pi/Desktop/images/19012025/10/08/image_19012025_10_08_02_311730_0001.jpg', '/home/pi/Desktop/images/19012025/10/08/image_19012025_10_08_02_311730_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/10/07/image_19012025_10_07_02_092422_0003.jpg
/home/pi/Desktop/images/19012025/10/08/image_19012025_10_08_02_311730_0000.jpg
/home/pi/Desktop/images/19012025/10/08/image_19012025_10_08_02_311730_0001.jpg
/home/pi/Desktop/images/19012025/10/08/image_19012025_10_08_02_311730_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330007081","1330007074","1330007083","1330007082"],"photo_ids_order":["1330007074","1330007081","1330007082","1330007083"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/9a03423e91cbc25d35c0fe27a3f54765.jpg","text":"TemporaryFile(/tmp/multipartBody5423512681795070887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737277803625,"filename":"image_19012025_10_08_02_311730_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/2232e3aebbb184ba4292cc8964cf0020.jpg","text":"TemporaryFile(/tmp/multipartBody2655042782822228284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737277803625,"filename":"image_19012025_10_07_02_092422_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/b1a824b63d4a520f947eead944257575.jpg","text":"TemporaryFile(/tmp/multipartBody2058218010622665140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737277803625,"filename":"image_19012025_10_08_02_311730_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/26d5ce87604bfe767140804ccd2ea07d.jpg","text":"TemporaryFile(/tmp/multipartBody8730264856061084995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737277803625,"filename":"image_19012025_10_08_02_311730_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330007082","file1":"1330007081","file0":"1330007074","file3":"1330007083"},"map_files_photo_id_array":[{"photo_id":"1330007082","filename":"file2"},{"photo_id":"1330007081","filename":"file1"},{"photo_id":"1330007074","filename":"file0"},{"photo_id":"1330007083","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330007081":["hashtag1","hashtag2"]},{"1330007074":["hashtag1","hashtag2"]},{"1330007083":["hashtag1","hashtag2"]},{"1330007082":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330007081, 1330007074, 1330007083, 1330007082)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.52397108078003 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-19 10:09:42.232870
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/10/08/image_19012025_10_08_02_311730_0003.jpg', '/home/pi/Desktop/images/19012025/10/09/image_19012025_10_09_02_414965_0000.jpg', '/home/pi/Desktop/images/19012025/10/09/image_19012025_10_09_02_414965_0001.jpg', '/home/pi/Desktop/images/19012025/10/09/image_19012025_10_09_02_414965_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/10/08/image_19012025_10_08_02_311730_0003.jpg
/home/pi/Desktop/images/19012025/10/09/image_19012025_10_09_02_414965_0000.jpg
/home/pi/Desktop/images/19012025/10/09/image_19012025_10_09_02_414965_0001.jpg
/home/pi/Desktop/images/19012025/10/09/image_19012025_10_09_02_414965_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":["1330007168","1330007170","1330007166","1330007171"],"photo_ids_order":["1330007166","1330007168","1330007170","1330007171"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/b482862e49281229c0665c91a12c0e7e.jpg","text":"TemporaryFile(/tmp/multipartBody4158572096999017478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737277853683,"filename":"image_19012025_10_09_02_414965_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/521fda4728b38b8569be070d314f9d3a.jpg","text":"TemporaryFile(/tmp/multipartBody5679928772606631748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737277853683,"filename":"image_19012025_10_09_02_414965_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/64694eb8f25acc85d395875c2ad52d6a.jpg","text":"TemporaryFile(/tmp/multipartBody4565954742957787291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737277853683,"filename":"image_19012025_10_08_02_311730_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/b3fe6a43284dd7381d6de453ced2db9d.jpg","text":"TemporaryFile(/tmp/multipartBody8390872317128547393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737277853683,"filename":"image_19012025_10_09_02_414965_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330007170","file1":"1330007168","file0":"1330007166","file3":"1330007171"},"map_files_photo_id_array":[{"photo_id":"1330007170","filename":"file2"},{"photo_id":"1330007168","filename":"file1"},{"photo_id":"1330007166","filename":"file0"},{"photo_id":"1330007171","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330007168":["hashtag1","hashtag2"]},{"1330007170":["hashtag1","hashtag2"]},{"1330007166":["hashtag1","hashtag2"]},{"1330007171":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330007168, 1330007170, 1330007166, 1330007171)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.530603647232056 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 10:10:22.610145
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/10/09/image_19012025_10_09_02_414965_0003.jpg', '/home/pi/Desktop/images/19012025/10/10/image_19012025_10_10_02_646334_0000.jpg', '/home/pi/Desktop/images/19012025/10/10/image_19012025_10_10_02_646334_0001.jpg', '/home/pi/Desktop/images/19012025/10/10/image_19012025_10_10_02_646334_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/10/09/image_19012025_10_09_02_414965_0003.jpg
/home/pi/Desktop/images/19012025/10/10/image_19012025_10_10_02_646334_0000.jpg
/home/pi/Desktop/images/19012025/10/10/image_19012025_10_10_02_646334_0001.jpg
/home/pi/Desktop/images/19012025/10/10/image_19012025_10_10_02_646334_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330007182","1330007178","1330007187","1330007175"],"photo_ids_order":["1330007175","1330007178","1330007182","1330007187"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/241aeee5e105bd4d7ab19af1b14f63b2.jpg","text":"TemporaryFile(/tmp/multipartBody5902219460525506958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737277894252,"filename":"image_19012025_10_10_02_646334_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/ad190e3a86f5f7c6daee9be9e742a1e8.jpg","text":"TemporaryFile(/tmp/multipartBody8012125068087588126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737277894252,"filename":"image_19012025_10_10_02_646334_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/cd1283cea0b564e087203145d58695d0.jpg","text":"TemporaryFile(/tmp/multipartBody8767619809745457067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737277894252,"filename":"image_19012025_10_10_02_646334_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/4c1ad65b8b262fe3204d64731522ea15.jpg","text":"TemporaryFile(/tmp/multipartBody3489706978079548976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737277894252,"filename":"image_19012025_10_09_02_414965_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330007182","file1":"1330007178","file0":"1330007175","file3":"1330007187"},"map_files_photo_id_array":[{"photo_id":"1330007182","filename":"file2"},{"photo_id":"1330007178","filename":"file1"},{"photo_id":"1330007175","filename":"file0"},{"photo_id":"1330007187","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330007182":["hashtag1","hashtag2"]},{"1330007178":["hashtag1","hashtag2"]},{"1330007187":["hashtag1","hashtag2"]},{"1330007175":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330007182, 1330007178, 1330007187, 1330007175)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.278486490249634 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 10:11:03.404129
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
  port_id : 19698700
  datou_current_id : 2490825
in upload_from_sqlite, uploading in 19698700
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17012025/21/59/image_17012025_21_59_02_382116_0003.jpg', '/home/pi/Desktop/images/17012025/22/00/image_17012025_22_00_02_665218_0000.jpg', '/home/pi/Desktop/images/17012025/22/00/image_17012025_22_00_02_665218_0001.jpg', '/home/pi/Desktop/images/17012025/22/00/image_17012025_22_00_02_665218_0002.jpg', '/home/pi/Desktop/images/17012025/22/00/image_17012025_22_00_02_665218_0003.jpg', '/home/pi/Desktop/images/17012025/22/01/image_17012025_22_01_02_822354_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2490825&datou=0
/home/pi/Desktop/images/17012025/21/59/image_17012025_21_59_02_382116_0003.jpg
/home/pi/Desktop/images/17012025/22/00/image_17012025_22_00_02_665218_0000.jpg
/home/pi/Desktop/images/17012025/22/00/image_17012025_22_00_02_665218_0001.jpg
/home/pi/Desktop/images/17012025/22/00/image_17012025_22_00_02_665218_0002.jpg
/home/pi/Desktop/images/17012025/22/00/image_17012025_22_00_02_665218_0003.jpg
/home/pi/Desktop/images/17012025/22/01/image_17012025_22_01_02_822354_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":["1330007299","1330007296","1330007305","1330007308","1330007302","1330007310"],"photo_ids_order":["1330007296","1330007299","1330007302","1330007305","1330007308","1330007310"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/2041b64961b11703c2ab957bde9a4d1b.jpg","text":"TemporaryFile(/tmp/multipartBody3304542959831839436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737277941502,"filename":"image_17012025_22_00_02_665218_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/be16a3b5c018d29bb0662a9514e19cc9.jpg","text":"TemporaryFile(/tmp/multipartBody3684306844817867806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737277941502,"filename":"image_17012025_21_59_02_382116_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/309ee70f3a765f8095c70238e2dec0d4.jpg","text":"TemporaryFile(/tmp/multipartBody7100601031366180822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737277941502,"filename":"image_17012025_22_00_02_665218_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/c675e016a769f7b2e5c77ad4c837648d.jpg","text":"TemporaryFile(/tmp/multipartBody3049510839315616618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737277941502,"filename":"image_17012025_22_00_02_665218_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/1c2a746c1a5e161933bd20a33cfe5bf5.jpg","text":"TemporaryFile(/tmp/multipartBody7467645870221451148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737277941502,"filename":"image_17012025_22_00_02_665218_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/2f818dd69a831b3f619be06006aba049.jpg","text":"TemporaryFile(/tmp/multipartBody6376769927773676542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737277941502,"filename":"image_17012025_22_01_02_822354_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330007302","file1":"1330007299","file0":"1330007296","file4":"1330007308","file5":"1330007310","file3":"1330007305"},"map_files_photo_id_array":[{"photo_id":"1330007310","filename":"file5"},{"photo_id":"1330007302","filename":"file2"},{"photo_id":"1330007308","filename":"file4"},{"photo_id":"1330007299","filename":"file1"},{"photo_id":"1330007296","filename":"file0"},{"photo_id":"1330007305","filename":"file3"}],"portfolio_id":19698700,"hashtag_by_photo_ids":[{"1330007299":["hashtag1","hashtag2"]},{"1330007296":["hashtag1","hashtag2"]},{"1330007305":["hashtag1","hashtag2"]},{"1330007308":["hashtag1","hashtag2"]},{"1330007302":["hashtag1","hashtag2"]},{"1330007310":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698700 used, photo_id : ArrayBuffer(1330007299, 1330007296, 1330007305, 1330007308, 1330007302, 1330007310)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.24227499961853 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 10:12:21.863953
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/10/10/image_19012025_10_10_02_646334_0003.jpg', '/home/pi/Desktop/images/19012025/10/11/image_19012025_10_11_02_896293_0000.jpg', '/home/pi/Desktop/images/19012025/10/11/image_19012025_10_11_02_896293_0001.jpg', '/home/pi/Desktop/images/19012025/10/11/image_19012025_10_11_02_896293_0002.jpg', '/home/pi/Desktop/images/19012025/10/11/image_19012025_10_11_02_896293_0003.jpg', '/home/pi/Desktop/images/19012025/10/12/image_19012025_10_12_03_087697_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/10/10/image_19012025_10_10_02_646334_0003.jpg
/home/pi/Desktop/images/19012025/10/11/image_19012025_10_11_02_896293_0000.jpg
/home/pi/Desktop/images/19012025/10/11/image_19012025_10_11_02_896293_0001.jpg
/home/pi/Desktop/images/19012025/10/11/image_19012025_10_11_02_896293_0002.jpg
/home/pi/Desktop/images/19012025/10/11/image_19012025_10_11_02_896293_0003.jpg
/home/pi/Desktop/images/19012025/10/12/image_19012025_10_12_03_087697_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":["1330007327","1330007321","1330007323","1330007329","1330007325","1330007319"],"photo_ids_order":["1330007319","1330007321","1330007323","1330007325","1330007327","1330007329"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/8c6f572743194290ec5774ecb82f1f60.jpg","text":"TemporaryFile(/tmp/multipartBody7076040627817782887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737278018916,"filename":"image_19012025_10_11_02_896293_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/849ad06e769ce90e547c871c598380ba.jpg","text":"TemporaryFile(/tmp/multipartBody2148554649630382165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737278018916,"filename":"image_19012025_10_11_02_896293_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/ce237a969c39e341940fcfc88b94bc0b.jpg","text":"TemporaryFile(/tmp/multipartBody4990218010077556016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737278018916,"filename":"image_19012025_10_11_02_896293_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/e5648d92b7ba809867da775ea8a99e81.jpg","text":"TemporaryFile(/tmp/multipartBody2782651833941725189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737278018916,"filename":"image_19012025_10_12_03_087697_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/92ff306f2120079d92b901ac8dbe577d.jpg","text":"TemporaryFile(/tmp/multipartBody9198960087345435427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737278018916,"filename":"image_19012025_10_11_02_896293_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/a12b51775246615bdf3f5ddde8a938d8.jpg","text":"TemporaryFile(/tmp/multipartBody6194352105848353758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737278018916,"filename":"image_19012025_10_10_02_646334_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330007323","file1":"1330007321","file0":"1330007319","file4":"1330007327","file5":"1330007329","file3":"1330007325"},"map_files_photo_id_array":[{"photo_id":"1330007329","filename":"file5"},{"photo_id":"1330007323","filename":"file2"},{"photo_id":"1330007327","filename":"file4"},{"photo_id":"1330007321","filename":"file1"},{"photo_id":"1330007319","filename":"file0"},{"photo_id":"1330007325","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330007327":["hashtag1","hashtag2"]},{"1330007321":["hashtag1","hashtag2"]},{"1330007323":["hashtag1","hashtag2"]},{"1330007329":["hashtag1","hashtag2"]},{"1330007325":["hashtag1","hashtag2"]},{"1330007319":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330007327, 1330007321, 1330007323, 1330007329, 1330007325, 1330007319)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.2689471244812 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 10:13:22.060163
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/10/12/image_19012025_10_12_03_087697_0001.jpg', '/home/pi/Desktop/images/19012025/10/12/image_19012025_10_12_03_087697_0002.jpg', '/home/pi/Desktop/images/19012025/10/12/image_19012025_10_12_03_087697_0003.jpg', '/home/pi/Desktop/images/19012025/10/13/image_19012025_10_13_02_226905_0000.jpg', '/home/pi/Desktop/images/19012025/10/13/image_19012025_10_13_02_226905_0001.jpg', '/home/pi/Desktop/images/19012025/10/13/image_19012025_10_13_02_226905_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/10/12/image_19012025_10_12_03_087697_0001.jpg
/home/pi/Desktop/images/19012025/10/12/image_19012025_10_12_03_087697_0002.jpg
/home/pi/Desktop/images/19012025/10/12/image_19012025_10_12_03_087697_0003.jpg
/home/pi/Desktop/images/19012025/10/13/image_19012025_10_13_02_226905_0000.jpg
/home/pi/Desktop/images/19012025/10/13/image_19012025_10_13_02_226905_0001.jpg
/home/pi/Desktop/images/19012025/10/13/image_19012025_10_13_02_226905_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330007353","1330007335","1330007359","1330007361","1330007337","1330007357"],"photo_ids_order":["1330007335","1330007337","1330007353","1330007357","1330007359","1330007361"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/dd68f88d0912d673ac7ff3267dee54c8.jpg","text":"TemporaryFile(/tmp/multipartBody3028653661945709520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737278078967,"filename":"image_19012025_10_12_03_087697_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/a51613d8f95a9c12e086b28a7664850c.jpg","text":"TemporaryFile(/tmp/multipartBody7854393023770165239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737278078967,"filename":"image_19012025_10_12_03_087697_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/2955c36a08c5e775147ab7f3cbfc78ef.jpg","text":"TemporaryFile(/tmp/multipartBody636215869583003610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737278078967,"filename":"image_19012025_10_13_02_226905_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/01de6c5d94390f724eac2c196a070663.jpg","text":"TemporaryFile(/tmp/multipartBody231237142954074874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737278078967,"filename":"image_19012025_10_13_02_226905_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/8810662554c92bb4f7c21ee84d4203a6.jpg","text":"TemporaryFile(/tmp/multipartBody1554800873538068796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737278078967,"filename":"image_19012025_10_12_03_087697_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/882fbb25a5f5029e8d3e28bdcaf50645.jpg","text":"TemporaryFile(/tmp/multipartBody6516185434083867314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737278078967,"filename":"image_19012025_10_13_02_226905_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330007353","file1":"1330007337","file0":"1330007335","file4":"1330007359","file5":"1330007361","file3":"1330007357"},"map_files_photo_id_array":[{"photo_id":"1330007361","filename":"file5"},{"photo_id":"1330007353","filename":"file2"},{"photo_id":"1330007359","filename":"file4"},{"photo_id":"1330007337","filename":"file1"},{"photo_id":"1330007335","filename":"file0"},{"photo_id":"1330007357","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330007353":["hashtag1","hashtag2"]},{"1330007335":["hashtag1","hashtag2"]},{"1330007359":["hashtag1","hashtag2"]},{"1330007361":["hashtag1","hashtag2"]},{"1330007337":["hashtag1","hashtag2"]},{"1330007357":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330007353, 1330007335, 1330007359, 1330007361, 1330007337, 1330007357)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.60654640197754 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 10:14:22.283821
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/10/13/image_19012025_10_13_02_226905_0003.jpg', '/home/pi/Desktop/images/19012025/10/14/image_19012025_10_14_02_374118_0000.jpg', '/home/pi/Desktop/images/19012025/10/14/image_19012025_10_14_02_374118_0001.jpg', '/home/pi/Desktop/images/19012025/10/14/image_19012025_10_14_02_374118_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/10/13/image_19012025_10_13_02_226905_0003.jpg
/home/pi/Desktop/images/19012025/10/14/image_19012025_10_14_02_374118_0000.jpg
/home/pi/Desktop/images/19012025/10/14/image_19012025_10_14_02_374118_0001.jpg
/home/pi/Desktop/images/19012025/10/14/image_19012025_10_14_02_374118_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330007405","1330007398","1330007407","1330007401"],"photo_ids_order":["1330007398","1330007401","1330007405","1330007407"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/5b5814dec39800b1c3ef0290193117df.jpg","text":"TemporaryFile(/tmp/multipartBody7893856995630358816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737278134068,"filename":"image_19012025_10_14_02_374118_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/7cbe043bc4d9b4a89c571532c9445833.jpg","text":"TemporaryFile(/tmp/multipartBody3143943352419157649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737278134068,"filename":"image_19012025_10_13_02_226905_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/4feef051d63f9dd34be3f7cd1ecdd2a8.jpg","text":"TemporaryFile(/tmp/multipartBody67319094849473393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737278134068,"filename":"image_19012025_10_14_02_374118_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/8043c2554421649f9f7816a1a23f14e3.jpg","text":"TemporaryFile(/tmp/multipartBody7510029961092093275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737278134068,"filename":"image_19012025_10_14_02_374118_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330007405","file1":"1330007401","file0":"1330007398","file3":"1330007407"},"map_files_photo_id_array":[{"photo_id":"1330007405","filename":"file2"},{"photo_id":"1330007401","filename":"file1"},{"photo_id":"1330007398","filename":"file0"},{"photo_id":"1330007407","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330007405":["hashtag1","hashtag2"]},{"1330007398":["hashtag1","hashtag2"]},{"1330007407":["hashtag1","hashtag2"]},{"1330007401":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330007405, 1330007398, 1330007407, 1330007401)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.525904417037964 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 10:15:22.377822
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/10/14/image_19012025_10_14_02_374118_0003.jpg', '/home/pi/Desktop/images/19012025/10/15/image_19012025_10_15_02_587884_0000.jpg', '/home/pi/Desktop/images/19012025/10/15/image_19012025_10_15_02_587884_0001.jpg', '/home/pi/Desktop/images/19012025/10/15/image_19012025_10_15_02_587884_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/10/14/image_19012025_10_14_02_374118_0003.jpg
/home/pi/Desktop/images/19012025/10/15/image_19012025_10_15_02_587884_0000.jpg
/home/pi/Desktop/images/19012025/10/15/image_19012025_10_15_02_587884_0001.jpg
/home/pi/Desktop/images/19012025/10/15/image_19012025_10_15_02_587884_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.939066410064697 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-19 10:15:42.393216
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/10/14/image_19012025_10_14_02_374118_0003.jpg', '/home/pi/Desktop/images/19012025/10/15/image_19012025_10_15_02_587884_0000.jpg', '/home/pi/Desktop/images/19012025/10/15/image_19012025_10_15_02_587884_0001.jpg', '/home/pi/Desktop/images/19012025/10/15/image_19012025_10_15_02_587884_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/10/14/image_19012025_10_14_02_374118_0003.jpg
/home/pi/Desktop/images/19012025/10/15/image_19012025_10_15_02_587884_0000.jpg
/home/pi/Desktop/images/19012025/10/15/image_19012025_10_15_02_587884_0001.jpg
/home/pi/Desktop/images/19012025/10/15/image_19012025_10_15_02_587884_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330007423","1330007501","1330007425","1330007421"],"photo_ids_order":["1330007421","1330007423","1330007425","1330007501"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/748f37eea46b095aeda2cf7ae1f77fdf.jpg","text":"TemporaryFile(/tmp/multipartBody2819980736566407593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737278213724,"filename":"image_19012025_10_15_02_587884_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/f98eb4dfe19d7088999bb812faba4926.jpg","text":"TemporaryFile(/tmp/multipartBody5067184652031541071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737278213724,"filename":"image_19012025_10_15_02_587884_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/d07a59502544935f8b6e9fc20d5e8d7b.jpg","text":"TemporaryFile(/tmp/multipartBody8035470475224420463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737278213724,"filename":"image_19012025_10_15_02_587884_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/7baeef34a825c46c2f5650cd28f76d7b.jpg","text":"TemporaryFile(/tmp/multipartBody5298730370947748185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737278213724,"filename":"image_19012025_10_14_02_374118_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330007425","file1":"1330007423","file0":"1330007421","file3":"1330007501"},"map_files_photo_id_array":[{"photo_id":"1330007425","filename":"file2"},{"photo_id":"1330007423","filename":"file1"},{"photo_id":"1330007421","filename":"file0"},{"photo_id":"1330007501","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330007423":["hashtag1","hashtag2"]},{"1330007501":["hashtag1","hashtag2"]},{"1330007425":["hashtag1","hashtag2"]},{"1330007421":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330007423, 1330007501, 1330007425, 1330007421)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.72564911842346 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-19 10:16:32.582458
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/10/15/image_19012025_10_15_02_587884_0003.jpg', '/home/pi/Desktop/images/19012025/10/16/image_19012025_10_16_02_778569_0000.jpg', '/home/pi/Desktop/images/19012025/10/16/image_19012025_10_16_02_778569_0001.jpg', '/home/pi/Desktop/images/19012025/10/16/image_19012025_10_16_02_778569_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/10/15/image_19012025_10_15_02_587884_0003.jpg
/home/pi/Desktop/images/19012025/10/16/image_19012025_10_16_02_778569_0000.jpg
/home/pi/Desktop/images/19012025/10/16/image_19012025_10_16_02_778569_0001.jpg
/home/pi/Desktop/images/19012025/10/16/image_19012025_10_16_02_778569_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330007860","1330007863","1330007811","1330007814"],"photo_ids_order":["1330007811","1330007814","1330007860","1330007863"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/3f0a7b6a442f759b8c747b68bbb6feec.jpg","text":"TemporaryFile(/tmp/multipartBody2992589050756101996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737278264174,"filename":"image_19012025_10_16_02_778569_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/b94a960a20f193c43d36d4c8480f55e1.jpg","text":"TemporaryFile(/tmp/multipartBody6970991318556301399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737278264174,"filename":"image_19012025_10_16_02_778569_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/d42def3b1b2124870e49cb1f669644be.jpg","text":"TemporaryFile(/tmp/multipartBody7082589572714540396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737278264174,"filename":"image_19012025_10_15_02_587884_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/a8735d643f21af9b6b1d19de7c9c7d32.jpg","text":"TemporaryFile(/tmp/multipartBody2689900092279456844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737278264174,"filename":"image_19012025_10_16_02_778569_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330007860","file1":"1330007814","file0":"1330007811","file3":"1330007863"},"map_files_photo_id_array":[{"photo_id":"1330007860","filename":"file2"},{"photo_id":"1330007814","filename":"file1"},{"photo_id":"1330007811","filename":"file0"},{"photo_id":"1330007863","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330007860":["hashtag1","hashtag2"]},{"1330007863":["hashtag1","hashtag2"]},{"1330007811":["hashtag1","hashtag2"]},{"1330007814":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330007860, 1330007863, 1330007811, 1330007814)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.625778675079346 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 10:17:22.835908
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/10/16/image_19012025_10_16_02_778569_0003.jpg', '/home/pi/Desktop/images/19012025/10/17/image_19012025_10_17_03_019315_0000.jpg', '/home/pi/Desktop/images/19012025/10/17/image_19012025_10_17_03_019315_0001.jpg', '/home/pi/Desktop/images/19012025/10/17/image_19012025_10_17_03_019315_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/10/16/image_19012025_10_16_02_778569_0003.jpg
/home/pi/Desktop/images/19012025/10/17/image_19012025_10_17_03_019315_0000.jpg
/home/pi/Desktop/images/19012025/10/17/image_19012025_10_17_03_019315_0001.jpg
/home/pi/Desktop/images/19012025/10/17/image_19012025_10_17_03_019315_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330007977","1330007982","1330007979","1330007984"],"photo_ids_order":["1330007977","1330007979","1330007982","1330007984"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/7cdb3e8b5ec38700cf10ecef703f69c4.jpg","text":"TemporaryFile(/tmp/multipartBody1198397996012059721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737278314457,"filename":"image_19012025_10_16_02_778569_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/5c014bc27e8f08aad36f4ad709d3a703.jpg","text":"TemporaryFile(/tmp/multipartBody3757013554166313792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737278314457,"filename":"image_19012025_10_17_03_019315_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/101088a0f3f1b1882306ef4e044825d9.jpg","text":"TemporaryFile(/tmp/multipartBody8525883825437734122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737278314457,"filename":"image_19012025_10_17_03_019315_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/c282be16d047a3052725006058c42957.jpg","text":"TemporaryFile(/tmp/multipartBody5856087612771613053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737278314457,"filename":"image_19012025_10_17_03_019315_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330007982","file1":"1330007979","file0":"1330007977","file3":"1330007984"},"map_files_photo_id_array":[{"photo_id":"1330007982","filename":"file2"},{"photo_id":"1330007979","filename":"file1"},{"photo_id":"1330007977","filename":"file0"},{"photo_id":"1330007984","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330007977":["hashtag1","hashtag2"]},{"1330007982":["hashtag1","hashtag2"]},{"1330007979":["hashtag1","hashtag2"]},{"1330007984":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330007977, 1330007982, 1330007979, 1330007984)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.80638647079468 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 10:18:21.955138
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/10/17/image_19012025_10_17_03_019315_0003.jpg', '/home/pi/Desktop/images/19012025/10/18/image_19012025_10_18_03_073793_0000.jpg', '/home/pi/Desktop/images/19012025/10/18/image_19012025_10_18_03_073793_0001.jpg', '/home/pi/Desktop/images/19012025/10/18/image_19012025_10_18_03_073793_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/10/17/image_19012025_10_17_03_019315_0003.jpg
/home/pi/Desktop/images/19012025/10/18/image_19012025_10_18_03_073793_0000.jpg
/home/pi/Desktop/images/19012025/10/18/image_19012025_10_18_03_073793_0001.jpg
/home/pi/Desktop/images/19012025/10/18/image_19012025_10_18_03_073793_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330007998","1330007991","1330007994","1330007996"],"photo_ids_order":["1330007991","1330007994","1330007996","1330007998"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/d11af2c6a2053eae60c30bfe6547a563.jpg","text":"TemporaryFile(/tmp/multipartBody8200617918758151296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737278373688,"filename":"image_19012025_10_18_03_073793_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/d8394f7641a8f00702b894f35938b8bb.jpg","text":"TemporaryFile(/tmp/multipartBody6772280910039300530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737278373688,"filename":"image_19012025_10_17_03_019315_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/452f9a96a1e7a99e0b7d67327ebcd6c4.jpg","text":"TemporaryFile(/tmp/multipartBody6449098982598967787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737278373688,"filename":"image_19012025_10_18_03_073793_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/3f2b3722235f04fccc3f57abff603cc2.jpg","text":"TemporaryFile(/tmp/multipartBody4783818462701547547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737278373688,"filename":"image_19012025_10_18_03_073793_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330007996","file1":"1330007994","file0":"1330007991","file3":"1330007998"},"map_files_photo_id_array":[{"photo_id":"1330007996","filename":"file2"},{"photo_id":"1330007994","filename":"file1"},{"photo_id":"1330007991","filename":"file0"},{"photo_id":"1330007998","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330007998":["hashtag1","hashtag2"]},{"1330007991":["hashtag1","hashtag2"]},{"1330007994":["hashtag1","hashtag2"]},{"1330007996":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330007998, 1330007991, 1330007994, 1330007996)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.81319808959961 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 10:19:22.083269
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/10/18/image_19012025_10_18_03_073793_0003.jpg', '/home/pi/Desktop/images/19012025/10/19/image_19012025_10_19_02_244010_0000.jpg', '/home/pi/Desktop/images/19012025/10/19/image_19012025_10_19_02_244010_0001.jpg', '/home/pi/Desktop/images/19012025/10/19/image_19012025_10_19_02_244010_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/10/18/image_19012025_10_18_03_073793_0003.jpg
/home/pi/Desktop/images/19012025/10/19/image_19012025_10_19_02_244010_0000.jpg
/home/pi/Desktop/images/19012025/10/19/image_19012025_10_19_02_244010_0001.jpg
/home/pi/Desktop/images/19012025/10/19/image_19012025_10_19_02_244010_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330008025","1330008074","1330008041","1330008029"],"photo_ids_order":["1330008025","1330008029","1330008041","1330008074"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/f1665b79d088a9dc4624dfcd6d3f90bb.jpg","text":"TemporaryFile(/tmp/multipartBody4916734523226871667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737278433622,"filename":"image_19012025_10_18_03_073793_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/948816b58ec7da1bf6ece28d747e43f1.jpg","text":"TemporaryFile(/tmp/multipartBody8647263387688428620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737278433622,"filename":"image_19012025_10_19_02_244010_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/2b1111a9a20ee8e60b318ab030700267.jpg","text":"TemporaryFile(/tmp/multipartBody388178126992703703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737278433622,"filename":"image_19012025_10_19_02_244010_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/903793c08f600f8cfc9e0039bd61e993.jpg","text":"TemporaryFile(/tmp/multipartBody4220894685567631123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737278433622,"filename":"image_19012025_10_19_02_244010_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330008041","file1":"1330008029","file0":"1330008025","file3":"1330008074"},"map_files_photo_id_array":[{"photo_id":"1330008041","filename":"file2"},{"photo_id":"1330008029","filename":"file1"},{"photo_id":"1330008025","filename":"file0"},{"photo_id":"1330008074","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330008025":["hashtag1","hashtag2"]},{"1330008074":["hashtag1","hashtag2"]},{"1330008041":["hashtag1","hashtag2"]},{"1330008029":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330008025, 1330008074, 1330008041, 1330008029)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.00337100028992 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 10:20:02.604000
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
  port_id : 19698700
  datou_current_id : 2490825
in upload_from_sqlite, uploading in 19698700
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17012025/22/01/image_17012025_22_01_02_822354_0001.jpg', '/home/pi/Desktop/images/17012025/22/01/image_17012025_22_01_02_822354_0002.jpg', '/home/pi/Desktop/images/17012025/22/01/image_17012025_22_01_02_822354_0003.jpg', '/home/pi/Desktop/images/17012025/22/02/image_17012025_22_02_02_970222_0000.jpg', '/home/pi/Desktop/images/17012025/22/02/image_17012025_22_02_02_970222_0001.jpg', '/home/pi/Desktop/images/17012025/22/02/image_17012025_22_02_02_970222_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2490825&datou=0
/home/pi/Desktop/images/17012025/22/01/image_17012025_22_01_02_822354_0001.jpg
/home/pi/Desktop/images/17012025/22/01/image_17012025_22_01_02_822354_0002.jpg
/home/pi/Desktop/images/17012025/22/01/image_17012025_22_01_02_822354_0003.jpg
/home/pi/Desktop/images/17012025/22/02/image_17012025_22_02_02_970222_0000.jpg
/home/pi/Desktop/images/17012025/22/02/image_17012025_22_02_02_970222_0001.jpg
/home/pi/Desktop/images/17012025/22/02/image_17012025_22_02_02_970222_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330008101","1330008103","1330008112","1330008106","1330008109","1330008098"],"photo_ids_order":["1330008098","1330008101","1330008103","1330008106","1330008109","1330008112"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/a9c7b03f162fc3df6ba9dc534ff21e34.jpg","text":"TemporaryFile(/tmp/multipartBody6828626970525873283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737278480428,"filename":"image_17012025_22_01_02_822354_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/64e7d4c2ff12783bd6fa320c4f30551d.jpg","text":"TemporaryFile(/tmp/multipartBody6267703518087247175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737278480428,"filename":"image_17012025_22_01_02_822354_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/817efa7fff2517e3be5c9c972799464d.jpg","text":"TemporaryFile(/tmp/multipartBody7919994245927092178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737278480428,"filename":"image_17012025_22_02_02_970222_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/9928457d874fb94c479adb56ffc39493.jpg","text":"TemporaryFile(/tmp/multipartBody7053076520032781770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737278480428,"filename":"image_17012025_22_02_02_970222_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/5bbc43ff2a7a604c5987aee2e59d3f70.jpg","text":"TemporaryFile(/tmp/multipartBody3014621250079253097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737278480428,"filename":"image_17012025_22_02_02_970222_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/d95f5153a9ad7f25919f5189dd422474.jpg","text":"TemporaryFile(/tmp/multipartBody8538868625033360156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737278480428,"filename":"image_17012025_22_01_02_822354_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330008103","file1":"1330008101","file0":"1330008098","file4":"1330008109","file5":"1330008112","file3":"1330008106"},"map_files_photo_id_array":[{"photo_id":"1330008112","filename":"file5"},{"photo_id":"1330008103","filename":"file2"},{"photo_id":"1330008109","filename":"file4"},{"photo_id":"1330008101","filename":"file1"},{"photo_id":"1330008098","filename":"file0"},{"photo_id":"1330008106","filename":"file3"}],"portfolio_id":19698700,"hashtag_by_photo_ids":[{"1330008101":["hashtag1","hashtag2"]},{"1330008103":["hashtag1","hashtag2"]},{"1330008112":["hashtag1","hashtag2"]},{"1330008106":["hashtag1","hashtag2"]},{"1330008109":["hashtag1","hashtag2"]},{"1330008098":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698700 used, photo_id : ArrayBuffer(1330008101, 1330008103, 1330008112, 1330008106, 1330008109, 1330008098)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.35022759437561 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-19 10:21:22.526321
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/10/19/image_19012025_10_19_02_244010_0003.jpg', '/home/pi/Desktop/images/19012025/10/20/image_19012025_10_20_02_477366_0000.jpg', '/home/pi/Desktop/images/19012025/10/20/image_19012025_10_20_02_477366_0001.jpg', '/home/pi/Desktop/images/19012025/10/20/image_19012025_10_20_02_477366_0002.jpg', '/home/pi/Desktop/images/19012025/10/20/image_19012025_10_20_02_477366_0003.jpg', '/home/pi/Desktop/images/19012025/10/21/image_19012025_10_21_02_547395_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/10/19/image_19012025_10_19_02_244010_0003.jpg
/home/pi/Desktop/images/19012025/10/20/image_19012025_10_20_02_477366_0000.jpg
/home/pi/Desktop/images/19012025/10/20/image_19012025_10_20_02_477366_0001.jpg
/home/pi/Desktop/images/19012025/10/20/image_19012025_10_20_02_477366_0002.jpg
/home/pi/Desktop/images/19012025/10/20/image_19012025_10_20_02_477366_0003.jpg
/home/pi/Desktop/images/19012025/10/21/image_19012025_10_21_02_547395_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":["1330008413","1330008407","1330008351","1330008429","1330008410","1330008404"],"photo_ids_order":["1330008351","1330008404","1330008407","1330008410","1330008413","1330008429"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/358fd14e6cc1fb096a7fde7c61341cd5.jpg","text":"TemporaryFile(/tmp/multipartBody7191210182488569017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737278559662,"filename":"image_19012025_10_20_02_477366_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/3700197bd13bab889b9c81408afa1c5b.jpg","text":"TemporaryFile(/tmp/multipartBody6370595584975819886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737278559662,"filename":"image_19012025_10_20_02_477366_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/8c8a32c12e1d3378af59f2fc768c2f79.jpg","text":"TemporaryFile(/tmp/multipartBody1100056119905648965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737278559662,"filename":"image_19012025_10_19_02_244010_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/aed1687793956bf9c6ac2cb76f82b846.jpg","text":"TemporaryFile(/tmp/multipartBody3625842413700639093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737278559662,"filename":"image_19012025_10_21_02_547395_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/34d7baddea90889ad8e637efd9dc2457.jpg","text":"TemporaryFile(/tmp/multipartBody8294733551733847672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737278559662,"filename":"image_19012025_10_20_02_477366_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/eb944a9047e2e555375b11055e99f9b7.jpg","text":"TemporaryFile(/tmp/multipartBody5893428931950003323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737278559662,"filename":"image_19012025_10_20_02_477366_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330008407","file1":"1330008404","file0":"1330008351","file4":"1330008413","file5":"1330008429","file3":"1330008410"},"map_files_photo_id_array":[{"photo_id":"1330008429","filename":"file5"},{"photo_id":"1330008407","filename":"file2"},{"photo_id":"1330008413","filename":"file4"},{"photo_id":"1330008404","filename":"file1"},{"photo_id":"1330008351","filename":"file0"},{"photo_id":"1330008410","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330008413":["hashtag1","hashtag2"]},{"1330008407":["hashtag1","hashtag2"]},{"1330008351":["hashtag1","hashtag2"]},{"1330008429":["hashtag1","hashtag2"]},{"1330008410":["hashtag1","hashtag2"]},{"1330008404":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330008413, 1330008407, 1330008351, 1330008429, 1330008410, 1330008404)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.79909324645996 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 10:22:22.614167
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/10/21/image_19012025_10_21_02_547395_0001.jpg', '/home/pi/Desktop/images/19012025/10/21/image_19012025_10_21_02_547395_0002.jpg', '/home/pi/Desktop/images/19012025/10/21/image_19012025_10_21_02_547395_0003.jpg', '/home/pi/Desktop/images/19012025/10/22/image_19012025_10_22_02_823329_0000.jpg', '/home/pi/Desktop/images/19012025/10/22/image_19012025_10_22_02_823329_0001.jpg', '/home/pi/Desktop/images/19012025/10/22/image_19012025_10_22_02_823329_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/10/21/image_19012025_10_21_02_547395_0001.jpg
/home/pi/Desktop/images/19012025/10/21/image_19012025_10_21_02_547395_0002.jpg
/home/pi/Desktop/images/19012025/10/21/image_19012025_10_21_02_547395_0003.jpg
/home/pi/Desktop/images/19012025/10/22/image_19012025_10_22_02_823329_0000.jpg
/home/pi/Desktop/images/19012025/10/22/image_19012025_10_22_02_823329_0001.jpg
/home/pi/Desktop/images/19012025/10/22/image_19012025_10_22_02_823329_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330008484","1330008482","1330008485","1330008479","1330008473","1330008461"],"photo_ids_order":["1330008461","1330008473","1330008479","1330008482","1330008484","1330008485"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/47fe93771fe61d21bdc2ae3fd4c02799.jpg","text":"TemporaryFile(/tmp/multipartBody5487771827846920239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737278619975,"filename":"image_19012025_10_22_02_823329_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/1181b7ef1ed3572b4ae2f74d2c3eb27e.jpg","text":"TemporaryFile(/tmp/multipartBody8170758577538962172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737278619975,"filename":"image_19012025_10_22_02_823329_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/2675f45c624b45f911698a0473ad7a9f.jpg","text":"TemporaryFile(/tmp/multipartBody5653967873902304437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737278619975,"filename":"image_19012025_10_22_02_823329_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/e8a727b27d2c34805b8ba71df8f3ced7.jpg","text":"TemporaryFile(/tmp/multipartBody768116826216666666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737278619975,"filename":"image_19012025_10_21_02_547395_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/7f01b1a413c6bb0e9ede50217b526cdb.jpg","text":"TemporaryFile(/tmp/multipartBody5082065767324707273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737278619975,"filename":"image_19012025_10_21_02_547395_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/57574c5bbd24d0367f53634f0c2412f5.jpg","text":"TemporaryFile(/tmp/multipartBody2151552160630192333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737278619975,"filename":"image_19012025_10_21_02_547395_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330008479","file1":"1330008473","file0":"1330008461","file4":"1330008484","file5":"1330008485","file3":"1330008482"},"map_files_photo_id_array":[{"photo_id":"1330008485","filename":"file5"},{"photo_id":"1330008479","filename":"file2"},{"photo_id":"1330008484","filename":"file4"},{"photo_id":"1330008473","filename":"file1"},{"photo_id":"1330008461","filename":"file0"},{"photo_id":"1330008482","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330008484":["hashtag1","hashtag2"]},{"1330008482":["hashtag1","hashtag2"]},{"1330008485":["hashtag1","hashtag2"]},{"1330008479":["hashtag1","hashtag2"]},{"1330008473":["hashtag1","hashtag2"]},{"1330008461":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330008484, 1330008482, 1330008485, 1330008479, 1330008473, 1330008461)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.13822293281555 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 10:23:21.840063
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/10/22/image_19012025_10_22_02_823329_0003.jpg', '/home/pi/Desktop/images/19012025/10/23/image_19012025_10_23_03_038224_0000.jpg', '/home/pi/Desktop/images/19012025/10/23/image_19012025_10_23_03_038224_0001.jpg', '/home/pi/Desktop/images/19012025/10/23/image_19012025_10_23_03_038224_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/10/22/image_19012025_10_22_02_823329_0003.jpg
/home/pi/Desktop/images/19012025/10/23/image_19012025_10_23_03_038224_0000.jpg
/home/pi/Desktop/images/19012025/10/23/image_19012025_10_23_03_038224_0001.jpg
/home/pi/Desktop/images/19012025/10/23/image_19012025_10_23_03_038224_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330008532","1330008529","1330008534","1330008536"],"photo_ids_order":["1330008529","1330008532","1330008534","1330008536"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/ffd078f9c84a04d86bddeea5b7a9ebc2.jpg","text":"TemporaryFile(/tmp/multipartBody5427405001976011118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737278673332,"filename":"image_19012025_10_23_03_038224_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/3273017a2c96532e78e95065f5e07b0c.jpg","text":"TemporaryFile(/tmp/multipartBody4708336606464374184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737278673332,"filename":"image_19012025_10_22_02_823329_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/ff01c57af066aafbd87a8283c4fc1504.jpg","text":"TemporaryFile(/tmp/multipartBody1740159409829659768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737278673332,"filename":"image_19012025_10_23_03_038224_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/765ac629af9937453b1b5b8fd3631e7c.jpg","text":"TemporaryFile(/tmp/multipartBody4921779625115385672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737278673332,"filename":"image_19012025_10_23_03_038224_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330008534","file1":"1330008532","file0":"1330008529","file3":"1330008536"},"map_files_photo_id_array":[{"photo_id":"1330008534","filename":"file2"},{"photo_id":"1330008532","filename":"file1"},{"photo_id":"1330008529","filename":"file0"},{"photo_id":"1330008536","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330008532":["hashtag1","hashtag2"]},{"1330008529":["hashtag1","hashtag2"]},{"1330008534":["hashtag1","hashtag2"]},{"1330008536":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330008532, 1330008529, 1330008534, 1330008536)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 4 photos
time to upload: 39.630281925201416 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 10:24:22.061860
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/10/23/image_19012025_10_23_03_038224_0003.jpg', '/home/pi/Desktop/images/19012025/10/24/image_19012025_10_24_02_172540_0000.jpg', '/home/pi/Desktop/images/19012025/10/24/image_19012025_10_24_02_172540_0001.jpg', '/home/pi/Desktop/images/19012025/10/24/image_19012025_10_24_02_172540_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/10/23/image_19012025_10_23_03_038224_0003.jpg
/home/pi/Desktop/images/19012025/10/24/image_19012025_10_24_02_172540_0000.jpg
/home/pi/Desktop/images/19012025/10/24/image_19012025_10_24_02_172540_0001.jpg
/home/pi/Desktop/images/19012025/10/24/image_19012025_10_24_02_172540_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330008552","1330008549","1330008543","1330008546"],"photo_ids_order":["1330008543","1330008546","1330008549","1330008552"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/dea8163183c7ca15ef588d054f053b1a.jpg","text":"TemporaryFile(/tmp/multipartBody6281247966424591647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737278733853,"filename":"image_19012025_10_24_02_172540_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/a08c89f7f51b416892240686dfe5dfda.jpg","text":"TemporaryFile(/tmp/multipartBody4821032189376064635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737278733853,"filename":"image_19012025_10_24_02_172540_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/0a38f4b387bdfcfb49807cd692d86097.jpg","text":"TemporaryFile(/tmp/multipartBody3295967650658153339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737278733853,"filename":"image_19012025_10_23_03_038224_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/c1781bc5bde31aad49ea4b8a0db037e6.jpg","text":"TemporaryFile(/tmp/multipartBody3492649829437377494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737278733853,"filename":"image_19012025_10_24_02_172540_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330008549","file1":"1330008546","file0":"1330008543","file3":"1330008552"},"map_files_photo_id_array":[{"photo_id":"1330008549","filename":"file2"},{"photo_id":"1330008546","filename":"file1"},{"photo_id":"1330008543","filename":"file0"},{"photo_id":"1330008552","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330008552":["hashtag1","hashtag2"]},{"1330008549":["hashtag1","hashtag2"]},{"1330008543":["hashtag1","hashtag2"]},{"1330008546":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330008552, 1330008549, 1330008543, 1330008546)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.844407081604004 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 10:25:22.142727
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/10/24/image_19012025_10_24_02_172540_0003.jpg', '/home/pi/Desktop/images/19012025/10/25/image_19012025_10_25_02_368752_0000.jpg', '/home/pi/Desktop/images/19012025/10/25/image_19012025_10_25_02_368752_0001.jpg', '/home/pi/Desktop/images/19012025/10/25/image_19012025_10_25_02_368752_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/10/24/image_19012025_10_24_02_172540_0003.jpg
/home/pi/Desktop/images/19012025/10/25/image_19012025_10_25_02_368752_0000.jpg
/home/pi/Desktop/images/19012025/10/25/image_19012025_10_25_02_368752_0001.jpg
/home/pi/Desktop/images/19012025/10/25/image_19012025_10_25_02_368752_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330008574","1330008576","1330008558","1330008566"],"photo_ids_order":["1330008558","1330008566","1330008574","1330008576"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/e0a4548713258883bbb1ae6df40e89c9.jpg","text":"TemporaryFile(/tmp/multipartBody8940114918596114841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737278793506,"filename":"image_19012025_10_25_02_368752_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/d4c1af840fafcf7239e001ecaa54872c.jpg","text":"TemporaryFile(/tmp/multipartBody3794018802518831417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737278793506,"filename":"image_19012025_10_25_02_368752_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/4face4883e78d322f49fd2fb6b8bae5c.jpg","text":"TemporaryFile(/tmp/multipartBody393330862377065171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737278793506,"filename":"image_19012025_10_24_02_172540_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/91baf9e1d1d057ed23aeff5a66a5dadc.jpg","text":"TemporaryFile(/tmp/multipartBody7709064792103340886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737278793506,"filename":"image_19012025_10_25_02_368752_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330008574","file1":"1330008566","file0":"1330008558","file3":"1330008576"},"map_files_photo_id_array":[{"photo_id":"1330008574","filename":"file2"},{"photo_id":"1330008566","filename":"file1"},{"photo_id":"1330008558","filename":"file0"},{"photo_id":"1330008576","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330008574":["hashtag1","hashtag2"]},{"1330008576":["hashtag1","hashtag2"]},{"1330008558":["hashtag1","hashtag2"]},{"1330008566":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330008574, 1330008576, 1330008558, 1330008566)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.762242794036865 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 10:26:22.372569
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/10/25/image_19012025_10_25_02_368752_0003.jpg', '/home/pi/Desktop/images/19012025/10/26/image_19012025_10_26_02_481123_0000.jpg', '/home/pi/Desktop/images/19012025/10/26/image_19012025_10_26_02_481123_0001.jpg', '/home/pi/Desktop/images/19012025/10/26/image_19012025_10_26_02_481123_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/10/25/image_19012025_10_25_02_368752_0003.jpg
/home/pi/Desktop/images/19012025/10/26/image_19012025_10_26_02_481123_0000.jpg
/home/pi/Desktop/images/19012025/10/26/image_19012025_10_26_02_481123_0001.jpg
/home/pi/Desktop/images/19012025/10/26/image_19012025_10_26_02_481123_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330008637","1330008631","1330008633","1330008635"],"photo_ids_order":["1330008631","1330008633","1330008635","1330008637"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/1eeace96e71c2b866c881b7a4f78f31f.jpg","text":"TemporaryFile(/tmp/multipartBody5479427657770801111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737278853820,"filename":"image_19012025_10_26_02_481123_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/cbc920215ded9d1d391007c4844b274e.jpg","text":"TemporaryFile(/tmp/multipartBody6580956276585683919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737278853820,"filename":"image_19012025_10_25_02_368752_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/b9410efc63ee6e83e2c6acbdac981f6d.jpg","text":"TemporaryFile(/tmp/multipartBody8256047069848798763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737278853820,"filename":"image_19012025_10_26_02_481123_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/83715f8e0c5312a5912b5296443d9ce0.jpg","text":"TemporaryFile(/tmp/multipartBody1116555147170385843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737278853820,"filename":"image_19012025_10_26_02_481123_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330008635","file1":"1330008633","file0":"1330008631","file3":"1330008637"},"map_files_photo_id_array":[{"photo_id":"1330008635","filename":"file2"},{"photo_id":"1330008633","filename":"file1"},{"photo_id":"1330008631","filename":"file0"},{"photo_id":"1330008637","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330008637":["hashtag1","hashtag2"]},{"1330008631":["hashtag1","hashtag2"]},{"1330008633":["hashtag1","hashtag2"]},{"1330008635":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330008637, 1330008631, 1330008633, 1330008635)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.87507247924805 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 10:27:22.526008
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/10/26/image_19012025_10_26_02_481123_0003.jpg', '/home/pi/Desktop/images/19012025/10/27/image_19012025_10_27_02_694714_0000.jpg', '/home/pi/Desktop/images/19012025/10/27/image_19012025_10_27_02_694714_0001.jpg', '/home/pi/Desktop/images/19012025/10/27/image_19012025_10_27_02_694714_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/10/26/image_19012025_10_26_02_481123_0003.jpg
/home/pi/Desktop/images/19012025/10/27/image_19012025_10_27_02_694714_0000.jpg
/home/pi/Desktop/images/19012025/10/27/image_19012025_10_27_02_694714_0001.jpg
/home/pi/Desktop/images/19012025/10/27/image_19012025_10_27_02_694714_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330008652","1330008650","1330008644","1330008647"],"photo_ids_order":["1330008644","1330008647","1330008650","1330008652"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/f8711f6af0aad057cba537bda988885e.jpg","text":"TemporaryFile(/tmp/multipartBody5886082806334044072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737278914020,"filename":"image_19012025_10_27_02_694714_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/429e4f736fa01370988df2c3ff4377e6.jpg","text":"TemporaryFile(/tmp/multipartBody6293436040800405116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737278914020,"filename":"image_19012025_10_27_02_694714_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/e885587c73ee2da40bbb93df6c75a049.jpg","text":"TemporaryFile(/tmp/multipartBody4787645192241150951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737278914020,"filename":"image_19012025_10_26_02_481123_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/f7c9685853ebb463c66041804c8b3d64.jpg","text":"TemporaryFile(/tmp/multipartBody5392925230843405556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737278914020,"filename":"image_19012025_10_27_02_694714_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330008650","file1":"1330008647","file0":"1330008644","file3":"1330008652"},"map_files_photo_id_array":[{"photo_id":"1330008650","filename":"file2"},{"photo_id":"1330008647","filename":"file1"},{"photo_id":"1330008644","filename":"file0"},{"photo_id":"1330008652","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330008652":["hashtag1","hashtag2"]},{"1330008650":["hashtag1","hashtag2"]},{"1330008644":["hashtag1","hashtag2"]},{"1330008647":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330008652, 1330008650, 1330008644, 1330008647)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.13383340835571 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 10:28:22.674909
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/10/27/image_19012025_10_27_02_694714_0003.jpg', '/home/pi/Desktop/images/19012025/10/28/image_19012025_10_28_02_870679_0000.jpg', '/home/pi/Desktop/images/19012025/10/28/image_19012025_10_28_02_870679_0001.jpg', '/home/pi/Desktop/images/19012025/10/28/image_19012025_10_28_02_870679_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/10/27/image_19012025_10_27_02_694714_0003.jpg
/home/pi/Desktop/images/19012025/10/28/image_19012025_10_28_02_870679_0000.jpg
/home/pi/Desktop/images/19012025/10/28/image_19012025_10_28_02_870679_0001.jpg
/home/pi/Desktop/images/19012025/10/28/image_19012025_10_28_02_870679_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 11.080289125442505 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-19 10:28:42.674162
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/10/27/image_19012025_10_27_02_694714_0003.jpg', '/home/pi/Desktop/images/19012025/10/28/image_19012025_10_28_02_870679_0000.jpg', '/home/pi/Desktop/images/19012025/10/28/image_19012025_10_28_02_870679_0001.jpg', '/home/pi/Desktop/images/19012025/10/28/image_19012025_10_28_02_870679_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/10/27/image_19012025_10_27_02_694714_0003.jpg
/home/pi/Desktop/images/19012025/10/28/image_19012025_10_28_02_870679_0000.jpg
/home/pi/Desktop/images/19012025/10/28/image_19012025_10_28_02_870679_0001.jpg
/home/pi/Desktop/images/19012025/10/28/image_19012025_10_28_02_870679_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330009000","1330009003","1330008987","1330008919"],"photo_ids_order":["1330008919","1330008987","1330009000","1330009003"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/297d9623f1a515c6b55e02abdf1d886f.jpg","text":"TemporaryFile(/tmp/multipartBody7168337184113738448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737278994136,"filename":"image_19012025_10_28_02_870679_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/3568595b87076b6fffa248d8ed932891.jpg","text":"TemporaryFile(/tmp/multipartBody5261755925016585243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737278994136,"filename":"image_19012025_10_28_02_870679_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/096e07ac888174bae59eb264769eee22.jpg","text":"TemporaryFile(/tmp/multipartBody7077564580297312796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737278994136,"filename":"image_19012025_10_28_02_870679_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/3a77f0ecd81ca74db544f42f835030b8.jpg","text":"TemporaryFile(/tmp/multipartBody5208224868179023734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737278994136,"filename":"image_19012025_10_27_02_694714_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330009000","file1":"1330008987","file0":"1330008919","file3":"1330009003"},"map_files_photo_id_array":[{"photo_id":"1330009000","filename":"file2"},{"photo_id":"1330008987","filename":"file1"},{"photo_id":"1330008919","filename":"file0"},{"photo_id":"1330009003","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330009000":["hashtag1","hashtag2"]},{"1330009003":["hashtag1","hashtag2"]},{"1330008987":["hashtag1","hashtag2"]},{"1330008919":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330009000, 1330009003, 1330008987, 1330008919)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.62716627120972 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-19 10:29:31.903333
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/10/28/image_19012025_10_28_02_870679_0003.jpg', '/home/pi/Desktop/images/19012025/10/29/image_19012025_10_29_03_019124_0000.jpg', '/home/pi/Desktop/images/19012025/10/29/image_19012025_10_29_03_019124_0001.jpg', '/home/pi/Desktop/images/19012025/10/29/image_19012025_10_29_03_019124_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/10/28/image_19012025_10_28_02_870679_0003.jpg
/home/pi/Desktop/images/19012025/10/29/image_19012025_10_29_03_019124_0000.jpg
/home/pi/Desktop/images/19012025/10/29/image_19012025_10_29_03_019124_0001.jpg
/home/pi/Desktop/images/19012025/10/29/image_19012025_10_29_03_019124_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 11.162112712860107 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-19 10:29:51.888327
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/10/28/image_19012025_10_28_02_870679_0003.jpg', '/home/pi/Desktop/images/19012025/10/29/image_19012025_10_29_03_019124_0000.jpg', '/home/pi/Desktop/images/19012025/10/29/image_19012025_10_29_03_019124_0001.jpg', '/home/pi/Desktop/images/19012025/10/29/image_19012025_10_29_03_019124_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/10/28/image_19012025_10_28_02_870679_0003.jpg
/home/pi/Desktop/images/19012025/10/29/image_19012025_10_29_03_019124_0000.jpg
/home/pi/Desktop/images/19012025/10/29/image_19012025_10_29_03_019124_0001.jpg
/home/pi/Desktop/images/19012025/10/29/image_19012025_10_29_03_019124_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330009054","1330009057","1330009056","1330009055"],"photo_ids_order":["1330009054","1330009055","1330009056","1330009057"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/2c2219425afa4a0f9212ef74bc5d3e33.jpg","text":"TemporaryFile(/tmp/multipartBody6281014288536878073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737279063410,"filename":"image_19012025_10_28_02_870679_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/8cbb4ee831f2225147437e1609d81df9.jpg","text":"TemporaryFile(/tmp/multipartBody4480752106449328487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737279063410,"filename":"image_19012025_10_29_03_019124_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/7b58e0079182f67652d069e5e4e7399c.jpg","text":"TemporaryFile(/tmp/multipartBody3159075167939956491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737279063410,"filename":"image_19012025_10_29_03_019124_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/95059401c1672a9f80f93269589b0257.jpg","text":"TemporaryFile(/tmp/multipartBody5398272007500682504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737279063410,"filename":"image_19012025_10_29_03_019124_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330009056","file1":"1330009055","file0":"1330009054","file3":"1330009057"},"map_files_photo_id_array":[{"photo_id":"1330009056","filename":"file2"},{"photo_id":"1330009055","filename":"file1"},{"photo_id":"1330009054","filename":"file0"},{"photo_id":"1330009057","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330009054":["hashtag1","hashtag2"]},{"1330009057":["hashtag1","hashtag2"]},{"1330009056":["hashtag1","hashtag2"]},{"1330009055":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330009054, 1330009057, 1330009056, 1330009055)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.168328523635864 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-19 10:30:42.075282
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/10/29/image_19012025_10_29_03_019124_0003.jpg', '/home/pi/Desktop/images/19012025/10/30/image_19012025_10_30_02_260797_0000.jpg', '/home/pi/Desktop/images/19012025/10/30/image_19012025_10_30_02_260797_0001.jpg', '/home/pi/Desktop/images/19012025/10/30/image_19012025_10_30_02_260797_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/10/29/image_19012025_10_29_03_019124_0003.jpg
/home/pi/Desktop/images/19012025/10/30/image_19012025_10_30_02_260797_0000.jpg
/home/pi/Desktop/images/19012025/10/30/image_19012025_10_30_02_260797_0001.jpg
/home/pi/Desktop/images/19012025/10/30/image_19012025_10_30_02_260797_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 11.706776857376099 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 10:31:02.898430
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/10/29/image_19012025_10_29_03_019124_0003.jpg', '/home/pi/Desktop/images/19012025/10/30/image_19012025_10_30_02_260797_0000.jpg', '/home/pi/Desktop/images/19012025/10/30/image_19012025_10_30_02_260797_0001.jpg', '/home/pi/Desktop/images/19012025/10/30/image_19012025_10_30_02_260797_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/10/29/image_19012025_10_29_03_019124_0003.jpg
/home/pi/Desktop/images/19012025/10/30/image_19012025_10_30_02_260797_0000.jpg
/home/pi/Desktop/images/19012025/10/30/image_19012025_10_30_02_260797_0001.jpg
/home/pi/Desktop/images/19012025/10/30/image_19012025_10_30_02_260797_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330009086","1330009530","1330009124","1330009087"],"photo_ids_order":["1330009086","1330009087","1330009124","1330009530"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/fc53bfe1025f6d5a2d035ef781f1d222.jpg","text":"TemporaryFile(/tmp/multipartBody6275195055218007184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737279135087,"filename":"image_19012025_10_29_03_019124_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/9c9bec9261324740ed2b0a3e2d538016.jpg","text":"TemporaryFile(/tmp/multipartBody2038819241722481676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737279135087,"filename":"image_19012025_10_30_02_260797_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/689c2bca4fdb703eecdccc24d5bd2fd1.jpg","text":"TemporaryFile(/tmp/multipartBody2123568598688109789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737279135087,"filename":"image_19012025_10_30_02_260797_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/a49cdeb153df07fc40742f882aad4dbb.jpg","text":"TemporaryFile(/tmp/multipartBody6800498203816155004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737279135087,"filename":"image_19012025_10_30_02_260797_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330009124","file1":"1330009087","file0":"1330009086","file3":"1330009530"},"map_files_photo_id_array":[{"photo_id":"1330009124","filename":"file2"},{"photo_id":"1330009087","filename":"file1"},{"photo_id":"1330009086","filename":"file0"},{"photo_id":"1330009530","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330009086":["hashtag1","hashtag2"]},{"1330009530":["hashtag1","hashtag2"]},{"1330009124":["hashtag1","hashtag2"]},{"1330009087":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330009086, 1330009530, 1330009124, 1330009087)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.77055549621582 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-19 10:31:52.256369
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/10/30/image_19012025_10_30_02_260797_0003.jpg', '/home/pi/Desktop/images/19012025/10/31/image_19012025_10_31_02_511827_0000.jpg', '/home/pi/Desktop/images/19012025/10/31/image_19012025_10_31_02_511827_0001.jpg', '/home/pi/Desktop/images/19012025/10/31/image_19012025_10_31_02_511827_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/10/30/image_19012025_10_30_02_260797_0003.jpg
/home/pi/Desktop/images/19012025/10/31/image_19012025_10_31_02_511827_0000.jpg
/home/pi/Desktop/images/19012025/10/31/image_19012025_10_31_02_511827_0001.jpg
/home/pi/Desktop/images/19012025/10/31/image_19012025_10_31_02_511827_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330009827","1330009724","1330009832","1330009831"],"photo_ids_order":["1330009724","1330009827","1330009831","1330009832"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/26d5106dcfdb140f1ea6c7d89c883a69.jpg","text":"TemporaryFile(/tmp/multipartBody1387563900247344289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737279183600,"filename":"image_19012025_10_31_02_511827_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/235d2430faf99fdcde8673fe55b75dc0.jpg","text":"TemporaryFile(/tmp/multipartBody2883451902614448847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737279183600,"filename":"image_19012025_10_30_02_260797_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/08add5b2d4e3123f2564c7e29a6795a5.jpg","text":"TemporaryFile(/tmp/multipartBody1250628252881264942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737279183600,"filename":"image_19012025_10_31_02_511827_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/d8707a141c403b34b2c14c05eec5b1af.jpg","text":"TemporaryFile(/tmp/multipartBody2942486484603400844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737279183600,"filename":"image_19012025_10_31_02_511827_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330009831","file1":"1330009827","file0":"1330009724","file3":"1330009832"},"map_files_photo_id_array":[{"photo_id":"1330009831","filename":"file2"},{"photo_id":"1330009827","filename":"file1"},{"photo_id":"1330009724","filename":"file0"},{"photo_id":"1330009832","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330009827":["hashtag1","hashtag2"]},{"1330009724":["hashtag1","hashtag2"]},{"1330009832":["hashtag1","hashtag2"]},{"1330009831":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330009827, 1330009724, 1330009832, 1330009831)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.84469437599182 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-19 10:32:42.475539
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/10/31/image_19012025_10_31_02_511827_0003.jpg', '/home/pi/Desktop/images/19012025/10/32/image_19012025_10_32_02_631153_0000.jpg', '/home/pi/Desktop/images/19012025/10/32/image_19012025_10_32_02_631153_0001.jpg', '/home/pi/Desktop/images/19012025/10/32/image_19012025_10_32_02_631153_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/10/31/image_19012025_10_31_02_511827_0003.jpg
/home/pi/Desktop/images/19012025/10/32/image_19012025_10_32_02_631153_0000.jpg
/home/pi/Desktop/images/19012025/10/32/image_19012025_10_32_02_631153_0001.jpg
/home/pi/Desktop/images/19012025/10/32/image_19012025_10_32_02_631153_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330009924","1330010041","1330009926","1330009928"],"photo_ids_order":["1330009924","1330009926","1330009928","1330010041"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/d8df617c6d3fbcd8e5d04844a91faf0d.jpg","text":"TemporaryFile(/tmp/multipartBody7746983073128315242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737279234169,"filename":"image_19012025_10_31_02_511827_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/c8ce5c009a37ea884b8a313f4286a777.jpg","text":"TemporaryFile(/tmp/multipartBody6307036821279559029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737279234169,"filename":"image_19012025_10_32_02_631153_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/7a79e3b6cdb5de433c1f97cbddd71e4d.jpg","text":"TemporaryFile(/tmp/multipartBody4133716497632123965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737279234169,"filename":"image_19012025_10_32_02_631153_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/4b5da092d9e17b8bd3d868feabbc86f7.jpg","text":"TemporaryFile(/tmp/multipartBody8517632657532396118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737279234169,"filename":"image_19012025_10_32_02_631153_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330009928","file1":"1330009926","file0":"1330009924","file3":"1330010041"},"map_files_photo_id_array":[{"photo_id":"1330009928","filename":"file2"},{"photo_id":"1330009926","filename":"file1"},{"photo_id":"1330009924","filename":"file0"},{"photo_id":"1330010041","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330009924":["hashtag1","hashtag2"]},{"1330010041":["hashtag1","hashtag2"]},{"1330009926":["hashtag1","hashtag2"]},{"1330009928":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330009924, 1330010041, 1330009926, 1330009928)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.45428204536438 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-19 10:33:32.698404
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/10/32/image_19012025_10_32_02_631153_0003.jpg', '/home/pi/Desktop/images/19012025/10/33/image_19012025_10_33_02_851512_0000.jpg', '/home/pi/Desktop/images/19012025/10/33/image_19012025_10_33_02_851512_0001.jpg', '/home/pi/Desktop/images/19012025/10/33/image_19012025_10_33_02_851512_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/10/32/image_19012025_10_32_02_631153_0003.jpg
/home/pi/Desktop/images/19012025/10/33/image_19012025_10_33_02_851512_0000.jpg
/home/pi/Desktop/images/19012025/10/33/image_19012025_10_33_02_851512_0001.jpg
/home/pi/Desktop/images/19012025/10/33/image_19012025_10_33_02_851512_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330010112","1330010106","1330010115","1330010109"],"photo_ids_order":["1330010106","1330010109","1330010112","1330010115"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/b1771d8d4e491106697e4ae934201c30.jpg","text":"TemporaryFile(/tmp/multipartBody3285777563671348262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737279284211,"filename":"image_19012025_10_33_02_851512_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/bae742e86bd87b7ba7ad3653355130c9.jpg","text":"TemporaryFile(/tmp/multipartBody9198677107333888273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737279284211,"filename":"image_19012025_10_32_02_631153_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/f8bd9e5e0ce39a00f56ec77bae0291e2.jpg","text":"TemporaryFile(/tmp/multipartBody2203431472944995812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737279284211,"filename":"image_19012025_10_33_02_851512_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/1721c9c3dd5a77a10afb795e875fca1b.jpg","text":"TemporaryFile(/tmp/multipartBody5885602732187953777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737279284211,"filename":"image_19012025_10_33_02_851512_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330010112","file1":"1330010109","file0":"1330010106","file3":"1330010115"},"map_files_photo_id_array":[{"photo_id":"1330010112","filename":"file2"},{"photo_id":"1330010109","filename":"file1"},{"photo_id":"1330010106","filename":"file0"},{"photo_id":"1330010115","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330010112":["hashtag1","hashtag2"]},{"1330010106":["hashtag1","hashtag2"]},{"1330010115":["hashtag1","hashtag2"]},{"1330010109":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330010112, 1330010106, 1330010115, 1330010109)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.386202812194824 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 10:34:21.854031
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/10/33/image_19012025_10_33_02_851512_0003.jpg', '/home/pi/Desktop/images/19012025/10/34/image_19012025_10_34_03_058903_0000.jpg', '/home/pi/Desktop/images/19012025/10/34/image_19012025_10_34_03_058903_0001.jpg', '/home/pi/Desktop/images/19012025/10/34/image_19012025_10_34_03_058903_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/10/33/image_19012025_10_33_02_851512_0003.jpg
/home/pi/Desktop/images/19012025/10/34/image_19012025_10_34_03_058903_0000.jpg
/home/pi/Desktop/images/19012025/10/34/image_19012025_10_34_03_058903_0001.jpg
/home/pi/Desktop/images/19012025/10/34/image_19012025_10_34_03_058903_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330010332","1330010334","1330010330","1330010327"],"photo_ids_order":["1330010327","1330010330","1330010332","1330010334"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/10825ba1c1f5d64e9a1f359b28101ec1.jpg","text":"TemporaryFile(/tmp/multipartBody6340485134834098896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737279333181,"filename":"image_19012025_10_34_03_058903_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/998aac48e3d5930387081d89b0de1391.jpg","text":"TemporaryFile(/tmp/multipartBody7005529188989198739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737279333181,"filename":"image_19012025_10_34_03_058903_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/9f16124d8c93de5f3c97ac192b5f4837.jpg","text":"TemporaryFile(/tmp/multipartBody2512948780120802072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737279333181,"filename":"image_19012025_10_34_03_058903_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/9f5a2f08525ab0fa6a4a5b47c76f23c2.jpg","text":"TemporaryFile(/tmp/multipartBody1359429778409454673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737279333181,"filename":"image_19012025_10_33_02_851512_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330010332","file1":"1330010330","file0":"1330010327","file3":"1330010334"},"map_files_photo_id_array":[{"photo_id":"1330010332","filename":"file2"},{"photo_id":"1330010330","filename":"file1"},{"photo_id":"1330010327","filename":"file0"},{"photo_id":"1330010334","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330010332":["hashtag1","hashtag2"]},{"1330010334":["hashtag1","hashtag2"]},{"1330010330":["hashtag1","hashtag2"]},{"1330010327":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330010332, 1330010334, 1330010330, 1330010327)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.55204391479492 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-19 10:35:22.161992
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/10/34/image_19012025_10_34_03_058903_0003.jpg', '/home/pi/Desktop/images/19012025/10/35/image_19012025_10_35_02_262697_0000.jpg', '/home/pi/Desktop/images/19012025/10/35/image_19012025_10_35_02_262697_0001.jpg', '/home/pi/Desktop/images/19012025/10/35/image_19012025_10_35_02_262697_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/10/34/image_19012025_10_34_03_058903_0003.jpg
/home/pi/Desktop/images/19012025/10/35/image_19012025_10_35_02_262697_0000.jpg
/home/pi/Desktop/images/19012025/10/35/image_19012025_10_35_02_262697_0001.jpg
/home/pi/Desktop/images/19012025/10/35/image_19012025_10_35_02_262697_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330010341","1330010344","1330010347","1330010349"],"photo_ids_order":["1330010341","1330010344","1330010347","1330010349"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/3900a59d3a24e76eb415320a4931ede9.jpg","text":"TemporaryFile(/tmp/multipartBody7005428333781694498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737279393276,"filename":"image_19012025_10_34_03_058903_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/921300dd9d35040928a56c1ecb87d555.jpg","text":"TemporaryFile(/tmp/multipartBody6752515325270959537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737279393276,"filename":"image_19012025_10_35_02_262697_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/73f0a17ec1d464abbe24ed781354d11a.jpg","text":"TemporaryFile(/tmp/multipartBody1383084191463289793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737279393276,"filename":"image_19012025_10_35_02_262697_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/ace6db5b6186a8544bf78acf4deaef45.jpg","text":"TemporaryFile(/tmp/multipartBody1185946732659354753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737279393276,"filename":"image_19012025_10_35_02_262697_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330010347","file1":"1330010344","file0":"1330010341","file3":"1330010349"},"map_files_photo_id_array":[{"photo_id":"1330010347","filename":"file2"},{"photo_id":"1330010344","filename":"file1"},{"photo_id":"1330010341","filename":"file0"},{"photo_id":"1330010349","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330010341":["hashtag1","hashtag2"]},{"1330010344":["hashtag1","hashtag2"]},{"1330010347":["hashtag1","hashtag2"]},{"1330010349":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330010341, 1330010344, 1330010347, 1330010349)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.84827709197998 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 10:36:22.285387
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/10/35/image_19012025_10_35_02_262697_0003.jpg', '/home/pi/Desktop/images/19012025/10/36/image_19012025_10_36_02_451406_0000.jpg', '/home/pi/Desktop/images/19012025/10/36/image_19012025_10_36_02_451406_0001.jpg', '/home/pi/Desktop/images/19012025/10/36/image_19012025_10_36_02_451406_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/10/35/image_19012025_10_35_02_262697_0003.jpg
/home/pi/Desktop/images/19012025/10/36/image_19012025_10_36_02_451406_0000.jpg
/home/pi/Desktop/images/19012025/10/36/image_19012025_10_36_02_451406_0001.jpg
/home/pi/Desktop/images/19012025/10/36/image_19012025_10_36_02_451406_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330010385","1330010358","1330010361","1330010398"],"photo_ids_order":["1330010358","1330010361","1330010385","1330010398"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/71dafc74c0d6ecb7a0cf15391ac13be0.jpg","text":"TemporaryFile(/tmp/multipartBody795305524203906158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737279453804,"filename":"image_19012025_10_36_02_451406_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/5587cdae3816c85909ee4b8b862cdaa0.jpg","text":"TemporaryFile(/tmp/multipartBody2935527788158544810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737279453804,"filename":"image_19012025_10_35_02_262697_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/d73f98807988dbd3dc4583015028263c.jpg","text":"TemporaryFile(/tmp/multipartBody2107747600962787450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737279453804,"filename":"image_19012025_10_36_02_451406_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/bf6257c58c307694b2b17b0b3ebefcd9.jpg","text":"TemporaryFile(/tmp/multipartBody8575531454661754277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737279453804,"filename":"image_19012025_10_36_02_451406_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330010385","file1":"1330010361","file0":"1330010358","file3":"1330010398"},"map_files_photo_id_array":[{"photo_id":"1330010385","filename":"file2"},{"photo_id":"1330010361","filename":"file1"},{"photo_id":"1330010358","filename":"file0"},{"photo_id":"1330010398","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330010385":["hashtag1","hashtag2"]},{"1330010358":["hashtag1","hashtag2"]},{"1330010361":["hashtag1","hashtag2"]},{"1330010398":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330010385, 1330010358, 1330010361, 1330010398)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.26598238945007 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 10:37:02.922292
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
  port_id : 19698700
  datou_current_id : 2490825
in upload_from_sqlite, uploading in 19698700
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17012025/22/02/image_17012025_22_02_02_970222_0003.jpg', '/home/pi/Desktop/images/17012025/22/03/image_17012025_22_03_02_143915_0000.jpg', '/home/pi/Desktop/images/17012025/22/03/image_17012025_22_03_02_143915_0001.jpg', '/home/pi/Desktop/images/17012025/22/03/image_17012025_22_03_02_143915_0002.jpg', '/home/pi/Desktop/images/17012025/22/03/image_17012025_22_03_02_143915_0003.jpg', '/home/pi/Desktop/images/17012025/22/04/image_17012025_22_04_02_314042_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2490825&datou=0
/home/pi/Desktop/images/17012025/22/02/image_17012025_22_02_02_970222_0003.jpg
/home/pi/Desktop/images/17012025/22/03/image_17012025_22_03_02_143915_0000.jpg
/home/pi/Desktop/images/17012025/22/03/image_17012025_22_03_02_143915_0001.jpg
/home/pi/Desktop/images/17012025/22/03/image_17012025_22_03_02_143915_0002.jpg
/home/pi/Desktop/images/17012025/22/03/image_17012025_22_03_02_143915_0003.jpg
/home/pi/Desktop/images/17012025/22/04/image_17012025_22_04_02_314042_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":["1330010473","1330010461","1330010475","1330010468","1330010471","1330010465"],"photo_ids_order":["1330010461","1330010465","1330010468","1330010471","1330010473","1330010475"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/c6e216e0d4d76e67aab47af28df24811.jpg","text":"TemporaryFile(/tmp/multipartBody8093219787260539727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737279500702,"filename":"image_17012025_22_03_02_143915_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/01c06cb2232222b8e70d39f7b07a50b5.jpg","text":"TemporaryFile(/tmp/multipartBody6402078940256922124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737279500702,"filename":"image_17012025_22_02_02_970222_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/0bbc9acf58dc6854e282532708046eae.jpg","text":"TemporaryFile(/tmp/multipartBody4848074631467007897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737279500702,"filename":"image_17012025_22_04_02_314042_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/b8d08256c263155bea8e2832717c5616.jpg","text":"TemporaryFile(/tmp/multipartBody8678414764427396147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737279500702,"filename":"image_17012025_22_03_02_143915_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/f8ce6082b6ba41b55ed485273a00f29c.jpg","text":"TemporaryFile(/tmp/multipartBody2148089945882063859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737279500702,"filename":"image_17012025_22_03_02_143915_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/18857b4a85ad0fc1d72bb29a6f1beda3.jpg","text":"TemporaryFile(/tmp/multipartBody5799856368325482864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737279500702,"filename":"image_17012025_22_03_02_143915_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330010468","file1":"1330010465","file0":"1330010461","file4":"1330010473","file5":"1330010475","file3":"1330010471"},"map_files_photo_id_array":[{"photo_id":"1330010475","filename":"file5"},{"photo_id":"1330010468","filename":"file2"},{"photo_id":"1330010473","filename":"file4"},{"photo_id":"1330010465","filename":"file1"},{"photo_id":"1330010461","filename":"file0"},{"photo_id":"1330010471","filename":"file3"}],"portfolio_id":19698700,"hashtag_by_photo_ids":[{"1330010473":["hashtag1","hashtag2"]},{"1330010461":["hashtag1","hashtag2"]},{"1330010475":["hashtag1","hashtag2"]},{"1330010468":["hashtag1","hashtag2"]},{"1330010471":["hashtag1","hashtag2"]},{"1330010465":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698700 used, photo_id : ArrayBuffer(1330010473, 1330010461, 1330010475, 1330010468, 1330010471, 1330010465)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.071521282196045 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-19 10:38:22.592638
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/10/36/image_19012025_10_36_02_451406_0003.jpg', '/home/pi/Desktop/images/19012025/10/37/image_19012025_10_37_02_547613_0000.jpg', '/home/pi/Desktop/images/19012025/10/37/image_19012025_10_37_02_547613_0001.jpg', '/home/pi/Desktop/images/19012025/10/37/image_19012025_10_37_02_547613_0002.jpg', '/home/pi/Desktop/images/19012025/10/37/image_19012025_10_37_02_547613_0003.jpg', '/home/pi/Desktop/images/19012025/10/38/image_19012025_10_38_02_725857_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/10/36/image_19012025_10_36_02_451406_0003.jpg
/home/pi/Desktop/images/19012025/10/37/image_19012025_10_37_02_547613_0000.jpg
/home/pi/Desktop/images/19012025/10/37/image_19012025_10_37_02_547613_0001.jpg
/home/pi/Desktop/images/19012025/10/37/image_19012025_10_37_02_547613_0002.jpg
/home/pi/Desktop/images/19012025/10/37/image_19012025_10_37_02_547613_0003.jpg
/home/pi/Desktop/images/19012025/10/38/image_19012025_10_38_02_725857_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":["1330010574","1330010583","1330010577","1330010585","1330010579","1330010581"],"photo_ids_order":["1330010574","1330010577","1330010579","1330010581","1330010583","1330010585"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/61ad5efe88c2a3feab82979e37ce02ef.jpg","text":"TemporaryFile(/tmp/multipartBody2463183407436516752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737279579452,"filename":"image_19012025_10_36_02_451406_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/699bf498a259c21ea9b7a49dac45582e.jpg","text":"TemporaryFile(/tmp/multipartBody4385500039449978084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737279579452,"filename":"image_19012025_10_37_02_547613_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/ce4d1c47127b9c541b10999caf97e36e.jpg","text":"TemporaryFile(/tmp/multipartBody8432697836910803766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737279579452,"filename":"image_19012025_10_37_02_547613_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/d542449500700a56cbb8aa4eb0c77e1e.jpg","text":"TemporaryFile(/tmp/multipartBody1167264622453714585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737279579452,"filename":"image_19012025_10_38_02_725857_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/633b7dd61154f79dd59e2d7a437020c3.jpg","text":"TemporaryFile(/tmp/multipartBody1481392756924618092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737279579452,"filename":"image_19012025_10_37_02_547613_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/f3fe8ee27cc0a4cd3fc7c3be4f043d85.jpg","text":"TemporaryFile(/tmp/multipartBody8231142638380202213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737279579452,"filename":"image_19012025_10_37_02_547613_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330010579","file1":"1330010577","file0":"1330010574","file4":"1330010583","file5":"1330010585","file3":"1330010581"},"map_files_photo_id_array":[{"photo_id":"1330010585","filename":"file5"},{"photo_id":"1330010579","filename":"file2"},{"photo_id":"1330010583","filename":"file4"},{"photo_id":"1330010577","filename":"file1"},{"photo_id":"1330010574","filename":"file0"},{"photo_id":"1330010581","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330010574":["hashtag1","hashtag2"]},{"1330010583":["hashtag1","hashtag2"]},{"1330010577":["hashtag1","hashtag2"]},{"1330010585":["hashtag1","hashtag2"]},{"1330010579":["hashtag1","hashtag2"]},{"1330010581":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330010574, 1330010583, 1330010577, 1330010585, 1330010579, 1330010581)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.93531918525696 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 10:39:22.762639
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/10/38/image_19012025_10_38_02_725857_0001.jpg', '/home/pi/Desktop/images/19012025/10/38/image_19012025_10_38_02_725857_0002.jpg', '/home/pi/Desktop/images/19012025/10/38/image_19012025_10_38_02_725857_0003.jpg', '/home/pi/Desktop/images/19012025/10/39/image_19012025_10_39_02_890233_0000.jpg', '/home/pi/Desktop/images/19012025/10/39/image_19012025_10_39_02_890233_0001.jpg', '/home/pi/Desktop/images/19012025/10/39/image_19012025_10_39_02_890233_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/10/38/image_19012025_10_38_02_725857_0001.jpg
/home/pi/Desktop/images/19012025/10/38/image_19012025_10_38_02_725857_0002.jpg
/home/pi/Desktop/images/19012025/10/38/image_19012025_10_38_02_725857_0003.jpg
/home/pi/Desktop/images/19012025/10/39/image_19012025_10_39_02_890233_0000.jpg
/home/pi/Desktop/images/19012025/10/39/image_19012025_10_39_02_890233_0001.jpg
/home/pi/Desktop/images/19012025/10/39/image_19012025_10_39_02_890233_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330010615","1330010600","1330010629","1330010670","1330010613","1330010654"],"photo_ids_order":["1330010600","1330010613","1330010615","1330010629","1330010654","1330010670"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/af017549e1656484941882671c2e2740.jpg","text":"TemporaryFile(/tmp/multipartBody1337081315950301287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737279639123,"filename":"image_19012025_10_38_02_725857_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/046153be1e7dc71d37534c959b213e5e.jpg","text":"TemporaryFile(/tmp/multipartBody3714018904791761516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737279639123,"filename":"image_19012025_10_38_02_725857_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/c6780bcd332ba88e87ba5fdae4e32de7.jpg","text":"TemporaryFile(/tmp/multipartBody3556688720660830631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737279639123,"filename":"image_19012025_10_39_02_890233_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/8e8ff7f1d1f4800139123dbd919bea6c.jpg","text":"TemporaryFile(/tmp/multipartBody1837824852313209881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737279639123,"filename":"image_19012025_10_39_02_890233_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/6cf9b7407f781204062c58bd2542cb55.jpg","text":"TemporaryFile(/tmp/multipartBody6661154191385422636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737279639123,"filename":"image_19012025_10_38_02_725857_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/85c3560ae9db9037a3d310009958f606.jpg","text":"TemporaryFile(/tmp/multipartBody5325382259024727041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737279639123,"filename":"image_19012025_10_39_02_890233_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330010615","file1":"1330010613","file0":"1330010600","file4":"1330010654","file5":"1330010670","file3":"1330010629"},"map_files_photo_id_array":[{"photo_id":"1330010670","filename":"file5"},{"photo_id":"1330010615","filename":"file2"},{"photo_id":"1330010654","filename":"file4"},{"photo_id":"1330010613","filename":"file1"},{"photo_id":"1330010600","filename":"file0"},{"photo_id":"1330010629","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330010615":["hashtag1","hashtag2"]},{"1330010600":["hashtag1","hashtag2"]},{"1330010629":["hashtag1","hashtag2"]},{"1330010670":["hashtag1","hashtag2"]},{"1330010613":["hashtag1","hashtag2"]},{"1330010654":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330010615, 1330010600, 1330010629, 1330010670, 1330010613, 1330010654)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.97922468185425 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 10:40:22.016032
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/10/39/image_19012025_10_39_02_890233_0003.jpg', '/home/pi/Desktop/images/19012025/10/40/image_19012025_10_40_03_152874_0000.jpg', '/home/pi/Desktop/images/19012025/10/40/image_19012025_10_40_03_152874_0001.jpg', '/home/pi/Desktop/images/19012025/10/40/image_19012025_10_40_03_152874_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/10/39/image_19012025_10_39_02_890233_0003.jpg
/home/pi/Desktop/images/19012025/10/40/image_19012025_10_40_03_152874_0000.jpg
/home/pi/Desktop/images/19012025/10/40/image_19012025_10_40_03_152874_0001.jpg
/home/pi/Desktop/images/19012025/10/40/image_19012025_10_40_03_152874_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330010685","1330010678","1330010687","1330010681"],"photo_ids_order":["1330010678","1330010681","1330010685","1330010687"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/549d61c1e23a30eb6f323115fdbcdaf2.jpg","text":"TemporaryFile(/tmp/multipartBody7034496104008966056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737279693655,"filename":"image_19012025_10_40_03_152874_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/7de3307c79904f9aadbf7a2cdf8cb871.jpg","text":"TemporaryFile(/tmp/multipartBody937104619363736173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737279693655,"filename":"image_19012025_10_39_02_890233_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/dbc63a40274c6611743da9a11c3f23cb.jpg","text":"TemporaryFile(/tmp/multipartBody5309074633755247615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737279693655,"filename":"image_19012025_10_40_03_152874_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/0605f589413ccc7bcf206c6044253aaa.jpg","text":"TemporaryFile(/tmp/multipartBody8019263044722794230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737279693655,"filename":"image_19012025_10_40_03_152874_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330010685","file1":"1330010681","file0":"1330010678","file3":"1330010687"},"map_files_photo_id_array":[{"photo_id":"1330010685","filename":"file2"},{"photo_id":"1330010681","filename":"file1"},{"photo_id":"1330010678","filename":"file0"},{"photo_id":"1330010687","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330010685":["hashtag1","hashtag2"]},{"1330010678":["hashtag1","hashtag2"]},{"1330010687":["hashtag1","hashtag2"]},{"1330010681":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330010685, 1330010678, 1330010687, 1330010681)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.90563154220581 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 10:41:22.205343
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/10/40/image_19012025_10_40_03_152874_0003.jpg', '/home/pi/Desktop/images/19012025/10/41/image_19012025_10_41_02_325577_0000.jpg', '/home/pi/Desktop/images/19012025/10/41/image_19012025_10_41_02_325577_0001.jpg', '/home/pi/Desktop/images/19012025/10/41/image_19012025_10_41_02_325577_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/10/40/image_19012025_10_40_03_152874_0003.jpg
/home/pi/Desktop/images/19012025/10/41/image_19012025_10_41_02_325577_0000.jpg
/home/pi/Desktop/images/19012025/10/41/image_19012025_10_41_02_325577_0001.jpg
/home/pi/Desktop/images/19012025/10/41/image_19012025_10_41_02_325577_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330010817","1330010822","1330010819","1330010695"],"photo_ids_order":["1330010695","1330010817","1330010819","1330010822"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/0fc93e9e0225b970d15a6dcd9330e05a.jpg","text":"TemporaryFile(/tmp/multipartBody2804585182065333409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737279753623,"filename":"image_19012025_10_41_02_325577_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/4911df6bb99bd5c1c0c1125ca22c9613.jpg","text":"TemporaryFile(/tmp/multipartBody4765002688916339517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737279753623,"filename":"image_19012025_10_41_02_325577_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/5b1b135b59c43e7629d549bf9a889cf8.jpg","text":"TemporaryFile(/tmp/multipartBody4070184589297227296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737279753623,"filename":"image_19012025_10_41_02_325577_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/59c3472710b5400da26249e10d1bf409.jpg","text":"TemporaryFile(/tmp/multipartBody6272413683453648002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737279753623,"filename":"image_19012025_10_40_03_152874_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330010819","file1":"1330010817","file0":"1330010695","file3":"1330010822"},"map_files_photo_id_array":[{"photo_id":"1330010819","filename":"file2"},{"photo_id":"1330010817","filename":"file1"},{"photo_id":"1330010695","filename":"file0"},{"photo_id":"1330010822","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330010817":["hashtag1","hashtag2"]},{"1330010822":["hashtag1","hashtag2"]},{"1330010819":["hashtag1","hashtag2"]},{"1330010695":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330010817, 1330010822, 1330010819, 1330010695)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.96032524108887 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 10:42:22.384227
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/10/41/image_19012025_10_41_02_325577_0003.jpg', '/home/pi/Desktop/images/19012025/10/42/image_19012025_10_42_02_485628_0000.jpg', '/home/pi/Desktop/images/19012025/10/42/image_19012025_10_42_02_485628_0001.jpg', '/home/pi/Desktop/images/19012025/10/42/image_19012025_10_42_02_485628_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/10/41/image_19012025_10_41_02_325577_0003.jpg
/home/pi/Desktop/images/19012025/10/42/image_19012025_10_42_02_485628_0000.jpg
/home/pi/Desktop/images/19012025/10/42/image_19012025_10_42_02_485628_0001.jpg
/home/pi/Desktop/images/19012025/10/42/image_19012025_10_42_02_485628_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330010896","1330010905","1330010901","1330010893"],"photo_ids_order":["1330010893","1330010896","1330010901","1330010905"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/1b6480383d94e7d624a1e853c12876f7.jpg","text":"TemporaryFile(/tmp/multipartBody587543787858259490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737279813843,"filename":"image_19012025_10_42_02_485628_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/76100f859f5886a72c2026a7c50d6171.jpg","text":"TemporaryFile(/tmp/multipartBody2171839590081952995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737279813843,"filename":"image_19012025_10_42_02_485628_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/682f0770a7ab73660d302dffaff6e61c.jpg","text":"TemporaryFile(/tmp/multipartBody889195125873128889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737279813843,"filename":"image_19012025_10_42_02_485628_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/503fc28f7953537400a48c1e76a7ad99.jpg","text":"TemporaryFile(/tmp/multipartBody3469028116612417801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737279813843,"filename":"image_19012025_10_41_02_325577_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330010901","file1":"1330010896","file0":"1330010893","file3":"1330010905"},"map_files_photo_id_array":[{"photo_id":"1330010901","filename":"file2"},{"photo_id":"1330010896","filename":"file1"},{"photo_id":"1330010893","filename":"file0"},{"photo_id":"1330010905","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330010896":["hashtag1","hashtag2"]},{"1330010905":["hashtag1","hashtag2"]},{"1330010901":["hashtag1","hashtag2"]},{"1330010893":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330010896, 1330010905, 1330010901, 1330010893)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.13888335227966 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 10:43:22.575315
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/10/42/image_19012025_10_42_02_485628_0003.jpg', '/home/pi/Desktop/images/19012025/10/43/image_19012025_10_43_02_693340_0000.jpg', '/home/pi/Desktop/images/19012025/10/43/image_19012025_10_43_02_693340_0001.jpg', '/home/pi/Desktop/images/19012025/10/43/image_19012025_10_43_02_693340_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/10/42/image_19012025_10_42_02_485628_0003.jpg
/home/pi/Desktop/images/19012025/10/43/image_19012025_10_43_02_693340_0000.jpg
/home/pi/Desktop/images/19012025/10/43/image_19012025_10_43_02_693340_0001.jpg
/home/pi/Desktop/images/19012025/10/43/image_19012025_10_43_02_693340_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330011069","1330011080","1330011073","1330011076"],"photo_ids_order":["1330011069","1330011073","1330011076","1330011080"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/6885fcde7b83541ccd91d2afa063eeea.jpg","text":"TemporaryFile(/tmp/multipartBody2519986205771884684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737279874037,"filename":"image_19012025_10_42_02_485628_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/311ed5374034aaeedcdf9bcb58ccff97.jpg","text":"TemporaryFile(/tmp/multipartBody3156711068701796671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737279874037,"filename":"image_19012025_10_43_02_693340_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/076752bcef9d7ff372b241b555a31f9e.jpg","text":"TemporaryFile(/tmp/multipartBody8566986178202858020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737279874037,"filename":"image_19012025_10_43_02_693340_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/f2e31f59d385171ca208be4f4c3bd3b1.jpg","text":"TemporaryFile(/tmp/multipartBody3039121269616622424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737279874037,"filename":"image_19012025_10_43_02_693340_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330011076","file1":"1330011073","file0":"1330011069","file3":"1330011080"},"map_files_photo_id_array":[{"photo_id":"1330011076","filename":"file2"},{"photo_id":"1330011073","filename":"file1"},{"photo_id":"1330011069","filename":"file0"},{"photo_id":"1330011080","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330011069":["hashtag1","hashtag2"]},{"1330011080":["hashtag1","hashtag2"]},{"1330011073":["hashtag1","hashtag2"]},{"1330011076":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330011069, 1330011080, 1330011073, 1330011076)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 46.17096257209778 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 10:44:22.711123
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/10/43/image_19012025_10_43_02_693340_0003.jpg', '/home/pi/Desktop/images/19012025/10/44/image_19012025_10_44_02_885963_0000.jpg', '/home/pi/Desktop/images/19012025/10/44/image_19012025_10_44_02_885963_0001.jpg', '/home/pi/Desktop/images/19012025/10/44/image_19012025_10_44_02_885963_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/10/43/image_19012025_10_43_02_693340_0003.jpg
/home/pi/Desktop/images/19012025/10/44/image_19012025_10_44_02_885963_0000.jpg
/home/pi/Desktop/images/19012025/10/44/image_19012025_10_44_02_885963_0001.jpg
/home/pi/Desktop/images/19012025/10/44/image_19012025_10_44_02_885963_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330011100","1330011092","1330011095","1330011098"],"photo_ids_order":["1330011092","1330011095","1330011098","1330011100"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/798eccf8ecac1e52fd130da0e60182a2.jpg","text":"TemporaryFile(/tmp/multipartBody5797515233399662132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737279933763,"filename":"image_19012025_10_44_02_885963_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/dcf2a7cfe16fd821704cce35842e03ea.jpg","text":"TemporaryFile(/tmp/multipartBody3544218829735076036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737279933763,"filename":"image_19012025_10_43_02_693340_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/17eb2468e41a5c6357167fa720a252b8.jpg","text":"TemporaryFile(/tmp/multipartBody6800105880440440842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737279933763,"filename":"image_19012025_10_44_02_885963_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/d551cc714904fd2c049ac10164e1a0d9.jpg","text":"TemporaryFile(/tmp/multipartBody1526698570375709406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737279933763,"filename":"image_19012025_10_44_02_885963_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330011098","file1":"1330011095","file0":"1330011092","file3":"1330011100"},"map_files_photo_id_array":[{"photo_id":"1330011098","filename":"file2"},{"photo_id":"1330011095","filename":"file1"},{"photo_id":"1330011092","filename":"file0"},{"photo_id":"1330011100","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330011100":["hashtag1","hashtag2"]},{"1330011092":["hashtag1","hashtag2"]},{"1330011095":["hashtag1","hashtag2"]},{"1330011098":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330011100, 1330011092, 1330011095, 1330011098)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.74906301498413 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 10:45:21.855836
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/10/44/image_19012025_10_44_02_885963_0003.jpg', '/home/pi/Desktop/images/19012025/10/45/image_19012025_10_45_03_081641_0000.jpg', '/home/pi/Desktop/images/19012025/10/45/image_19012025_10_45_03_081641_0001.jpg', '/home/pi/Desktop/images/19012025/10/45/image_19012025_10_45_03_081641_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/10/44/image_19012025_10_44_02_885963_0003.jpg
/home/pi/Desktop/images/19012025/10/45/image_19012025_10_45_03_081641_0000.jpg
/home/pi/Desktop/images/19012025/10/45/image_19012025_10_45_03_081641_0001.jpg
/home/pi/Desktop/images/19012025/10/45/image_19012025_10_45_03_081641_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330011313","1330011315","1330011317","1330011311"],"photo_ids_order":["1330011311","1330011313","1330011315","1330011317"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/8117d03d509da681fec3d253a3888c49.jpg","text":"TemporaryFile(/tmp/multipartBody3958206189100886292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737279993404,"filename":"image_19012025_10_45_03_081641_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/214e153656907d9a763f0b9bd9234b75.jpg","text":"TemporaryFile(/tmp/multipartBody3485839422372466882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737279993404,"filename":"image_19012025_10_45_03_081641_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/65860e3e805c708124400418e846beaf.jpg","text":"TemporaryFile(/tmp/multipartBody2050243614182878002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737279993404,"filename":"image_19012025_10_45_03_081641_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/0be4d05540cded2c825b30fd342ab36b.jpg","text":"TemporaryFile(/tmp/multipartBody1300971741048815964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737279993404,"filename":"image_19012025_10_44_02_885963_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330011315","file1":"1330011313","file0":"1330011311","file3":"1330011317"},"map_files_photo_id_array":[{"photo_id":"1330011315","filename":"file2"},{"photo_id":"1330011313","filename":"file1"},{"photo_id":"1330011311","filename":"file0"},{"photo_id":"1330011317","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330011313":["hashtag1","hashtag2"]},{"1330011315":["hashtag1","hashtag2"]},{"1330011317":["hashtag1","hashtag2"]},{"1330011311":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330011313, 1330011315, 1330011317, 1330011311)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.654518604278564 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 10:46:22.056069
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/10/45/image_19012025_10_45_03_081641_0003.jpg', '/home/pi/Desktop/images/19012025/10/46/image_19012025_10_46_02_245981_0000.jpg', '/home/pi/Desktop/images/19012025/10/46/image_19012025_10_46_02_245981_0001.jpg', '/home/pi/Desktop/images/19012025/10/46/image_19012025_10_46_02_245981_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/10/45/image_19012025_10_45_03_081641_0003.jpg
/home/pi/Desktop/images/19012025/10/46/image_19012025_10_46_02_245981_0000.jpg
/home/pi/Desktop/images/19012025/10/46/image_19012025_10_46_02_245981_0001.jpg
/home/pi/Desktop/images/19012025/10/46/image_19012025_10_46_02_245981_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330011328","1330011324","1330011336","1330011332"],"photo_ids_order":["1330011324","1330011328","1330011332","1330011336"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/0d48b388badc5c77a9938b29e1c0acb6.jpg","text":"TemporaryFile(/tmp/multipartBody513265877372410991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737280053199,"filename":"image_19012025_10_46_02_245981_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/c881f39836af294f9046ae00722bfa64.jpg","text":"TemporaryFile(/tmp/multipartBody7145071837183659949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737280053199,"filename":"image_19012025_10_45_03_081641_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/d31fede73b7bf668a732a381399e1d73.jpg","text":"TemporaryFile(/tmp/multipartBody2797824294435389436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737280053199,"filename":"image_19012025_10_46_02_245981_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/e8eade7bac1027410474821f93cd7355.jpg","text":"TemporaryFile(/tmp/multipartBody8314797588628113595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737280053199,"filename":"image_19012025_10_46_02_245981_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330011332","file1":"1330011328","file0":"1330011324","file3":"1330011336"},"map_files_photo_id_array":[{"photo_id":"1330011332","filename":"file2"},{"photo_id":"1330011328","filename":"file1"},{"photo_id":"1330011324","filename":"file0"},{"photo_id":"1330011336","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330011328":["hashtag1","hashtag2"]},{"1330011324":["hashtag1","hashtag2"]},{"1330011336":["hashtag1","hashtag2"]},{"1330011332":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330011328, 1330011324, 1330011336, 1330011332)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 47.8821918964386 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 10:47:22.238510
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/10/46/image_19012025_10_46_02_245981_0003.jpg', '/home/pi/Desktop/images/19012025/10/47/image_19012025_10_47_02_417294_0000.jpg', '/home/pi/Desktop/images/19012025/10/47/image_19012025_10_47_02_417294_0001.jpg', '/home/pi/Desktop/images/19012025/10/47/image_19012025_10_47_02_417294_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/10/46/image_19012025_10_46_02_245981_0003.jpg
/home/pi/Desktop/images/19012025/10/47/image_19012025_10_47_02_417294_0000.jpg
/home/pi/Desktop/images/19012025/10/47/image_19012025_10_47_02_417294_0001.jpg
/home/pi/Desktop/images/19012025/10/47/image_19012025_10_47_02_417294_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330011387","1330011366","1330011389","1330011385"],"photo_ids_order":["1330011366","1330011385","1330011387","1330011389"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/8b2fd0854e457d49742bd01db47a41d5.jpg","text":"TemporaryFile(/tmp/multipartBody7808877401124653623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737280112793,"filename":"image_19012025_10_47_02_417294_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/5330a1b9ff488d7e29c037ac2518a919.jpg","text":"TemporaryFile(/tmp/multipartBody2437346296900572200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737280112793,"filename":"image_19012025_10_46_02_245981_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/78a386a851b674e3ecf38df0496b55af.jpg","text":"TemporaryFile(/tmp/multipartBody5837788327276618945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737280112793,"filename":"image_19012025_10_47_02_417294_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/86cd2cee83aa0ef4b64296f554421aa1.jpg","text":"TemporaryFile(/tmp/multipartBody435770081356623780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737280112793,"filename":"image_19012025_10_47_02_417294_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330011387","file1":"1330011385","file0":"1330011366","file3":"1330011389"},"map_files_photo_id_array":[{"photo_id":"1330011387","filename":"file2"},{"photo_id":"1330011385","filename":"file1"},{"photo_id":"1330011366","filename":"file0"},{"photo_id":"1330011389","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330011387":["hashtag1","hashtag2"]},{"1330011366":["hashtag1","hashtag2"]},{"1330011389":["hashtag1","hashtag2"]},{"1330011385":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330011387, 1330011366, 1330011389, 1330011385)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.82123899459839 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 10:48:02.811212
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
  port_id : 19698700
  datou_current_id : 2490825
in upload_from_sqlite, uploading in 19698700
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17012025/22/04/image_17012025_22_04_02_314042_0001.jpg', '/home/pi/Desktop/images/17012025/22/04/image_17012025_22_04_02_314042_0002.jpg', '/home/pi/Desktop/images/17012025/22/04/image_17012025_22_04_02_314042_0003.jpg', '/home/pi/Desktop/images/17012025/22/05/image_17012025_22_05_02_603751_0000.jpg', '/home/pi/Desktop/images/17012025/22/05/image_17012025_22_05_02_603751_0001.jpg', '/home/pi/Desktop/images/17012025/22/05/image_17012025_22_05_02_603751_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2490825&datou=0
/home/pi/Desktop/images/17012025/22/04/image_17012025_22_04_02_314042_0001.jpg
/home/pi/Desktop/images/17012025/22/04/image_17012025_22_04_02_314042_0002.jpg
/home/pi/Desktop/images/17012025/22/04/image_17012025_22_04_02_314042_0003.jpg
/home/pi/Desktop/images/17012025/22/05/image_17012025_22_05_02_603751_0000.jpg
/home/pi/Desktop/images/17012025/22/05/image_17012025_22_05_02_603751_0001.jpg
/home/pi/Desktop/images/17012025/22/05/image_17012025_22_05_02_603751_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 17.33931255340576 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 10:48:22.414290
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/10/47/image_19012025_10_47_02_417294_0003.jpg', '/home/pi/Desktop/images/19012025/10/48/image_19012025_10_48_02_626449_0000.jpg', '/home/pi/Desktop/images/19012025/10/48/image_19012025_10_48_02_626449_0001.jpg', '/home/pi/Desktop/images/19012025/10/48/image_19012025_10_48_02_626449_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/10/47/image_19012025_10_47_02_417294_0003.jpg
/home/pi/Desktop/images/19012025/10/48/image_19012025_10_48_02_626449_0000.jpg
/home/pi/Desktop/images/19012025/10/48/image_19012025_10_48_02_626449_0001.jpg
/home/pi/Desktop/images/19012025/10/48/image_19012025_10_48_02_626449_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330011417","1330011422","1330011425","1330011419"],"photo_ids_order":["1330011417","1330011419","1330011422","1330011425"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/4f8996e64738bcedaaf4f682ecf09e17.jpg","text":"TemporaryFile(/tmp/multipartBody3424443565361218443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737280173353,"filename":"image_19012025_10_47_02_417294_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/40541fa22999f288e834c42eaf67658c.jpg","text":"TemporaryFile(/tmp/multipartBody5641303944245976917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737280173353,"filename":"image_19012025_10_48_02_626449_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/0d7b4806654e5fc17393fa8cb653c9bf.jpg","text":"TemporaryFile(/tmp/multipartBody8989956000760177962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737280173353,"filename":"image_19012025_10_48_02_626449_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/30c0b874643c750ffa06b10f9a17044b.jpg","text":"TemporaryFile(/tmp/multipartBody683056316834204338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737280173353,"filename":"image_19012025_10_48_02_626449_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330011422","file1":"1330011419","file0":"1330011417","file3":"1330011425"},"map_files_photo_id_array":[{"photo_id":"1330011422","filename":"file2"},{"photo_id":"1330011419","filename":"file1"},{"photo_id":"1330011417","filename":"file0"},{"photo_id":"1330011425","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330011417":["hashtag1","hashtag2"]},{"1330011422":["hashtag1","hashtag2"]},{"1330011425":["hashtag1","hashtag2"]},{"1330011419":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330011417, 1330011422, 1330011425, 1330011419)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.202672243118286 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 10:49:22.588191
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/10/48/image_19012025_10_48_02_626449_0003.jpg', '/home/pi/Desktop/images/19012025/10/49/image_19012025_10_49_02_696322_0000.jpg', '/home/pi/Desktop/images/19012025/10/49/image_19012025_10_49_02_696322_0001.jpg', '/home/pi/Desktop/images/19012025/10/49/image_19012025_10_49_02_696322_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/10/48/image_19012025_10_48_02_626449_0003.jpg
/home/pi/Desktop/images/19012025/10/49/image_19012025_10_49_02_696322_0000.jpg
/home/pi/Desktop/images/19012025/10/49/image_19012025_10_49_02_696322_0001.jpg
/home/pi/Desktop/images/19012025/10/49/image_19012025_10_49_02_696322_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330011433","1330011436","1330011441","1330011439"],"photo_ids_order":["1330011433","1330011436","1330011439","1330011441"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/1ca6f8dcff1acb94985bd57bf0bb27f1.jpg","text":"TemporaryFile(/tmp/multipartBody6735873044264608367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737280233951,"filename":"image_19012025_10_48_02_626449_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/046379176f8c7e869250c2fabc018173.jpg","text":"TemporaryFile(/tmp/multipartBody7069367717228273588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737280233951,"filename":"image_19012025_10_49_02_696322_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/2b0929a351e17e042609b6f9057e91ae.jpg","text":"TemporaryFile(/tmp/multipartBody7968203813922218422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737280233951,"filename":"image_19012025_10_49_02_696322_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/3a14a2a52f713a8c4a02946718bee461.jpg","text":"TemporaryFile(/tmp/multipartBody1117379307998557464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737280233951,"filename":"image_19012025_10_49_02_696322_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330011439","file1":"1330011436","file0":"1330011433","file3":"1330011441"},"map_files_photo_id_array":[{"photo_id":"1330011439","filename":"file2"},{"photo_id":"1330011436","filename":"file1"},{"photo_id":"1330011433","filename":"file0"},{"photo_id":"1330011441","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330011433":["hashtag1","hashtag2"]},{"1330011436":["hashtag1","hashtag2"]},{"1330011441":["hashtag1","hashtag2"]},{"1330011439":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330011433, 1330011436, 1330011441, 1330011439)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.20861196517944 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 10:50:21.913544
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/10/49/image_19012025_10_49_02_696322_0003.jpg', '/home/pi/Desktop/images/19012025/10/50/image_19012025_10_50_03_032361_0000.jpg', '/home/pi/Desktop/images/19012025/10/50/image_19012025_10_50_03_032361_0001.jpg', '/home/pi/Desktop/images/19012025/10/50/image_19012025_10_50_03_032361_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/10/49/image_19012025_10_49_02_696322_0003.jpg
/home/pi/Desktop/images/19012025/10/50/image_19012025_10_50_03_032361_0000.jpg
/home/pi/Desktop/images/19012025/10/50/image_19012025_10_50_03_032361_0001.jpg
/home/pi/Desktop/images/19012025/10/50/image_19012025_10_50_03_032361_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330011678","1330011663","1330011683","1330011691"],"photo_ids_order":["1330011663","1330011678","1330011683","1330011691"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/ba21d9f51596aced30634077d49623db.jpg","text":"TemporaryFile(/tmp/multipartBody458913364594006958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737280293453,"filename":"image_19012025_10_50_03_032361_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/0e4dbbe7ec7c3256e7d445d9da954811.jpg","text":"TemporaryFile(/tmp/multipartBody7677038032391507009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737280293453,"filename":"image_19012025_10_49_02_696322_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/002b0d4477a91fa6610da58ed4b88551.jpg","text":"TemporaryFile(/tmp/multipartBody8780476595218221559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737280293453,"filename":"image_19012025_10_50_03_032361_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/9e0ab9e902e65f282a317627930bbee7.jpg","text":"TemporaryFile(/tmp/multipartBody5193229426044281835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737280293453,"filename":"image_19012025_10_50_03_032361_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330011683","file1":"1330011678","file0":"1330011663","file3":"1330011691"},"map_files_photo_id_array":[{"photo_id":"1330011683","filename":"file2"},{"photo_id":"1330011678","filename":"file1"},{"photo_id":"1330011663","filename":"file0"},{"photo_id":"1330011691","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330011678":["hashtag1","hashtag2"]},{"1330011663":["hashtag1","hashtag2"]},{"1330011683":["hashtag1","hashtag2"]},{"1330011691":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330011678, 1330011663, 1330011683, 1330011691)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.649658203125 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 10:51:22.215510
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/10/50/image_19012025_10_50_03_032361_0003.jpg', '/home/pi/Desktop/images/19012025/10/51/image_19012025_10_51_02_291859_0000.jpg', '/home/pi/Desktop/images/19012025/10/51/image_19012025_10_51_02_291859_0001.jpg', '/home/pi/Desktop/images/19012025/10/51/image_19012025_10_51_02_291859_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/10/50/image_19012025_10_50_03_032361_0003.jpg
/home/pi/Desktop/images/19012025/10/51/image_19012025_10_51_02_291859_0000.jpg
/home/pi/Desktop/images/19012025/10/51/image_19012025_10_51_02_291859_0001.jpg
/home/pi/Desktop/images/19012025/10/51/image_19012025_10_51_02_291859_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330011804","1330011827","1330011812","1330011778"],"photo_ids_order":["1330011778","1330011804","1330011812","1330011827"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/e1ff59a9e0109da6ec6400f0eeef96dd.jpg","text":"TemporaryFile(/tmp/multipartBody8039338611256613631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737280353799,"filename":"image_19012025_10_51_02_291859_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/102866a7586767b4c2e8a4605e934fa4.jpg","text":"TemporaryFile(/tmp/multipartBody7877088172204208847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737280353799,"filename":"image_19012025_10_51_02_291859_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/c4495687325a96900d12ec375d23f34b.jpg","text":"TemporaryFile(/tmp/multipartBody7201817203935845654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737280353799,"filename":"image_19012025_10_51_02_291859_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/c18c9b8a3defc0ca3a553352838732fb.jpg","text":"TemporaryFile(/tmp/multipartBody8185960562632892766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737280353799,"filename":"image_19012025_10_50_03_032361_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330011812","file1":"1330011804","file0":"1330011778","file3":"1330011827"},"map_files_photo_id_array":[{"photo_id":"1330011812","filename":"file2"},{"photo_id":"1330011804","filename":"file1"},{"photo_id":"1330011778","filename":"file0"},{"photo_id":"1330011827","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330011804":["hashtag1","hashtag2"]},{"1330011827":["hashtag1","hashtag2"]},{"1330011812":["hashtag1","hashtag2"]},{"1330011778":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330011804, 1330011827, 1330011812, 1330011778)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.987794399261475 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 10:52:22.281590
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/10/51/image_19012025_10_51_02_291859_0003.jpg', '/home/pi/Desktop/images/19012025/10/52/image_19012025_10_52_02_526410_0000.jpg', '/home/pi/Desktop/images/19012025/10/52/image_19012025_10_52_02_526410_0001.jpg', '/home/pi/Desktop/images/19012025/10/52/image_19012025_10_52_02_526410_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/10/51/image_19012025_10_51_02_291859_0003.jpg
/home/pi/Desktop/images/19012025/10/52/image_19012025_10_52_02_526410_0000.jpg
/home/pi/Desktop/images/19012025/10/52/image_19012025_10_52_02_526410_0001.jpg
/home/pi/Desktop/images/19012025/10/52/image_19012025_10_52_02_526410_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.936324119567871 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-19 10:52:42.277833
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/10/51/image_19012025_10_51_02_291859_0003.jpg', '/home/pi/Desktop/images/19012025/10/52/image_19012025_10_52_02_526410_0000.jpg', '/home/pi/Desktop/images/19012025/10/52/image_19012025_10_52_02_526410_0001.jpg', '/home/pi/Desktop/images/19012025/10/52/image_19012025_10_52_02_526410_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/10/51/image_19012025_10_51_02_291859_0003.jpg
/home/pi/Desktop/images/19012025/10/52/image_19012025_10_52_02_526410_0000.jpg
/home/pi/Desktop/images/19012025/10/52/image_19012025_10_52_02_526410_0001.jpg
/home/pi/Desktop/images/19012025/10/52/image_19012025_10_52_02_526410_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330011937","1330011930","1330011933","1330011920"],"photo_ids_order":["1330011920","1330011930","1330011933","1330011937"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/57b5c3a3861140173c88d7d28b463d18.jpg","text":"TemporaryFile(/tmp/multipartBody510494441337436028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737280433590,"filename":"image_19012025_10_52_02_526410_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/b0da94fee1d938bd30cb727462ddd53a.jpg","text":"TemporaryFile(/tmp/multipartBody453539732896567781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737280433590,"filename":"image_19012025_10_52_02_526410_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/3bdfa6a70b31ad8d1a2d0e91d852938a.jpg","text":"TemporaryFile(/tmp/multipartBody650204955257168226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737280433590,"filename":"image_19012025_10_52_02_526410_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/8c5c2ebdb50d8946486f92118b6cc4b1.jpg","text":"TemporaryFile(/tmp/multipartBody9038231592170616906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737280433590,"filename":"image_19012025_10_51_02_291859_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330011933","file1":"1330011930","file0":"1330011920","file3":"1330011937"},"map_files_photo_id_array":[{"photo_id":"1330011933","filename":"file2"},{"photo_id":"1330011930","filename":"file1"},{"photo_id":"1330011920","filename":"file0"},{"photo_id":"1330011937","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330011937":["hashtag1","hashtag2"]},{"1330011930":["hashtag1","hashtag2"]},{"1330011933":["hashtag1","hashtag2"]},{"1330011920":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330011937, 1330011930, 1330011933, 1330011920)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 47.197659492492676 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-19 10:53:32.482288
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/10/52/image_19012025_10_52_02_526410_0003.jpg', '/home/pi/Desktop/images/19012025/10/53/image_19012025_10_53_02_633515_0000.jpg', '/home/pi/Desktop/images/19012025/10/53/image_19012025_10_53_02_633515_0001.jpg', '/home/pi/Desktop/images/19012025/10/53/image_19012025_10_53_02_633515_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/10/52/image_19012025_10_52_02_526410_0003.jpg
/home/pi/Desktop/images/19012025/10/53/image_19012025_10_53_02_633515_0000.jpg
/home/pi/Desktop/images/19012025/10/53/image_19012025_10_53_02_633515_0001.jpg
/home/pi/Desktop/images/19012025/10/53/image_19012025_10_53_02_633515_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330011945","1330011952","1330011955","1330011949"],"photo_ids_order":["1330011945","1330011949","1330011952","1330011955"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/0c54e9dfdcbfce1157ff37feaf99581f.jpg","text":"TemporaryFile(/tmp/multipartBody5159207625838186316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737280483504,"filename":"image_19012025_10_52_02_526410_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/b31fa0e755a36b8db8dea289e3cc9919.jpg","text":"TemporaryFile(/tmp/multipartBody6561164167111814205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737280483504,"filename":"image_19012025_10_53_02_633515_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/1601cd2431f3993b91f7b58b0fe515c3.jpg","text":"TemporaryFile(/tmp/multipartBody8764981029984881508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737280483504,"filename":"image_19012025_10_53_02_633515_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/abffe1a7825bf29ca1d7371492206752.jpg","text":"TemporaryFile(/tmp/multipartBody5183994864524632973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737280483504,"filename":"image_19012025_10_53_02_633515_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330011952","file1":"1330011949","file0":"1330011945","file3":"1330011955"},"map_files_photo_id_array":[{"photo_id":"1330011952","filename":"file2"},{"photo_id":"1330011949","filename":"file1"},{"photo_id":"1330011945","filename":"file0"},{"photo_id":"1330011955","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330011945":["hashtag1","hashtag2"]},{"1330011952":["hashtag1","hashtag2"]},{"1330011955":["hashtag1","hashtag2"]},{"1330011949":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330011945, 1330011952, 1330011955, 1330011949)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.05958700180054 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 10:54:22.709778
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/10/53/image_19012025_10_53_02_633515_0003.jpg', '/home/pi/Desktop/images/19012025/10/54/image_19012025_10_54_02_860479_0000.jpg', '/home/pi/Desktop/images/19012025/10/54/image_19012025_10_54_02_860479_0001.jpg', '/home/pi/Desktop/images/19012025/10/54/image_19012025_10_54_02_860479_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/10/53/image_19012025_10_53_02_633515_0003.jpg
/home/pi/Desktop/images/19012025/10/54/image_19012025_10_54_02_860479_0000.jpg
/home/pi/Desktop/images/19012025/10/54/image_19012025_10_54_02_860479_0001.jpg
/home/pi/Desktop/images/19012025/10/54/image_19012025_10_54_02_860479_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330011963","1330011970","1330011973","1330011967"],"photo_ids_order":["1330011963","1330011967","1330011970","1330011973"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/2bf211fe6fb33775ddb2075c5b14ee88.jpg","text":"TemporaryFile(/tmp/multipartBody2793320483919832316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737280534126,"filename":"image_19012025_10_53_02_633515_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/c7ad0142ae9ea4ff1d871cc610df9e6e.jpg","text":"TemporaryFile(/tmp/multipartBody3161637187934771365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737280534126,"filename":"image_19012025_10_54_02_860479_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/ec733f4321686368b81d79d026b14045.jpg","text":"TemporaryFile(/tmp/multipartBody3327957733299026611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737280534126,"filename":"image_19012025_10_54_02_860479_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/7eaaaeb05fa4b10027bb7833430b232e.jpg","text":"TemporaryFile(/tmp/multipartBody1386881158590593359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737280534126,"filename":"image_19012025_10_54_02_860479_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330011970","file1":"1330011967","file0":"1330011963","file3":"1330011973"},"map_files_photo_id_array":[{"photo_id":"1330011970","filename":"file2"},{"photo_id":"1330011967","filename":"file1"},{"photo_id":"1330011963","filename":"file0"},{"photo_id":"1330011973","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330011963":["hashtag1","hashtag2"]},{"1330011970":["hashtag1","hashtag2"]},{"1330011973":["hashtag1","hashtag2"]},{"1330011967":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330011963, 1330011970, 1330011973, 1330011967)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 45.90782618522644 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 10:55:21.907287
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/10/54/image_19012025_10_54_02_860479_0003.jpg', '/home/pi/Desktop/images/19012025/10/55/image_19012025_10_55_03_106053_0000.jpg', '/home/pi/Desktop/images/19012025/10/55/image_19012025_10_55_03_106053_0001.jpg', '/home/pi/Desktop/images/19012025/10/55/image_19012025_10_55_03_106053_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/10/54/image_19012025_10_54_02_860479_0003.jpg
/home/pi/Desktop/images/19012025/10/55/image_19012025_10_55_03_106053_0000.jpg
/home/pi/Desktop/images/19012025/10/55/image_19012025_10_55_03_106053_0001.jpg
/home/pi/Desktop/images/19012025/10/55/image_19012025_10_55_03_106053_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330012011","1330011982","1330011979","1330012018"],"photo_ids_order":["1330011979","1330011982","1330012011","1330012018"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/b508b29824833e79d86f8671d89cdfc5.jpg","text":"TemporaryFile(/tmp/multipartBody8251948800920953097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737280593176,"filename":"image_19012025_10_55_03_106053_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/fb4d824df89a6cba7a6213e8a40adc20.jpg","text":"TemporaryFile(/tmp/multipartBody5659678068563134344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737280593176,"filename":"image_19012025_10_55_03_106053_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/9d2de06332c1f0fe80f7810cb86b6b13.jpg","text":"TemporaryFile(/tmp/multipartBody6045976062485385954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737280593176,"filename":"image_19012025_10_54_02_860479_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/1d010637a84af8c73b7d49a022b58c2c.jpg","text":"TemporaryFile(/tmp/multipartBody1872034358014638285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737280593176,"filename":"image_19012025_10_55_03_106053_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330012011","file1":"1330011982","file0":"1330011979","file3":"1330012018"},"map_files_photo_id_array":[{"photo_id":"1330012011","filename":"file2"},{"photo_id":"1330011982","filename":"file1"},{"photo_id":"1330011979","filename":"file0"},{"photo_id":"1330012018","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330012011":["hashtag1","hashtag2"]},{"1330011982":["hashtag1","hashtag2"]},{"1330011979":["hashtag1","hashtag2"]},{"1330012018":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330012011, 1330011982, 1330011979, 1330012018)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.08552384376526 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 10:56:22.078854
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/10/55/image_19012025_10_55_03_106053_0003.jpg', '/home/pi/Desktop/images/19012025/10/56/image_19012025_10_56_02_251900_0000.jpg', '/home/pi/Desktop/images/19012025/10/56/image_19012025_10_56_02_251900_0001.jpg', '/home/pi/Desktop/images/19012025/10/56/image_19012025_10_56_02_251900_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/10/55/image_19012025_10_55_03_106053_0003.jpg
/home/pi/Desktop/images/19012025/10/56/image_19012025_10_56_02_251900_0000.jpg
/home/pi/Desktop/images/19012025/10/56/image_19012025_10_56_02_251900_0001.jpg
/home/pi/Desktop/images/19012025/10/56/image_19012025_10_56_02_251900_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330012110","1330012113","1330012116","1330012120"],"photo_ids_order":["1330012110","1330012113","1330012116","1330012120"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/eba877cb8e7568f9bf13d6ffd668c457.jpg","text":"TemporaryFile(/tmp/multipartBody6208288220873754165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737280653360,"filename":"image_19012025_10_55_03_106053_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/d103bbb351c2f357abfb1791bab53a0d.jpg","text":"TemporaryFile(/tmp/multipartBody7741749692438701834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737280653360,"filename":"image_19012025_10_56_02_251900_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/e0e50c1076323a860ecc7c723fb5a7c9.jpg","text":"TemporaryFile(/tmp/multipartBody7923919044343441120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737280653360,"filename":"image_19012025_10_56_02_251900_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/b9291085a709a2d1be20602c69ef7c55.jpg","text":"TemporaryFile(/tmp/multipartBody1955972575378664931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737280653360,"filename":"image_19012025_10_56_02_251900_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330012116","file1":"1330012113","file0":"1330012110","file3":"1330012120"},"map_files_photo_id_array":[{"photo_id":"1330012116","filename":"file2"},{"photo_id":"1330012113","filename":"file1"},{"photo_id":"1330012110","filename":"file0"},{"photo_id":"1330012120","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330012110":["hashtag1","hashtag2"]},{"1330012113":["hashtag1","hashtag2"]},{"1330012116":["hashtag1","hashtag2"]},{"1330012120":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330012110, 1330012113, 1330012116, 1330012120)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.30097723007202 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 10:57:22.273121
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/10/56/image_19012025_10_56_02_251900_0003.jpg', '/home/pi/Desktop/images/19012025/10/57/image_19012025_10_57_02_427356_0000.jpg', '/home/pi/Desktop/images/19012025/10/57/image_19012025_10_57_02_427356_0001.jpg', '/home/pi/Desktop/images/19012025/10/57/image_19012025_10_57_02_427356_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/10/56/image_19012025_10_56_02_251900_0003.jpg
/home/pi/Desktop/images/19012025/10/57/image_19012025_10_57_02_427356_0000.jpg
/home/pi/Desktop/images/19012025/10/57/image_19012025_10_57_02_427356_0001.jpg
/home/pi/Desktop/images/19012025/10/57/image_19012025_10_57_02_427356_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-19 10:59:03.257033
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/10/56/image_19012025_10_56_02_251900_0003.jpg', '/home/pi/Desktop/images/19012025/10/57/image_19012025_10_57_02_427356_0000.jpg', '/home/pi/Desktop/images/19012025/10/57/image_19012025_10_57_02_427356_0001.jpg', '/home/pi/Desktop/images/19012025/10/57/image_19012025_10_57_02_427356_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/10/56/image_19012025_10_56_02_251900_0003.jpg
/home/pi/Desktop/images/19012025/10/57/image_19012025_10_57_02_427356_0000.jpg
/home/pi/Desktop/images/19012025/10/57/image_19012025_10_57_02_427356_0001.jpg
/home/pi/Desktop/images/19012025/10/57/image_19012025_10_57_02_427356_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330012266","1330012274","1330012279","1330012270"],"photo_ids_order":["1330012266","1330012270","1330012274","1330012279"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/54523427a66d56733ac2931fca5bb9c5.jpg","text":"TemporaryFile(/tmp/multipartBody664846248832182947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737280814822,"filename":"image_19012025_10_56_02_251900_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/bdad0a6c5212f13c816ed52309900ea1.jpg","text":"TemporaryFile(/tmp/multipartBody3044205851286886681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737280814822,"filename":"image_19012025_10_57_02_427356_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/535e6fa3273338491c93674111af664d.jpg","text":"TemporaryFile(/tmp/multipartBody9081962689386840272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737280814822,"filename":"image_19012025_10_57_02_427356_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/64fe2d6611e80b0f68e588e36f0ac407.jpg","text":"TemporaryFile(/tmp/multipartBody8948506781486738235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737280814822,"filename":"image_19012025_10_57_02_427356_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330012274","file1":"1330012270","file0":"1330012266","file3":"1330012279"},"map_files_photo_id_array":[{"photo_id":"1330012274","filename":"file2"},{"photo_id":"1330012270","filename":"file1"},{"photo_id":"1330012266","filename":"file0"},{"photo_id":"1330012279","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330012266":["hashtag1","hashtag2"]},{"1330012274":["hashtag1","hashtag2"]},{"1330012279":["hashtag1","hashtag2"]},{"1330012270":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330012266, 1330012274, 1330012279, 1330012270)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.28437781333923 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-19 10:59:52.481794
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/10/57/image_19012025_10_57_02_427356_0003.jpg', '/home/pi/Desktop/images/19012025/10/58/image_19012025_10_58_02_626184_0000.jpg', '/home/pi/Desktop/images/19012025/10/58/image_19012025_10_58_02_626184_0001.jpg', '/home/pi/Desktop/images/19012025/10/58/image_19012025_10_58_02_626184_0002.jpg', '/home/pi/Desktop/images/19012025/10/58/image_19012025_10_58_02_626184_0003.jpg', '/home/pi/Desktop/images/19012025/10/59/image_19012025_10_59_02_694011_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/10/57/image_19012025_10_57_02_427356_0003.jpg
/home/pi/Desktop/images/19012025/10/58/image_19012025_10_58_02_626184_0000.jpg
/home/pi/Desktop/images/19012025/10/58/image_19012025_10_58_02_626184_0001.jpg
/home/pi/Desktop/images/19012025/10/58/image_19012025_10_58_02_626184_0002.jpg
/home/pi/Desktop/images/19012025/10/58/image_19012025_10_58_02_626184_0003.jpg
/home/pi/Desktop/images/19012025/10/59/image_19012025_10_59_02_694011_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":["1330012303","1330012296","1330012308","1330012292","1330012327","1330012299"],"photo_ids_order":["1330012292","1330012296","1330012299","1330012303","1330012308","1330012327"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/36054156bce8f92db36fd393d016b88a.jpg","text":"TemporaryFile(/tmp/multipartBody8144609937372492532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737280869237,"filename":"image_19012025_10_58_02_626184_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/73b548bc1143740f2ac31045f4eb62d9.jpg","text":"TemporaryFile(/tmp/multipartBody1039719931039399551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737280869237,"filename":"image_19012025_10_58_02_626184_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/0104ae42b48ca0268215d086c0966ff8.jpg","text":"TemporaryFile(/tmp/multipartBody7297074104970292214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737280869237,"filename":"image_19012025_10_58_02_626184_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/bfe7b586a9f53dffea914653639770de.jpg","text":"TemporaryFile(/tmp/multipartBody144959214742435340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737280869237,"filename":"image_19012025_10_57_02_427356_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/23fbe5a8aeb0ec594b76f01e46dc3781.jpg","text":"TemporaryFile(/tmp/multipartBody5713975511325096069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737280869237,"filename":"image_19012025_10_59_02_694011_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/c87789d04064bbd083867eace27ee865.jpg","text":"TemporaryFile(/tmp/multipartBody1688656586239641036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737280869237,"filename":"image_19012025_10_58_02_626184_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330012299","file1":"1330012296","file0":"1330012292","file4":"1330012308","file5":"1330012327","file3":"1330012303"},"map_files_photo_id_array":[{"photo_id":"1330012327","filename":"file5"},{"photo_id":"1330012299","filename":"file2"},{"photo_id":"1330012308","filename":"file4"},{"photo_id":"1330012296","filename":"file1"},{"photo_id":"1330012292","filename":"file0"},{"photo_id":"1330012303","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330012303":["hashtag1","hashtag2"]},{"1330012296":["hashtag1","hashtag2"]},{"1330012308":["hashtag1","hashtag2"]},{"1330012292":["hashtag1","hashtag2"]},{"1330012327":["hashtag1","hashtag2"]},{"1330012299":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330012303, 1330012296, 1330012308, 1330012292, 1330012327, 1330012299)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.230971574783325 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-19 11:00:52.632696
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/10/59/image_19012025_10_59_02_694011_0001.jpg', '/home/pi/Desktop/images/19012025/10/59/image_19012025_10_59_02_694011_0002.jpg', '/home/pi/Desktop/images/19012025/10/59/image_19012025_10_59_02_694011_0003.jpg', '/home/pi/Desktop/images/19012025/11/00/image_19012025_11_00_02_860858_0000.jpg', '/home/pi/Desktop/images/19012025/11/00/image_19012025_11_00_02_860858_0001.jpg', '/home/pi/Desktop/images/19012025/11/00/image_19012025_11_00_02_860858_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/10/59/image_19012025_10_59_02_694011_0001.jpg
/home/pi/Desktop/images/19012025/10/59/image_19012025_10_59_02_694011_0002.jpg
/home/pi/Desktop/images/19012025/10/59/image_19012025_10_59_02_694011_0003.jpg
/home/pi/Desktop/images/19012025/11/00/image_19012025_11_00_02_860858_0000.jpg
/home/pi/Desktop/images/19012025/11/00/image_19012025_11_00_02_860858_0001.jpg
/home/pi/Desktop/images/19012025/11/00/image_19012025_11_00_02_860858_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330013223","1330013162","1330013159","1330013176","1330013161","1330013181"],"photo_ids_order":["1330013159","1330013161","1330013162","1330013176","1330013181","1330013223"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/3f8eab17c07277ac2826f03deeefc589.jpg","text":"TemporaryFile(/tmp/multipartBody834289373179115525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737280929774,"filename":"image_19012025_11_00_02_860858_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/777c65b5ee5818aa1762351433f35a67.jpg","text":"TemporaryFile(/tmp/multipartBody2379333630888238568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737280929774,"filename":"image_19012025_10_59_02_694011_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/3acbbd442c30df7d44c7f75178908bee.jpg","text":"TemporaryFile(/tmp/multipartBody8381400552939620082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737280929774,"filename":"image_19012025_10_59_02_694011_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/af82a052b96d1c309847f809a3b17242.jpg","text":"TemporaryFile(/tmp/multipartBody2920584363096545831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737280929774,"filename":"image_19012025_11_00_02_860858_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/48b85bf02c282a46f3977b77487aaa0f.jpg","text":"TemporaryFile(/tmp/multipartBody4706853252989578733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737280929774,"filename":"image_19012025_10_59_02_694011_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/eea3e2eb8555fa3a91d91c5bf93e2e5f.jpg","text":"TemporaryFile(/tmp/multipartBody3791375391848950741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737280929774,"filename":"image_19012025_11_00_02_860858_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330013162","file1":"1330013161","file0":"1330013159","file4":"1330013181","file5":"1330013223","file3":"1330013176"},"map_files_photo_id_array":[{"photo_id":"1330013223","filename":"file5"},{"photo_id":"1330013162","filename":"file2"},{"photo_id":"1330013181","filename":"file4"},{"photo_id":"1330013161","filename":"file1"},{"photo_id":"1330013159","filename":"file0"},{"photo_id":"1330013176","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330013223":["hashtag1","hashtag2"]},{"1330013162":["hashtag1","hashtag2"]},{"1330013159":["hashtag1","hashtag2"]},{"1330013176":["hashtag1","hashtag2"]},{"1330013161":["hashtag1","hashtag2"]},{"1330013181":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330013223, 1330013162, 1330013159, 1330013176, 1330013161, 1330013181)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.54230237007141 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 11:02:02.510369
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/11/00/image_19012025_11_00_02_860858_0003.jpg', '/home/pi/Desktop/images/19012025/11/01/image_19012025_11_01_03_044901_0000.jpg', '/home/pi/Desktop/images/19012025/11/01/image_19012025_11_01_03_044901_0001.jpg', '/home/pi/Desktop/images/19012025/11/01/image_19012025_11_01_03_044901_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/11/00/image_19012025_11_00_02_860858_0003.jpg
/home/pi/Desktop/images/19012025/11/01/image_19012025_11_01_03_044901_0000.jpg
/home/pi/Desktop/images/19012025/11/01/image_19012025_11_01_03_044901_0001.jpg
/home/pi/Desktop/images/19012025/11/01/image_19012025_11_01_03_044901_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330013642","1330013621","1330013705","1330013682"],"photo_ids_order":["1330013621","1330013642","1330013682","1330013705"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/5f69b36443372af26b8da4e912b510e1.jpg","text":"TemporaryFile(/tmp/multipartBody3244375621521906121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737280994185,"filename":"image_19012025_11_01_03_044901_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/134a65bce1c4051dc136de85faea812d.jpg","text":"TemporaryFile(/tmp/multipartBody3000543742643566085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737280994185,"filename":"image_19012025_11_00_02_860858_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/4671de43d36ac4622cef6d26f253efeb.jpg","text":"TemporaryFile(/tmp/multipartBody4997704146785588143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737280994185,"filename":"image_19012025_11_01_03_044901_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/4940e12232f152cc6a5d7c4df72d6fdc.jpg","text":"TemporaryFile(/tmp/multipartBody7720456257766220216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737280994185,"filename":"image_19012025_11_01_03_044901_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330013682","file1":"1330013642","file0":"1330013621","file3":"1330013705"},"map_files_photo_id_array":[{"photo_id":"1330013682","filename":"file2"},{"photo_id":"1330013642","filename":"file1"},{"photo_id":"1330013621","filename":"file0"},{"photo_id":"1330013705","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330013642":["hashtag1","hashtag2"]},{"1330013621":["hashtag1","hashtag2"]},{"1330013705":["hashtag1","hashtag2"]},{"1330013682":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330013642, 1330013621, 1330013705, 1330013682)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.607136249542236 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-19 11:02:51.971079
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/11/01/image_19012025_11_01_03_044901_0003.jpg', '/home/pi/Desktop/images/19012025/11/02/image_19012025_11_02_02_211636_0000.jpg', '/home/pi/Desktop/images/19012025/11/02/image_19012025_11_02_02_211636_0001.jpg', '/home/pi/Desktop/images/19012025/11/02/image_19012025_11_02_02_211636_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/11/01/image_19012025_11_01_03_044901_0003.jpg
/home/pi/Desktop/images/19012025/11/02/image_19012025_11_02_02_211636_0000.jpg
/home/pi/Desktop/images/19012025/11/02/image_19012025_11_02_02_211636_0001.jpg
/home/pi/Desktop/images/19012025/11/02/image_19012025_11_02_02_211636_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330013832","1330014364","1330013787","1330014141"],"photo_ids_order":["1330013787","1330013832","1330014141","1330014364"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/a2b0fe16df849cd7436cb26a70d699b8.jpg","text":"TemporaryFile(/tmp/multipartBody8532722640621869555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737281043382,"filename":"image_19012025_11_02_02_211636_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/f75a0a50dbba7736e75f3e1da940c79f.jpg","text":"TemporaryFile(/tmp/multipartBody6887781140634448159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737281043382,"filename":"image_19012025_11_02_02_211636_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/d9704c6596a21742952202f46fcfb024.jpg","text":"TemporaryFile(/tmp/multipartBody4679807236008958487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737281043382,"filename":"image_19012025_11_01_03_044901_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/07955de14376b3d37234e5bffe25e532.jpg","text":"TemporaryFile(/tmp/multipartBody2818378103610774222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737281043382,"filename":"image_19012025_11_02_02_211636_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330014141","file1":"1330013832","file0":"1330013787","file3":"1330014364"},"map_files_photo_id_array":[{"photo_id":"1330014141","filename":"file2"},{"photo_id":"1330013832","filename":"file1"},{"photo_id":"1330013787","filename":"file0"},{"photo_id":"1330014364","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330013832":["hashtag1","hashtag2"]},{"1330014364":["hashtag1","hashtag2"]},{"1330013787":["hashtag1","hashtag2"]},{"1330014141":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330013832, 1330014364, 1330013787, 1330014141)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.06324243545532 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-19 11:03:42.175675
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/11/02/image_19012025_11_02_02_211636_0003.jpg', '/home/pi/Desktop/images/19012025/11/03/image_19012025_11_03_02_365334_0000.jpg', '/home/pi/Desktop/images/19012025/11/03/image_19012025_11_03_02_365334_0001.jpg', '/home/pi/Desktop/images/19012025/11/03/image_19012025_11_03_02_365334_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/11/02/image_19012025_11_02_02_211636_0003.jpg
/home/pi/Desktop/images/19012025/11/03/image_19012025_11_03_02_365334_0000.jpg
/home/pi/Desktop/images/19012025/11/03/image_19012025_11_03_02_365334_0001.jpg
/home/pi/Desktop/images/19012025/11/03/image_19012025_11_03_02_365334_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":["1330014568","1330014567","1330014546","1330014497"],"photo_ids_order":["1330014497","1330014546","1330014567","1330014568"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/b21d63918e1c4d93dd87a56ca9fbcb00.jpg","text":"TemporaryFile(/tmp/multipartBody2284893768657827928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737281093532,"filename":"image_19012025_11_03_02_365334_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/5f181b9d0ea6c599a940a678a6c457c8.jpg","text":"TemporaryFile(/tmp/multipartBody7699741022721401993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737281093532,"filename":"image_19012025_11_03_02_365334_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/4ca5a6791541b66d3b4747d5ca6e5648.jpg","text":"TemporaryFile(/tmp/multipartBody2444507734837868827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737281093532,"filename":"image_19012025_11_03_02_365334_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/1677b02a612e539bd49d9e39244fb389.jpg","text":"TemporaryFile(/tmp/multipartBody2757923144013718033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737281093532,"filename":"image_19012025_11_02_02_211636_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330014567","file1":"1330014546","file0":"1330014497","file3":"1330014568"},"map_files_photo_id_array":[{"photo_id":"1330014567","filename":"file2"},{"photo_id":"1330014546","filename":"file1"},{"photo_id":"1330014497","filename":"file0"},{"photo_id":"1330014568","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330014568":["hashtag1","hashtag2"]},{"1330014567":["hashtag1","hashtag2"]},{"1330014546":["hashtag1","hashtag2"]},{"1330014497":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330014568, 1330014567, 1330014546, 1330014497)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.349263429641724 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 11:04:22.285297
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/11/03/image_19012025_11_03_02_365334_0003.jpg', '/home/pi/Desktop/images/19012025/11/04/image_19012025_11_04_02_581048_0000.jpg', '/home/pi/Desktop/images/19012025/11/04/image_19012025_11_04_02_581048_0001.jpg', '/home/pi/Desktop/images/19012025/11/04/image_19012025_11_04_02_581048_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/11/03/image_19012025_11_03_02_365334_0003.jpg
/home/pi/Desktop/images/19012025/11/04/image_19012025_11_04_02_581048_0000.jpg
/home/pi/Desktop/images/19012025/11/04/image_19012025_11_04_02_581048_0001.jpg
/home/pi/Desktop/images/19012025/11/04/image_19012025_11_04_02_581048_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330015491","1330015485","1330015488","1330015481"],"photo_ids_order":["1330015481","1330015485","1330015488","1330015491"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/493542cfdf7702f999ef2df4d4d648cd.jpg","text":"TemporaryFile(/tmp/multipartBody2827315786945940238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737281133605,"filename":"image_19012025_11_04_02_581048_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/c9d0413da5830351e041b9d5297d4881.jpg","text":"TemporaryFile(/tmp/multipartBody1071706552124296053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737281133605,"filename":"image_19012025_11_04_02_581048_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/c6bdd217aab79a528f6f824eedc7afe2.jpg","text":"TemporaryFile(/tmp/multipartBody2057579861313496051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737281133605,"filename":"image_19012025_11_04_02_581048_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/8e4c1cc7c88aaa26890e67d456309b7c.jpg","text":"TemporaryFile(/tmp/multipartBody5180833197096252707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737281133605,"filename":"image_19012025_11_03_02_365334_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330015488","file1":"1330015485","file0":"1330015481","file3":"1330015491"},"map_files_photo_id_array":[{"photo_id":"1330015488","filename":"file2"},{"photo_id":"1330015485","filename":"file1"},{"photo_id":"1330015481","filename":"file0"},{"photo_id":"1330015491","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330015491":["hashtag1","hashtag2"]},{"1330015485":["hashtag1","hashtag2"]},{"1330015488":["hashtag1","hashtag2"]},{"1330015481":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330015491, 1330015485, 1330015488, 1330015481)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.92966556549072 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 11:05:03.024605
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
  port_id : 19698700
  datou_current_id : 2490825
in upload_from_sqlite, uploading in 19698700
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17012025/22/04/image_17012025_22_04_02_314042_0001.jpg', '/home/pi/Desktop/images/17012025/22/04/image_17012025_22_04_02_314042_0002.jpg', '/home/pi/Desktop/images/17012025/22/04/image_17012025_22_04_02_314042_0003.jpg', '/home/pi/Desktop/images/17012025/22/05/image_17012025_22_05_02_603751_0000.jpg', '/home/pi/Desktop/images/17012025/22/05/image_17012025_22_05_02_603751_0001.jpg', '/home/pi/Desktop/images/17012025/22/05/image_17012025_22_05_02_603751_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2490825&datou=0
/home/pi/Desktop/images/17012025/22/04/image_17012025_22_04_02_314042_0001.jpg
/home/pi/Desktop/images/17012025/22/04/image_17012025_22_04_02_314042_0002.jpg
/home/pi/Desktop/images/17012025/22/04/image_17012025_22_04_02_314042_0003.jpg
/home/pi/Desktop/images/17012025/22/05/image_17012025_22_05_02_603751_0000.jpg
/home/pi/Desktop/images/17012025/22/05/image_17012025_22_05_02_603751_0001.jpg
/home/pi/Desktop/images/17012025/22/05/image_17012025_22_05_02_603751_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330015505","1330015795","1330015498","1330015702","1330015797","1330015501"],"photo_ids_order":["1330015498","1330015501","1330015505","1330015702","1330015795","1330015797"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/3184e8a16192f2569dd1829ba461c121.jpg","text":"TemporaryFile(/tmp/multipartBody1002101237497393296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737281180816,"filename":"image_17012025_22_04_02_314042_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/5f14c7c36a6772d5a839a81e028030a8.jpg","text":"TemporaryFile(/tmp/multipartBody8780313036841711198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737281180816,"filename":"image_17012025_22_05_02_603751_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/2c5f185a8742b93fcec32a8c58241889.jpg","text":"TemporaryFile(/tmp/multipartBody4842641450621887896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737281180816,"filename":"image_17012025_22_04_02_314042_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/d3617e7e5d126ac2ed3b2fedc5a3dfd7.jpg","text":"TemporaryFile(/tmp/multipartBody4301779871943364940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737281180816,"filename":"image_17012025_22_05_02_603751_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/223fa075db9c05e66327e4a5d14564b2.jpg","text":"TemporaryFile(/tmp/multipartBody9201623720870134870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737281180816,"filename":"image_17012025_22_05_02_603751_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/400b87b55e420fd550e1679f8e906e3f.jpg","text":"TemporaryFile(/tmp/multipartBody797734416112264850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737281180816,"filename":"image_17012025_22_04_02_314042_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330015505","file1":"1330015501","file0":"1330015498","file4":"1330015795","file5":"1330015797","file3":"1330015702"},"map_files_photo_id_array":[{"photo_id":"1330015797","filename":"file5"},{"photo_id":"1330015505","filename":"file2"},{"photo_id":"1330015795","filename":"file4"},{"photo_id":"1330015501","filename":"file1"},{"photo_id":"1330015498","filename":"file0"},{"photo_id":"1330015702","filename":"file3"}],"portfolio_id":19698700,"hashtag_by_photo_ids":[{"1330015505":["hashtag1","hashtag2"]},{"1330015795":["hashtag1","hashtag2"]},{"1330015498":["hashtag1","hashtag2"]},{"1330015702":["hashtag1","hashtag2"]},{"1330015797":["hashtag1","hashtag2"]},{"1330015501":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698700 used, photo_id : ArrayBuffer(1330015505, 1330015795, 1330015498, 1330015702, 1330015797, 1330015501)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.47854566574097 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 11:06:03.144986
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/11/04/image_19012025_11_04_02_581048_0003.jpg', '/home/pi/Desktop/images/19012025/11/05/image_19012025_11_05_02_727800_0000.jpg', '/home/pi/Desktop/images/19012025/11/05/image_19012025_11_05_02_727800_0001.jpg', '/home/pi/Desktop/images/19012025/11/05/image_19012025_11_05_02_727800_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/11/04/image_19012025_11_04_02_581048_0003.jpg
/home/pi/Desktop/images/19012025/11/05/image_19012025_11_05_02_727800_0000.jpg
/home/pi/Desktop/images/19012025/11/05/image_19012025_11_05_02_727800_0001.jpg
/home/pi/Desktop/images/19012025/11/05/image_19012025_11_05_02_727800_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330015891","1330015885","1330015884","1330015889"],"photo_ids_order":["1330015884","1330015885","1330015889","1330015891"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/0800f0f433ccedcb45bad9c1ce6abae6.jpg","text":"TemporaryFile(/tmp/multipartBody8983426497532252864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737281234465,"filename":"image_19012025_11_05_02_727800_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/fdbe666565f8acf4d7f611f900ee1a87.jpg","text":"TemporaryFile(/tmp/multipartBody1256979142338889255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737281234465,"filename":"image_19012025_11_05_02_727800_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/7e4ea9debe0151ffc9b2e5fafdc362e4.jpg","text":"TemporaryFile(/tmp/multipartBody7300380808794593424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737281234465,"filename":"image_19012025_11_04_02_581048_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/97bf8d69f5745ac5beaaabb79d8eb30d.jpg","text":"TemporaryFile(/tmp/multipartBody6657634734207185654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737281234465,"filename":"image_19012025_11_05_02_727800_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330015889","file1":"1330015885","file0":"1330015884","file3":"1330015891"},"map_files_photo_id_array":[{"photo_id":"1330015889","filename":"file2"},{"photo_id":"1330015885","filename":"file1"},{"photo_id":"1330015884","filename":"file0"},{"photo_id":"1330015891","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330015891":["hashtag1","hashtag2"]},{"1330015885":["hashtag1","hashtag2"]},{"1330015884":["hashtag1","hashtag2"]},{"1330015889":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330015891, 1330015885, 1330015884, 1330015889)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.49761509895325 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-19 11:06:52.638059
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/11/05/image_19012025_11_05_02_727800_0003.jpg', '/home/pi/Desktop/images/19012025/11/06/image_19012025_11_06_02_944753_0000.jpg', '/home/pi/Desktop/images/19012025/11/06/image_19012025_11_06_02_944753_0001.jpg', '/home/pi/Desktop/images/19012025/11/06/image_19012025_11_06_02_944753_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/11/05/image_19012025_11_05_02_727800_0003.jpg
/home/pi/Desktop/images/19012025/11/06/image_19012025_11_06_02_944753_0000.jpg
/home/pi/Desktop/images/19012025/11/06/image_19012025_11_06_02_944753_0001.jpg
/home/pi/Desktop/images/19012025/11/06/image_19012025_11_06_02_944753_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330015907","1330015903","1330015905","1330015908"],"photo_ids_order":["1330015903","1330015905","1330015907","1330015908"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/7f6122aab9c69a33b838be33ddb1a72d.jpg","text":"TemporaryFile(/tmp/multipartBody2673371763874210509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737281284080,"filename":"image_19012025_11_06_02_944753_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/d6494774ed2f5e49a103aadb7745670b.jpg","text":"TemporaryFile(/tmp/multipartBody4579950105409273040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737281284080,"filename":"image_19012025_11_05_02_727800_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/77de27868831d7268f4f54ca068cc0dc.jpg","text":"TemporaryFile(/tmp/multipartBody6958651064928536885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737281284080,"filename":"image_19012025_11_06_02_944753_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/4395e261f1a75bfff72517830e7b5d60.jpg","text":"TemporaryFile(/tmp/multipartBody3315647951366534406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737281284080,"filename":"image_19012025_11_06_02_944753_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330015907","file1":"1330015905","file0":"1330015903","file3":"1330015908"},"map_files_photo_id_array":[{"photo_id":"1330015907","filename":"file2"},{"photo_id":"1330015905","filename":"file1"},{"photo_id":"1330015903","filename":"file0"},{"photo_id":"1330015908","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330015907":["hashtag1","hashtag2"]},{"1330015903":["hashtag1","hashtag2"]},{"1330015905":["hashtag1","hashtag2"]},{"1330015908":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330015907, 1330015903, 1330015905, 1330015908)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.32260823249817 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-19 11:07:41.908669
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/11/06/image_19012025_11_06_02_944753_0003.jpg', '/home/pi/Desktop/images/19012025/11/07/image_19012025_11_07_03_048146_0000.jpg', '/home/pi/Desktop/images/19012025/11/07/image_19012025_11_07_03_048146_0001.jpg', '/home/pi/Desktop/images/19012025/11/07/image_19012025_11_07_03_048146_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/11/06/image_19012025_11_06_02_944753_0003.jpg
/home/pi/Desktop/images/19012025/11/07/image_19012025_11_07_03_048146_0000.jpg
/home/pi/Desktop/images/19012025/11/07/image_19012025_11_07_03_048146_0001.jpg
/home/pi/Desktop/images/19012025/11/07/image_19012025_11_07_03_048146_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 11.221476793289185 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 11:08:02.382072
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/11/06/image_19012025_11_06_02_944753_0003.jpg', '/home/pi/Desktop/images/19012025/11/07/image_19012025_11_07_03_048146_0000.jpg', '/home/pi/Desktop/images/19012025/11/07/image_19012025_11_07_03_048146_0001.jpg', '/home/pi/Desktop/images/19012025/11/07/image_19012025_11_07_03_048146_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/11/06/image_19012025_11_06_02_944753_0003.jpg
/home/pi/Desktop/images/19012025/11/07/image_19012025_11_07_03_048146_0000.jpg
/home/pi/Desktop/images/19012025/11/07/image_19012025_11_07_03_048146_0001.jpg
/home/pi/Desktop/images/19012025/11/07/image_19012025_11_07_03_048146_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330016200","1330016031","1330016189","1330015964"],"photo_ids_order":["1330015964","1330016031","1330016189","1330016200"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/c6ee180118be1fb1eec9750e0615c089.jpg","text":"TemporaryFile(/tmp/multipartBody592115857775006643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737281354035,"filename":"image_19012025_11_07_03_048146_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/207d3b3cd47595623342c7c1e5b56060.jpg","text":"TemporaryFile(/tmp/multipartBody6380858250666573255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737281354035,"filename":"image_19012025_11_07_03_048146_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/39972f621abcada290df5228df97a1c9.jpg","text":"TemporaryFile(/tmp/multipartBody1632540090141825654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737281354035,"filename":"image_19012025_11_07_03_048146_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/39ca758e6bcfa5df8c7491586cbe0391.jpg","text":"TemporaryFile(/tmp/multipartBody3479417456195450382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737281354035,"filename":"image_19012025_11_06_02_944753_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330016189","file1":"1330016031","file0":"1330015964","file3":"1330016200"},"map_files_photo_id_array":[{"photo_id":"1330016189","filename":"file2"},{"photo_id":"1330016031","filename":"file1"},{"photo_id":"1330015964","filename":"file0"},{"photo_id":"1330016200","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330016200":["hashtag1","hashtag2"]},{"1330016031":["hashtag1","hashtag2"]},{"1330016189":["hashtag1","hashtag2"]},{"1330015964":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330016200, 1330016031, 1330016189, 1330015964)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 48.05412793159485 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-19 11:08:51.954418
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/11/07/image_19012025_11_07_03_048146_0003.jpg', '/home/pi/Desktop/images/19012025/11/08/image_19012025_11_08_02_185021_0000.jpg', '/home/pi/Desktop/images/19012025/11/08/image_19012025_11_08_02_185021_0001.jpg', '/home/pi/Desktop/images/19012025/11/08/image_19012025_11_08_02_185021_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/11/07/image_19012025_11_07_03_048146_0003.jpg
/home/pi/Desktop/images/19012025/11/08/image_19012025_11_08_02_185021_0000.jpg
/home/pi/Desktop/images/19012025/11/08/image_19012025_11_08_02_185021_0001.jpg
/home/pi/Desktop/images/19012025/11/08/image_19012025_11_08_02_185021_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330016260","1330016263","1330016221","1330016256"],"photo_ids_order":["1330016221","1330016256","1330016260","1330016263"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/eaf7a691cb0221c1cf3bcb9adff75bce.jpg","text":"TemporaryFile(/tmp/multipartBody5733195380083838428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737281403615,"filename":"image_19012025_11_08_02_185021_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/03be932c1338a14bdd18d0c23c373236.jpg","text":"TemporaryFile(/tmp/multipartBody2801165659991095278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737281403615,"filename":"image_19012025_11_08_02_185021_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/6248e8a2d894eb990183d35c4d89a75d.jpg","text":"TemporaryFile(/tmp/multipartBody2303279576637599739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737281403615,"filename":"image_19012025_11_07_03_048146_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/42587488fab81a2ceb8f4176350372f2.jpg","text":"TemporaryFile(/tmp/multipartBody3906562610901154042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737281403615,"filename":"image_19012025_11_08_02_185021_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330016260","file1":"1330016256","file0":"1330016221","file3":"1330016263"},"map_files_photo_id_array":[{"photo_id":"1330016260","filename":"file2"},{"photo_id":"1330016256","filename":"file1"},{"photo_id":"1330016221","filename":"file0"},{"photo_id":"1330016263","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330016260":["hashtag1","hashtag2"]},{"1330016263":["hashtag1","hashtag2"]},{"1330016221":["hashtag1","hashtag2"]},{"1330016256":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330016260, 1330016263, 1330016221, 1330016256)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.79013657569885 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-19 11:09:42.160896
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/11/08/image_19012025_11_08_02_185021_0003.jpg', '/home/pi/Desktop/images/19012025/11/09/image_19012025_11_09_02_392106_0000.jpg', '/home/pi/Desktop/images/19012025/11/09/image_19012025_11_09_02_392106_0001.jpg', '/home/pi/Desktop/images/19012025/11/09/image_19012025_11_09_02_392106_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/11/08/image_19012025_11_08_02_185021_0003.jpg
/home/pi/Desktop/images/19012025/11/09/image_19012025_11_09_02_392106_0000.jpg
/home/pi/Desktop/images/19012025/11/09/image_19012025_11_09_02_392106_0001.jpg
/home/pi/Desktop/images/19012025/11/09/image_19012025_11_09_02_392106_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330016289","1330016286","1330016288","1330016284"],"photo_ids_order":["1330016284","1330016286","1330016288","1330016289"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/2abe9f63830474b002eb4c5280f8bb91.jpg","text":"TemporaryFile(/tmp/multipartBody4061121018340752159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737281453164,"filename":"image_19012025_11_09_02_392106_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/9f6662a875c461724ddc6e0d5a139458.jpg","text":"TemporaryFile(/tmp/multipartBody7101258595327636550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737281453164,"filename":"image_19012025_11_09_02_392106_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/f6db579e9b520f4cab9bc664b24324ab.jpg","text":"TemporaryFile(/tmp/multipartBody9049125181747967283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737281453164,"filename":"image_19012025_11_09_02_392106_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/bec9f27d7435feb9332e6be6291cb250.jpg","text":"TemporaryFile(/tmp/multipartBody4410000831538683541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737281453164,"filename":"image_19012025_11_08_02_185021_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330016288","file1":"1330016286","file0":"1330016284","file3":"1330016289"},"map_files_photo_id_array":[{"photo_id":"1330016288","filename":"file2"},{"photo_id":"1330016286","filename":"file1"},{"photo_id":"1330016284","filename":"file0"},{"photo_id":"1330016289","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330016289":["hashtag1","hashtag2"]},{"1330016286":["hashtag1","hashtag2"]},{"1330016288":["hashtag1","hashtag2"]},{"1330016284":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330016289, 1330016286, 1330016288, 1330016284)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.11355662345886 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-19 11:10:32.344194
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/11/09/image_19012025_11_09_02_392106_0003.jpg', '/home/pi/Desktop/images/19012025/11/10/image_19012025_11_10_02_583379_0000.jpg', '/home/pi/Desktop/images/19012025/11/10/image_19012025_11_10_02_583379_0001.jpg', '/home/pi/Desktop/images/19012025/11/10/image_19012025_11_10_02_583379_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/11/09/image_19012025_11_09_02_392106_0003.jpg
/home/pi/Desktop/images/19012025/11/10/image_19012025_11_10_02_583379_0000.jpg
/home/pi/Desktop/images/19012025/11/10/image_19012025_11_10_02_583379_0001.jpg
/home/pi/Desktop/images/19012025/11/10/image_19012025_11_10_02_583379_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.81254243850708 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-19 11:10:52.336933
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/11/09/image_19012025_11_09_02_392106_0003.jpg', '/home/pi/Desktop/images/19012025/11/10/image_19012025_11_10_02_583379_0000.jpg', '/home/pi/Desktop/images/19012025/11/10/image_19012025_11_10_02_583379_0001.jpg', '/home/pi/Desktop/images/19012025/11/10/image_19012025_11_10_02_583379_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/11/09/image_19012025_11_09_02_392106_0003.jpg
/home/pi/Desktop/images/19012025/11/10/image_19012025_11_10_02_583379_0000.jpg
/home/pi/Desktop/images/19012025/11/10/image_19012025_11_10_02_583379_0001.jpg
/home/pi/Desktop/images/19012025/11/10/image_19012025_11_10_02_583379_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330016338","1330016340","1330016316","1330016339"],"photo_ids_order":["1330016316","1330016338","1330016339","1330016340"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/02174048d2fa262b8b856217d4761dfd.jpg","text":"TemporaryFile(/tmp/multipartBody5494488015392757060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737281523556,"filename":"image_19012025_11_10_02_583379_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/487eede0bab8b24fb8c3075dc35f3b3a.jpg","text":"TemporaryFile(/tmp/multipartBody5668815836524659251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737281523556,"filename":"image_19012025_11_10_02_583379_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/940eceaba88f3c4ebbb12bdd83a1bd42.jpg","text":"TemporaryFile(/tmp/multipartBody8944233288059600386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737281523556,"filename":"image_19012025_11_09_02_392106_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/6350bdc21797f4e90d56132e9e039359.jpg","text":"TemporaryFile(/tmp/multipartBody461907237699240689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737281523556,"filename":"image_19012025_11_10_02_583379_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330016339","file1":"1330016338","file0":"1330016316","file3":"1330016340"},"map_files_photo_id_array":[{"photo_id":"1330016339","filename":"file2"},{"photo_id":"1330016338","filename":"file1"},{"photo_id":"1330016316","filename":"file0"},{"photo_id":"1330016340","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330016338":["hashtag1","hashtag2"]},{"1330016340":["hashtag1","hashtag2"]},{"1330016316":["hashtag1","hashtag2"]},{"1330016339":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330016338, 1330016340, 1330016316, 1330016339)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.73492431640625 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-19 11:11:42.548915
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/11/10/image_19012025_11_10_02_583379_0003.jpg', '/home/pi/Desktop/images/19012025/11/11/image_19012025_11_11_02_671455_0000.jpg', '/home/pi/Desktop/images/19012025/11/11/image_19012025_11_11_02_671455_0001.jpg', '/home/pi/Desktop/images/19012025/11/11/image_19012025_11_11_02_671455_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/11/10/image_19012025_11_10_02_583379_0003.jpg
/home/pi/Desktop/images/19012025/11/11/image_19012025_11_11_02_671455_0000.jpg
/home/pi/Desktop/images/19012025/11/11/image_19012025_11_11_02_671455_0001.jpg
/home/pi/Desktop/images/19012025/11/11/image_19012025_11_11_02_671455_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 11.153396844863892 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 11:12:03.238523
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/11/10/image_19012025_11_10_02_583379_0003.jpg', '/home/pi/Desktop/images/19012025/11/11/image_19012025_11_11_02_671455_0000.jpg', '/home/pi/Desktop/images/19012025/11/11/image_19012025_11_11_02_671455_0001.jpg', '/home/pi/Desktop/images/19012025/11/11/image_19012025_11_11_02_671455_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/11/10/image_19012025_11_10_02_583379_0003.jpg
/home/pi/Desktop/images/19012025/11/11/image_19012025_11_11_02_671455_0000.jpg
/home/pi/Desktop/images/19012025/11/11/image_19012025_11_11_02_671455_0001.jpg
/home/pi/Desktop/images/19012025/11/11/image_19012025_11_11_02_671455_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330016361","1330016358","1330016363","1330016357"],"photo_ids_order":["1330016357","1330016358","1330016361","1330016363"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/82b71e993e508f375d788d068466520e.jpg","text":"TemporaryFile(/tmp/multipartBody4408238406028281588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737281594814,"filename":"image_19012025_11_11_02_671455_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/a2a1462f659561e9cc2ab8a88fd81c9e.jpg","text":"TemporaryFile(/tmp/multipartBody7907618527560923197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737281594814,"filename":"image_19012025_11_11_02_671455_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/1cf0d47429a4716caa4fec5028821964.jpg","text":"TemporaryFile(/tmp/multipartBody7760105982652197034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737281594814,"filename":"image_19012025_11_11_02_671455_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/e3c0f104eccd5b782687723b28eebf36.jpg","text":"TemporaryFile(/tmp/multipartBody8107886687914710900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737281594814,"filename":"image_19012025_11_10_02_583379_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330016361","file1":"1330016358","file0":"1330016357","file3":"1330016363"},"map_files_photo_id_array":[{"photo_id":"1330016361","filename":"file2"},{"photo_id":"1330016358","filename":"file1"},{"photo_id":"1330016357","filename":"file0"},{"photo_id":"1330016363","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330016361":["hashtag1","hashtag2"]},{"1330016358":["hashtag1","hashtag2"]},{"1330016363":["hashtag1","hashtag2"]},{"1330016357":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330016361, 1330016358, 1330016363, 1330016357)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.6135835647583 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-19 11:12:52.707359
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/11/11/image_19012025_11_11_02_671455_0003.jpg', '/home/pi/Desktop/images/19012025/11/12/image_19012025_11_12_02_937510_0000.jpg', '/home/pi/Desktop/images/19012025/11/12/image_19012025_11_12_02_937510_0001.jpg', '/home/pi/Desktop/images/19012025/11/12/image_19012025_11_12_02_937510_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/11/11/image_19012025_11_11_02_671455_0003.jpg
/home/pi/Desktop/images/19012025/11/12/image_19012025_11_12_02_937510_0000.jpg
/home/pi/Desktop/images/19012025/11/12/image_19012025_11_12_02_937510_0001.jpg
/home/pi/Desktop/images/19012025/11/12/image_19012025_11_12_02_937510_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330016386","1330016389","1330016385","1330016375"],"photo_ids_order":["1330016375","1330016385","1330016386","1330016389"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/e116e91586d6d3edbe6fe4d1ec65046e.jpg","text":"TemporaryFile(/tmp/multipartBody5715306211997227504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737281643881,"filename":"image_19012025_11_12_02_937510_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/9b0a61c59d8da3f2a244b59f45d10e02.jpg","text":"TemporaryFile(/tmp/multipartBody8130012257394664003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737281643881,"filename":"image_19012025_11_12_02_937510_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/96b0d60b77020df54b640fed908368b8.jpg","text":"TemporaryFile(/tmp/multipartBody3082672825369505087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737281643881,"filename":"image_19012025_11_12_02_937510_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/119d262a1d4859b293f36bca00c1f570.jpg","text":"TemporaryFile(/tmp/multipartBody4528360427795136305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737281643881,"filename":"image_19012025_11_11_02_671455_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330016386","file1":"1330016385","file0":"1330016375","file3":"1330016389"},"map_files_photo_id_array":[{"photo_id":"1330016386","filename":"file2"},{"photo_id":"1330016385","filename":"file1"},{"photo_id":"1330016375","filename":"file0"},{"photo_id":"1330016389","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330016386":["hashtag1","hashtag2"]},{"1330016389":["hashtag1","hashtag2"]},{"1330016385":["hashtag1","hashtag2"]},{"1330016375":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330016386, 1330016389, 1330016385, 1330016375)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.99487662315369 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-19 11:13:41.924278
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/11/12/image_19012025_11_12_02_937510_0003.jpg', '/home/pi/Desktop/images/19012025/11/13/image_19012025_11_13_03_127809_0000.jpg', '/home/pi/Desktop/images/19012025/11/13/image_19012025_11_13_03_127809_0001.jpg', '/home/pi/Desktop/images/19012025/11/13/image_19012025_11_13_03_127809_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/11/12/image_19012025_11_12_02_937510_0003.jpg
/home/pi/Desktop/images/19012025/11/13/image_19012025_11_13_03_127809_0000.jpg
/home/pi/Desktop/images/19012025/11/13/image_19012025_11_13_03_127809_0001.jpg
/home/pi/Desktop/images/19012025/11/13/image_19012025_11_13_03_127809_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330016400","1330016403","1330016396","1330016398"],"photo_ids_order":["1330016396","1330016398","1330016400","1330016403"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/cd6ac3fc9f75746a71ba7e6f14d59a49.jpg","text":"TemporaryFile(/tmp/multipartBody6599736763489088252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737281693594,"filename":"image_19012025_11_13_03_127809_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/7f92b872f0e36a45aa90fc1021c20d4d.jpg","text":"TemporaryFile(/tmp/multipartBody8033234574187116834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737281693594,"filename":"image_19012025_11_13_03_127809_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/f88e4196e3597967db971130c69775ed.jpg","text":"TemporaryFile(/tmp/multipartBody614481225315717883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737281693594,"filename":"image_19012025_11_12_02_937510_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/40ccc60056a008f25fc107946f7e04a2.jpg","text":"TemporaryFile(/tmp/multipartBody8212903281121378156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737281693594,"filename":"image_19012025_11_13_03_127809_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330016400","file1":"1330016398","file0":"1330016396","file3":"1330016403"},"map_files_photo_id_array":[{"photo_id":"1330016400","filename":"file2"},{"photo_id":"1330016398","filename":"file1"},{"photo_id":"1330016396","filename":"file0"},{"photo_id":"1330016403","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330016400":["hashtag1","hashtag2"]},{"1330016403":["hashtag1","hashtag2"]},{"1330016396":["hashtag1","hashtag2"]},{"1330016398":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330016400, 1330016403, 1330016396, 1330016398)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.149505615234375 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-19 11:14:32.049627
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/11/13/image_19012025_11_13_03_127809_0003.jpg', '/home/pi/Desktop/images/19012025/11/14/image_19012025_11_14_02_294152_0000.jpg', '/home/pi/Desktop/images/19012025/11/14/image_19012025_11_14_02_294152_0001.jpg', '/home/pi/Desktop/images/19012025/11/14/image_19012025_11_14_02_294152_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/11/13/image_19012025_11_13_03_127809_0003.jpg
/home/pi/Desktop/images/19012025/11/14/image_19012025_11_14_02_294152_0000.jpg
/home/pi/Desktop/images/19012025/11/14/image_19012025_11_14_02_294152_0001.jpg
/home/pi/Desktop/images/19012025/11/14/image_19012025_11_14_02_294152_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.998809814453125 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-19 11:14:52.058638
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/11/13/image_19012025_11_13_03_127809_0003.jpg', '/home/pi/Desktop/images/19012025/11/14/image_19012025_11_14_02_294152_0000.jpg', '/home/pi/Desktop/images/19012025/11/14/image_19012025_11_14_02_294152_0001.jpg', '/home/pi/Desktop/images/19012025/11/14/image_19012025_11_14_02_294152_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/11/13/image_19012025_11_13_03_127809_0003.jpg
/home/pi/Desktop/images/19012025/11/14/image_19012025_11_14_02_294152_0000.jpg
/home/pi/Desktop/images/19012025/11/14/image_19012025_11_14_02_294152_0001.jpg
/home/pi/Desktop/images/19012025/11/14/image_19012025_11_14_02_294152_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330016458","1330016461","1330016456","1330016459"],"photo_ids_order":["1330016456","1330016458","1330016459","1330016461"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/c905b92db632148722e7c8ff03d334de.jpg","text":"TemporaryFile(/tmp/multipartBody5410932630539713362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737281763463,"filename":"image_19012025_11_14_02_294152_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/942ea826930e03c6a98810a088b2bdcb.jpg","text":"TemporaryFile(/tmp/multipartBody3868683018136373683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737281763463,"filename":"image_19012025_11_14_02_294152_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/475b49d515dad2ceeaef198ce525a52b.jpg","text":"TemporaryFile(/tmp/multipartBody7233486075142002181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737281763463,"filename":"image_19012025_11_13_03_127809_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/364a06059be4dc82a88bbbf22cc49bc8.jpg","text":"TemporaryFile(/tmp/multipartBody5189655062261441927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737281763463,"filename":"image_19012025_11_14_02_294152_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330016459","file1":"1330016458","file0":"1330016456","file3":"1330016461"},"map_files_photo_id_array":[{"photo_id":"1330016459","filename":"file2"},{"photo_id":"1330016458","filename":"file1"},{"photo_id":"1330016456","filename":"file0"},{"photo_id":"1330016461","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330016458":["hashtag1","hashtag2"]},{"1330016461":["hashtag1","hashtag2"]},{"1330016456":["hashtag1","hashtag2"]},{"1330016459":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330016458, 1330016461, 1330016456, 1330016459)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.633894205093384 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-19 11:15:42.211999
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/11/14/image_19012025_11_14_02_294152_0003.jpg', '/home/pi/Desktop/images/19012025/11/15/image_19012025_11_15_02_419838_0000.jpg', '/home/pi/Desktop/images/19012025/11/15/image_19012025_11_15_02_419838_0001.jpg', '/home/pi/Desktop/images/19012025/11/15/image_19012025_11_15_02_419838_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/11/14/image_19012025_11_14_02_294152_0003.jpg
/home/pi/Desktop/images/19012025/11/15/image_19012025_11_15_02_419838_0000.jpg
/home/pi/Desktop/images/19012025/11/15/image_19012025_11_15_02_419838_0001.jpg
/home/pi/Desktop/images/19012025/11/15/image_19012025_11_15_02_419838_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.706676006317139 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 11:16:02.845147
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/11/14/image_19012025_11_14_02_294152_0003.jpg', '/home/pi/Desktop/images/19012025/11/15/image_19012025_11_15_02_419838_0000.jpg', '/home/pi/Desktop/images/19012025/11/15/image_19012025_11_15_02_419838_0001.jpg', '/home/pi/Desktop/images/19012025/11/15/image_19012025_11_15_02_419838_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/11/14/image_19012025_11_14_02_294152_0003.jpg
/home/pi/Desktop/images/19012025/11/15/image_19012025_11_15_02_419838_0000.jpg
/home/pi/Desktop/images/19012025/11/15/image_19012025_11_15_02_419838_0001.jpg
/home/pi/Desktop/images/19012025/11/15/image_19012025_11_15_02_419838_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330016583","1330016712","1330016861","1330016864"],"photo_ids_order":["1330016583","1330016712","1330016861","1330016864"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/3a65a6b94ef33faabec0d543bbe12abc.jpg","text":"TemporaryFile(/tmp/multipartBody8826357313312530618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737281833964,"filename":"image_19012025_11_14_02_294152_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/0c3a43333f33c8dd6f88e000727a181c.jpg","text":"TemporaryFile(/tmp/multipartBody7289677189669256632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737281833964,"filename":"image_19012025_11_15_02_419838_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/d6814ca7f0d39626149091ea2c73442a.jpg","text":"TemporaryFile(/tmp/multipartBody1791382235576379582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737281833964,"filename":"image_19012025_11_15_02_419838_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/9824a1a91ab84b0e22a920b15248c0cc.jpg","text":"TemporaryFile(/tmp/multipartBody3169543002671828340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737281833964,"filename":"image_19012025_11_15_02_419838_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330016861","file1":"1330016712","file0":"1330016583","file3":"1330016864"},"map_files_photo_id_array":[{"photo_id":"1330016861","filename":"file2"},{"photo_id":"1330016712","filename":"file1"},{"photo_id":"1330016583","filename":"file0"},{"photo_id":"1330016864","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330016583":["hashtag1","hashtag2"]},{"1330016712":["hashtag1","hashtag2"]},{"1330016861":["hashtag1","hashtag2"]},{"1330016864":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330016583, 1330016712, 1330016861, 1330016864)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.68618822097778 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-19 11:16:52.395620
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/11/15/image_19012025_11_15_02_419838_0003.jpg', '/home/pi/Desktop/images/19012025/11/16/image_19012025_11_16_02_627130_0000.jpg', '/home/pi/Desktop/images/19012025/11/16/image_19012025_11_16_02_627130_0001.jpg', '/home/pi/Desktop/images/19012025/11/16/image_19012025_11_16_02_627130_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/11/15/image_19012025_11_15_02_419838_0003.jpg
/home/pi/Desktop/images/19012025/11/16/image_19012025_11_16_02_627130_0000.jpg
/home/pi/Desktop/images/19012025/11/16/image_19012025_11_16_02_627130_0001.jpg
/home/pi/Desktop/images/19012025/11/16/image_19012025_11_16_02_627130_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330016995","1330016997","1330017102","1330016999"],"photo_ids_order":["1330016995","1330016997","1330016999","1330017102"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/7bcb4c99373060073a77917bd08b968c.jpg","text":"TemporaryFile(/tmp/multipartBody5112943807703837501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737281883626,"filename":"image_19012025_11_15_02_419838_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/e666c9a7856aae3f65f69d7bb47a5a4a.jpg","text":"TemporaryFile(/tmp/multipartBody4303257176618874208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737281883626,"filename":"image_19012025_11_16_02_627130_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/30e10171658126acf93c94e2d18fdea0.jpg","text":"TemporaryFile(/tmp/multipartBody6248269481287003537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737281883626,"filename":"image_19012025_11_16_02_627130_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/82f5b307dbfa4836651fe3908bdd801c.jpg","text":"TemporaryFile(/tmp/multipartBody3304859609070311993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737281883626,"filename":"image_19012025_11_16_02_627130_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330016999","file1":"1330016997","file0":"1330016995","file3":"1330017102"},"map_files_photo_id_array":[{"photo_id":"1330016999","filename":"file2"},{"photo_id":"1330016997","filename":"file1"},{"photo_id":"1330016995","filename":"file0"},{"photo_id":"1330017102","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330016995":["hashtag1","hashtag2"]},{"1330016997":["hashtag1","hashtag2"]},{"1330017102":["hashtag1","hashtag2"]},{"1330016999":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330016995, 1330016997, 1330017102, 1330016999)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 46.47515630722046 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-19 11:17:42.613074
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/11/16/image_19012025_11_16_02_627130_0003.jpg', '/home/pi/Desktop/images/19012025/11/17/image_19012025_11_17_02_770383_0000.jpg', '/home/pi/Desktop/images/19012025/11/17/image_19012025_11_17_02_770383_0001.jpg', '/home/pi/Desktop/images/19012025/11/17/image_19012025_11_17_02_770383_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/11/16/image_19012025_11_16_02_627130_0003.jpg
/home/pi/Desktop/images/19012025/11/17/image_19012025_11_17_02_770383_0000.jpg
/home/pi/Desktop/images/19012025/11/17/image_19012025_11_17_02_770383_0001.jpg
/home/pi/Desktop/images/19012025/11/17/image_19012025_11_17_02_770383_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330017115","1330017112","1330017114","1330017110"],"photo_ids_order":["1330017110","1330017112","1330017114","1330017115"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/5df55e9d22bc56526f3f8953b5b72f0e.jpg","text":"TemporaryFile(/tmp/multipartBody4549888156426954333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737281933305,"filename":"image_19012025_11_17_02_770383_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/279b16cb29d7a02882d5a035cb80c178.jpg","text":"TemporaryFile(/tmp/multipartBody1136619788058720720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737281933305,"filename":"image_19012025_11_17_02_770383_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/72b046d09dfb7abcf8c0779d269b1e33.jpg","text":"TemporaryFile(/tmp/multipartBody2756248313684506580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737281933305,"filename":"image_19012025_11_17_02_770383_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/d3db076dc414ade300fa48121d8ea48f.jpg","text":"TemporaryFile(/tmp/multipartBody5516754580147000537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737281933305,"filename":"image_19012025_11_16_02_627130_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330017114","file1":"1330017112","file0":"1330017110","file3":"1330017115"},"map_files_photo_id_array":[{"photo_id":"1330017114","filename":"file2"},{"photo_id":"1330017112","filename":"file1"},{"photo_id":"1330017110","filename":"file0"},{"photo_id":"1330017115","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330017115":["hashtag1","hashtag2"]},{"1330017112":["hashtag1","hashtag2"]},{"1330017114":["hashtag1","hashtag2"]},{"1330017110":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330017115, 1330017112, 1330017114, 1330017110)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.38914179801941 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-19 11:18:32.757161
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/11/17/image_19012025_11_17_02_770383_0003.jpg', '/home/pi/Desktop/images/19012025/11/18/image_19012025_11_18_02_940398_0000.jpg', '/home/pi/Desktop/images/19012025/11/18/image_19012025_11_18_02_940398_0001.jpg', '/home/pi/Desktop/images/19012025/11/18/image_19012025_11_18_02_940398_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/11/17/image_19012025_11_17_02_770383_0003.jpg
/home/pi/Desktop/images/19012025/11/18/image_19012025_11_18_02_940398_0000.jpg
/home/pi/Desktop/images/19012025/11/18/image_19012025_11_18_02_940398_0001.jpg
/home/pi/Desktop/images/19012025/11/18/image_19012025_11_18_02_940398_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330017147","1330017155","1330017143","1330017151"],"photo_ids_order":["1330017143","1330017147","1330017151","1330017155"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/0ccb2100837a42719680655ba166eea6.jpg","text":"TemporaryFile(/tmp/multipartBody3574600025961943337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737281984095,"filename":"image_19012025_11_18_02_940398_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/9ba0796a6852bb36abf27c149f06dacd.jpg","text":"TemporaryFile(/tmp/multipartBody766175313492628456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737281984095,"filename":"image_19012025_11_18_02_940398_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/958aff13976b8c7b5976c088cbfc333a.jpg","text":"TemporaryFile(/tmp/multipartBody1153301853325992672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737281984095,"filename":"image_19012025_11_17_02_770383_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/ecf3a7a47a6601cc66a5d000d5e29a49.jpg","text":"TemporaryFile(/tmp/multipartBody1331418793341113264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737281984095,"filename":"image_19012025_11_18_02_940398_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330017151","file1":"1330017147","file0":"1330017143","file3":"1330017155"},"map_files_photo_id_array":[{"photo_id":"1330017151","filename":"file2"},{"photo_id":"1330017147","filename":"file1"},{"photo_id":"1330017143","filename":"file0"},{"photo_id":"1330017155","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330017147":["hashtag1","hashtag2"]},{"1330017155":["hashtag1","hashtag2"]},{"1330017143":["hashtag1","hashtag2"]},{"1330017151":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330017147, 1330017155, 1330017143, 1330017151)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.78866505622864 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 11:19:21.951681
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/11/18/image_19012025_11_18_02_940398_0003.jpg', '/home/pi/Desktop/images/19012025/11/19/image_19012025_11_19_03_117114_0000.jpg', '/home/pi/Desktop/images/19012025/11/19/image_19012025_11_19_03_117114_0001.jpg', '/home/pi/Desktop/images/19012025/11/19/image_19012025_11_19_03_117114_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/11/18/image_19012025_11_18_02_940398_0003.jpg
/home/pi/Desktop/images/19012025/11/19/image_19012025_11_19_03_117114_0000.jpg
/home/pi/Desktop/images/19012025/11/19/image_19012025_11_19_03_117114_0001.jpg
/home/pi/Desktop/images/19012025/11/19/image_19012025_11_19_03_117114_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330017200","1330017163","1330017166","1330017169"],"photo_ids_order":["1330017163","1330017166","1330017169","1330017200"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/b61f58815f9ec2fa88e0379a42eb5e27.jpg","text":"TemporaryFile(/tmp/multipartBody7647943747633037782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737282033136,"filename":"image_19012025_11_19_03_117114_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/642be13082d827d53e0aa3e20a653ae6.jpg","text":"TemporaryFile(/tmp/multipartBody1921491961715576074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737282033136,"filename":"image_19012025_11_18_02_940398_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/d95af425935ed5643aa62dd1b30b9558.jpg","text":"TemporaryFile(/tmp/multipartBody4140858062734432800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737282033136,"filename":"image_19012025_11_19_03_117114_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/e6efad4ac5e930fc4f6872d40b05a264.jpg","text":"TemporaryFile(/tmp/multipartBody4356968815074823197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737282033136,"filename":"image_19012025_11_19_03_117114_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330017169","file1":"1330017166","file0":"1330017163","file3":"1330017200"},"map_files_photo_id_array":[{"photo_id":"1330017169","filename":"file2"},{"photo_id":"1330017166","filename":"file1"},{"photo_id":"1330017163","filename":"file0"},{"photo_id":"1330017200","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330017200":["hashtag1","hashtag2"]},{"1330017163":["hashtag1","hashtag2"]},{"1330017166":["hashtag1","hashtag2"]},{"1330017169":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330017200, 1330017163, 1330017166, 1330017169)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.62997245788574 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 11:20:02.519184
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
  port_id : 19698700
  datou_current_id : 2490825
in upload_from_sqlite, uploading in 19698700
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17012025/22/05/image_17012025_22_05_02_603751_0003.jpg', '/home/pi/Desktop/images/17012025/22/06/image_17012025_22_06_02_708090_0000.jpg', '/home/pi/Desktop/images/17012025/22/06/image_17012025_22_06_02_708090_0001.jpg', '/home/pi/Desktop/images/17012025/22/06/image_17012025_22_06_02_708090_0002.jpg', '/home/pi/Desktop/images/17012025/22/06/image_17012025_22_06_02_708090_0003.jpg', '/home/pi/Desktop/images/17012025/22/07/image_17012025_22_07_02_884223_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2490825&datou=0
/home/pi/Desktop/images/17012025/22/05/image_17012025_22_05_02_603751_0003.jpg
/home/pi/Desktop/images/17012025/22/06/image_17012025_22_06_02_708090_0000.jpg
/home/pi/Desktop/images/17012025/22/06/image_17012025_22_06_02_708090_0001.jpg
/home/pi/Desktop/images/17012025/22/06/image_17012025_22_06_02_708090_0002.jpg
/home/pi/Desktop/images/17012025/22/06/image_17012025_22_06_02_708090_0003.jpg
/home/pi/Desktop/images/17012025/22/07/image_17012025_22_07_02_884223_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: 17.174911975860596 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 11:20:22.267155
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/11/19/image_19012025_11_19_03_117114_0003.jpg', '/home/pi/Desktop/images/19012025/11/20/image_19012025_11_20_02_341291_0000.jpg', '/home/pi/Desktop/images/19012025/11/20/image_19012025_11_20_02_341291_0001.jpg', '/home/pi/Desktop/images/19012025/11/20/image_19012025_11_20_02_341291_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/11/19/image_19012025_11_19_03_117114_0003.jpg
/home/pi/Desktop/images/19012025/11/20/image_19012025_11_20_02_341291_0000.jpg
/home/pi/Desktop/images/19012025/11/20/image_19012025_11_20_02_341291_0001.jpg
/home/pi/Desktop/images/19012025/11/20/image_19012025_11_20_02_341291_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330017337","1330017342","1330017333","1330017344"],"photo_ids_order":["1330017333","1330017337","1330017342","1330017344"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/2c7005085c9bf48ec78c19d1f2a26bb1.jpg","text":"TemporaryFile(/tmp/multipartBody2386268568787769168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737282093450,"filename":"image_19012025_11_20_02_341291_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/dd7b1116e5a9f5b70bbdfe690d86ede2.jpg","text":"TemporaryFile(/tmp/multipartBody3605533645095996270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737282093450,"filename":"image_19012025_11_20_02_341291_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/0af156bf49d98960dacf3a3fc07f7774.jpg","text":"TemporaryFile(/tmp/multipartBody75353314312365388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737282093450,"filename":"image_19012025_11_19_03_117114_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/0d8fc51fcb26b9d377825a41b0e459a7.jpg","text":"TemporaryFile(/tmp/multipartBody320326107521498862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737282093450,"filename":"image_19012025_11_20_02_341291_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330017342","file1":"1330017337","file0":"1330017333","file3":"1330017344"},"map_files_photo_id_array":[{"photo_id":"1330017342","filename":"file2"},{"photo_id":"1330017337","filename":"file1"},{"photo_id":"1330017333","filename":"file0"},{"photo_id":"1330017344","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330017337":["hashtag1","hashtag2"]},{"1330017342":["hashtag1","hashtag2"]},{"1330017333":["hashtag1","hashtag2"]},{"1330017344":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330017337, 1330017342, 1330017333, 1330017344)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.024335861206055 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 11:21:22.375033
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/11/20/image_19012025_11_20_02_341291_0003.jpg', '/home/pi/Desktop/images/19012025/11/21/image_19012025_11_21_02_568236_0000.jpg', '/home/pi/Desktop/images/19012025/11/21/image_19012025_11_21_02_568236_0001.jpg', '/home/pi/Desktop/images/19012025/11/21/image_19012025_11_21_02_568236_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/11/20/image_19012025_11_20_02_341291_0003.jpg
/home/pi/Desktop/images/19012025/11/21/image_19012025_11_21_02_568236_0000.jpg
/home/pi/Desktop/images/19012025/11/21/image_19012025_11_21_02_568236_0001.jpg
/home/pi/Desktop/images/19012025/11/21/image_19012025_11_21_02_568236_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330017360","1330017371","1330017368","1330017356"],"photo_ids_order":["1330017356","1330017360","1330017368","1330017371"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/2b443ec15e5168bbcff54cc2498a042f.jpg","text":"TemporaryFile(/tmp/multipartBody7272375849687163534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737282153696,"filename":"image_19012025_11_21_02_568236_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/b14bd9603a0d2b1220a844d2ddec6856.jpg","text":"TemporaryFile(/tmp/multipartBody890746255910964239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737282153696,"filename":"image_19012025_11_21_02_568236_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/97aeb6a6884224c4af37b0cdc3e1d7eb.jpg","text":"TemporaryFile(/tmp/multipartBody3242592172459376560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737282153696,"filename":"image_19012025_11_21_02_568236_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/f22decf91d19715548af00f1b6f72dae.jpg","text":"TemporaryFile(/tmp/multipartBody1563479693073359939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737282153696,"filename":"image_19012025_11_20_02_341291_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330017368","file1":"1330017360","file0":"1330017356","file3":"1330017371"},"map_files_photo_id_array":[{"photo_id":"1330017368","filename":"file2"},{"photo_id":"1330017360","filename":"file1"},{"photo_id":"1330017356","filename":"file0"},{"photo_id":"1330017371","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330017360":["hashtag1","hashtag2"]},{"1330017371":["hashtag1","hashtag2"]},{"1330017368":["hashtag1","hashtag2"]},{"1330017356":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330017360, 1330017371, 1330017368, 1330017356)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.14520335197449 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 11:22:02.942041
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
  port_id : 19698700
  datou_current_id : 2490825
in upload_from_sqlite, uploading in 19698700
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17012025/22/05/image_17012025_22_05_02_603751_0003.jpg', '/home/pi/Desktop/images/17012025/22/06/image_17012025_22_06_02_708090_0000.jpg', '/home/pi/Desktop/images/17012025/22/06/image_17012025_22_06_02_708090_0001.jpg', '/home/pi/Desktop/images/17012025/22/06/image_17012025_22_06_02_708090_0002.jpg', '/home/pi/Desktop/images/17012025/22/06/image_17012025_22_06_02_708090_0003.jpg', '/home/pi/Desktop/images/17012025/22/07/image_17012025_22_07_02_884223_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2490825&datou=0
/home/pi/Desktop/images/17012025/22/05/image_17012025_22_05_02_603751_0003.jpg
/home/pi/Desktop/images/17012025/22/06/image_17012025_22_06_02_708090_0000.jpg
/home/pi/Desktop/images/17012025/22/06/image_17012025_22_06_02_708090_0001.jpg
/home/pi/Desktop/images/17012025/22/06/image_17012025_22_06_02_708090_0002.jpg
/home/pi/Desktop/images/17012025/22/06/image_17012025_22_06_02_708090_0003.jpg
/home/pi/Desktop/images/17012025/22/07/image_17012025_22_07_02_884223_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":["1330017433","1330017412","1330017418","1330017426","1330017398","1330017437"],"photo_ids_order":["1330017398","1330017412","1330017418","1330017426","1330017433","1330017437"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/52a353f6d6b41b38136a7afbb22671bd.jpg","text":"TemporaryFile(/tmp/multipartBody6542400779981549860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737282200410,"filename":"image_17012025_22_06_02_708090_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/088d7bc674432f1ef1cd67f7adae63fa.jpg","text":"TemporaryFile(/tmp/multipartBody7956765232344920081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737282200410,"filename":"image_17012025_22_06_02_708090_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/ae97e494fe729c35a00ff23373d6840a.jpg","text":"TemporaryFile(/tmp/multipartBody6879266449865845594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737282200410,"filename":"image_17012025_22_06_02_708090_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/de0323e671288b66e860de3467037883.jpg","text":"TemporaryFile(/tmp/multipartBody5483508760968628015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737282200410,"filename":"image_17012025_22_06_02_708090_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/2cdee19cc68035f3f78f54d8977d2612.jpg","text":"TemporaryFile(/tmp/multipartBody8972698079272287284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737282200410,"filename":"image_17012025_22_05_02_603751_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/e2e8db1274719cd067cba95276e7c822.jpg","text":"TemporaryFile(/tmp/multipartBody3807316189899217675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737282200410,"filename":"image_17012025_22_07_02_884223_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330017418","file1":"1330017412","file0":"1330017398","file4":"1330017433","file5":"1330017437","file3":"1330017426"},"map_files_photo_id_array":[{"photo_id":"1330017437","filename":"file5"},{"photo_id":"1330017418","filename":"file2"},{"photo_id":"1330017433","filename":"file4"},{"photo_id":"1330017412","filename":"file1"},{"photo_id":"1330017398","filename":"file0"},{"photo_id":"1330017426","filename":"file3"}],"portfolio_id":19698700,"hashtag_by_photo_ids":[{"1330017433":["hashtag1","hashtag2"]},{"1330017412":["hashtag1","hashtag2"]},{"1330017418":["hashtag1","hashtag2"]},{"1330017426":["hashtag1","hashtag2"]},{"1330017398":["hashtag1","hashtag2"]},{"1330017437":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698700 used, photo_id : ArrayBuffer(1330017433, 1330017412, 1330017418, 1330017426, 1330017398, 1330017437)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.514275789260864 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 11:23:03.176106
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/11/21/image_19012025_11_21_02_568236_0003.jpg', '/home/pi/Desktop/images/19012025/11/22/image_19012025_11_22_02_659837_0000.jpg', '/home/pi/Desktop/images/19012025/11/22/image_19012025_11_22_02_659837_0001.jpg', '/home/pi/Desktop/images/19012025/11/22/image_19012025_11_22_02_659837_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/11/21/image_19012025_11_21_02_568236_0003.jpg
/home/pi/Desktop/images/19012025/11/22/image_19012025_11_22_02_659837_0000.jpg
/home/pi/Desktop/images/19012025/11/22/image_19012025_11_22_02_659837_0001.jpg
/home/pi/Desktop/images/19012025/11/22/image_19012025_11_22_02_659837_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330017468","1330017470","1330017473","1330017598"],"photo_ids_order":["1330017468","1330017470","1330017473","1330017598"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/5eedcf3bf742108adf76f640835dc7f3.jpg","text":"TemporaryFile(/tmp/multipartBody9123741654442738062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737282254345,"filename":"image_19012025_11_21_02_568236_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/6970b9945f1da26d39f67f3981732aa6.jpg","text":"TemporaryFile(/tmp/multipartBody8979853757191398692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737282254345,"filename":"image_19012025_11_22_02_659837_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/4eda9b42418cbd4361c9d25c12c52790.jpg","text":"TemporaryFile(/tmp/multipartBody2016470027314633442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737282254345,"filename":"image_19012025_11_22_02_659837_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/a6b596f2ab4ced7d95733a81cac03504.jpg","text":"TemporaryFile(/tmp/multipartBody1407814673706515575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737282254345,"filename":"image_19012025_11_22_02_659837_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330017473","file1":"1330017470","file0":"1330017468","file3":"1330017598"},"map_files_photo_id_array":[{"photo_id":"1330017473","filename":"file2"},{"photo_id":"1330017470","filename":"file1"},{"photo_id":"1330017468","filename":"file0"},{"photo_id":"1330017598","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330017468":["hashtag1","hashtag2"]},{"1330017470":["hashtag1","hashtag2"]},{"1330017473":["hashtag1","hashtag2"]},{"1330017598":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330017468, 1330017470, 1330017473, 1330017598)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.49828219413757 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-19 11:23:52.643074
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/11/22/image_19012025_11_22_02_659837_0003.jpg', '/home/pi/Desktop/images/19012025/11/23/image_19012025_11_23_02_822151_0000.jpg', '/home/pi/Desktop/images/19012025/11/23/image_19012025_11_23_02_822151_0001.jpg', '/home/pi/Desktop/images/19012025/11/23/image_19012025_11_23_02_822151_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/11/22/image_19012025_11_22_02_659837_0003.jpg
/home/pi/Desktop/images/19012025/11/23/image_19012025_11_23_02_822151_0000.jpg
/home/pi/Desktop/images/19012025/11/23/image_19012025_11_23_02_822151_0001.jpg
/home/pi/Desktop/images/19012025/11/23/image_19012025_11_23_02_822151_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.687856435775757 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 11:24:21.840042
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/11/22/image_19012025_11_22_02_659837_0003.jpg', '/home/pi/Desktop/images/19012025/11/23/image_19012025_11_23_02_822151_0000.jpg', '/home/pi/Desktop/images/19012025/11/23/image_19012025_11_23_02_822151_0001.jpg', '/home/pi/Desktop/images/19012025/11/23/image_19012025_11_23_02_822151_0002.jpg', '/home/pi/Desktop/images/19012025/11/23/image_19012025_11_23_02_822151_0003.jpg', '/home/pi/Desktop/images/19012025/11/24/image_19012025_11_24_03_030288_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/11/22/image_19012025_11_22_02_659837_0003.jpg
/home/pi/Desktop/images/19012025/11/23/image_19012025_11_23_02_822151_0000.jpg
/home/pi/Desktop/images/19012025/11/23/image_19012025_11_23_02_822151_0001.jpg
/home/pi/Desktop/images/19012025/11/23/image_19012025_11_23_02_822151_0002.jpg
/home/pi/Desktop/images/19012025/11/23/image_19012025_11_23_02_822151_0003.jpg
/home/pi/Desktop/images/19012025/11/24/image_19012025_11_24_03_030288_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":["1330017744","1330017773","1330017776","1330017770","1330017766","1330017751"],"photo_ids_order":["1330017744","1330017751","1330017766","1330017770","1330017773","1330017776"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/eff516d4f1704dd8f7485a491d4cfc14.jpg","text":"TemporaryFile(/tmp/multipartBody734462187627181895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737282338410,"filename":"image_19012025_11_22_02_659837_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/21e7d004f2917dd2b64876c8b55917b7.jpg","text":"TemporaryFile(/tmp/multipartBody2413512938469945477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737282338410,"filename":"image_19012025_11_23_02_822151_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/cdec20eb26ad4d50131c4b1c2a5f1732.jpg","text":"TemporaryFile(/tmp/multipartBody1623835324558672487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737282338410,"filename":"image_19012025_11_24_03_030288_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/0cbda10ddd873c79b48824e63a206e89.jpg","text":"TemporaryFile(/tmp/multipartBody4635461160081708131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737282338410,"filename":"image_19012025_11_23_02_822151_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/766df0f8e927f1db42fb8b39607c8517.jpg","text":"TemporaryFile(/tmp/multipartBody8621733101871850538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737282338410,"filename":"image_19012025_11_23_02_822151_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/0d997045276832aa17bdef41a7e8a08d.jpg","text":"TemporaryFile(/tmp/multipartBody8037889547827662605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737282338410,"filename":"image_19012025_11_23_02_822151_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330017766","file1":"1330017751","file0":"1330017744","file4":"1330017773","file5":"1330017776","file3":"1330017770"},"map_files_photo_id_array":[{"photo_id":"1330017776","filename":"file5"},{"photo_id":"1330017766","filename":"file2"},{"photo_id":"1330017773","filename":"file4"},{"photo_id":"1330017751","filename":"file1"},{"photo_id":"1330017744","filename":"file0"},{"photo_id":"1330017770","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330017744":["hashtag1","hashtag2"]},{"1330017773":["hashtag1","hashtag2"]},{"1330017776":["hashtag1","hashtag2"]},{"1330017770":["hashtag1","hashtag2"]},{"1330017766":["hashtag1","hashtag2"]},{"1330017751":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330017744, 1330017773, 1330017776, 1330017770, 1330017766, 1330017751)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.61158585548401 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 11:25:22.146737
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/11/24/image_19012025_11_24_03_030288_0001.jpg', '/home/pi/Desktop/images/19012025/11/24/image_19012025_11_24_03_030288_0002.jpg', '/home/pi/Desktop/images/19012025/11/24/image_19012025_11_24_03_030288_0003.jpg', '/home/pi/Desktop/images/19012025/11/25/image_19012025_11_25_02_189111_0000.jpg', '/home/pi/Desktop/images/19012025/11/25/image_19012025_11_25_02_189111_0001.jpg', '/home/pi/Desktop/images/19012025/11/25/image_19012025_11_25_02_189111_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/11/24/image_19012025_11_24_03_030288_0001.jpg
/home/pi/Desktop/images/19012025/11/24/image_19012025_11_24_03_030288_0002.jpg
/home/pi/Desktop/images/19012025/11/24/image_19012025_11_24_03_030288_0003.jpg
/home/pi/Desktop/images/19012025/11/25/image_19012025_11_25_02_189111_0000.jpg
/home/pi/Desktop/images/19012025/11/25/image_19012025_11_25_02_189111_0001.jpg
/home/pi/Desktop/images/19012025/11/25/image_19012025_11_25_02_189111_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330017925","1330017888","1330017920","1330017917","1330017914","1330017865"],"photo_ids_order":["1330017865","1330017888","1330017914","1330017917","1330017920","1330017925"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/4a759a9511c3c0018fdfb8524c086cc5.jpg","text":"TemporaryFile(/tmp/multipartBody1401295850699592550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737282398991,"filename":"image_19012025_11_25_02_189111_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/c64a2d9a02ff4f38663714f9c3aada44.jpg","text":"TemporaryFile(/tmp/multipartBody1117637766440582730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737282398991,"filename":"image_19012025_11_24_03_030288_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/60ff0f7ad1b33d8ef6c986061e651a85.jpg","text":"TemporaryFile(/tmp/multipartBody4021965666018088483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737282398991,"filename":"image_19012025_11_25_02_189111_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/5beb44d84c69de564e8bfe404b9f79cb.jpg","text":"TemporaryFile(/tmp/multipartBody6325456416998492111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737282398991,"filename":"image_19012025_11_25_02_189111_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/0d7302a0ce865e2e37a099313bd674fc.jpg","text":"TemporaryFile(/tmp/multipartBody5721918918066671854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737282398991,"filename":"image_19012025_11_24_03_030288_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/ff64095f7d60e8803b2952a539d1465c.jpg","text":"TemporaryFile(/tmp/multipartBody2585479564794092493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737282398991,"filename":"image_19012025_11_24_03_030288_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330017914","file1":"1330017888","file0":"1330017865","file4":"1330017920","file5":"1330017925","file3":"1330017917"},"map_files_photo_id_array":[{"photo_id":"1330017925","filename":"file5"},{"photo_id":"1330017914","filename":"file2"},{"photo_id":"1330017920","filename":"file4"},{"photo_id":"1330017888","filename":"file1"},{"photo_id":"1330017865","filename":"file0"},{"photo_id":"1330017917","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330017925":["hashtag1","hashtag2"]},{"1330017888":["hashtag1","hashtag2"]},{"1330017920":["hashtag1","hashtag2"]},{"1330017917":["hashtag1","hashtag2"]},{"1330017914":["hashtag1","hashtag2"]},{"1330017865":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330017925, 1330017888, 1330017920, 1330017917, 1330017914, 1330017865)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.79167604446411 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 11:26:22.250078
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/11/25/image_19012025_11_25_02_189111_0003.jpg', '/home/pi/Desktop/images/19012025/11/26/image_19012025_11_26_02_447666_0000.jpg', '/home/pi/Desktop/images/19012025/11/26/image_19012025_11_26_02_447666_0001.jpg', '/home/pi/Desktop/images/19012025/11/26/image_19012025_11_26_02_447666_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/11/25/image_19012025_11_25_02_189111_0003.jpg
/home/pi/Desktop/images/19012025/11/26/image_19012025_11_26_02_447666_0000.jpg
/home/pi/Desktop/images/19012025/11/26/image_19012025_11_26_02_447666_0001.jpg
/home/pi/Desktop/images/19012025/11/26/image_19012025_11_26_02_447666_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330017933","1330017935","1330017938","1330017931"],"photo_ids_order":["1330017931","1330017933","1330017935","1330017938"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/40792c9b3ec1f58669ba7a407b083437.jpg","text":"TemporaryFile(/tmp/multipartBody7346282494738096881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737282454037,"filename":"image_19012025_11_26_02_447666_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/a4796aeae16d4731419bbdfbf1c0d109.jpg","text":"TemporaryFile(/tmp/multipartBody7233611550667312296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737282454037,"filename":"image_19012025_11_26_02_447666_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/bc2f57040fd0c731320b4328d6c17141.jpg","text":"TemporaryFile(/tmp/multipartBody6106117155275219025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737282454037,"filename":"image_19012025_11_26_02_447666_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/3ece70394d9c24b04c3f372d0be07b9c.jpg","text":"TemporaryFile(/tmp/multipartBody6719026836123408433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737282454037,"filename":"image_19012025_11_25_02_189111_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330017935","file1":"1330017933","file0":"1330017931","file3":"1330017938"},"map_files_photo_id_array":[{"photo_id":"1330017935","filename":"file2"},{"photo_id":"1330017933","filename":"file1"},{"photo_id":"1330017931","filename":"file0"},{"photo_id":"1330017938","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330017933":["hashtag1","hashtag2"]},{"1330017935":["hashtag1","hashtag2"]},{"1330017938":["hashtag1","hashtag2"]},{"1330017931":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330017933, 1330017935, 1330017938, 1330017931)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.004156827926636 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 11:27:22.393848
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/11/26/image_19012025_11_26_02_447666_0003.jpg', '/home/pi/Desktop/images/19012025/11/27/image_19012025_11_27_02_683330_0000.jpg', '/home/pi/Desktop/images/19012025/11/27/image_19012025_11_27_02_683330_0001.jpg', '/home/pi/Desktop/images/19012025/11/27/image_19012025_11_27_02_683330_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/11/26/image_19012025_11_26_02_447666_0003.jpg
/home/pi/Desktop/images/19012025/11/27/image_19012025_11_27_02_683330_0000.jpg
/home/pi/Desktop/images/19012025/11/27/image_19012025_11_27_02_683330_0001.jpg
/home/pi/Desktop/images/19012025/11/27/image_19012025_11_27_02_683330_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330017953","1330017956","1330017959","1330017949"],"photo_ids_order":["1330017949","1330017953","1330017956","1330017959"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/2631af36e09bd489c256e76071709c50.jpg","text":"TemporaryFile(/tmp/multipartBody3045328296611582009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737282513296,"filename":"image_19012025_11_27_02_683330_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/d50fcfd99386565915103150d85db792.jpg","text":"TemporaryFile(/tmp/multipartBody1059765903202651815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737282513296,"filename":"image_19012025_11_27_02_683330_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/0f6609079d7d5111c242b50b9229bc58.jpg","text":"TemporaryFile(/tmp/multipartBody6364034373453098821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737282513296,"filename":"image_19012025_11_27_02_683330_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/e079d8bf56f8303606cf6bded49aa1e1.jpg","text":"TemporaryFile(/tmp/multipartBody4759390520185540843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737282513296,"filename":"image_19012025_11_26_02_447666_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330017956","file1":"1330017953","file0":"1330017949","file3":"1330017959"},"map_files_photo_id_array":[{"photo_id":"1330017956","filename":"file2"},{"photo_id":"1330017953","filename":"file1"},{"photo_id":"1330017949","filename":"file0"},{"photo_id":"1330017959","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330017953":["hashtag1","hashtag2"]},{"1330017956":["hashtag1","hashtag2"]},{"1330017959":["hashtag1","hashtag2"]},{"1330017949":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330017953, 1330017956, 1330017959, 1330017949)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.53674674034119 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 11:28:02.999326
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
  port_id : 19698700
  datou_current_id : 2490825
in upload_from_sqlite, uploading in 19698700
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17012025/22/07/image_17012025_22_07_02_884223_0001.jpg', '/home/pi/Desktop/images/17012025/22/07/image_17012025_22_07_02_884223_0002.jpg', '/home/pi/Desktop/images/17012025/22/07/image_17012025_22_07_02_884223_0003.jpg', '/home/pi/Desktop/images/17012025/22/08/image_17012025_22_08_03_135736_0000.jpg', '/home/pi/Desktop/images/17012025/22/08/image_17012025_22_08_03_135736_0001.jpg', '/home/pi/Desktop/images/17012025/22/08/image_17012025_22_08_03_135736_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2490825&datou=0
/home/pi/Desktop/images/17012025/22/07/image_17012025_22_07_02_884223_0001.jpg
/home/pi/Desktop/images/17012025/22/07/image_17012025_22_07_02_884223_0002.jpg
/home/pi/Desktop/images/17012025/22/07/image_17012025_22_07_02_884223_0003.jpg
/home/pi/Desktop/images/17012025/22/08/image_17012025_22_08_03_135736_0000.jpg
/home/pi/Desktop/images/17012025/22/08/image_17012025_22_08_03_135736_0001.jpg
/home/pi/Desktop/images/17012025/22/08/image_17012025_22_08_03_135736_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 16.901851177215576 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 11:28:22.539164
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/11/27/image_19012025_11_27_02_683330_0003.jpg', '/home/pi/Desktop/images/19012025/11/28/image_19012025_11_28_02_797880_0000.jpg', '/home/pi/Desktop/images/19012025/11/28/image_19012025_11_28_02_797880_0001.jpg', '/home/pi/Desktop/images/19012025/11/28/image_19012025_11_28_02_797880_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/11/27/image_19012025_11_27_02_683330_0003.jpg
/home/pi/Desktop/images/19012025/11/28/image_19012025_11_28_02_797880_0000.jpg
/home/pi/Desktop/images/19012025/11/28/image_19012025_11_28_02_797880_0001.jpg
/home/pi/Desktop/images/19012025/11/28/image_19012025_11_28_02_797880_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330018034","1330017992","1330018037","1330018039"],"photo_ids_order":["1330017992","1330018034","1330018037","1330018039"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/3ee813efbfd98eeb85440fbf44d26346.jpg","text":"TemporaryFile(/tmp/multipartBody5444417398036758768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737282573753,"filename":"image_19012025_11_28_02_797880_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/e8f68e4e414502b346ab7da03222a68d.jpg","text":"TemporaryFile(/tmp/multipartBody5484894415824323107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737282573753,"filename":"image_19012025_11_27_02_683330_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/a59917aed5b87af1e98422f62b411a1b.jpg","text":"TemporaryFile(/tmp/multipartBody621612961439594136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737282573753,"filename":"image_19012025_11_28_02_797880_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/19a68b847f336b1eb0c1ba4f7e6707f4.jpg","text":"TemporaryFile(/tmp/multipartBody1246564084644031335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737282573753,"filename":"image_19012025_11_28_02_797880_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330018037","file1":"1330018034","file0":"1330017992","file3":"1330018039"},"map_files_photo_id_array":[{"photo_id":"1330018037","filename":"file2"},{"photo_id":"1330018034","filename":"file1"},{"photo_id":"1330017992","filename":"file0"},{"photo_id":"1330018039","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330018034":["hashtag1","hashtag2"]},{"1330017992":["hashtag1","hashtag2"]},{"1330018037":["hashtag1","hashtag2"]},{"1330018039":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330018034, 1330017992, 1330018037, 1330018039)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.809691190719604 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 11:29:03.348110
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
  port_id : 19698700
  datou_current_id : 2490825
in upload_from_sqlite, uploading in 19698700
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17012025/22/07/image_17012025_22_07_02_884223_0001.jpg', '/home/pi/Desktop/images/17012025/22/07/image_17012025_22_07_02_884223_0002.jpg', '/home/pi/Desktop/images/17012025/22/07/image_17012025_22_07_02_884223_0003.jpg', '/home/pi/Desktop/images/17012025/22/08/image_17012025_22_08_03_135736_0000.jpg', '/home/pi/Desktop/images/17012025/22/08/image_17012025_22_08_03_135736_0001.jpg', '/home/pi/Desktop/images/17012025/22/08/image_17012025_22_08_03_135736_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2490825&datou=0
/home/pi/Desktop/images/17012025/22/07/image_17012025_22_07_02_884223_0001.jpg
/home/pi/Desktop/images/17012025/22/07/image_17012025_22_07_02_884223_0002.jpg
/home/pi/Desktop/images/17012025/22/07/image_17012025_22_07_02_884223_0003.jpg
/home/pi/Desktop/images/17012025/22/08/image_17012025_22_08_03_135736_0000.jpg
/home/pi/Desktop/images/17012025/22/08/image_17012025_22_08_03_135736_0001.jpg
/home/pi/Desktop/images/17012025/22/08/image_17012025_22_08_03_135736_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 16.873122930526733 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 11:29:22.672502
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/11/28/image_19012025_11_28_02_797880_0003.jpg', '/home/pi/Desktop/images/19012025/11/29/image_19012025_11_29_02_921590_0000.jpg', '/home/pi/Desktop/images/19012025/11/29/image_19012025_11_29_02_921590_0001.jpg', '/home/pi/Desktop/images/19012025/11/29/image_19012025_11_29_02_921590_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/11/28/image_19012025_11_28_02_797880_0003.jpg
/home/pi/Desktop/images/19012025/11/29/image_19012025_11_29_02_921590_0000.jpg
/home/pi/Desktop/images/19012025/11/29/image_19012025_11_29_02_921590_0001.jpg
/home/pi/Desktop/images/19012025/11/29/image_19012025_11_29_02_921590_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330018053","1330018064","1330018061","1330018057"],"photo_ids_order":["1330018053","1330018057","1330018061","1330018064"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/5f033dd76c48db92fef4e25246433592.jpg","text":"TemporaryFile(/tmp/multipartBody1164322160195907383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737282634159,"filename":"image_19012025_11_28_02_797880_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/150b48fe170db2e8cf97e04cca439c3a.jpg","text":"TemporaryFile(/tmp/multipartBody5547370562848213281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737282634159,"filename":"image_19012025_11_29_02_921590_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/834c196fdcc9d930d63a40c935bb34d1.jpg","text":"TemporaryFile(/tmp/multipartBody3349962869361454352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737282634159,"filename":"image_19012025_11_29_02_921590_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/b4e79f711498938a648736ec5e450128.jpg","text":"TemporaryFile(/tmp/multipartBody391836814913195661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737282634159,"filename":"image_19012025_11_29_02_921590_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330018061","file1":"1330018057","file0":"1330018053","file3":"1330018064"},"map_files_photo_id_array":[{"photo_id":"1330018061","filename":"file2"},{"photo_id":"1330018057","filename":"file1"},{"photo_id":"1330018053","filename":"file0"},{"photo_id":"1330018064","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330018053":["hashtag1","hashtag2"]},{"1330018064":["hashtag1","hashtag2"]},{"1330018061":["hashtag1","hashtag2"]},{"1330018057":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330018053, 1330018064, 1330018061, 1330018057)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.48486948013306 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 11:30:21.987801
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/11/29/image_19012025_11_29_02_921590_0003.jpg', '/home/pi/Desktop/images/19012025/11/30/image_19012025_11_30_03_013523_0000.jpg', '/home/pi/Desktop/images/19012025/11/30/image_19012025_11_30_03_013523_0001.jpg', '/home/pi/Desktop/images/19012025/11/30/image_19012025_11_30_03_013523_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/11/29/image_19012025_11_29_02_921590_0003.jpg
/home/pi/Desktop/images/19012025/11/30/image_19012025_11_30_03_013523_0000.jpg
/home/pi/Desktop/images/19012025/11/30/image_19012025_11_30_03_013523_0001.jpg
/home/pi/Desktop/images/19012025/11/30/image_19012025_11_30_03_013523_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330018332","1330018275","1330018329","1330018280"],"photo_ids_order":["1330018275","1330018280","1330018329","1330018332"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/43e4a18a72e8e7be793bbe39973a532a.jpg","text":"TemporaryFile(/tmp/multipartBody4042556978659282171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737282693450,"filename":"image_19012025_11_30_03_013523_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/800ad7d0f9455104eeebe8a4ec6630dd.jpg","text":"TemporaryFile(/tmp/multipartBody1289812346755676456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737282693450,"filename":"image_19012025_11_29_02_921590_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/b1a8b22fc6e3d6d4f7219c8881ddca0b.jpg","text":"TemporaryFile(/tmp/multipartBody5895884971224784052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737282693450,"filename":"image_19012025_11_30_03_013523_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/1aa9d067bb840568fdda4045ea883f5a.jpg","text":"TemporaryFile(/tmp/multipartBody6245306445408227747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737282693450,"filename":"image_19012025_11_30_03_013523_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330018329","file1":"1330018280","file0":"1330018275","file3":"1330018332"},"map_files_photo_id_array":[{"photo_id":"1330018329","filename":"file2"},{"photo_id":"1330018280","filename":"file1"},{"photo_id":"1330018275","filename":"file0"},{"photo_id":"1330018332","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330018332":["hashtag1","hashtag2"]},{"1330018275":["hashtag1","hashtag2"]},{"1330018329":["hashtag1","hashtag2"]},{"1330018280":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330018332, 1330018275, 1330018329, 1330018280)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.94104313850403 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 11:31:02.709899
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
  port_id : 19698700
  datou_current_id : 2490825
in upload_from_sqlite, uploading in 19698700
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17012025/22/07/image_17012025_22_07_02_884223_0001.jpg', '/home/pi/Desktop/images/17012025/22/07/image_17012025_22_07_02_884223_0002.jpg', '/home/pi/Desktop/images/17012025/22/07/image_17012025_22_07_02_884223_0003.jpg', '/home/pi/Desktop/images/17012025/22/08/image_17012025_22_08_03_135736_0000.jpg', '/home/pi/Desktop/images/17012025/22/08/image_17012025_22_08_03_135736_0001.jpg', '/home/pi/Desktop/images/17012025/22/08/image_17012025_22_08_03_135736_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2490825&datou=0
/home/pi/Desktop/images/17012025/22/07/image_17012025_22_07_02_884223_0001.jpg
/home/pi/Desktop/images/17012025/22/07/image_17012025_22_07_02_884223_0002.jpg
/home/pi/Desktop/images/17012025/22/07/image_17012025_22_07_02_884223_0003.jpg
/home/pi/Desktop/images/17012025/22/08/image_17012025_22_08_03_135736_0000.jpg
/home/pi/Desktop/images/17012025/22/08/image_17012025_22_08_03_135736_0001.jpg
/home/pi/Desktop/images/17012025/22/08/image_17012025_22_08_03_135736_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330018452","1330018455","1330018500","1330018448","1330018498","1330018450"],"photo_ids_order":["1330018448","1330018450","1330018452","1330018455","1330018498","1330018500"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/52825eb7b05d4004e8a04a1c72bfb905.jpg","text":"TemporaryFile(/tmp/multipartBody3860375458668431155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737282739865,"filename":"image_17012025_22_07_02_884223_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/1ee76a73006cf1efd40231d0af1f0f15.jpg","text":"TemporaryFile(/tmp/multipartBody2977855641710158457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737282739865,"filename":"image_17012025_22_08_03_135736_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/7a21895bc2ca9f18be73d386e6f8f016.jpg","text":"TemporaryFile(/tmp/multipartBody4029200136011915493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737282739865,"filename":"image_17012025_22_08_03_135736_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/349180ef6661ed276e9df93e7e5877dd.jpg","text":"TemporaryFile(/tmp/multipartBody556357229379693511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737282739865,"filename":"image_17012025_22_07_02_884223_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/059385f6c50b9213773cc2bf99f6d352.jpg","text":"TemporaryFile(/tmp/multipartBody2997607196278725825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737282739865,"filename":"image_17012025_22_08_03_135736_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/5fcf9989097cf8a3a890d91129b552f3.jpg","text":"TemporaryFile(/tmp/multipartBody60981990868496564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737282739865,"filename":"image_17012025_22_07_02_884223_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330018452","file1":"1330018450","file0":"1330018448","file4":"1330018498","file5":"1330018500","file3":"1330018455"},"map_files_photo_id_array":[{"photo_id":"1330018500","filename":"file5"},{"photo_id":"1330018452","filename":"file2"},{"photo_id":"1330018498","filename":"file4"},{"photo_id":"1330018450","filename":"file1"},{"photo_id":"1330018448","filename":"file0"},{"photo_id":"1330018455","filename":"file3"}],"portfolio_id":19698700,"hashtag_by_photo_ids":[{"1330018452":["hashtag1","hashtag2"]},{"1330018455":["hashtag1","hashtag2"]},{"1330018500":["hashtag1","hashtag2"]},{"1330018448":["hashtag1","hashtag2"]},{"1330018498":["hashtag1","hashtag2"]},{"1330018450":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698700 used, photo_id : ArrayBuffer(1330018452, 1330018455, 1330018500, 1330018448, 1330018498, 1330018450)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.08816456794739 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 11:32:02.685846
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/11/30/image_19012025_11_30_03_013523_0003.jpg', '/home/pi/Desktop/images/19012025/11/31/image_19012025_11_31_02_271351_0000.jpg', '/home/pi/Desktop/images/19012025/11/31/image_19012025_11_31_02_271351_0001.jpg', '/home/pi/Desktop/images/19012025/11/31/image_19012025_11_31_02_271351_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/11/30/image_19012025_11_30_03_013523_0003.jpg
/home/pi/Desktop/images/19012025/11/31/image_19012025_11_31_02_271351_0000.jpg
/home/pi/Desktop/images/19012025/11/31/image_19012025_11_31_02_271351_0001.jpg
/home/pi/Desktop/images/19012025/11/31/image_19012025_11_31_02_271351_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 11.093210458755493 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 11:32:22.232419
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/11/30/image_19012025_11_30_03_013523_0003.jpg', '/home/pi/Desktop/images/19012025/11/31/image_19012025_11_31_02_271351_0000.jpg', '/home/pi/Desktop/images/19012025/11/31/image_19012025_11_31_02_271351_0001.jpg', '/home/pi/Desktop/images/19012025/11/31/image_19012025_11_31_02_271351_0002.jpg', '/home/pi/Desktop/images/19012025/11/31/image_19012025_11_31_02_271351_0003.jpg', '/home/pi/Desktop/images/19012025/11/32/image_19012025_11_32_02_464094_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/11/30/image_19012025_11_30_03_013523_0003.jpg
/home/pi/Desktop/images/19012025/11/31/image_19012025_11_31_02_271351_0000.jpg
/home/pi/Desktop/images/19012025/11/31/image_19012025_11_31_02_271351_0001.jpg
/home/pi/Desktop/images/19012025/11/31/image_19012025_11_31_02_271351_0002.jpg
/home/pi/Desktop/images/19012025/11/31/image_19012025_11_31_02_271351_0003.jpg
/home/pi/Desktop/images/19012025/11/32/image_19012025_11_32_02_464094_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":["1330018652","1330018661","1330018649","1330018645","1330018660","1330018657"],"photo_ids_order":["1330018645","1330018649","1330018652","1330018657","1330018660","1330018661"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/ffe9e7192d32716fad3be26fac135029.jpg","text":"TemporaryFile(/tmp/multipartBody4735458573062294999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737282819144,"filename":"image_19012025_11_31_02_271351_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/944967210bb17d54f299b090d6da47fc.jpg","text":"TemporaryFile(/tmp/multipartBody2916940428934709833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737282819144,"filename":"image_19012025_11_32_02_464094_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/dc2a92b8f04c3655745090e24846859d.jpg","text":"TemporaryFile(/tmp/multipartBody4918506530033116979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737282819144,"filename":"image_19012025_11_31_02_271351_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/77b7dbd76d881b0f6a5d203e00d5a98c.jpg","text":"TemporaryFile(/tmp/multipartBody2159139543096486522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737282819144,"filename":"image_19012025_11_30_03_013523_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/c77c441231ae8a990b59e35d6d50b4d6.jpg","text":"TemporaryFile(/tmp/multipartBody7548419756997014461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737282819144,"filename":"image_19012025_11_31_02_271351_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/f763533394cee2037ea6539f49234923.jpg","text":"TemporaryFile(/tmp/multipartBody2619252369243341464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737282819144,"filename":"image_19012025_11_31_02_271351_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330018652","file1":"1330018649","file0":"1330018645","file4":"1330018660","file5":"1330018661","file3":"1330018657"},"map_files_photo_id_array":[{"photo_id":"1330018661","filename":"file5"},{"photo_id":"1330018652","filename":"file2"},{"photo_id":"1330018660","filename":"file4"},{"photo_id":"1330018649","filename":"file1"},{"photo_id":"1330018645","filename":"file0"},{"photo_id":"1330018657","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330018652":["hashtag1","hashtag2"]},{"1330018661":["hashtag1","hashtag2"]},{"1330018649":["hashtag1","hashtag2"]},{"1330018645":["hashtag1","hashtag2"]},{"1330018660":["hashtag1","hashtag2"]},{"1330018657":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330018652, 1330018661, 1330018649, 1330018645, 1330018660, 1330018657)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.70359444618225 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 11:33:22.459792
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/11/32/image_19012025_11_32_02_464094_0001.jpg', '/home/pi/Desktop/images/19012025/11/32/image_19012025_11_32_02_464094_0002.jpg', '/home/pi/Desktop/images/19012025/11/32/image_19012025_11_32_02_464094_0003.jpg', '/home/pi/Desktop/images/19012025/11/33/image_19012025_11_33_02_667038_0000.jpg', '/home/pi/Desktop/images/19012025/11/33/image_19012025_11_33_02_667038_0001.jpg', '/home/pi/Desktop/images/19012025/11/33/image_19012025_11_33_02_667038_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/11/32/image_19012025_11_32_02_464094_0001.jpg
/home/pi/Desktop/images/19012025/11/32/image_19012025_11_32_02_464094_0002.jpg
/home/pi/Desktop/images/19012025/11/32/image_19012025_11_32_02_464094_0003.jpg
/home/pi/Desktop/images/19012025/11/33/image_19012025_11_33_02_667038_0000.jpg
/home/pi/Desktop/images/19012025/11/33/image_19012025_11_33_02_667038_0001.jpg
/home/pi/Desktop/images/19012025/11/33/image_19012025_11_33_02_667038_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330018671","1330018673","1330018667","1330018678","1330018675","1330018669"],"photo_ids_order":["1330018667","1330018669","1330018671","1330018673","1330018675","1330018678"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/4bbc44bc116c70136bc99f8b09993935.jpg","text":"TemporaryFile(/tmp/multipartBody7941537803593807822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737282879992,"filename":"image_19012025_11_32_02_464094_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/745f55fe2663d9d9fd20b6443c8bdb52.jpg","text":"TemporaryFile(/tmp/multipartBody8841613808252495584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737282879992,"filename":"image_19012025_11_33_02_667038_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/fc09565fbccf36fb1beb347d31772963.jpg","text":"TemporaryFile(/tmp/multipartBody1307072287849924337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737282879992,"filename":"image_19012025_11_32_02_464094_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/e5f1eeda7a44d7075cf97e66f47c7aed.jpg","text":"TemporaryFile(/tmp/multipartBody717544517368877820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737282879992,"filename":"image_19012025_11_33_02_667038_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/070766d193b3c4644f82c309f0028667.jpg","text":"TemporaryFile(/tmp/multipartBody2288507708236609869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737282879992,"filename":"image_19012025_11_33_02_667038_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/ef6b396e1e89d4966e45d1c758c136d9.jpg","text":"TemporaryFile(/tmp/multipartBody2911134586628944103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737282879992,"filename":"image_19012025_11_32_02_464094_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330018671","file1":"1330018669","file0":"1330018667","file4":"1330018675","file5":"1330018678","file3":"1330018673"},"map_files_photo_id_array":[{"photo_id":"1330018678","filename":"file5"},{"photo_id":"1330018671","filename":"file2"},{"photo_id":"1330018675","filename":"file4"},{"photo_id":"1330018669","filename":"file1"},{"photo_id":"1330018667","filename":"file0"},{"photo_id":"1330018673","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330018671":["hashtag1","hashtag2"]},{"1330018673":["hashtag1","hashtag2"]},{"1330018667":["hashtag1","hashtag2"]},{"1330018678":["hashtag1","hashtag2"]},{"1330018675":["hashtag1","hashtag2"]},{"1330018669":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330018671, 1330018673, 1330018667, 1330018678, 1330018675, 1330018669)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.15588164329529 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-19 11:34:32.602945
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/11/33/image_19012025_11_33_02_667038_0003.jpg', '/home/pi/Desktop/images/19012025/11/34/image_19012025_11_34_02_814025_0000.jpg', '/home/pi/Desktop/images/19012025/11/34/image_19012025_11_34_02_814025_0001.jpg', '/home/pi/Desktop/images/19012025/11/34/image_19012025_11_34_02_814025_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/11/33/image_19012025_11_33_02_667038_0003.jpg
/home/pi/Desktop/images/19012025/11/34/image_19012025_11_34_02_814025_0000.jpg
/home/pi/Desktop/images/19012025/11/34/image_19012025_11_34_02_814025_0001.jpg
/home/pi/Desktop/images/19012025/11/34/image_19012025_11_34_02_814025_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330018697","1330018691","1330018694","1330018700"],"photo_ids_order":["1330018691","1330018694","1330018697","1330018700"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/27d51017c6bc972499344a2add11bb8b.jpg","text":"TemporaryFile(/tmp/multipartBody1726185105880500622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737282944116,"filename":"image_19012025_11_34_02_814025_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/85e66180e7a3144eeb0ea72dfc24efad.jpg","text":"TemporaryFile(/tmp/multipartBody8653289475273714220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737282944116,"filename":"image_19012025_11_33_02_667038_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/dad67dec2b4ed850e820643669f6c902.jpg","text":"TemporaryFile(/tmp/multipartBody8102688440067262076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737282944116,"filename":"image_19012025_11_34_02_814025_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/57c118ffb93bebd35e480ffc5ef67d9d.jpg","text":"TemporaryFile(/tmp/multipartBody1047893936097536243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737282944116,"filename":"image_19012025_11_34_02_814025_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330018697","file1":"1330018694","file0":"1330018691","file3":"1330018700"},"map_files_photo_id_array":[{"photo_id":"1330018697","filename":"file2"},{"photo_id":"1330018694","filename":"file1"},{"photo_id":"1330018691","filename":"file0"},{"photo_id":"1330018700","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330018697":["hashtag1","hashtag2"]},{"1330018691":["hashtag1","hashtag2"]},{"1330018694":["hashtag1","hashtag2"]},{"1330018700":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330018697, 1330018691, 1330018694, 1330018700)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.03964567184448 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 11:35:22.764340
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/11/34/image_19012025_11_34_02_814025_0003.jpg', '/home/pi/Desktop/images/19012025/11/35/image_19012025_11_35_02_998333_0000.jpg', '/home/pi/Desktop/images/19012025/11/35/image_19012025_11_35_02_998333_0001.jpg', '/home/pi/Desktop/images/19012025/11/35/image_19012025_11_35_02_998333_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/11/34/image_19012025_11_34_02_814025_0003.jpg
/home/pi/Desktop/images/19012025/11/35/image_19012025_11_35_02_998333_0000.jpg
/home/pi/Desktop/images/19012025/11/35/image_19012025_11_35_02_998333_0001.jpg
/home/pi/Desktop/images/19012025/11/35/image_19012025_11_35_02_998333_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330018719","1330018710","1330018712","1330018717"],"photo_ids_order":["1330018710","1330018712","1330018717","1330018719"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/6caaa4e09e40d5e42daf02e59a34d556.jpg","text":"TemporaryFile(/tmp/multipartBody3337569227721931367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737282994093,"filename":"image_19012025_11_35_02_998333_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/b3037ebdd309c968d8aedd3bf3d8e69a.jpg","text":"TemporaryFile(/tmp/multipartBody3546116217788712637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737282994093,"filename":"image_19012025_11_34_02_814025_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/8efdcd4b43a53ff5084e6ff7459b6eed.jpg","text":"TemporaryFile(/tmp/multipartBody4458786475062353741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737282994093,"filename":"image_19012025_11_35_02_998333_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/6f6b41947f05e514bb666012091bc632.jpg","text":"TemporaryFile(/tmp/multipartBody2100380174166672025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737282994093,"filename":"image_19012025_11_35_02_998333_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330018717","file1":"1330018712","file0":"1330018710","file3":"1330018719"},"map_files_photo_id_array":[{"photo_id":"1330018717","filename":"file2"},{"photo_id":"1330018712","filename":"file1"},{"photo_id":"1330018710","filename":"file0"},{"photo_id":"1330018719","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330018719":["hashtag1","hashtag2"]},{"1330018710":["hashtag1","hashtag2"]},{"1330018712":["hashtag1","hashtag2"]},{"1330018717":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330018719, 1330018710, 1330018712, 1330018717)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.432934045791626 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 11:36:21.958500
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/11/35/image_19012025_11_35_02_998333_0003.jpg', '/home/pi/Desktop/images/19012025/11/36/image_19012025_11_36_03_140939_0000.jpg', '/home/pi/Desktop/images/19012025/11/36/image_19012025_11_36_03_140939_0001.jpg', '/home/pi/Desktop/images/19012025/11/36/image_19012025_11_36_03_140939_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/11/35/image_19012025_11_35_02_998333_0003.jpg
/home/pi/Desktop/images/19012025/11/36/image_19012025_11_36_03_140939_0000.jpg
/home/pi/Desktop/images/19012025/11/36/image_19012025_11_36_03_140939_0001.jpg
/home/pi/Desktop/images/19012025/11/36/image_19012025_11_36_03_140939_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 11.018961429595947 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-19 11:36:41.984022
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/11/35/image_19012025_11_35_02_998333_0003.jpg', '/home/pi/Desktop/images/19012025/11/36/image_19012025_11_36_03_140939_0000.jpg', '/home/pi/Desktop/images/19012025/11/36/image_19012025_11_36_03_140939_0001.jpg', '/home/pi/Desktop/images/19012025/11/36/image_19012025_11_36_03_140939_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/11/35/image_19012025_11_35_02_998333_0003.jpg
/home/pi/Desktop/images/19012025/11/36/image_19012025_11_36_03_140939_0000.jpg
/home/pi/Desktop/images/19012025/11/36/image_19012025_11_36_03_140939_0001.jpg
/home/pi/Desktop/images/19012025/11/36/image_19012025_11_36_03_140939_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":["1330018751","1330018750","1330018744","1330018747"],"photo_ids_order":["1330018744","1330018747","1330018750","1330018751"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/4ef85f7d783e414b12f2d6008c88ae6d.jpg","text":"TemporaryFile(/tmp/multipartBody3435128697643662396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737283073409,"filename":"image_19012025_11_36_03_140939_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/d12291198abeda99b031a8d423f1a038.jpg","text":"TemporaryFile(/tmp/multipartBody7494328991411870610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737283073409,"filename":"image_19012025_11_36_03_140939_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/18735d0253916209f53403710bae078c.jpg","text":"TemporaryFile(/tmp/multipartBody891057673315226762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737283073409,"filename":"image_19012025_11_35_02_998333_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/626e49aae13e18df22bf86d926388125.jpg","text":"TemporaryFile(/tmp/multipartBody494761542723578794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737283073409,"filename":"image_19012025_11_36_03_140939_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330018750","file1":"1330018747","file0":"1330018744","file3":"1330018751"},"map_files_photo_id_array":[{"photo_id":"1330018750","filename":"file2"},{"photo_id":"1330018747","filename":"file1"},{"photo_id":"1330018744","filename":"file0"},{"photo_id":"1330018751","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330018751":["hashtag1","hashtag2"]},{"1330018750":["hashtag1","hashtag2"]},{"1330018744":["hashtag1","hashtag2"]},{"1330018747":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330018751, 1330018750, 1330018744, 1330018747)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.901817083358765 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 11:37:22.203860
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/11/36/image_19012025_11_36_03_140939_0003.jpg', '/home/pi/Desktop/images/19012025/11/37/image_19012025_11_37_02_315827_0000.jpg', '/home/pi/Desktop/images/19012025/11/37/image_19012025_11_37_02_315827_0001.jpg', '/home/pi/Desktop/images/19012025/11/37/image_19012025_11_37_02_315827_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/11/36/image_19012025_11_36_03_140939_0003.jpg
/home/pi/Desktop/images/19012025/11/37/image_19012025_11_37_02_315827_0000.jpg
/home/pi/Desktop/images/19012025/11/37/image_19012025_11_37_02_315827_0001.jpg
/home/pi/Desktop/images/19012025/11/37/image_19012025_11_37_02_315827_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330018778","1330018766","1330018781","1330018802"],"photo_ids_order":["1330018766","1330018778","1330018781","1330018802"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/c540a7cd0da22bb011c4b6132ee3c91a.jpg","text":"TemporaryFile(/tmp/multipartBody5221417305805979120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737283113672,"filename":"image_19012025_11_37_02_315827_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/af39b2d6053d2d6c50139e5a6756dc7b.jpg","text":"TemporaryFile(/tmp/multipartBody2203054954042492142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737283113672,"filename":"image_19012025_11_36_03_140939_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/0c92a8d28854fc31e821a2fab38a29c8.jpg","text":"TemporaryFile(/tmp/multipartBody8484207817128348367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737283113672,"filename":"image_19012025_11_37_02_315827_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/2113cc7111e46c1036060ad335cef48c.jpg","text":"TemporaryFile(/tmp/multipartBody4807244711117833501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737283113672,"filename":"image_19012025_11_37_02_315827_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330018781","file1":"1330018778","file0":"1330018766","file3":"1330018802"},"map_files_photo_id_array":[{"photo_id":"1330018781","filename":"file2"},{"photo_id":"1330018778","filename":"file1"},{"photo_id":"1330018766","filename":"file0"},{"photo_id":"1330018802","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330018778":["hashtag1","hashtag2"]},{"1330018766":["hashtag1","hashtag2"]},{"1330018781":["hashtag1","hashtag2"]},{"1330018802":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330018778, 1330018766, 1330018781, 1330018802)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.168367862701416 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 11:38:22.397379
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/11/37/image_19012025_11_37_02_315827_0003.jpg', '/home/pi/Desktop/images/19012025/11/38/image_19012025_11_38_02_589454_0000.jpg', '/home/pi/Desktop/images/19012025/11/38/image_19012025_11_38_02_589454_0001.jpg', '/home/pi/Desktop/images/19012025/11/38/image_19012025_11_38_02_589454_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/11/37/image_19012025_11_37_02_315827_0003.jpg
/home/pi/Desktop/images/19012025/11/38/image_19012025_11_38_02_589454_0000.jpg
/home/pi/Desktop/images/19012025/11/38/image_19012025_11_38_02_589454_0001.jpg
/home/pi/Desktop/images/19012025/11/38/image_19012025_11_38_02_589454_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330018818","1330018812","1330018815","1330018820"],"photo_ids_order":["1330018812","1330018815","1330018818","1330018820"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/a33c039d145a40936f1642a5ffaf450a.jpg","text":"TemporaryFile(/tmp/multipartBody523344246243933354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737283173853,"filename":"image_19012025_11_38_02_589454_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/cc6467fb64d339cf953600cd63415d33.jpg","text":"TemporaryFile(/tmp/multipartBody8783656264096731136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737283173853,"filename":"image_19012025_11_37_02_315827_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/8a71bb3a2c65886d3eb1dce26ba3b8db.jpg","text":"TemporaryFile(/tmp/multipartBody6843284742352698507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737283173853,"filename":"image_19012025_11_38_02_589454_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/768ca75598547758cdc54d2504fc05ee.jpg","text":"TemporaryFile(/tmp/multipartBody4998365921762576251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737283173853,"filename":"image_19012025_11_38_02_589454_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330018818","file1":"1330018815","file0":"1330018812","file3":"1330018820"},"map_files_photo_id_array":[{"photo_id":"1330018818","filename":"file2"},{"photo_id":"1330018815","filename":"file1"},{"photo_id":"1330018812","filename":"file0"},{"photo_id":"1330018820","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330018818":["hashtag1","hashtag2"]},{"1330018812":["hashtag1","hashtag2"]},{"1330018815":["hashtag1","hashtag2"]},{"1330018820":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330018818, 1330018812, 1330018815, 1330018820)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.8207848072052 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 11:39:03.222477
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
  port_id : 19698700
  datou_current_id : 2490825
in upload_from_sqlite, uploading in 19698700
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17012025/22/08/image_17012025_22_08_03_135736_0003.jpg', '/home/pi/Desktop/images/17012025/22/09/image_17012025_22_09_02_296806_0000.jpg', '/home/pi/Desktop/images/17012025/22/09/image_17012025_22_09_02_296806_0001.jpg', '/home/pi/Desktop/images/17012025/22/09/image_17012025_22_09_02_296806_0002.jpg', '/home/pi/Desktop/images/17012025/22/09/image_17012025_22_09_02_296806_0003.jpg', '/home/pi/Desktop/images/17012025/22/10/image_17012025_22_10_02_531385_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2490825&datou=0
/home/pi/Desktop/images/17012025/22/08/image_17012025_22_08_03_135736_0003.jpg
/home/pi/Desktop/images/17012025/22/09/image_17012025_22_09_02_296806_0000.jpg
/home/pi/Desktop/images/17012025/22/09/image_17012025_22_09_02_296806_0001.jpg
/home/pi/Desktop/images/17012025/22/09/image_17012025_22_09_02_296806_0002.jpg
/home/pi/Desktop/images/17012025/22/09/image_17012025_22_09_02_296806_0003.jpg
/home/pi/Desktop/images/17012025/22/10/image_17012025_22_10_02_531385_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":["1330018868","1330018826","1330018870","1330018837","1330018840","1330018828"],"photo_ids_order":["1330018826","1330018828","1330018837","1330018840","1330018868","1330018870"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/4c9a3743f6e2c644dc7576fc377ccb31.jpg","text":"TemporaryFile(/tmp/multipartBody8229339467463682386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737283220863,"filename":"image_17012025_22_09_02_296806_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/f24a9d306ae4bc60734029ec36d90a0f.jpg","text":"TemporaryFile(/tmp/multipartBody2057136385729438899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737283220863,"filename":"image_17012025_22_08_03_135736_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/f6d91fff29447d406088caad245cfae8.jpg","text":"TemporaryFile(/tmp/multipartBody5547385963049984243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737283220863,"filename":"image_17012025_22_10_02_531385_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/0f0ac867be8ea9c64c17da7947109edd.jpg","text":"TemporaryFile(/tmp/multipartBody656160514724611579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737283220863,"filename":"image_17012025_22_09_02_296806_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/5bcd4573bf928a91cf51a3384fa40c71.jpg","text":"TemporaryFile(/tmp/multipartBody6927395958723477265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737283220863,"filename":"image_17012025_22_09_02_296806_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/8c4366f1249e640c3a7cf4e32453d609.jpg","text":"TemporaryFile(/tmp/multipartBody3006083158208771923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737283220863,"filename":"image_17012025_22_09_02_296806_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330018837","file1":"1330018828","file0":"1330018826","file4":"1330018868","file5":"1330018870","file3":"1330018840"},"map_files_photo_id_array":[{"photo_id":"1330018870","filename":"file5"},{"photo_id":"1330018837","filename":"file2"},{"photo_id":"1330018868","filename":"file4"},{"photo_id":"1330018828","filename":"file1"},{"photo_id":"1330018826","filename":"file0"},{"photo_id":"1330018840","filename":"file3"}],"portfolio_id":19698700,"hashtag_by_photo_ids":[{"1330018868":["hashtag1","hashtag2"]},{"1330018826":["hashtag1","hashtag2"]},{"1330018870":["hashtag1","hashtag2"]},{"1330018837":["hashtag1","hashtag2"]},{"1330018840":["hashtag1","hashtag2"]},{"1330018828":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698700 used, photo_id : ArrayBuffer(1330018868, 1330018826, 1330018870, 1330018837, 1330018840, 1330018828)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 66.67058944702148 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 11:40:22.706421
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/11/38/image_19012025_11_38_02_589454_0003.jpg', '/home/pi/Desktop/images/19012025/11/39/image_19012025_11_39_02_738646_0000.jpg', '/home/pi/Desktop/images/19012025/11/39/image_19012025_11_39_02_738646_0001.jpg', '/home/pi/Desktop/images/19012025/11/39/image_19012025_11_39_02_738646_0002.jpg', '/home/pi/Desktop/images/19012025/11/39/image_19012025_11_39_02_738646_0003.jpg', '/home/pi/Desktop/images/19012025/11/40/image_19012025_11_40_02_965731_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/11/38/image_19012025_11_38_02_589454_0003.jpg
/home/pi/Desktop/images/19012025/11/39/image_19012025_11_39_02_738646_0000.jpg
/home/pi/Desktop/images/19012025/11/39/image_19012025_11_39_02_738646_0001.jpg
/home/pi/Desktop/images/19012025/11/39/image_19012025_11_39_02_738646_0002.jpg
/home/pi/Desktop/images/19012025/11/39/image_19012025_11_39_02_738646_0003.jpg
/home/pi/Desktop/images/19012025/11/40/image_19012025_11_40_02_965731_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":["1330018883","1330018880","1330018907","1330018912","1330018909","1330018899"],"photo_ids_order":["1330018880","1330018883","1330018899","1330018907","1330018909","1330018912"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/49b7bb74ceaa8beae19cf75a780595af.jpg","text":"TemporaryFile(/tmp/multipartBody3482596814841062049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737283299206,"filename":"image_19012025_11_39_02_738646_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/4a234abb6a0fe4188ab71d2cf0527c06.jpg","text":"TemporaryFile(/tmp/multipartBody8594353114436971775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737283299206,"filename":"image_19012025_11_38_02_589454_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/843940c54f916d2685d60bf754f44354.jpg","text":"TemporaryFile(/tmp/multipartBody8346735769001859909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737283299206,"filename":"image_19012025_11_39_02_738646_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/7f090c332bc363f908a709b81bbdb3b9.jpg","text":"TemporaryFile(/tmp/multipartBody8296835353716529035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737283299206,"filename":"image_19012025_11_40_02_965731_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/c111ac79f83078a75d89bed52b591e17.jpg","text":"TemporaryFile(/tmp/multipartBody7173691578041624641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737283299206,"filename":"image_19012025_11_39_02_738646_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/87869f92b77c2b3cd0ed04492588373a.jpg","text":"TemporaryFile(/tmp/multipartBody7382781281282496876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737283299206,"filename":"image_19012025_11_39_02_738646_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330018899","file1":"1330018883","file0":"1330018880","file4":"1330018909","file5":"1330018912","file3":"1330018907"},"map_files_photo_id_array":[{"photo_id":"1330018912","filename":"file5"},{"photo_id":"1330018899","filename":"file2"},{"photo_id":"1330018909","filename":"file4"},{"photo_id":"1330018883","filename":"file1"},{"photo_id":"1330018880","filename":"file0"},{"photo_id":"1330018907","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330018883":["hashtag1","hashtag2"]},{"1330018880":["hashtag1","hashtag2"]},{"1330018907":["hashtag1","hashtag2"]},{"1330018912":["hashtag1","hashtag2"]},{"1330018909":["hashtag1","hashtag2"]},{"1330018899":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330018883, 1330018880, 1330018907, 1330018912, 1330018909, 1330018899)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.11804962158203 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 11:41:21.923504
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/11/40/image_19012025_11_40_02_965731_0001.jpg', '/home/pi/Desktop/images/19012025/11/40/image_19012025_11_40_02_965731_0002.jpg', '/home/pi/Desktop/images/19012025/11/40/image_19012025_11_40_02_965731_0003.jpg', '/home/pi/Desktop/images/19012025/11/41/image_19012025_11_41_03_057634_0000.jpg', '/home/pi/Desktop/images/19012025/11/41/image_19012025_11_41_03_057634_0001.jpg', '/home/pi/Desktop/images/19012025/11/41/image_19012025_11_41_03_057634_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/11/40/image_19012025_11_40_02_965731_0001.jpg
/home/pi/Desktop/images/19012025/11/40/image_19012025_11_40_02_965731_0002.jpg
/home/pi/Desktop/images/19012025/11/40/image_19012025_11_40_02_965731_0003.jpg
/home/pi/Desktop/images/19012025/11/41/image_19012025_11_41_03_057634_0000.jpg
/home/pi/Desktop/images/19012025/11/41/image_19012025_11_41_03_057634_0001.jpg
/home/pi/Desktop/images/19012025/11/41/image_19012025_11_41_03_057634_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330019103","1330018962","1330019111","1330019108","1330019009","1330019094"],"photo_ids_order":["1330018962","1330019009","1330019094","1330019103","1330019108","1330019111"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/3ae702d6c76f67cbf2acf7b83125d315.jpg","text":"TemporaryFile(/tmp/multipartBody731193955343265774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737283358813,"filename":"image_19012025_11_41_03_057634_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/cd4d421ab5e45713630cd7657841d62e.jpg","text":"TemporaryFile(/tmp/multipartBody8305264770007975838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737283358813,"filename":"image_19012025_11_40_02_965731_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/8a6297ae802e073dd0db8fb291165a41.jpg","text":"TemporaryFile(/tmp/multipartBody3575913059510014925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737283358813,"filename":"image_19012025_11_41_03_057634_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/5d4508065a14a9c37b49c2fa2b8cfd42.jpg","text":"TemporaryFile(/tmp/multipartBody458162922557235376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737283358813,"filename":"image_19012025_11_41_03_057634_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/949419a7431698729a8dde2ba37136e3.jpg","text":"TemporaryFile(/tmp/multipartBody7179775940581259771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737283358813,"filename":"image_19012025_11_40_02_965731_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/fb4a0545236ca4e0adfb0f53833cd68e.jpg","text":"TemporaryFile(/tmp/multipartBody9133492736852074196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737283358813,"filename":"image_19012025_11_40_02_965731_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330019094","file1":"1330019009","file0":"1330018962","file4":"1330019108","file5":"1330019111","file3":"1330019103"},"map_files_photo_id_array":[{"photo_id":"1330019111","filename":"file5"},{"photo_id":"1330019094","filename":"file2"},{"photo_id":"1330019108","filename":"file4"},{"photo_id":"1330019009","filename":"file1"},{"photo_id":"1330018962","filename":"file0"},{"photo_id":"1330019103","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330019103":["hashtag1","hashtag2"]},{"1330018962":["hashtag1","hashtag2"]},{"1330019111":["hashtag1","hashtag2"]},{"1330019108":["hashtag1","hashtag2"]},{"1330019009":["hashtag1","hashtag2"]},{"1330019094":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330019103, 1330018962, 1330019111, 1330019108, 1330019009, 1330019094)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.2024462223053 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 11:42:22.071976
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/11/41/image_19012025_11_41_03_057634_0003.jpg', '/home/pi/Desktop/images/19012025/11/42/image_19012025_11_42_02_206620_0000.jpg', '/home/pi/Desktop/images/19012025/11/42/image_19012025_11_42_02_206620_0001.jpg', '/home/pi/Desktop/images/19012025/11/42/image_19012025_11_42_02_206620_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/11/41/image_19012025_11_41_03_057634_0003.jpg
/home/pi/Desktop/images/19012025/11/42/image_19012025_11_42_02_206620_0000.jpg
/home/pi/Desktop/images/19012025/11/42/image_19012025_11_42_02_206620_0001.jpg
/home/pi/Desktop/images/19012025/11/42/image_19012025_11_42_02_206620_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.804372549057007 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-19 11:42:42.061300
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/11/41/image_19012025_11_41_03_057634_0003.jpg', '/home/pi/Desktop/images/19012025/11/42/image_19012025_11_42_02_206620_0000.jpg', '/home/pi/Desktop/images/19012025/11/42/image_19012025_11_42_02_206620_0001.jpg', '/home/pi/Desktop/images/19012025/11/42/image_19012025_11_42_02_206620_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/11/41/image_19012025_11_41_03_057634_0003.jpg
/home/pi/Desktop/images/19012025/11/42/image_19012025_11_42_02_206620_0000.jpg
/home/pi/Desktop/images/19012025/11/42/image_19012025_11_42_02_206620_0001.jpg
/home/pi/Desktop/images/19012025/11/42/image_19012025_11_42_02_206620_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":["1330019192","1330019185","1330019194","1330019188"],"photo_ids_order":["1330019185","1330019188","1330019192","1330019194"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/673dec30a2e28af5691d7f4836b9a2a5.jpg","text":"TemporaryFile(/tmp/multipartBody4010792418132572508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737283433322,"filename":"image_19012025_11_42_02_206620_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/01e475ca2aff4ffbf505f77ca3d0d542.jpg","text":"TemporaryFile(/tmp/multipartBody3804738011472346611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737283433322,"filename":"image_19012025_11_41_03_057634_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/1f2d46901d750a132f7c59cc9c4dcc8e.jpg","text":"TemporaryFile(/tmp/multipartBody6712612607176252094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737283433322,"filename":"image_19012025_11_42_02_206620_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/e3977916dde37865747e72b0aa4c47a3.jpg","text":"TemporaryFile(/tmp/multipartBody736666615111017614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737283433322,"filename":"image_19012025_11_42_02_206620_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330019192","file1":"1330019188","file0":"1330019185","file3":"1330019194"},"map_files_photo_id_array":[{"photo_id":"1330019192","filename":"file2"},{"photo_id":"1330019188","filename":"file1"},{"photo_id":"1330019185","filename":"file0"},{"photo_id":"1330019194","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330019192":["hashtag1","hashtag2"]},{"1330019185":["hashtag1","hashtag2"]},{"1330019194":["hashtag1","hashtag2"]},{"1330019188":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330019192, 1330019185, 1330019194, 1330019188)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.64058566093445 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 11:43:22.250783
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/11/42/image_19012025_11_42_02_206620_0003.jpg', '/home/pi/Desktop/images/19012025/11/43/image_19012025_11_43_02_423203_0000.jpg', '/home/pi/Desktop/images/19012025/11/43/image_19012025_11_43_02_423203_0001.jpg', '/home/pi/Desktop/images/19012025/11/43/image_19012025_11_43_02_423203_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/11/42/image_19012025_11_42_02_206620_0003.jpg
/home/pi/Desktop/images/19012025/11/43/image_19012025_11_43_02_423203_0000.jpg
/home/pi/Desktop/images/19012025/11/43/image_19012025_11_43_02_423203_0001.jpg
/home/pi/Desktop/images/19012025/11/43/image_19012025_11_43_02_423203_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330019208","1330019211","1330019205","1330019201"],"photo_ids_order":["1330019201","1330019205","1330019208","1330019211"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/afe4a37cd099aba5a6b39e7b8dca119c.jpg","text":"TemporaryFile(/tmp/multipartBody1536815764960893111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737283473601,"filename":"image_19012025_11_43_02_423203_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/4118115e9d916be1f449d8655ad63c0b.jpg","text":"TemporaryFile(/tmp/multipartBody5848424518523779113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737283473601,"filename":"image_19012025_11_43_02_423203_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/12af1bf635e1a688f4b5f8804c15b1b1.jpg","text":"TemporaryFile(/tmp/multipartBody845979231392092940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737283473601,"filename":"image_19012025_11_43_02_423203_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/a07279ed92df540a4146838198036053.jpg","text":"TemporaryFile(/tmp/multipartBody9210470022270006699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737283473601,"filename":"image_19012025_11_42_02_206620_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330019208","file1":"1330019205","file0":"1330019201","file3":"1330019211"},"map_files_photo_id_array":[{"photo_id":"1330019208","filename":"file2"},{"photo_id":"1330019205","filename":"file1"},{"photo_id":"1330019201","filename":"file0"},{"photo_id":"1330019211","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330019208":["hashtag1","hashtag2"]},{"1330019211":["hashtag1","hashtag2"]},{"1330019205":["hashtag1","hashtag2"]},{"1330019201":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330019208, 1330019211, 1330019205, 1330019201)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.306190967559814 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 11:44:22.469530
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/11/43/image_19012025_11_43_02_423203_0003.jpg', '/home/pi/Desktop/images/19012025/11/44/image_19012025_11_44_02_680919_0000.jpg', '/home/pi/Desktop/images/19012025/11/44/image_19012025_11_44_02_680919_0001.jpg', '/home/pi/Desktop/images/19012025/11/44/image_19012025_11_44_02_680919_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/11/43/image_19012025_11_43_02_423203_0003.jpg
/home/pi/Desktop/images/19012025/11/44/image_19012025_11_44_02_680919_0000.jpg
/home/pi/Desktop/images/19012025/11/44/image_19012025_11_44_02_680919_0001.jpg
/home/pi/Desktop/images/19012025/11/44/image_19012025_11_44_02_680919_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330019229","1330019222","1330019225","1330019232"],"photo_ids_order":["1330019222","1330019225","1330019229","1330019232"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/b8cf79197c4d3e97326ae5ffc4f736e3.jpg","text":"TemporaryFile(/tmp/multipartBody3671550292079172235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737283533810,"filename":"image_19012025_11_44_02_680919_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/0362ac14ecd3ad84bb309bb4fcef0cb0.jpg","text":"TemporaryFile(/tmp/multipartBody1206633219346741535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737283533810,"filename":"image_19012025_11_43_02_423203_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/711159d430772ce277ae1f350ee685ca.jpg","text":"TemporaryFile(/tmp/multipartBody4085572977216258366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737283533810,"filename":"image_19012025_11_44_02_680919_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/950601ae13110242a36d68de322410e8.jpg","text":"TemporaryFile(/tmp/multipartBody7871515901759933512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737283533810,"filename":"image_19012025_11_44_02_680919_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330019229","file1":"1330019225","file0":"1330019222","file3":"1330019232"},"map_files_photo_id_array":[{"photo_id":"1330019229","filename":"file2"},{"photo_id":"1330019225","filename":"file1"},{"photo_id":"1330019222","filename":"file0"},{"photo_id":"1330019232","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330019229":["hashtag1","hashtag2"]},{"1330019222":["hashtag1","hashtag2"]},{"1330019225":["hashtag1","hashtag2"]},{"1330019232":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330019229, 1330019222, 1330019225, 1330019232)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.784953355789185 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 11:45:22.696756
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/11/44/image_19012025_11_44_02_680919_0003.jpg', '/home/pi/Desktop/images/19012025/11/45/image_19012025_11_45_02_818703_0000.jpg', '/home/pi/Desktop/images/19012025/11/45/image_19012025_11_45_02_818703_0001.jpg', '/home/pi/Desktop/images/19012025/11/45/image_19012025_11_45_02_818703_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/11/44/image_19012025_11_44_02_680919_0003.jpg
/home/pi/Desktop/images/19012025/11/45/image_19012025_11_45_02_818703_0000.jpg
/home/pi/Desktop/images/19012025/11/45/image_19012025_11_45_02_818703_0001.jpg
/home/pi/Desktop/images/19012025/11/45/image_19012025_11_45_02_818703_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330019479","1330019487","1330019481","1330019484"],"photo_ids_order":["1330019479","1330019481","1330019484","1330019487"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/fe33559ade4ef30d6ff3b642ae978f15.jpg","text":"TemporaryFile(/tmp/multipartBody7356655516628175455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737283594297,"filename":"image_19012025_11_44_02_680919_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/7ab1ecb785eb387bdc4ca9df25197df7.jpg","text":"TemporaryFile(/tmp/multipartBody6804428926212551406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737283594297,"filename":"image_19012025_11_45_02_818703_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/caf5b5d96df49fbe58adb785ae02abfd.jpg","text":"TemporaryFile(/tmp/multipartBody8334390762026637694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737283594297,"filename":"image_19012025_11_45_02_818703_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/a6774efa8be271c98097aaa55e8dd464.jpg","text":"TemporaryFile(/tmp/multipartBody433610234783092815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737283594297,"filename":"image_19012025_11_45_02_818703_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330019484","file1":"1330019481","file0":"1330019479","file3":"1330019487"},"map_files_photo_id_array":[{"photo_id":"1330019484","filename":"file2"},{"photo_id":"1330019481","filename":"file1"},{"photo_id":"1330019479","filename":"file0"},{"photo_id":"1330019487","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330019479":["hashtag1","hashtag2"]},{"1330019487":["hashtag1","hashtag2"]},{"1330019481":["hashtag1","hashtag2"]},{"1330019484":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330019479, 1330019487, 1330019481, 1330019484)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.73324656486511 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 11:46:21.886205
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/11/45/image_19012025_11_45_02_818703_0003.jpg', '/home/pi/Desktop/images/19012025/11/46/image_19012025_11_46_02_945469_0000.jpg', '/home/pi/Desktop/images/19012025/11/46/image_19012025_11_46_02_945469_0001.jpg', '/home/pi/Desktop/images/19012025/11/46/image_19012025_11_46_02_945469_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/11/45/image_19012025_11_45_02_818703_0003.jpg
/home/pi/Desktop/images/19012025/11/46/image_19012025_11_46_02_945469_0000.jpg
/home/pi/Desktop/images/19012025/11/46/image_19012025_11_46_02_945469_0001.jpg
/home/pi/Desktop/images/19012025/11/46/image_19012025_11_46_02_945469_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330019513","1330019563","1330019566","1330019538"],"photo_ids_order":["1330019513","1330019538","1330019563","1330019566"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/46b421f6d811604e7c1ec4af47b7af39.jpg","text":"TemporaryFile(/tmp/multipartBody8490871480766564053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737283653212,"filename":"image_19012025_11_45_02_818703_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/1b80c261ad6857f99577ee94bc0ed249.jpg","text":"TemporaryFile(/tmp/multipartBody1328281389467373650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737283653212,"filename":"image_19012025_11_46_02_945469_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/a690d81e256c3aa5dda5c7799602796c.jpg","text":"TemporaryFile(/tmp/multipartBody4352752936582251579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737283653212,"filename":"image_19012025_11_46_02_945469_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/3664577a8a85145f40f252b6573d2577.jpg","text":"TemporaryFile(/tmp/multipartBody222365214748645540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737283653212,"filename":"image_19012025_11_46_02_945469_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330019563","file1":"1330019538","file0":"1330019513","file3":"1330019566"},"map_files_photo_id_array":[{"photo_id":"1330019563","filename":"file2"},{"photo_id":"1330019538","filename":"file1"},{"photo_id":"1330019513","filename":"file0"},{"photo_id":"1330019566","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330019513":["hashtag1","hashtag2"]},{"1330019563":["hashtag1","hashtag2"]},{"1330019566":["hashtag1","hashtag2"]},{"1330019538":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330019513, 1330019563, 1330019566, 1330019538)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.79039454460144 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 11:47:22.062766
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/11/46/image_19012025_11_46_02_945469_0003.jpg', '/home/pi/Desktop/images/19012025/11/47/image_19012025_11_47_02_168950_0000.jpg', '/home/pi/Desktop/images/19012025/11/47/image_19012025_11_47_02_168950_0001.jpg', '/home/pi/Desktop/images/19012025/11/47/image_19012025_11_47_02_168950_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/11/46/image_19012025_11_46_02_945469_0003.jpg
/home/pi/Desktop/images/19012025/11/47/image_19012025_11_47_02_168950_0000.jpg
/home/pi/Desktop/images/19012025/11/47/image_19012025_11_47_02_168950_0001.jpg
/home/pi/Desktop/images/19012025/11/47/image_19012025_11_47_02_168950_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330019696","1330019700","1330019657","1330019704"],"photo_ids_order":["1330019657","1330019696","1330019700","1330019704"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/3a3e7395cb24ada5c2f8ae6225945fcd.jpg","text":"TemporaryFile(/tmp/multipartBody521402810879129103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737283713549,"filename":"image_19012025_11_47_02_168950_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/e138e84e2844d68081807477df44aacd.jpg","text":"TemporaryFile(/tmp/multipartBody244851372549501447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737283713549,"filename":"image_19012025_11_47_02_168950_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/0baa404f3d68e9d51908ff4555f5605d.jpg","text":"TemporaryFile(/tmp/multipartBody207174010461114688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737283713549,"filename":"image_19012025_11_46_02_945469_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/69a9755cb040e06136a2478f99f940cc.jpg","text":"TemporaryFile(/tmp/multipartBody4299132354257504439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737283713549,"filename":"image_19012025_11_47_02_168950_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330019700","file1":"1330019696","file0":"1330019657","file3":"1330019704"},"map_files_photo_id_array":[{"photo_id":"1330019700","filename":"file2"},{"photo_id":"1330019696","filename":"file1"},{"photo_id":"1330019657","filename":"file0"},{"photo_id":"1330019704","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330019696":["hashtag1","hashtag2"]},{"1330019700":["hashtag1","hashtag2"]},{"1330019657":["hashtag1","hashtag2"]},{"1330019704":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330019696, 1330019700, 1330019657, 1330019704)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.59862804412842 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 11:48:22.209094
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/11/47/image_19012025_11_47_02_168950_0003.jpg', '/home/pi/Desktop/images/19012025/11/48/image_19012025_11_48_02_336308_0000.jpg', '/home/pi/Desktop/images/19012025/11/48/image_19012025_11_48_02_336308_0001.jpg', '/home/pi/Desktop/images/19012025/11/48/image_19012025_11_48_02_336308_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/11/47/image_19012025_11_47_02_168950_0003.jpg
/home/pi/Desktop/images/19012025/11/48/image_19012025_11_48_02_336308_0000.jpg
/home/pi/Desktop/images/19012025/11/48/image_19012025_11_48_02_336308_0001.jpg
/home/pi/Desktop/images/19012025/11/48/image_19012025_11_48_02_336308_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330019730","1330019735","1330019725","1330019721"],"photo_ids_order":["1330019721","1330019725","1330019730","1330019735"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/24b43df183adadf62f91300a36369f37.jpg","text":"TemporaryFile(/tmp/multipartBody7861057002035588512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737283773841,"filename":"image_19012025_11_48_02_336308_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/4b03e8ee9d1f84c1f429904a6ed5953a.jpg","text":"TemporaryFile(/tmp/multipartBody7907752800448524259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737283773841,"filename":"image_19012025_11_48_02_336308_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/cfa92841e7aef06eb6e676737ddea79c.jpg","text":"TemporaryFile(/tmp/multipartBody1298051094644672515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737283773841,"filename":"image_19012025_11_48_02_336308_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/a227850d1bf4b7faa09fc53d793c16e6.jpg","text":"TemporaryFile(/tmp/multipartBody4996122182384568039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737283773841,"filename":"image_19012025_11_47_02_168950_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330019730","file1":"1330019725","file0":"1330019721","file3":"1330019735"},"map_files_photo_id_array":[{"photo_id":"1330019730","filename":"file2"},{"photo_id":"1330019725","filename":"file1"},{"photo_id":"1330019721","filename":"file0"},{"photo_id":"1330019735","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330019730":["hashtag1","hashtag2"]},{"1330019735":["hashtag1","hashtag2"]},{"1330019725":["hashtag1","hashtag2"]},{"1330019721":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330019730, 1330019735, 1330019725, 1330019721)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.28347134590149 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 11:49:02.996099
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
  port_id : 19698700
  datou_current_id : 2490825
in upload_from_sqlite, uploading in 19698700
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17012025/22/10/image_17012025_22_10_02_531385_0001.jpg', '/home/pi/Desktop/images/17012025/22/10/image_17012025_22_10_02_531385_0002.jpg', '/home/pi/Desktop/images/17012025/22/10/image_17012025_22_10_02_531385_0003.jpg', '/home/pi/Desktop/images/17012025/22/11/image_17012025_22_11_02_624835_0000.jpg', '/home/pi/Desktop/images/17012025/22/11/image_17012025_22_11_02_624835_0001.jpg', '/home/pi/Desktop/images/17012025/22/11/image_17012025_22_11_02_624835_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2490825&datou=0
/home/pi/Desktop/images/17012025/22/10/image_17012025_22_10_02_531385_0001.jpg
/home/pi/Desktop/images/17012025/22/10/image_17012025_22_10_02_531385_0002.jpg
/home/pi/Desktop/images/17012025/22/10/image_17012025_22_10_02_531385_0003.jpg
/home/pi/Desktop/images/17012025/22/11/image_17012025_22_11_02_624835_0000.jpg
/home/pi/Desktop/images/17012025/22/11/image_17012025_22_11_02_624835_0001.jpg
/home/pi/Desktop/images/17012025/22/11/image_17012025_22_11_02_624835_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330019753","1330019746","1330019772","1330019751","1330019748","1330019757"],"photo_ids_order":["1330019746","1330019748","1330019751","1330019753","1330019757","1330019772"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/0ec92f3fb18cc7fa6d5c4a4439fa2924.jpg","text":"TemporaryFile(/tmp/multipartBody8781487510700321644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737283820728,"filename":"image_17012025_22_11_02_624835_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/eaaad3a72f9c8c80554e8688992c3301.jpg","text":"TemporaryFile(/tmp/multipartBody8678107896882108793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737283820728,"filename":"image_17012025_22_10_02_531385_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/927df9ccf24d92435176abc22affbd8d.jpg","text":"TemporaryFile(/tmp/multipartBody5723489184487701559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737283820728,"filename":"image_17012025_22_11_02_624835_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/a706ba89201fa1d8fcc1724a78441ff5.jpg","text":"TemporaryFile(/tmp/multipartBody6706337175610267751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737283820728,"filename":"image_17012025_22_10_02_531385_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/a2ca35f5322fd93280f228e22b7a577e.jpg","text":"TemporaryFile(/tmp/multipartBody6082141106987270126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737283820728,"filename":"image_17012025_22_10_02_531385_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/b3668fa9a8f1a2e841157c8e403bce7b.jpg","text":"TemporaryFile(/tmp/multipartBody6291154697516713524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737283820728,"filename":"image_17012025_22_11_02_624835_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330019751","file1":"1330019748","file0":"1330019746","file4":"1330019757","file5":"1330019772","file3":"1330019753"},"map_files_photo_id_array":[{"photo_id":"1330019772","filename":"file5"},{"photo_id":"1330019751","filename":"file2"},{"photo_id":"1330019757","filename":"file4"},{"photo_id":"1330019748","filename":"file1"},{"photo_id":"1330019746","filename":"file0"},{"photo_id":"1330019753","filename":"file3"}],"portfolio_id":19698700,"hashtag_by_photo_ids":[{"1330019753":["hashtag1","hashtag2"]},{"1330019746":["hashtag1","hashtag2"]},{"1330019772":["hashtag1","hashtag2"]},{"1330019751":["hashtag1","hashtag2"]},{"1330019748":["hashtag1","hashtag2"]},{"1330019757":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698700 used, photo_id : ArrayBuffer(1330019753, 1330019746, 1330019772, 1330019751, 1330019748, 1330019757)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.18061637878418 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 11:50:03.013105
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/11/48/image_19012025_11_48_02_336308_0003.jpg', '/home/pi/Desktop/images/19012025/11/49/image_19012025_11_49_02_547676_0000.jpg', '/home/pi/Desktop/images/19012025/11/49/image_19012025_11_49_02_547676_0001.jpg', '/home/pi/Desktop/images/19012025/11/49/image_19012025_11_49_02_547676_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/11/48/image_19012025_11_48_02_336308_0003.jpg
/home/pi/Desktop/images/19012025/11/49/image_19012025_11_49_02_547676_0000.jpg
/home/pi/Desktop/images/19012025/11/49/image_19012025_11_49_02_547676_0001.jpg
/home/pi/Desktop/images/19012025/11/49/image_19012025_11_49_02_547676_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.689198017120361 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 11:50:22.549020
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/11/48/image_19012025_11_48_02_336308_0003.jpg', '/home/pi/Desktop/images/19012025/11/49/image_19012025_11_49_02_547676_0000.jpg', '/home/pi/Desktop/images/19012025/11/49/image_19012025_11_49_02_547676_0001.jpg', '/home/pi/Desktop/images/19012025/11/49/image_19012025_11_49_02_547676_0002.jpg', '/home/pi/Desktop/images/19012025/11/49/image_19012025_11_49_02_547676_0003.jpg', '/home/pi/Desktop/images/19012025/11/50/image_19012025_11_50_02_778722_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/11/48/image_19012025_11_48_02_336308_0003.jpg
/home/pi/Desktop/images/19012025/11/49/image_19012025_11_49_02_547676_0000.jpg
/home/pi/Desktop/images/19012025/11/49/image_19012025_11_49_02_547676_0001.jpg
/home/pi/Desktop/images/19012025/11/49/image_19012025_11_49_02_547676_0002.jpg
/home/pi/Desktop/images/19012025/11/49/image_19012025_11_49_02_547676_0003.jpg
/home/pi/Desktop/images/19012025/11/50/image_19012025_11_50_02_778722_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":["1330019888","1330019876","1330019885","1330019880","1330019883","1330019865"],"photo_ids_order":["1330019865","1330019876","1330019880","1330019883","1330019885","1330019888"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/df6fe5572af2f2b23a160916ee8c9dbd.jpg","text":"TemporaryFile(/tmp/multipartBody2056432490843048190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737283898856,"filename":"image_19012025_11_50_02_778722_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/7ffa721cb5d331054150f183cea479d3.jpg","text":"TemporaryFile(/tmp/multipartBody7872609134661144519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737283898856,"filename":"image_19012025_11_49_02_547676_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/9f2d26184db51125157213d44585829e.jpg","text":"TemporaryFile(/tmp/multipartBody7731928256501852799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737283898856,"filename":"image_19012025_11_49_02_547676_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/2dc586d930c68467a732fbaf8f1f94f4.jpg","text":"TemporaryFile(/tmp/multipartBody6562560613828330239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737283898856,"filename":"image_19012025_11_49_02_547676_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/76576d79c49acc54be9b9a2073c84a7b.jpg","text":"TemporaryFile(/tmp/multipartBody7500708051918891565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737283898856,"filename":"image_19012025_11_49_02_547676_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/c41129d4f2957d4b9e57f76dc932817e.jpg","text":"TemporaryFile(/tmp/multipartBody4043642662959524855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737283898856,"filename":"image_19012025_11_48_02_336308_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330019880","file1":"1330019876","file0":"1330019865","file4":"1330019885","file5":"1330019888","file3":"1330019883"},"map_files_photo_id_array":[{"photo_id":"1330019888","filename":"file5"},{"photo_id":"1330019880","filename":"file2"},{"photo_id":"1330019885","filename":"file4"},{"photo_id":"1330019876","filename":"file1"},{"photo_id":"1330019865","filename":"file0"},{"photo_id":"1330019883","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330019888":["hashtag1","hashtag2"]},{"1330019876":["hashtag1","hashtag2"]},{"1330019885":["hashtag1","hashtag2"]},{"1330019880":["hashtag1","hashtag2"]},{"1330019883":["hashtag1","hashtag2"]},{"1330019865":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330019888, 1330019876, 1330019885, 1330019880, 1330019883, 1330019865)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.699989557266235 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 11:51:21.815204
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/11/50/image_19012025_11_50_02_778722_0001.jpg', '/home/pi/Desktop/images/19012025/11/50/image_19012025_11_50_02_778722_0002.jpg', '/home/pi/Desktop/images/19012025/11/50/image_19012025_11_50_02_778722_0003.jpg', '/home/pi/Desktop/images/19012025/11/51/image_19012025_11_51_02_900596_0000.jpg', '/home/pi/Desktop/images/19012025/11/51/image_19012025_11_51_02_900596_0001.jpg', '/home/pi/Desktop/images/19012025/11/51/image_19012025_11_51_02_900596_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/11/50/image_19012025_11_50_02_778722_0001.jpg
/home/pi/Desktop/images/19012025/11/50/image_19012025_11_50_02_778722_0002.jpg
/home/pi/Desktop/images/19012025/11/50/image_19012025_11_50_02_778722_0003.jpg
/home/pi/Desktop/images/19012025/11/51/image_19012025_11_51_02_900596_0000.jpg
/home/pi/Desktop/images/19012025/11/51/image_19012025_11_51_02_900596_0001.jpg
/home/pi/Desktop/images/19012025/11/51/image_19012025_11_51_02_900596_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330019906","1330019909","1330019900","1330019903","1330019896","1330019913"],"photo_ids_order":["1330019896","1330019900","1330019903","1330019906","1330019909","1330019913"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/59b31ff09046bd0dd3460a81707e34eb.jpg","text":"TemporaryFile(/tmp/multipartBody3326037563033665975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737283958773,"filename":"image_19012025_11_51_02_900596_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/14d2e28a1f1dece61d7281123e3a692a.jpg","text":"TemporaryFile(/tmp/multipartBody6530764829375622861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737283958773,"filename":"image_19012025_11_51_02_900596_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/c32f7a6bfc391a0d798a1f665c796ce5.jpg","text":"TemporaryFile(/tmp/multipartBody1676576323140276558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737283958773,"filename":"image_19012025_11_50_02_778722_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/01d800f883cb5ffba5ea3179a930d714.jpg","text":"TemporaryFile(/tmp/multipartBody1317372775434477516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737283958773,"filename":"image_19012025_11_50_02_778722_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/ce397e6896000d481a0878594cca6e95.jpg","text":"TemporaryFile(/tmp/multipartBody3781276811519908749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737283958773,"filename":"image_19012025_11_50_02_778722_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/377d0deba9acb6184a0160c170b9e813.jpg","text":"TemporaryFile(/tmp/multipartBody3287862384788957016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737283958773,"filename":"image_19012025_11_51_02_900596_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330019903","file1":"1330019900","file0":"1330019896","file4":"1330019909","file5":"1330019913","file3":"1330019906"},"map_files_photo_id_array":[{"photo_id":"1330019913","filename":"file5"},{"photo_id":"1330019903","filename":"file2"},{"photo_id":"1330019909","filename":"file4"},{"photo_id":"1330019900","filename":"file1"},{"photo_id":"1330019896","filename":"file0"},{"photo_id":"1330019906","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330019906":["hashtag1","hashtag2"]},{"1330019909":["hashtag1","hashtag2"]},{"1330019900":["hashtag1","hashtag2"]},{"1330019903":["hashtag1","hashtag2"]},{"1330019896":["hashtag1","hashtag2"]},{"1330019913":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330019906, 1330019909, 1330019900, 1330019903, 1330019896, 1330019913)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.91527271270752 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 11:52:22.029013
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/11/51/image_19012025_11_51_02_900596_0003.jpg', '/home/pi/Desktop/images/19012025/11/52/image_19012025_11_52_02_124364_0000.jpg', '/home/pi/Desktop/images/19012025/11/52/image_19012025_11_52_02_124364_0001.jpg', '/home/pi/Desktop/images/19012025/11/52/image_19012025_11_52_02_124364_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/11/51/image_19012025_11_51_02_900596_0003.jpg
/home/pi/Desktop/images/19012025/11/52/image_19012025_11_52_02_124364_0000.jpg
/home/pi/Desktop/images/19012025/11/52/image_19012025_11_52_02_124364_0001.jpg
/home/pi/Desktop/images/19012025/11/52/image_19012025_11_52_02_124364_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330020225","1330020219","1330020228","1330020215"],"photo_ids_order":["1330020215","1330020219","1330020225","1330020228"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/04ae6782f9fd5266da4635e8da1392f8.jpg","text":"TemporaryFile(/tmp/multipartBody8026337394932093679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737284013398,"filename":"image_19012025_11_52_02_124364_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/03033b0eabb92f6b864d196299fb9f58.jpg","text":"TemporaryFile(/tmp/multipartBody1358720188962163386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737284013398,"filename":"image_19012025_11_52_02_124364_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/7b39dc65561c942b3731e8899fb46745.jpg","text":"TemporaryFile(/tmp/multipartBody1738962609497235654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737284013398,"filename":"image_19012025_11_52_02_124364_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/e6fd76f6d2740bef830548f94e8073e4.jpg","text":"TemporaryFile(/tmp/multipartBody1737293562539428889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737284013398,"filename":"image_19012025_11_51_02_900596_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330020225","file1":"1330020219","file0":"1330020215","file3":"1330020228"},"map_files_photo_id_array":[{"photo_id":"1330020225","filename":"file2"},{"photo_id":"1330020219","filename":"file1"},{"photo_id":"1330020215","filename":"file0"},{"photo_id":"1330020228","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330020225":["hashtag1","hashtag2"]},{"1330020219":["hashtag1","hashtag2"]},{"1330020228":["hashtag1","hashtag2"]},{"1330020215":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330020225, 1330020219, 1330020228, 1330020215)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.2820246219635 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 11:53:22.185865
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/11/52/image_19012025_11_52_02_124364_0003.jpg', '/home/pi/Desktop/images/19012025/11/53/image_19012025_11_53_02_374325_0000.jpg', '/home/pi/Desktop/images/19012025/11/53/image_19012025_11_53_02_374325_0001.jpg', '/home/pi/Desktop/images/19012025/11/53/image_19012025_11_53_02_374325_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/11/52/image_19012025_11_52_02_124364_0003.jpg
/home/pi/Desktop/images/19012025/11/53/image_19012025_11_53_02_374325_0000.jpg
/home/pi/Desktop/images/19012025/11/53/image_19012025_11_53_02_374325_0001.jpg
/home/pi/Desktop/images/19012025/11/53/image_19012025_11_53_02_374325_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330020258","1330020254","1330020251","1330020245"],"photo_ids_order":["1330020245","1330020251","1330020254","1330020258"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/ce6d3a19989168e66e22c5694a9f90ad.jpg","text":"TemporaryFile(/tmp/multipartBody7325345603085988038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737284073305,"filename":"image_19012025_11_53_02_374325_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/550adf2528af3cac76e706803c567379.jpg","text":"TemporaryFile(/tmp/multipartBody8377962087056911605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737284073305,"filename":"image_19012025_11_53_02_374325_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/f0b39a8243053888c45cfed03a1eb84c.jpg","text":"TemporaryFile(/tmp/multipartBody6461135998228394287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737284073305,"filename":"image_19012025_11_53_02_374325_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/28a454fe40ab374d0e1efb7148179e7b.jpg","text":"TemporaryFile(/tmp/multipartBody4882778578784797646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737284073305,"filename":"image_19012025_11_52_02_124364_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330020254","file1":"1330020251","file0":"1330020245","file3":"1330020258"},"map_files_photo_id_array":[{"photo_id":"1330020254","filename":"file2"},{"photo_id":"1330020251","filename":"file1"},{"photo_id":"1330020245","filename":"file0"},{"photo_id":"1330020258","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330020258":["hashtag1","hashtag2"]},{"1330020254":["hashtag1","hashtag2"]},{"1330020251":["hashtag1","hashtag2"]},{"1330020245":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330020258, 1330020254, 1330020251, 1330020245)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.54318284988403 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 11:54:22.342691
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/11/53/image_19012025_11_53_02_374325_0003.jpg', '/home/pi/Desktop/images/19012025/11/54/image_19012025_11_54_02_549979_0000.jpg', '/home/pi/Desktop/images/19012025/11/54/image_19012025_11_54_02_549979_0001.jpg', '/home/pi/Desktop/images/19012025/11/54/image_19012025_11_54_02_549979_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/11/53/image_19012025_11_53_02_374325_0003.jpg
/home/pi/Desktop/images/19012025/11/54/image_19012025_11_54_02_549979_0000.jpg
/home/pi/Desktop/images/19012025/11/54/image_19012025_11_54_02_549979_0001.jpg
/home/pi/Desktop/images/19012025/11/54/image_19012025_11_54_02_549979_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.920349836349487 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-19 11:54:42.416760
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/11/53/image_19012025_11_53_02_374325_0003.jpg', '/home/pi/Desktop/images/19012025/11/54/image_19012025_11_54_02_549979_0000.jpg', '/home/pi/Desktop/images/19012025/11/54/image_19012025_11_54_02_549979_0001.jpg', '/home/pi/Desktop/images/19012025/11/54/image_19012025_11_54_02_549979_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/11/53/image_19012025_11_53_02_374325_0003.jpg
/home/pi/Desktop/images/19012025/11/54/image_19012025_11_54_02_549979_0000.jpg
/home/pi/Desktop/images/19012025/11/54/image_19012025_11_54_02_549979_0001.jpg
/home/pi/Desktop/images/19012025/11/54/image_19012025_11_54_02_549979_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330020282","1330020299","1330020284","1330020298"],"photo_ids_order":["1330020282","1330020284","1330020298","1330020299"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/eeb62727a00e50198e8c046bc802d34a.jpg","text":"TemporaryFile(/tmp/multipartBody3904332949482638189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737284153774,"filename":"image_19012025_11_53_02_374325_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/dfbbf8db977b509789a851836a2fafb9.jpg","text":"TemporaryFile(/tmp/multipartBody5899621312790601861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737284153774,"filename":"image_19012025_11_54_02_549979_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/8334f6eade9fbe1b3681b6ac48cd5c31.jpg","text":"TemporaryFile(/tmp/multipartBody6546051215442803720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737284153774,"filename":"image_19012025_11_54_02_549979_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/da15063562a37ff0c2dc693b9c6f8620.jpg","text":"TemporaryFile(/tmp/multipartBody3078991768336056483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737284153774,"filename":"image_19012025_11_54_02_549979_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330020298","file1":"1330020284","file0":"1330020282","file3":"1330020299"},"map_files_photo_id_array":[{"photo_id":"1330020298","filename":"file2"},{"photo_id":"1330020284","filename":"file1"},{"photo_id":"1330020282","filename":"file0"},{"photo_id":"1330020299","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330020282":["hashtag1","hashtag2"]},{"1330020299":["hashtag1","hashtag2"]},{"1330020284":["hashtag1","hashtag2"]},{"1330020298":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330020282, 1330020299, 1330020284, 1330020298)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 46.32774353027344 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-19 11:55:32.547549
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/11/54/image_19012025_11_54_02_549979_0003.jpg', '/home/pi/Desktop/images/19012025/11/55/image_19012025_11_55_02_705794_0000.jpg', '/home/pi/Desktop/images/19012025/11/55/image_19012025_11_55_02_705794_0001.jpg', '/home/pi/Desktop/images/19012025/11/55/image_19012025_11_55_02_705794_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/11/54/image_19012025_11_54_02_549979_0003.jpg
/home/pi/Desktop/images/19012025/11/55/image_19012025_11_55_02_705794_0000.jpg
/home/pi/Desktop/images/19012025/11/55/image_19012025_11_55_02_705794_0001.jpg
/home/pi/Desktop/images/19012025/11/55/image_19012025_11_55_02_705794_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.764344453811646 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-19 11:55:52.569704
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/11/54/image_19012025_11_54_02_549979_0003.jpg', '/home/pi/Desktop/images/19012025/11/55/image_19012025_11_55_02_705794_0000.jpg', '/home/pi/Desktop/images/19012025/11/55/image_19012025_11_55_02_705794_0001.jpg', '/home/pi/Desktop/images/19012025/11/55/image_19012025_11_55_02_705794_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/11/54/image_19012025_11_54_02_549979_0003.jpg
/home/pi/Desktop/images/19012025/11/55/image_19012025_11_55_02_705794_0000.jpg
/home/pi/Desktop/images/19012025/11/55/image_19012025_11_55_02_705794_0001.jpg
/home/pi/Desktop/images/19012025/11/55/image_19012025_11_55_02_705794_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330020411","1330020414","1330020413","1330020415"],"photo_ids_order":["1330020411","1330020413","1330020414","1330020415"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/0711d9bf81c94723c33a8afece890d87.jpg","text":"TemporaryFile(/tmp/multipartBody4896730770923995527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737284223697,"filename":"image_19012025_11_54_02_549979_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/8c2895c97b8825bed501f03a4b617897.jpg","text":"TemporaryFile(/tmp/multipartBody6868039920761648759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737284223697,"filename":"image_19012025_11_55_02_705794_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/fb268b3926bff9c6477297f44aa7ba1e.jpg","text":"TemporaryFile(/tmp/multipartBody6002014834462304594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737284223697,"filename":"image_19012025_11_55_02_705794_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/c40b61390a93fd246de8dd37945df53c.jpg","text":"TemporaryFile(/tmp/multipartBody1770938489601659063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737284223697,"filename":"image_19012025_11_55_02_705794_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330020414","file1":"1330020413","file0":"1330020411","file3":"1330020415"},"map_files_photo_id_array":[{"photo_id":"1330020414","filename":"file2"},{"photo_id":"1330020413","filename":"file1"},{"photo_id":"1330020411","filename":"file0"},{"photo_id":"1330020415","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330020411":["hashtag1","hashtag2"]},{"1330020414":["hashtag1","hashtag2"]},{"1330020413":["hashtag1","hashtag2"]},{"1330020415":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330020411, 1330020414, 1330020413, 1330020415)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.21566104888916 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-19 11:56:42.763101
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/11/55/image_19012025_11_55_02_705794_0003.jpg', '/home/pi/Desktop/images/19012025/11/56/image_19012025_11_56_02_931370_0000.jpg', '/home/pi/Desktop/images/19012025/11/56/image_19012025_11_56_02_931370_0001.jpg', '/home/pi/Desktop/images/19012025/11/56/image_19012025_11_56_02_931370_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/11/55/image_19012025_11_55_02_705794_0003.jpg
/home/pi/Desktop/images/19012025/11/56/image_19012025_11_56_02_931370_0000.jpg
/home/pi/Desktop/images/19012025/11/56/image_19012025_11_56_02_931370_0001.jpg
/home/pi/Desktop/images/19012025/11/56/image_19012025_11_56_02_931370_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 11.349397420883179 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 11:57:02.508170
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/11/55/image_19012025_11_55_02_705794_0003.jpg', '/home/pi/Desktop/images/19012025/11/56/image_19012025_11_56_02_931370_0000.jpg', '/home/pi/Desktop/images/19012025/11/56/image_19012025_11_56_02_931370_0001.jpg', '/home/pi/Desktop/images/19012025/11/56/image_19012025_11_56_02_931370_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/11/55/image_19012025_11_55_02_705794_0003.jpg
/home/pi/Desktop/images/19012025/11/56/image_19012025_11_56_02_931370_0000.jpg
/home/pi/Desktop/images/19012025/11/56/image_19012025_11_56_02_931370_0001.jpg
/home/pi/Desktop/images/19012025/11/56/image_19012025_11_56_02_931370_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330020435","1330020432","1330020431","1330020437"],"photo_ids_order":["1330020431","1330020432","1330020435","1330020437"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/c1b3099383a7bf1c60cba47cf2faeb20.jpg","text":"TemporaryFile(/tmp/multipartBody7804076378485474328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737284294342,"filename":"image_19012025_11_56_02_931370_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/ce518c7fa0cafda83fae39f2e357cc7a.jpg","text":"TemporaryFile(/tmp/multipartBody6196416588427920008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737284294342,"filename":"image_19012025_11_56_02_931370_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/514059af82d09b62f7c391cb5954ead5.jpg","text":"TemporaryFile(/tmp/multipartBody7108996535497610825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737284294342,"filename":"image_19012025_11_55_02_705794_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/bac676411723003a29bc765bef65934b.jpg","text":"TemporaryFile(/tmp/multipartBody2642893320320604505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737284294342,"filename":"image_19012025_11_56_02_931370_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330020435","file1":"1330020432","file0":"1330020431","file3":"1330020437"},"map_files_photo_id_array":[{"photo_id":"1330020435","filename":"file2"},{"photo_id":"1330020432","filename":"file1"},{"photo_id":"1330020431","filename":"file0"},{"photo_id":"1330020437","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330020435":["hashtag1","hashtag2"]},{"1330020432":["hashtag1","hashtag2"]},{"1330020431":["hashtag1","hashtag2"]},{"1330020437":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330020435, 1330020432, 1330020431, 1330020437)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.67600131034851 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-19 11:57:51.897075
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/11/56/image_19012025_11_56_02_931370_0003.jpg', '/home/pi/Desktop/images/19012025/11/57/image_19012025_11_57_03_090676_0000.jpg', '/home/pi/Desktop/images/19012025/11/57/image_19012025_11_57_03_090676_0001.jpg', '/home/pi/Desktop/images/19012025/11/57/image_19012025_11_57_03_090676_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/11/56/image_19012025_11_56_02_931370_0003.jpg
/home/pi/Desktop/images/19012025/11/57/image_19012025_11_57_03_090676_0000.jpg
/home/pi/Desktop/images/19012025/11/57/image_19012025_11_57_03_090676_0001.jpg
/home/pi/Desktop/images/19012025/11/57/image_19012025_11_57_03_090676_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-19 11:59:03.060969
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/11/56/image_19012025_11_56_02_931370_0003.jpg', '/home/pi/Desktop/images/19012025/11/57/image_19012025_11_57_03_090676_0000.jpg', '/home/pi/Desktop/images/19012025/11/57/image_19012025_11_57_03_090676_0001.jpg', '/home/pi/Desktop/images/19012025/11/57/image_19012025_11_57_03_090676_0002.jpg', '/home/pi/Desktop/images/19012025/11/57/image_19012025_11_57_03_090676_0003.jpg', '/home/pi/Desktop/images/19012025/11/58/image_19012025_11_58_02_310850_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/11/56/image_19012025_11_56_02_931370_0003.jpg
/home/pi/Desktop/images/19012025/11/57/image_19012025_11_57_03_090676_0000.jpg
/home/pi/Desktop/images/19012025/11/57/image_19012025_11_57_03_090676_0001.jpg
/home/pi/Desktop/images/19012025/11/57/image_19012025_11_57_03_090676_0002.jpg
/home/pi/Desktop/images/19012025/11/57/image_19012025_11_57_03_090676_0003.jpg
/home/pi/Desktop/images/19012025/11/58/image_19012025_11_58_02_310850_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: 16.64216709136963 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 11:59:22.334651
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/11/56/image_19012025_11_56_02_931370_0003.jpg', '/home/pi/Desktop/images/19012025/11/57/image_19012025_11_57_03_090676_0000.jpg', '/home/pi/Desktop/images/19012025/11/57/image_19012025_11_57_03_090676_0001.jpg', '/home/pi/Desktop/images/19012025/11/57/image_19012025_11_57_03_090676_0002.jpg', '/home/pi/Desktop/images/19012025/11/57/image_19012025_11_57_03_090676_0003.jpg', '/home/pi/Desktop/images/19012025/11/58/image_19012025_11_58_02_310850_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/11/56/image_19012025_11_56_02_931370_0003.jpg
/home/pi/Desktop/images/19012025/11/57/image_19012025_11_57_03_090676_0000.jpg
/home/pi/Desktop/images/19012025/11/57/image_19012025_11_57_03_090676_0001.jpg
/home/pi/Desktop/images/19012025/11/57/image_19012025_11_57_03_090676_0002.jpg
/home/pi/Desktop/images/19012025/11/57/image_19012025_11_57_03_090676_0003.jpg
/home/pi/Desktop/images/19012025/11/58/image_19012025_11_58_02_310850_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-19 12:01:21.089150
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/11/56/image_19012025_11_56_02_931370_0003.jpg', '/home/pi/Desktop/images/19012025/11/57/image_19012025_11_57_03_090676_0000.jpg', '/home/pi/Desktop/images/19012025/11/57/image_19012025_11_57_03_090676_0001.jpg', '/home/pi/Desktop/images/19012025/11/57/image_19012025_11_57_03_090676_0002.jpg', '/home/pi/Desktop/images/19012025/11/57/image_19012025_11_57_03_090676_0003.jpg', '/home/pi/Desktop/images/19012025/11/58/image_19012025_11_58_02_310850_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/11/56/image_19012025_11_56_02_931370_0003.jpg
/home/pi/Desktop/images/19012025/11/57/image_19012025_11_57_03_090676_0000.jpg
/home/pi/Desktop/images/19012025/11/57/image_19012025_11_57_03_090676_0001.jpg
/home/pi/Desktop/images/19012025/11/57/image_19012025_11_57_03_090676_0002.jpg
/home/pi/Desktop/images/19012025/11/57/image_19012025_11_57_03_090676_0003.jpg
/home/pi/Desktop/images/19012025/11/58/image_19012025_11_58_02_310850_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":["1330021499","1330021503","1330021588","1330021495","1330021497","1330021590"],"photo_ids_order":["1330021495","1330021497","1330021499","1330021503","1330021588","1330021590"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/17523c940049eff0e13a865ccfcb9fe5.jpg","text":"TemporaryFile(/tmp/multipartBody6656352763585229668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737284559264,"filename":"image_19012025_11_57_03_090676_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/37dc096cbd493c0ddaeeb16bc684002d.jpg","text":"TemporaryFile(/tmp/multipartBody3090930310825501754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737284559264,"filename":"image_19012025_11_57_03_090676_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/249a379eff03d90a30d955b75f51ce24.jpg","text":"TemporaryFile(/tmp/multipartBody2277544883008451044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737284559264,"filename":"image_19012025_11_57_03_090676_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/1c7e57f120086e0aa5fe4fbeb86a7d40.jpg","text":"TemporaryFile(/tmp/multipartBody5615460810367498786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737284559264,"filename":"image_19012025_11_56_02_931370_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/e605a8e9621f7cbca1eedd23c142d1a5.jpg","text":"TemporaryFile(/tmp/multipartBody806881019824771711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737284559264,"filename":"image_19012025_11_57_03_090676_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/a159e677c75db8aef8c3b576cdb7e7d4.jpg","text":"TemporaryFile(/tmp/multipartBody7271261820788938964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737284559264,"filename":"image_19012025_11_58_02_310850_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330021499","file1":"1330021497","file0":"1330021495","file4":"1330021588","file5":"1330021590","file3":"1330021503"},"map_files_photo_id_array":[{"photo_id":"1330021590","filename":"file5"},{"photo_id":"1330021499","filename":"file2"},{"photo_id":"1330021588","filename":"file4"},{"photo_id":"1330021497","filename":"file1"},{"photo_id":"1330021495","filename":"file0"},{"photo_id":"1330021503","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330021499":["hashtag1","hashtag2"]},{"1330021503":["hashtag1","hashtag2"]},{"1330021588":["hashtag1","hashtag2"]},{"1330021495":["hashtag1","hashtag2"]},{"1330021497":["hashtag1","hashtag2"]},{"1330021590":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330021499, 1330021503, 1330021588, 1330021495, 1330021497, 1330021590)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.704299211502075 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 12:02:22.298082
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/11/58/image_19012025_11_58_02_310850_0001.jpg', '/home/pi/Desktop/images/19012025/11/58/image_19012025_11_58_02_310850_0002.jpg', '/home/pi/Desktop/images/19012025/11/58/image_19012025_11_58_02_310850_0003.jpg', '/home/pi/Desktop/images/19012025/11/59/image_19012025_11_59_02_452523_0000.jpg', '/home/pi/Desktop/images/19012025/11/59/image_19012025_11_59_02_452523_0001.jpg', '/home/pi/Desktop/images/19012025/11/59/image_19012025_11_59_02_452523_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/11/58/image_19012025_11_58_02_310850_0001.jpg
/home/pi/Desktop/images/19012025/11/58/image_19012025_11_58_02_310850_0002.jpg
/home/pi/Desktop/images/19012025/11/58/image_19012025_11_58_02_310850_0003.jpg
/home/pi/Desktop/images/19012025/11/59/image_19012025_11_59_02_452523_0000.jpg
/home/pi/Desktop/images/19012025/11/59/image_19012025_11_59_02_452523_0001.jpg
/home/pi/Desktop/images/19012025/11/59/image_19012025_11_59_02_452523_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330022032","1330022005","1330022029","1330022034","1330021980","1330022031"],"photo_ids_order":["1330021980","1330022005","1330022029","1330022031","1330022032","1330022034"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/12072015c2a202980050ac68a5182043.jpg","text":"TemporaryFile(/tmp/multipartBody2652020022887805965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737284619545,"filename":"image_19012025_11_59_02_452523_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/19c3a1ee4e0773a6da01f3d182c7dfac.jpg","text":"TemporaryFile(/tmp/multipartBody38089939943759558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737284619545,"filename":"image_19012025_11_58_02_310850_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/bf80e6a7537572c7227f2ce5521981b4.jpg","text":"TemporaryFile(/tmp/multipartBody1957941217816324234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737284619545,"filename":"image_19012025_11_58_02_310850_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/bc12a968c04be5d03240c6a10e142b5f.jpg","text":"TemporaryFile(/tmp/multipartBody1470124634877705412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737284619545,"filename":"image_19012025_11_59_02_452523_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/d58db6b27ea3bc59d9b067f91165d852.jpg","text":"TemporaryFile(/tmp/multipartBody3713927879039794423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737284619545,"filename":"image_19012025_11_58_02_310850_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/c7be386bf6981e301357ed37db1025c1.jpg","text":"TemporaryFile(/tmp/multipartBody5702335260553503538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737284619545,"filename":"image_19012025_11_59_02_452523_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330022029","file1":"1330022005","file0":"1330021980","file4":"1330022032","file5":"1330022034","file3":"1330022031"},"map_files_photo_id_array":[{"photo_id":"1330022034","filename":"file5"},{"photo_id":"1330022029","filename":"file2"},{"photo_id":"1330022032","filename":"file4"},{"photo_id":"1330022005","filename":"file1"},{"photo_id":"1330021980","filename":"file0"},{"photo_id":"1330022031","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330022032":["hashtag1","hashtag2"]},{"1330022005":["hashtag1","hashtag2"]},{"1330022029":["hashtag1","hashtag2"]},{"1330022034":["hashtag1","hashtag2"]},{"1330021980":["hashtag1","hashtag2"]},{"1330022031":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330022032, 1330022005, 1330022029, 1330022034, 1330021980, 1330022031)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.00878643989563 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 12:03:22.687648
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/11/59/image_19012025_11_59_02_452523_0003.jpg', '/home/pi/Desktop/images/19012025/12/00/image_19012025_12_00_02_754101_0000.jpg', '/home/pi/Desktop/images/19012025/12/00/image_19012025_12_00_02_754101_0001.jpg', '/home/pi/Desktop/images/19012025/12/00/image_19012025_12_00_02_754101_0002.jpg', '/home/pi/Desktop/images/19012025/12/00/image_19012025_12_00_02_754101_0003.jpg', '/home/pi/Desktop/images/19012025/12/02/image_19012025_12_02_19_468399_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/11/59/image_19012025_11_59_02_452523_0003.jpg
/home/pi/Desktop/images/19012025/12/00/image_19012025_12_00_02_754101_0000.jpg
/home/pi/Desktop/images/19012025/12/00/image_19012025_12_00_02_754101_0001.jpg
/home/pi/Desktop/images/19012025/12/00/image_19012025_12_00_02_754101_0002.jpg
/home/pi/Desktop/images/19012025/12/00/image_19012025_12_00_02_754101_0003.jpg
/home/pi/Desktop/images/19012025/12/02/image_19012025_12_02_19_468399_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":["1330022042","1330022050","1330022044","1330022046","1330022049","1330022040"],"photo_ids_order":["1330022040","1330022042","1330022044","1330022046","1330022049","1330022050"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/53008294fbbd579dde0874ef67a503e1.jpg","text":"TemporaryFile(/tmp/multipartBody3538950108829517564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737284679300,"filename":"image_19012025_12_00_02_754101_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/80e9c74b659e8fab95951baf072c82e7.jpg","text":"TemporaryFile(/tmp/multipartBody3580240095773973317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737284679300,"filename":"image_19012025_12_02_19_468399_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/c60d684729e757677189b1ad6405376e.jpg","text":"TemporaryFile(/tmp/multipartBody8253245273697733294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737284679300,"filename":"image_19012025_12_00_02_754101_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/decc9ca8f09c548b841c434d2bad00a6.jpg","text":"TemporaryFile(/tmp/multipartBody2390930015332770724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737284679300,"filename":"image_19012025_12_00_02_754101_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/5b2853ff0366255c8f472dd13b7b2f82.jpg","text":"TemporaryFile(/tmp/multipartBody6201283056068325023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737284679300,"filename":"image_19012025_12_00_02_754101_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/aced178d4092ba5591ab7b0d20217b8f.jpg","text":"TemporaryFile(/tmp/multipartBody5588476510807775819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737284679300,"filename":"image_19012025_11_59_02_452523_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330022044","file1":"1330022042","file0":"1330022040","file4":"1330022049","file5":"1330022050","file3":"1330022046"},"map_files_photo_id_array":[{"photo_id":"1330022050","filename":"file5"},{"photo_id":"1330022044","filename":"file2"},{"photo_id":"1330022049","filename":"file4"},{"photo_id":"1330022042","filename":"file1"},{"photo_id":"1330022040","filename":"file0"},{"photo_id":"1330022046","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330022042":["hashtag1","hashtag2"]},{"1330022050":["hashtag1","hashtag2"]},{"1330022044":["hashtag1","hashtag2"]},{"1330022046":["hashtag1","hashtag2"]},{"1330022049":["hashtag1","hashtag2"]},{"1330022040":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330022042, 1330022050, 1330022044, 1330022046, 1330022049, 1330022040)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.08006262779236 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-19 12:04:32.697965
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/12/02/image_19012025_12_02_19_468399_0001.jpg', '/home/pi/Desktop/images/19012025/12/02/image_19012025_12_02_19_468399_0002.jpg', '/home/pi/Desktop/images/19012025/12/02/image_19012025_12_02_19_468399_0003.jpg', '/home/pi/Desktop/images/19012025/12/04/image_19012025_12_04_02_967312_0000.jpg', '/home/pi/Desktop/images/19012025/12/04/image_19012025_12_04_02_967312_0001.jpg', '/home/pi/Desktop/images/19012025/12/04/image_19012025_12_04_02_967312_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/12/02/image_19012025_12_02_19_468399_0001.jpg
/home/pi/Desktop/images/19012025/12/02/image_19012025_12_02_19_468399_0002.jpg
/home/pi/Desktop/images/19012025/12/02/image_19012025_12_02_19_468399_0003.jpg
/home/pi/Desktop/images/19012025/12/04/image_19012025_12_04_02_967312_0000.jpg
/home/pi/Desktop/images/19012025/12/04/image_19012025_12_04_02_967312_0001.jpg
/home/pi/Desktop/images/19012025/12/04/image_19012025_12_04_02_967312_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330022198","1330022104","1330022595","1330022109","1330022112","1330022106"],"photo_ids_order":["1330022104","1330022106","1330022109","1330022112","1330022198","1330022595"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/4785022142006697ede4660a596247d3.jpg","text":"TemporaryFile(/tmp/multipartBody5265358671502585915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737284748992,"filename":"image_19012025_12_04_02_967312_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/81e3cc8853c82dba6b1478b4812ced90.jpg","text":"TemporaryFile(/tmp/multipartBody4841704995405085802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737284748992,"filename":"image_19012025_12_02_19_468399_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/a8ff283b72af2e8e01ee7688a3a34931.jpg","text":"TemporaryFile(/tmp/multipartBody7247065139188174264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737284748992,"filename":"image_19012025_12_04_02_967312_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/f89bc288d25c381553dcc8d7b9774b4e.jpg","text":"TemporaryFile(/tmp/multipartBody3799658545556501158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737284748992,"filename":"image_19012025_12_02_19_468399_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/2ae4eb141a35ee120ee51a2eca08938d.jpg","text":"TemporaryFile(/tmp/multipartBody4191715302788370555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737284748992,"filename":"image_19012025_12_04_02_967312_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/2ef79412bd0048b2762aae1fc6fd1dd3.jpg","text":"TemporaryFile(/tmp/multipartBody3892529768295034268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737284748992,"filename":"image_19012025_12_02_19_468399_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330022109","file1":"1330022106","file0":"1330022104","file4":"1330022198","file5":"1330022595","file3":"1330022112"},"map_files_photo_id_array":[{"photo_id":"1330022595","filename":"file5"},{"photo_id":"1330022109","filename":"file2"},{"photo_id":"1330022198","filename":"file4"},{"photo_id":"1330022106","filename":"file1"},{"photo_id":"1330022104","filename":"file0"},{"photo_id":"1330022112","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330022198":["hashtag1","hashtag2"]},{"1330022104":["hashtag1","hashtag2"]},{"1330022595":["hashtag1","hashtag2"]},{"1330022109":["hashtag1","hashtag2"]},{"1330022112":["hashtag1","hashtag2"]},{"1330022106":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330022198, 1330022104, 1330022595, 1330022109, 1330022112, 1330022106)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.61139512062073 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-19 12:05:31.869344
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/12/04/image_19012025_12_04_02_967312_0003.jpg', '/home/pi/Desktop/images/19012025/12/05/image_19012025_12_05_03_078677_0000.jpg', '/home/pi/Desktop/images/19012025/12/05/image_19012025_12_05_03_078677_0001.jpg', '/home/pi/Desktop/images/19012025/12/05/image_19012025_12_05_03_078677_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/12/04/image_19012025_12_04_02_967312_0003.jpg
/home/pi/Desktop/images/19012025/12/05/image_19012025_12_05_03_078677_0000.jpg
/home/pi/Desktop/images/19012025/12/05/image_19012025_12_05_03_078677_0001.jpg
/home/pi/Desktop/images/19012025/12/05/image_19012025_12_05_03_078677_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330024296","1330023567","1330023941","1330024294"],"photo_ids_order":["1330023567","1330023941","1330024294","1330024296"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/ae860965dec406018d2c86f2be2d9e5c.jpg","text":"TemporaryFile(/tmp/multipartBody8816291024833683798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737284803253,"filename":"image_19012025_12_05_03_078677_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/a89e4d735a13e09a1949081870da60b1.jpg","text":"TemporaryFile(/tmp/multipartBody2015492818453048357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737284803253,"filename":"image_19012025_12_04_02_967312_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/e339234a88c9872cf13be406c415f729.jpg","text":"TemporaryFile(/tmp/multipartBody3279494870884803196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737284803253,"filename":"image_19012025_12_05_03_078677_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/17c3594fc85167c03c78a8e40b834c1a.jpg","text":"TemporaryFile(/tmp/multipartBody7704070017835948332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737284803253,"filename":"image_19012025_12_05_03_078677_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330024294","file1":"1330023941","file0":"1330023567","file3":"1330024296"},"map_files_photo_id_array":[{"photo_id":"1330024294","filename":"file2"},{"photo_id":"1330023941","filename":"file1"},{"photo_id":"1330023567","filename":"file0"},{"photo_id":"1330024296","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330024296":["hashtag1","hashtag2"]},{"1330023567":["hashtag1","hashtag2"]},{"1330023941":["hashtag1","hashtag2"]},{"1330024294":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330024296, 1330023567, 1330023941, 1330024294)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.00631666183472 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 12:06:22.093089
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/12/05/image_19012025_12_05_03_078677_0003.jpg', '/home/pi/Desktop/images/19012025/12/06/image_19012025_12_06_02_272171_0000.jpg', '/home/pi/Desktop/images/19012025/12/06/image_19012025_12_06_02_272171_0001.jpg', '/home/pi/Desktop/images/19012025/12/06/image_19012025_12_06_02_272171_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/12/05/image_19012025_12_05_03_078677_0003.jpg
/home/pi/Desktop/images/19012025/12/06/image_19012025_12_06_02_272171_0000.jpg
/home/pi/Desktop/images/19012025/12/06/image_19012025_12_06_02_272171_0001.jpg
/home/pi/Desktop/images/19012025/12/06/image_19012025_12_06_02_272171_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 11.097639083862305 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-19 12:06:42.077743
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/12/05/image_19012025_12_05_03_078677_0003.jpg', '/home/pi/Desktop/images/19012025/12/06/image_19012025_12_06_02_272171_0000.jpg', '/home/pi/Desktop/images/19012025/12/06/image_19012025_12_06_02_272171_0001.jpg', '/home/pi/Desktop/images/19012025/12/06/image_19012025_12_06_02_272171_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/12/05/image_19012025_12_05_03_078677_0003.jpg
/home/pi/Desktop/images/19012025/12/06/image_19012025_12_06_02_272171_0000.jpg
/home/pi/Desktop/images/19012025/12/06/image_19012025_12_06_02_272171_0001.jpg
/home/pi/Desktop/images/19012025/12/06/image_19012025_12_06_02_272171_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":["1330024493","1330025120","1330024913","1330025068"],"photo_ids_order":["1330024493","1330024913","1330025068","1330025120"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/5dd5484adb8e24f0b7274e168a6bd4ae.jpg","text":"TemporaryFile(/tmp/multipartBody7198760942867945784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737284873417,"filename":"image_19012025_12_05_03_078677_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/ec2611e3806b5dd79c743c306c728b77.jpg","text":"TemporaryFile(/tmp/multipartBody3076244296775085483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737284873417,"filename":"image_19012025_12_06_02_272171_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/0f22d990d17dd77d5f5839967347c75b.jpg","text":"TemporaryFile(/tmp/multipartBody5196520543329259488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737284873417,"filename":"image_19012025_12_06_02_272171_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/96e9e494e5606a6a627394add31d5264.jpg","text":"TemporaryFile(/tmp/multipartBody2183573309510519390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737284873417,"filename":"image_19012025_12_06_02_272171_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330025068","file1":"1330024913","file0":"1330024493","file3":"1330025120"},"map_files_photo_id_array":[{"photo_id":"1330025068","filename":"file2"},{"photo_id":"1330024913","filename":"file1"},{"photo_id":"1330024493","filename":"file0"},{"photo_id":"1330025120","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330024493":["hashtag1","hashtag2"]},{"1330025120":["hashtag1","hashtag2"]},{"1330024913":["hashtag1","hashtag2"]},{"1330025068":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330024493, 1330025120, 1330024913, 1330025068)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.94610142707825 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 12:07:22.221581
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/12/06/image_19012025_12_06_02_272171_0003.jpg', '/home/pi/Desktop/images/19012025/12/07/image_19012025_12_07_02_480622_0000.jpg', '/home/pi/Desktop/images/19012025/12/07/image_19012025_12_07_02_480622_0001.jpg', '/home/pi/Desktop/images/19012025/12/07/image_19012025_12_07_02_480622_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/12/06/image_19012025_12_06_02_272171_0003.jpg
/home/pi/Desktop/images/19012025/12/07/image_19012025_12_07_02_480622_0000.jpg
/home/pi/Desktop/images/19012025/12/07/image_19012025_12_07_02_480622_0001.jpg
/home/pi/Desktop/images/19012025/12/07/image_19012025_12_07_02_480622_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330025297","1330025285","1330025293","1330025287"],"photo_ids_order":["1330025285","1330025287","1330025293","1330025297"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/ded628836ab34a85d7711f3315151021.jpg","text":"TemporaryFile(/tmp/multipartBody2975545382705731898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737284913346,"filename":"image_19012025_12_07_02_480622_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/b86fc2ddd58f9d411b91634fffe03158.jpg","text":"TemporaryFile(/tmp/multipartBody1558685978935657813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737284913346,"filename":"image_19012025_12_06_02_272171_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/303773a688d99e9d42024f510bf677c6.jpg","text":"TemporaryFile(/tmp/multipartBody3391123209166785949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737284913346,"filename":"image_19012025_12_07_02_480622_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/8d98c39d84f25d8cefa442c016c3ca6b.jpg","text":"TemporaryFile(/tmp/multipartBody9042844732586130037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737284913346,"filename":"image_19012025_12_07_02_480622_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330025293","file1":"1330025287","file0":"1330025285","file3":"1330025297"},"map_files_photo_id_array":[{"photo_id":"1330025293","filename":"file2"},{"photo_id":"1330025287","filename":"file1"},{"photo_id":"1330025285","filename":"file0"},{"photo_id":"1330025297","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330025297":["hashtag1","hashtag2"]},{"1330025285":["hashtag1","hashtag2"]},{"1330025293":["hashtag1","hashtag2"]},{"1330025287":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330025297, 1330025285, 1330025293, 1330025287)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.842751026153564 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 12:08:22.453886
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/12/07/image_19012025_12_07_02_480622_0003.jpg', '/home/pi/Desktop/images/19012025/12/08/image_19012025_12_08_02_577434_0000.jpg', '/home/pi/Desktop/images/19012025/12/08/image_19012025_12_08_02_577434_0001.jpg', '/home/pi/Desktop/images/19012025/12/08/image_19012025_12_08_02_577434_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/12/07/image_19012025_12_07_02_480622_0003.jpg
/home/pi/Desktop/images/19012025/12/08/image_19012025_12_08_02_577434_0000.jpg
/home/pi/Desktop/images/19012025/12/08/image_19012025_12_08_02_577434_0001.jpg
/home/pi/Desktop/images/19012025/12/08/image_19012025_12_08_02_577434_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330025310","1330025313","1330025307","1330025316"],"photo_ids_order":["1330025307","1330025310","1330025313","1330025316"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/c6ec952dea354984caef8941ab81280c.jpg","text":"TemporaryFile(/tmp/multipartBody446438123285391250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737284973866,"filename":"image_19012025_12_08_02_577434_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/be632996ceab159ffca15b0561c34c08.jpg","text":"TemporaryFile(/tmp/multipartBody8493627394859535358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737284973866,"filename":"image_19012025_12_08_02_577434_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/de1b5f3c6fb0b80b2268c1924160676d.jpg","text":"TemporaryFile(/tmp/multipartBody8705007407591966334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737284973866,"filename":"image_19012025_12_07_02_480622_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/be9e1ed1ffd22e787f16e8da35ecf00e.jpg","text":"TemporaryFile(/tmp/multipartBody6486452116471631119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737284973866,"filename":"image_19012025_12_08_02_577434_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330025313","file1":"1330025310","file0":"1330025307","file3":"1330025316"},"map_files_photo_id_array":[{"photo_id":"1330025313","filename":"file2"},{"photo_id":"1330025310","filename":"file1"},{"photo_id":"1330025307","filename":"file0"},{"photo_id":"1330025316","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330025310":["hashtag1","hashtag2"]},{"1330025313":["hashtag1","hashtag2"]},{"1330025307":["hashtag1","hashtag2"]},{"1330025316":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330025310, 1330025313, 1330025307, 1330025316)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.08060002326965 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 12:09:03.067952
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
  port_id : 19698700
  datou_current_id : 2490825
in upload_from_sqlite, uploading in 19698700
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17012025/22/11/image_17012025_22_11_02_624835_0003.jpg', '/home/pi/Desktop/images/17012025/22/12/image_17012025_22_12_02_897810_0000.jpg', '/home/pi/Desktop/images/17012025/22/12/image_17012025_22_12_02_897810_0001.jpg', '/home/pi/Desktop/images/17012025/22/12/image_17012025_22_12_02_897810_0002.jpg', '/home/pi/Desktop/images/17012025/22/12/image_17012025_22_12_02_897810_0003.jpg', '/home/pi/Desktop/images/17012025/22/13/image_17012025_22_13_03_151252_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2490825&datou=0
/home/pi/Desktop/images/17012025/22/11/image_17012025_22_11_02_624835_0003.jpg
/home/pi/Desktop/images/17012025/22/12/image_17012025_22_12_02_897810_0000.jpg
/home/pi/Desktop/images/17012025/22/12/image_17012025_22_12_02_897810_0001.jpg
/home/pi/Desktop/images/17012025/22/12/image_17012025_22_12_02_897810_0002.jpg
/home/pi/Desktop/images/17012025/22/12/image_17012025_22_12_02_897810_0003.jpg
/home/pi/Desktop/images/17012025/22/13/image_17012025_22_13_03_151252_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":["1330025346","1330025342","1330025321","1330025324","1330025344","1330025329"],"photo_ids_order":["1330025321","1330025324","1330025329","1330025342","1330025344","1330025346"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/ad3ab8c31d9bb304671d58eb4de9f4e7.jpg","text":"TemporaryFile(/tmp/multipartBody6721357739875646651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737285020673,"filename":"image_17012025_22_13_03_151252_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/b7c9da8b8fb7e1b5713fa0f30ab21087.jpg","text":"TemporaryFile(/tmp/multipartBody57409321398682519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737285020673,"filename":"image_17012025_22_12_02_897810_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/1668efa15c65b05b7a5a3b4fefb87501.jpg","text":"TemporaryFile(/tmp/multipartBody9096682193206558665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737285020673,"filename":"image_17012025_22_11_02_624835_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/7c5ea3c34382b8bcb60107425e819424.jpg","text":"TemporaryFile(/tmp/multipartBody2454368190310214450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737285020673,"filename":"image_17012025_22_12_02_897810_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/e5681a62c4d2ec1e3c596b09c3d71eea.jpg","text":"TemporaryFile(/tmp/multipartBody6032450717006569747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737285020673,"filename":"image_17012025_22_12_02_897810_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/97537d89941cf5bb5e153e0b01f8fb18.jpg","text":"TemporaryFile(/tmp/multipartBody4998632019454830768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737285020673,"filename":"image_17012025_22_12_02_897810_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330025329","file1":"1330025324","file0":"1330025321","file4":"1330025344","file5":"1330025346","file3":"1330025342"},"map_files_photo_id_array":[{"photo_id":"1330025346","filename":"file5"},{"photo_id":"1330025329","filename":"file2"},{"photo_id":"1330025344","filename":"file4"},{"photo_id":"1330025324","filename":"file1"},{"photo_id":"1330025321","filename":"file0"},{"photo_id":"1330025342","filename":"file3"}],"portfolio_id":19698700,"hashtag_by_photo_ids":[{"1330025346":["hashtag1","hashtag2"]},{"1330025342":["hashtag1","hashtag2"]},{"1330025321":["hashtag1","hashtag2"]},{"1330025324":["hashtag1","hashtag2"]},{"1330025344":["hashtag1","hashtag2"]},{"1330025329":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698700 used, photo_id : ArrayBuffer(1330025346, 1330025342, 1330025321, 1330025324, 1330025344, 1330025329)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 63.35799741744995 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 12:10:22.799833
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/12/08/image_19012025_12_08_02_577434_0003.jpg', '/home/pi/Desktop/images/19012025/12/09/image_19012025_12_09_02_789082_0000.jpg', '/home/pi/Desktop/images/19012025/12/09/image_19012025_12_09_02_789082_0001.jpg', '/home/pi/Desktop/images/19012025/12/09/image_19012025_12_09_02_789082_0002.jpg', '/home/pi/Desktop/images/19012025/12/09/image_19012025_12_09_02_789082_0003.jpg', '/home/pi/Desktop/images/19012025/12/10/image_19012025_12_10_02_862720_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/12/08/image_19012025_12_08_02_577434_0003.jpg
/home/pi/Desktop/images/19012025/12/09/image_19012025_12_09_02_789082_0000.jpg
/home/pi/Desktop/images/19012025/12/09/image_19012025_12_09_02_789082_0001.jpg
/home/pi/Desktop/images/19012025/12/09/image_19012025_12_09_02_789082_0002.jpg
/home/pi/Desktop/images/19012025/12/09/image_19012025_12_09_02_789082_0003.jpg
/home/pi/Desktop/images/19012025/12/10/image_19012025_12_10_02_862720_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: 15.991604328155518 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-19 12:10:42.703423
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/12/08/image_19012025_12_08_02_577434_0003.jpg', '/home/pi/Desktop/images/19012025/12/09/image_19012025_12_09_02_789082_0000.jpg', '/home/pi/Desktop/images/19012025/12/09/image_19012025_12_09_02_789082_0001.jpg', '/home/pi/Desktop/images/19012025/12/09/image_19012025_12_09_02_789082_0002.jpg', '/home/pi/Desktop/images/19012025/12/09/image_19012025_12_09_02_789082_0003.jpg', '/home/pi/Desktop/images/19012025/12/10/image_19012025_12_10_02_862720_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/12/08/image_19012025_12_08_02_577434_0003.jpg
/home/pi/Desktop/images/19012025/12/09/image_19012025_12_09_02_789082_0000.jpg
/home/pi/Desktop/images/19012025/12/09/image_19012025_12_09_02_789082_0001.jpg
/home/pi/Desktop/images/19012025/12/09/image_19012025_12_09_02_789082_0002.jpg
/home/pi/Desktop/images/19012025/12/09/image_19012025_12_09_02_789082_0003.jpg
/home/pi/Desktop/images/19012025/12/10/image_19012025_12_10_02_862720_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":["1330025370","1330025367","1330025372","1330025366","1330025362","1330025368"],"photo_ids_order":["1330025362","1330025366","1330025367","1330025368","1330025370","1330025372"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/9756b4194fb5c51ca0619f271c0a340f.jpg","text":"TemporaryFile(/tmp/multipartBody6233421769559624575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737285119108,"filename":"image_19012025_12_09_02_789082_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/82ffc8982033973dab423a8bd2fa2fe8.jpg","text":"TemporaryFile(/tmp/multipartBody8270890643205535452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737285119108,"filename":"image_19012025_12_09_02_789082_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/dc394145ee2e4486f862d70d69e20c05.jpg","text":"TemporaryFile(/tmp/multipartBody3587527008102704834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737285119108,"filename":"image_19012025_12_10_02_862720_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/ed148b57ef8d647a094ff454b506a003.jpg","text":"TemporaryFile(/tmp/multipartBody4398750094449619170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737285119108,"filename":"image_19012025_12_09_02_789082_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/4b018f957e24896446b8c02415fcd2b5.jpg","text":"TemporaryFile(/tmp/multipartBody7271409827890760661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737285119108,"filename":"image_19012025_12_08_02_577434_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/35546ba3df3501b76281d4428d8aa16f.jpg","text":"TemporaryFile(/tmp/multipartBody6647563359292612007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737285119108,"filename":"image_19012025_12_09_02_789082_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330025367","file1":"1330025366","file0":"1330025362","file4":"1330025370","file5":"1330025372","file3":"1330025368"},"map_files_photo_id_array":[{"photo_id":"1330025372","filename":"file5"},{"photo_id":"1330025367","filename":"file2"},{"photo_id":"1330025370","filename":"file4"},{"photo_id":"1330025366","filename":"file1"},{"photo_id":"1330025362","filename":"file0"},{"photo_id":"1330025368","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330025370":["hashtag1","hashtag2"]},{"1330025367":["hashtag1","hashtag2"]},{"1330025372":["hashtag1","hashtag2"]},{"1330025366":["hashtag1","hashtag2"]},{"1330025362":["hashtag1","hashtag2"]},{"1330025368":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330025370, 1330025367, 1330025372, 1330025366, 1330025362, 1330025368)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 64.404541015625 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-19 12:11:51.840159
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/12/10/image_19012025_12_10_02_862720_0001.jpg', '/home/pi/Desktop/images/19012025/12/10/image_19012025_12_10_02_862720_0002.jpg', '/home/pi/Desktop/images/19012025/12/10/image_19012025_12_10_02_862720_0003.jpg', '/home/pi/Desktop/images/19012025/12/11/image_19012025_12_11_03_077350_0000.jpg', '/home/pi/Desktop/images/19012025/12/11/image_19012025_12_11_03_077350_0001.jpg', '/home/pi/Desktop/images/19012025/12/11/image_19012025_12_11_03_077350_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/12/10/image_19012025_12_10_02_862720_0001.jpg
/home/pi/Desktop/images/19012025/12/10/image_19012025_12_10_02_862720_0002.jpg
/home/pi/Desktop/images/19012025/12/10/image_19012025_12_10_02_862720_0003.jpg
/home/pi/Desktop/images/19012025/12/11/image_19012025_12_11_03_077350_0000.jpg
/home/pi/Desktop/images/19012025/12/11/image_19012025_12_11_03_077350_0001.jpg
/home/pi/Desktop/images/19012025/12/11/image_19012025_12_11_03_077350_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 16.198955059051514 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 12:12:22.011743
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/12/10/image_19012025_12_10_02_862720_0001.jpg', '/home/pi/Desktop/images/19012025/12/10/image_19012025_12_10_02_862720_0002.jpg', '/home/pi/Desktop/images/19012025/12/10/image_19012025_12_10_02_862720_0003.jpg', '/home/pi/Desktop/images/19012025/12/11/image_19012025_12_11_03_077350_0000.jpg', '/home/pi/Desktop/images/19012025/12/11/image_19012025_12_11_03_077350_0001.jpg', '/home/pi/Desktop/images/19012025/12/11/image_19012025_12_11_03_077350_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/12/10/image_19012025_12_10_02_862720_0001.jpg
/home/pi/Desktop/images/19012025/12/10/image_19012025_12_10_02_862720_0002.jpg
/home/pi/Desktop/images/19012025/12/10/image_19012025_12_10_02_862720_0003.jpg
/home/pi/Desktop/images/19012025/12/11/image_19012025_12_11_03_077350_0000.jpg
/home/pi/Desktop/images/19012025/12/11/image_19012025_12_11_03_077350_0001.jpg
/home/pi/Desktop/images/19012025/12/11/image_19012025_12_11_03_077350_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330025401","1330025410","1330025404","1330025412","1330025406","1330025408"],"photo_ids_order":["1330025401","1330025404","1330025406","1330025408","1330025410","1330025412"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/614d26eb7c94c6ad9bbd1311dab10443.jpg","text":"TemporaryFile(/tmp/multipartBody5051744645296283959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737285218619,"filename":"image_19012025_12_10_02_862720_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/5c8ec0ff9fe61e382c3f687854f1ee7c.jpg","text":"TemporaryFile(/tmp/multipartBody937226826369584678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737285218619,"filename":"image_19012025_12_11_03_077350_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/87397811c475236f10f6a66cba96e203.jpg","text":"TemporaryFile(/tmp/multipartBody927889688032649028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737285218619,"filename":"image_19012025_12_10_02_862720_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/b74b92c9fb3fd2c0395fe1e286415be1.jpg","text":"TemporaryFile(/tmp/multipartBody2043142359742234318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737285218619,"filename":"image_19012025_12_11_03_077350_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/e7ac02747db7a2687b63d5d5e681964b.jpg","text":"TemporaryFile(/tmp/multipartBody3240722856128928545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737285218619,"filename":"image_19012025_12_10_02_862720_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/340a38614c6b63f89966720a92e358d6.jpg","text":"TemporaryFile(/tmp/multipartBody2293438933597570390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737285218619,"filename":"image_19012025_12_11_03_077350_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330025406","file1":"1330025404","file0":"1330025401","file4":"1330025410","file5":"1330025412","file3":"1330025408"},"map_files_photo_id_array":[{"photo_id":"1330025412","filename":"file5"},{"photo_id":"1330025406","filename":"file2"},{"photo_id":"1330025410","filename":"file4"},{"photo_id":"1330025404","filename":"file1"},{"photo_id":"1330025401","filename":"file0"},{"photo_id":"1330025408","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330025401":["hashtag1","hashtag2"]},{"1330025410":["hashtag1","hashtag2"]},{"1330025404":["hashtag1","hashtag2"]},{"1330025412":["hashtag1","hashtag2"]},{"1330025406":["hashtag1","hashtag2"]},{"1330025408":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330025401, 1330025410, 1330025404, 1330025412, 1330025406, 1330025408)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.05130076408386 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 12:13:22.266620
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/12/11/image_19012025_12_11_03_077350_0003.jpg', '/home/pi/Desktop/images/19012025/12/12/image_19012025_12_12_02_250209_0000.jpg', '/home/pi/Desktop/images/19012025/12/12/image_19012025_12_12_02_250209_0001.jpg', '/home/pi/Desktop/images/19012025/12/12/image_19012025_12_12_02_250209_0002.jpg', '/home/pi/Desktop/images/19012025/12/12/image_19012025_12_12_02_250209_0003.jpg', '/home/pi/Desktop/images/19012025/12/13/image_19012025_12_13_02_368588_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/12/11/image_19012025_12_11_03_077350_0003.jpg
/home/pi/Desktop/images/19012025/12/12/image_19012025_12_12_02_250209_0000.jpg
/home/pi/Desktop/images/19012025/12/12/image_19012025_12_12_02_250209_0001.jpg
/home/pi/Desktop/images/19012025/12/12/image_19012025_12_12_02_250209_0002.jpg
/home/pi/Desktop/images/19012025/12/12/image_19012025_12_12_02_250209_0003.jpg
/home/pi/Desktop/images/19012025/12/13/image_19012025_12_13_02_368588_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":["1330025445","1330025418","1330025421","1330025447","1330025441","1330025443"],"photo_ids_order":["1330025418","1330025421","1330025441","1330025443","1330025445","1330025447"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/13d784b62607b72064fcf886a9c7823c.jpg","text":"TemporaryFile(/tmp/multipartBody6385602572102959951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737285278700,"filename":"image_19012025_12_12_02_250209_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/152ac7b02473bd86957deb8e0c3fbb00.jpg","text":"TemporaryFile(/tmp/multipartBody889254949339772609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737285278700,"filename":"image_19012025_12_11_03_077350_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/367c004c23302e7d047d35e19c3ba1ec.jpg","text":"TemporaryFile(/tmp/multipartBody3969973677753500386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737285278700,"filename":"image_19012025_12_12_02_250209_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/90e7f6eee8f54b400e948e3dc8dc6390.jpg","text":"TemporaryFile(/tmp/multipartBody8097797394714260772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737285278700,"filename":"image_19012025_12_13_02_368588_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/09b7104d61a58533c7db3c50611eb560.jpg","text":"TemporaryFile(/tmp/multipartBody6908834563146129125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737285278700,"filename":"image_19012025_12_12_02_250209_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/1e3e565c26ed18756c98411a068eb836.jpg","text":"TemporaryFile(/tmp/multipartBody7251852912007620488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737285278700,"filename":"image_19012025_12_12_02_250209_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330025441","file1":"1330025421","file0":"1330025418","file4":"1330025445","file5":"1330025447","file3":"1330025443"},"map_files_photo_id_array":[{"photo_id":"1330025447","filename":"file5"},{"photo_id":"1330025441","filename":"file2"},{"photo_id":"1330025445","filename":"file4"},{"photo_id":"1330025421","filename":"file1"},{"photo_id":"1330025418","filename":"file0"},{"photo_id":"1330025443","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330025445":["hashtag1","hashtag2"]},{"1330025418":["hashtag1","hashtag2"]},{"1330025421":["hashtag1","hashtag2"]},{"1330025447":["hashtag1","hashtag2"]},{"1330025441":["hashtag1","hashtag2"]},{"1330025443":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330025445, 1330025418, 1330025421, 1330025447, 1330025441, 1330025443)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.08743929862976 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 12:14:22.461583
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/12/13/image_19012025_12_13_02_368588_0001.jpg', '/home/pi/Desktop/images/19012025/12/13/image_19012025_12_13_02_368588_0002.jpg', '/home/pi/Desktop/images/19012025/12/13/image_19012025_12_13_02_368588_0003.jpg', '/home/pi/Desktop/images/19012025/12/14/image_19012025_12_14_02_622178_0000.jpg', '/home/pi/Desktop/images/19012025/12/14/image_19012025_12_14_02_622178_0001.jpg', '/home/pi/Desktop/images/19012025/12/14/image_19012025_12_14_02_622178_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/12/13/image_19012025_12_13_02_368588_0001.jpg
/home/pi/Desktop/images/19012025/12/13/image_19012025_12_13_02_368588_0002.jpg
/home/pi/Desktop/images/19012025/12/13/image_19012025_12_13_02_368588_0003.jpg
/home/pi/Desktop/images/19012025/12/14/image_19012025_12_14_02_622178_0000.jpg
/home/pi/Desktop/images/19012025/12/14/image_19012025_12_14_02_622178_0001.jpg
/home/pi/Desktop/images/19012025/12/14/image_19012025_12_14_02_622178_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 16.017133951187134 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-19 12:14:42.409109
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/12/13/image_19012025_12_13_02_368588_0001.jpg', '/home/pi/Desktop/images/19012025/12/13/image_19012025_12_13_02_368588_0002.jpg', '/home/pi/Desktop/images/19012025/12/13/image_19012025_12_13_02_368588_0003.jpg', '/home/pi/Desktop/images/19012025/12/14/image_19012025_12_14_02_622178_0000.jpg', '/home/pi/Desktop/images/19012025/12/14/image_19012025_12_14_02_622178_0001.jpg', '/home/pi/Desktop/images/19012025/12/14/image_19012025_12_14_02_622178_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/12/13/image_19012025_12_13_02_368588_0001.jpg
/home/pi/Desktop/images/19012025/12/13/image_19012025_12_13_02_368588_0002.jpg
/home/pi/Desktop/images/19012025/12/13/image_19012025_12_13_02_368588_0003.jpg
/home/pi/Desktop/images/19012025/12/14/image_19012025_12_14_02_622178_0000.jpg
/home/pi/Desktop/images/19012025/12/14/image_19012025_12_14_02_622178_0001.jpg
/home/pi/Desktop/images/19012025/12/14/image_19012025_12_14_02_622178_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330025469","1330025660","1330025621","1330025603","1330025464","1330025467"],"photo_ids_order":["1330025464","1330025467","1330025469","1330025603","1330025621","1330025660"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/48ffe8b1c0253425af7a1ea0d6b242b7.jpg","text":"TemporaryFile(/tmp/multipartBody1753033274253035706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737285358852,"filename":"image_19012025_12_13_02_368588_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/e23dfb9e11d532b317690d4d2d1404b7.jpg","text":"TemporaryFile(/tmp/multipartBody5412211963945505647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737285358852,"filename":"image_19012025_12_14_02_622178_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/a5f0f3c57e869fbf75774dce3c928747.jpg","text":"TemporaryFile(/tmp/multipartBody3044918145344649478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737285358852,"filename":"image_19012025_12_14_02_622178_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/2631ee7e249fa73f04468a40316bdae3.jpg","text":"TemporaryFile(/tmp/multipartBody2709730202969712620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737285358852,"filename":"image_19012025_12_14_02_622178_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/462f52d2825ff735a903a9431a261732.jpg","text":"TemporaryFile(/tmp/multipartBody2758263881438513667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737285358852,"filename":"image_19012025_12_13_02_368588_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/e2a1eb4c1dfd4e08b8daae579d35e879.jpg","text":"TemporaryFile(/tmp/multipartBody5698168337434233015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737285358852,"filename":"image_19012025_12_13_02_368588_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330025469","file1":"1330025467","file0":"1330025464","file4":"1330025621","file5":"1330025660","file3":"1330025603"},"map_files_photo_id_array":[{"photo_id":"1330025660","filename":"file5"},{"photo_id":"1330025469","filename":"file2"},{"photo_id":"1330025621","filename":"file4"},{"photo_id":"1330025467","filename":"file1"},{"photo_id":"1330025464","filename":"file0"},{"photo_id":"1330025603","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330025469":["hashtag1","hashtag2"]},{"1330025660":["hashtag1","hashtag2"]},{"1330025621":["hashtag1","hashtag2"]},{"1330025603":["hashtag1","hashtag2"]},{"1330025464":["hashtag1","hashtag2"]},{"1330025467":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330025469, 1330025660, 1330025621, 1330025603, 1330025464, 1330025467)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.24613904953003 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-19 12:15:42.621594
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/12/14/image_19012025_12_14_02_622178_0003.jpg', '/home/pi/Desktop/images/19012025/12/15/image_19012025_12_15_02_819574_0000.jpg', '/home/pi/Desktop/images/19012025/12/15/image_19012025_12_15_02_819574_0001.jpg', '/home/pi/Desktop/images/19012025/12/15/image_19012025_12_15_02_819574_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/12/14/image_19012025_12_14_02_622178_0003.jpg
/home/pi/Desktop/images/19012025/12/15/image_19012025_12_15_02_819574_0000.jpg
/home/pi/Desktop/images/19012025/12/15/image_19012025_12_15_02_819574_0001.jpg
/home/pi/Desktop/images/19012025/12/15/image_19012025_12_15_02_819574_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 11.282840013504028 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 12:16:02.280331
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/12/14/image_19012025_12_14_02_622178_0003.jpg', '/home/pi/Desktop/images/19012025/12/15/image_19012025_12_15_02_819574_0000.jpg', '/home/pi/Desktop/images/19012025/12/15/image_19012025_12_15_02_819574_0001.jpg', '/home/pi/Desktop/images/19012025/12/15/image_19012025_12_15_02_819574_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/12/14/image_19012025_12_14_02_622178_0003.jpg
/home/pi/Desktop/images/19012025/12/15/image_19012025_12_15_02_819574_0000.jpg
/home/pi/Desktop/images/19012025/12/15/image_19012025_12_15_02_819574_0001.jpg
/home/pi/Desktop/images/19012025/12/15/image_19012025_12_15_02_819574_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330025715","1330025714","1330025717","1330025719"],"photo_ids_order":["1330025714","1330025715","1330025717","1330025719"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/4a5104543db8a4895a0c672c22de56aa.jpg","text":"TemporaryFile(/tmp/multipartBody8536017268841478938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737285433939,"filename":"image_19012025_12_15_02_819574_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/ef7bfe41f11a56f5b0bd08c54ce2cb99.jpg","text":"TemporaryFile(/tmp/multipartBody636550393313128373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737285433939,"filename":"image_19012025_12_14_02_622178_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/b2b8c2cc6a8458f438bfbdbcc3d58e37.jpg","text":"TemporaryFile(/tmp/multipartBody2733012955148406813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737285433939,"filename":"image_19012025_12_15_02_819574_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/9a04fa1da64dd9b1e610f57b0a9fee19.jpg","text":"TemporaryFile(/tmp/multipartBody2464005312968573373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737285433939,"filename":"image_19012025_12_15_02_819574_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330025717","file1":"1330025715","file0":"1330025714","file3":"1330025719"},"map_files_photo_id_array":[{"photo_id":"1330025717","filename":"file2"},{"photo_id":"1330025715","filename":"file1"},{"photo_id":"1330025714","filename":"file0"},{"photo_id":"1330025719","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330025715":["hashtag1","hashtag2"]},{"1330025714":["hashtag1","hashtag2"]},{"1330025717":["hashtag1","hashtag2"]},{"1330025719":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330025715, 1330025714, 1330025717, 1330025719)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.164278507232666 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-19 12:16:51.733167
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/12/15/image_19012025_12_15_02_819574_0003.jpg', '/home/pi/Desktop/images/19012025/12/16/image_19012025_12_16_03_003078_0000.jpg', '/home/pi/Desktop/images/19012025/12/16/image_19012025_12_16_03_003078_0001.jpg', '/home/pi/Desktop/images/19012025/12/16/image_19012025_12_16_03_003078_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/12/15/image_19012025_12_15_02_819574_0003.jpg
/home/pi/Desktop/images/19012025/12/16/image_19012025_12_16_03_003078_0000.jpg
/home/pi/Desktop/images/19012025/12/16/image_19012025_12_16_03_003078_0001.jpg
/home/pi/Desktop/images/19012025/12/16/image_19012025_12_16_03_003078_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330025736","1330025735","1330025729","1330025737"],"photo_ids_order":["1330025729","1330025735","1330025736","1330025737"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/5838d559ad2975ec76ab4ff25bbc2d50.jpg","text":"TemporaryFile(/tmp/multipartBody5184874814418172506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737285483115,"filename":"image_19012025_12_16_03_003078_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/cb59ca281893d6c701c1ad094a148d4a.jpg","text":"TemporaryFile(/tmp/multipartBody587846622771924745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737285483115,"filename":"image_19012025_12_16_03_003078_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/79efb5a9963cb86645b5b1e358f2d126.jpg","text":"TemporaryFile(/tmp/multipartBody2487295386586649329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737285483115,"filename":"image_19012025_12_15_02_819574_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/ba1d6a828666254b7c883fc1e3e97655.jpg","text":"TemporaryFile(/tmp/multipartBody23259858908287777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737285483115,"filename":"image_19012025_12_16_03_003078_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330025736","file1":"1330025735","file0":"1330025729","file3":"1330025737"},"map_files_photo_id_array":[{"photo_id":"1330025736","filename":"file2"},{"photo_id":"1330025735","filename":"file1"},{"photo_id":"1330025729","filename":"file0"},{"photo_id":"1330025737","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330025736":["hashtag1","hashtag2"]},{"1330025735":["hashtag1","hashtag2"]},{"1330025729":["hashtag1","hashtag2"]},{"1330025737":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330025736, 1330025735, 1330025729, 1330025737)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.91274285316467 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-19 12:17:41.985806
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/12/16/image_19012025_12_16_03_003078_0003.jpg', '/home/pi/Desktop/images/19012025/12/17/image_19012025_12_17_02_227314_0000.jpg', '/home/pi/Desktop/images/19012025/12/17/image_19012025_12_17_02_227314_0001.jpg', '/home/pi/Desktop/images/19012025/12/17/image_19012025_12_17_02_227314_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/12/16/image_19012025_12_16_03_003078_0003.jpg
/home/pi/Desktop/images/19012025/12/17/image_19012025_12_17_02_227314_0000.jpg
/home/pi/Desktop/images/19012025/12/17/image_19012025_12_17_02_227314_0001.jpg
/home/pi/Desktop/images/19012025/12/17/image_19012025_12_17_02_227314_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330025751","1330025747","1330025752","1330025749"],"photo_ids_order":["1330025747","1330025749","1330025751","1330025752"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/1295e0cd1d55b4758ea6ceff8b08c5dd.jpg","text":"TemporaryFile(/tmp/multipartBody7069365284891411403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737285533531,"filename":"image_19012025_12_17_02_227314_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/37ee10b434a39b18edd1b48139fdf4a0.jpg","text":"TemporaryFile(/tmp/multipartBody8105099842324482010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737285533531,"filename":"image_19012025_12_16_03_003078_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/4805d5d60bb8a7b209876cd31b47ccce.jpg","text":"TemporaryFile(/tmp/multipartBody4402714874223045116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737285533531,"filename":"image_19012025_12_17_02_227314_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/0cffb821901aa7b990f6c20ae2fd3676.jpg","text":"TemporaryFile(/tmp/multipartBody7928496775855394881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737285533531,"filename":"image_19012025_12_17_02_227314_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330025751","file1":"1330025749","file0":"1330025747","file3":"1330025752"},"map_files_photo_id_array":[{"photo_id":"1330025751","filename":"file2"},{"photo_id":"1330025749","filename":"file1"},{"photo_id":"1330025747","filename":"file0"},{"photo_id":"1330025752","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330025751":["hashtag1","hashtag2"]},{"1330025747":["hashtag1","hashtag2"]},{"1330025752":["hashtag1","hashtag2"]},{"1330025749":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330025751, 1330025747, 1330025752, 1330025749)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 45.72265100479126 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-19 12:18:32.082501
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/12/17/image_19012025_12_17_02_227314_0003.jpg', '/home/pi/Desktop/images/19012025/12/18/image_19012025_12_18_02_279058_0000.jpg', '/home/pi/Desktop/images/19012025/12/18/image_19012025_12_18_02_279058_0001.jpg', '/home/pi/Desktop/images/19012025/12/18/image_19012025_12_18_02_279058_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/12/17/image_19012025_12_17_02_227314_0003.jpg
/home/pi/Desktop/images/19012025/12/18/image_19012025_12_18_02_279058_0000.jpg
/home/pi/Desktop/images/19012025/12/18/image_19012025_12_18_02_279058_0001.jpg
/home/pi/Desktop/images/19012025/12/18/image_19012025_12_18_02_279058_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330025778","1330025772","1330025775","1330025768"],"photo_ids_order":["1330025768","1330025772","1330025775","1330025778"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/1f2b7b73db9b6871d0f0943984078cfe.jpg","text":"TemporaryFile(/tmp/multipartBody5990967505221228744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737285583177,"filename":"image_19012025_12_18_02_279058_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/aa894f177f5e95b9fe4d1360796a7e5c.jpg","text":"TemporaryFile(/tmp/multipartBody1433865030881128877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737285583177,"filename":"image_19012025_12_18_02_279058_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/d10318648f4c39e92a87bb1b00baa43d.jpg","text":"TemporaryFile(/tmp/multipartBody7626357311211574628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737285583177,"filename":"image_19012025_12_18_02_279058_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/7270874f21d29ef53888ebd103c74c9d.jpg","text":"TemporaryFile(/tmp/multipartBody451980022458030358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737285583177,"filename":"image_19012025_12_17_02_227314_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330025775","file1":"1330025772","file0":"1330025768","file3":"1330025778"},"map_files_photo_id_array":[{"photo_id":"1330025775","filename":"file2"},{"photo_id":"1330025772","filename":"file1"},{"photo_id":"1330025768","filename":"file0"},{"photo_id":"1330025778","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330025778":["hashtag1","hashtag2"]},{"1330025772":["hashtag1","hashtag2"]},{"1330025775":["hashtag1","hashtag2"]},{"1330025768":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330025778, 1330025772, 1330025775, 1330025768)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.17566204071045 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 12:19:22.277865
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/12/18/image_19012025_12_18_02_279058_0003.jpg', '/home/pi/Desktop/images/19012025/12/19/image_19012025_12_19_02_460544_0000.jpg', '/home/pi/Desktop/images/19012025/12/19/image_19012025_12_19_02_460544_0001.jpg', '/home/pi/Desktop/images/19012025/12/19/image_19012025_12_19_02_460544_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/12/18/image_19012025_12_18_02_279058_0003.jpg
/home/pi/Desktop/images/19012025/12/19/image_19012025_12_19_02_460544_0000.jpg
/home/pi/Desktop/images/19012025/12/19/image_19012025_12_19_02_460544_0001.jpg
/home/pi/Desktop/images/19012025/12/19/image_19012025_12_19_02_460544_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330025793","1330025791","1330025785","1330025788"],"photo_ids_order":["1330025785","1330025788","1330025791","1330025793"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/98c514ce8843d8538bbbeb6f8fd014a7.jpg","text":"TemporaryFile(/tmp/multipartBody858296730583328444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737285633611,"filename":"image_19012025_12_19_02_460544_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/4572023e3f63a24c9cd48177b36e81aa.jpg","text":"TemporaryFile(/tmp/multipartBody1130085774150000452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737285633611,"filename":"image_19012025_12_19_02_460544_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/62d500484d7d37af8ec9ba1c3890b609.jpg","text":"TemporaryFile(/tmp/multipartBody2930233399469991092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737285633611,"filename":"image_19012025_12_18_02_279058_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/1bead38d06fc554dce5d9457c9b521e3.jpg","text":"TemporaryFile(/tmp/multipartBody3212101766087075738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737285633611,"filename":"image_19012025_12_19_02_460544_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330025791","file1":"1330025788","file0":"1330025785","file3":"1330025793"},"map_files_photo_id_array":[{"photo_id":"1330025791","filename":"file2"},{"photo_id":"1330025788","filename":"file1"},{"photo_id":"1330025785","filename":"file0"},{"photo_id":"1330025793","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330025793":["hashtag1","hashtag2"]},{"1330025791":["hashtag1","hashtag2"]},{"1330025785":["hashtag1","hashtag2"]},{"1330025788":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330025793, 1330025791, 1330025785, 1330025788)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.07263255119324 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 12:20:02.750505
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
  port_id : 19698700
  datou_current_id : 2490825
in upload_from_sqlite, uploading in 19698700
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17012025/22/13/image_17012025_22_13_03_151252_0001.jpg', '/home/pi/Desktop/images/17012025/22/13/image_17012025_22_13_03_151252_0002.jpg', '/home/pi/Desktop/images/17012025/22/13/image_17012025_22_13_03_151252_0003.jpg', '/home/pi/Desktop/images/17012025/22/14/image_17012025_22_14_02_320043_0000.jpg', '/home/pi/Desktop/images/17012025/22/14/image_17012025_22_14_02_320043_0001.jpg', '/home/pi/Desktop/images/17012025/22/14/image_17012025_22_14_02_320043_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2490825&datou=0
/home/pi/Desktop/images/17012025/22/13/image_17012025_22_13_03_151252_0001.jpg
/home/pi/Desktop/images/17012025/22/13/image_17012025_22_13_03_151252_0002.jpg
/home/pi/Desktop/images/17012025/22/13/image_17012025_22_13_03_151252_0003.jpg
/home/pi/Desktop/images/17012025/22/14/image_17012025_22_14_02_320043_0000.jpg
/home/pi/Desktop/images/17012025/22/14/image_17012025_22_14_02_320043_0001.jpg
/home/pi/Desktop/images/17012025/22/14/image_17012025_22_14_02_320043_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330025799","1330025808","1330025802","1330025805","1330025810","1330025797"],"photo_ids_order":["1330025797","1330025799","1330025802","1330025805","1330025808","1330025810"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/16e81366c00fe895f84cb6219293cf91.jpg","text":"TemporaryFile(/tmp/multipartBody476266353063966218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737285679728,"filename":"image_17012025_22_13_03_151252_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/dc877dd1aa91380d1ed5f402b521f2ed.jpg","text":"TemporaryFile(/tmp/multipartBody4405666391131708975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737285679728,"filename":"image_17012025_22_14_02_320043_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/b518edf2b5156aa2ef7434b1b2be3456.jpg","text":"TemporaryFile(/tmp/multipartBody3277280665610914505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737285679728,"filename":"image_17012025_22_13_03_151252_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/9a98c1d8760e3e86b53e6cafec22a2c4.jpg","text":"TemporaryFile(/tmp/multipartBody3571913710038011835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737285679728,"filename":"image_17012025_22_14_02_320043_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/0233278be7a5a19c5ef363216488fc51.jpg","text":"TemporaryFile(/tmp/multipartBody5829673792654672471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737285679728,"filename":"image_17012025_22_14_02_320043_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/4a1b1483af76820baa5e583c3105462b.jpg","text":"TemporaryFile(/tmp/multipartBody7114839943473982697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737285679728,"filename":"image_17012025_22_13_03_151252_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330025802","file1":"1330025799","file0":"1330025797","file4":"1330025808","file5":"1330025810","file3":"1330025805"},"map_files_photo_id_array":[{"photo_id":"1330025810","filename":"file5"},{"photo_id":"1330025802","filename":"file2"},{"photo_id":"1330025808","filename":"file4"},{"photo_id":"1330025799","filename":"file1"},{"photo_id":"1330025797","filename":"file0"},{"photo_id":"1330025805","filename":"file3"}],"portfolio_id":19698700,"hashtag_by_photo_ids":[{"1330025799":["hashtag1","hashtag2"]},{"1330025808":["hashtag1","hashtag2"]},{"1330025802":["hashtag1","hashtag2"]},{"1330025805":["hashtag1","hashtag2"]},{"1330025810":["hashtag1","hashtag2"]},{"1330025797":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698700 used, photo_id : ArrayBuffer(1330025799, 1330025808, 1330025802, 1330025805, 1330025810, 1330025797)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.21617269515991 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 12:21:03.414155
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/12/19/image_19012025_12_19_02_460544_0003.jpg', '/home/pi/Desktop/images/19012025/12/20/image_19012025_12_20_02_666569_0000.jpg', '/home/pi/Desktop/images/19012025/12/20/image_19012025_12_20_02_666569_0001.jpg', '/home/pi/Desktop/images/19012025/12/20/image_19012025_12_20_02_666569_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/12/19/image_19012025_12_19_02_460544_0003.jpg
/home/pi/Desktop/images/19012025/12/20/image_19012025_12_20_02_666569_0000.jpg
/home/pi/Desktop/images/19012025/12/20/image_19012025_12_20_02_666569_0001.jpg
/home/pi/Desktop/images/19012025/12/20/image_19012025_12_20_02_666569_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330025814","1330025836","1330025815","1330025824"],"photo_ids_order":["1330025814","1330025815","1330025824","1330025836"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/f8b6e305c7b3f05d3481515a849aa281.jpg","text":"TemporaryFile(/tmp/multipartBody3019299056466283962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737285735066,"filename":"image_19012025_12_19_02_460544_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/59a2c3c26fec3b04aee5a5ddf97f6bfd.jpg","text":"TemporaryFile(/tmp/multipartBody6481545858114856031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737285735066,"filename":"image_19012025_12_20_02_666569_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/ec2feb8d138cdbf948e6f836ffcaa6c5.jpg","text":"TemporaryFile(/tmp/multipartBody5122131431813311476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737285735066,"filename":"image_19012025_12_20_02_666569_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/780f8b7786acf84d8ae155e7c3fff6d9.jpg","text":"TemporaryFile(/tmp/multipartBody5312796113225867654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737285735066,"filename":"image_19012025_12_20_02_666569_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330025824","file1":"1330025815","file0":"1330025814","file3":"1330025836"},"map_files_photo_id_array":[{"photo_id":"1330025824","filename":"file2"},{"photo_id":"1330025815","filename":"file1"},{"photo_id":"1330025814","filename":"file0"},{"photo_id":"1330025836","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330025814":["hashtag1","hashtag2"]},{"1330025836":["hashtag1","hashtag2"]},{"1330025815":["hashtag1","hashtag2"]},{"1330025824":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330025814, 1330025836, 1330025815, 1330025824)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 45.24887752532959 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-19 12:21:52.610147
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/12/20/image_19012025_12_20_02_666569_0003.jpg', '/home/pi/Desktop/images/19012025/12/21/image_19012025_12_21_02_800182_0000.jpg', '/home/pi/Desktop/images/19012025/12/21/image_19012025_12_21_02_800182_0001.jpg', '/home/pi/Desktop/images/19012025/12/21/image_19012025_12_21_02_800182_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/12/20/image_19012025_12_20_02_666569_0003.jpg
/home/pi/Desktop/images/19012025/12/21/image_19012025_12_21_02_800182_0000.jpg
/home/pi/Desktop/images/19012025/12/21/image_19012025_12_21_02_800182_0001.jpg
/home/pi/Desktop/images/19012025/12/21/image_19012025_12_21_02_800182_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330025877","1330025856","1330025843","1330025875"],"photo_ids_order":["1330025843","1330025856","1330025875","1330025877"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/f7eb9c8e8962b37913c416ef33b49195.jpg","text":"TemporaryFile(/tmp/multipartBody521040715864519842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737285783669,"filename":"image_19012025_12_21_02_800182_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/f41dca2d099a762c95cb4d39d7da5e4f.jpg","text":"TemporaryFile(/tmp/multipartBody7273000864310702294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737285783669,"filename":"image_19012025_12_21_02_800182_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/e18e040f9fda0cb0a38aac40fd719536.jpg","text":"TemporaryFile(/tmp/multipartBody4911985634753036840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737285783669,"filename":"image_19012025_12_20_02_666569_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/8200930df1f0f1a1387aff6da77a138a.jpg","text":"TemporaryFile(/tmp/multipartBody6061855160138668768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737285783669,"filename":"image_19012025_12_21_02_800182_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330025875","file1":"1330025856","file0":"1330025843","file3":"1330025877"},"map_files_photo_id_array":[{"photo_id":"1330025875","filename":"file2"},{"photo_id":"1330025856","filename":"file1"},{"photo_id":"1330025843","filename":"file0"},{"photo_id":"1330025877","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330025877":["hashtag1","hashtag2"]},{"1330025856":["hashtag1","hashtag2"]},{"1330025843":["hashtag1","hashtag2"]},{"1330025875":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330025877, 1330025856, 1330025843, 1330025875)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.25370192527771 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-19 12:22:41.825989
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/12/21/image_19012025_12_21_02_800182_0003.jpg', '/home/pi/Desktop/images/19012025/12/22/image_19012025_12_22_03_033412_0000.jpg', '/home/pi/Desktop/images/19012025/12/22/image_19012025_12_22_03_033412_0001.jpg', '/home/pi/Desktop/images/19012025/12/22/image_19012025_12_22_03_033412_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/12/21/image_19012025_12_21_02_800182_0003.jpg
/home/pi/Desktop/images/19012025/12/22/image_19012025_12_22_03_033412_0000.jpg
/home/pi/Desktop/images/19012025/12/22/image_19012025_12_22_03_033412_0001.jpg
/home/pi/Desktop/images/19012025/12/22/image_19012025_12_22_03_033412_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.878339529037476 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 12:23:02.697190
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/12/21/image_19012025_12_21_02_800182_0003.jpg', '/home/pi/Desktop/images/19012025/12/22/image_19012025_12_22_03_033412_0000.jpg', '/home/pi/Desktop/images/19012025/12/22/image_19012025_12_22_03_033412_0001.jpg', '/home/pi/Desktop/images/19012025/12/22/image_19012025_12_22_03_033412_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/12/21/image_19012025_12_21_02_800182_0003.jpg
/home/pi/Desktop/images/19012025/12/22/image_19012025_12_22_03_033412_0000.jpg
/home/pi/Desktop/images/19012025/12/22/image_19012025_12_22_03_033412_0001.jpg
/home/pi/Desktop/images/19012025/12/22/image_19012025_12_22_03_033412_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330026051","1330026045","1330026048","1330026046"],"photo_ids_order":["1330026045","1330026046","1330026048","1330026051"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/7099be4970f65853578aaacd576bd677.jpg","text":"TemporaryFile(/tmp/multipartBody6316166204130060513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737285854017,"filename":"image_19012025_12_22_03_033412_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/7b163738c984f0ed6cb777160f4f81ad.jpg","text":"TemporaryFile(/tmp/multipartBody5135472817736758531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737285854017,"filename":"image_19012025_12_21_02_800182_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/e0c4370c7326f939583c908d0e4817ad.jpg","text":"TemporaryFile(/tmp/multipartBody381931342675218503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737285854017,"filename":"image_19012025_12_22_03_033412_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/f5e2c41e039711f4ce705d610612b00c.jpg","text":"TemporaryFile(/tmp/multipartBody6254086483415314412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737285854017,"filename":"image_19012025_12_22_03_033412_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330026048","file1":"1330026046","file0":"1330026045","file3":"1330026051"},"map_files_photo_id_array":[{"photo_id":"1330026048","filename":"file2"},{"photo_id":"1330026046","filename":"file1"},{"photo_id":"1330026045","filename":"file0"},{"photo_id":"1330026051","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330026051":["hashtag1","hashtag2"]},{"1330026045":["hashtag1","hashtag2"]},{"1330026048":["hashtag1","hashtag2"]},{"1330026046":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330026051, 1330026045, 1330026048, 1330026046)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.46539354324341 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-19 12:23:51.997351
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/12/22/image_19012025_12_22_03_033412_0003.jpg', '/home/pi/Desktop/images/19012025/12/23/image_19012025_12_23_02_220591_0000.jpg', '/home/pi/Desktop/images/19012025/12/23/image_19012025_12_23_02_220591_0001.jpg', '/home/pi/Desktop/images/19012025/12/23/image_19012025_12_23_02_220591_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/12/22/image_19012025_12_22_03_033412_0003.jpg
/home/pi/Desktop/images/19012025/12/23/image_19012025_12_23_02_220591_0000.jpg
/home/pi/Desktop/images/19012025/12/23/image_19012025_12_23_02_220591_0001.jpg
/home/pi/Desktop/images/19012025/12/23/image_19012025_12_23_02_220591_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330026123","1330026120","1330026122","1330026121"],"photo_ids_order":["1330026120","1330026121","1330026122","1330026123"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/c974a5c14f5fbe19dd8931ac60c4c3e7.jpg","text":"TemporaryFile(/tmp/multipartBody99203982231125674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737285903170,"filename":"image_19012025_12_23_02_220591_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/5ed3e730667eb00a8d179643f3d9c8f0.jpg","text":"TemporaryFile(/tmp/multipartBody6181309662742764001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737285903170,"filename":"image_19012025_12_22_03_033412_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/97a8df28ced5a302828a2a65ae1bad66.jpg","text":"TemporaryFile(/tmp/multipartBody674937812601916442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737285903170,"filename":"image_19012025_12_23_02_220591_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/e3c482f7ad76fb19b6a46c1328f1ddef.jpg","text":"TemporaryFile(/tmp/multipartBody8592849769745728108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737285903170,"filename":"image_19012025_12_23_02_220591_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330026122","file1":"1330026121","file0":"1330026120","file3":"1330026123"},"map_files_photo_id_array":[{"photo_id":"1330026122","filename":"file2"},{"photo_id":"1330026121","filename":"file1"},{"photo_id":"1330026120","filename":"file0"},{"photo_id":"1330026123","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330026123":["hashtag1","hashtag2"]},{"1330026120":["hashtag1","hashtag2"]},{"1330026122":["hashtag1","hashtag2"]},{"1330026121":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330026123, 1330026120, 1330026122, 1330026121)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.98841142654419 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-19 12:24:42.212276
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/12/23/image_19012025_12_23_02_220591_0003.jpg', '/home/pi/Desktop/images/19012025/12/24/image_19012025_12_24_02_391245_0000.jpg', '/home/pi/Desktop/images/19012025/12/24/image_19012025_12_24_02_391245_0001.jpg', '/home/pi/Desktop/images/19012025/12/24/image_19012025_12_24_02_391245_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/12/23/image_19012025_12_23_02_220591_0003.jpg
/home/pi/Desktop/images/19012025/12/24/image_19012025_12_24_02_391245_0000.jpg
/home/pi/Desktop/images/19012025/12/24/image_19012025_12_24_02_391245_0001.jpg
/home/pi/Desktop/images/19012025/12/24/image_19012025_12_24_02_391245_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":["1330026155","1330026131","1330026157","1330026133"],"photo_ids_order":["1330026131","1330026133","1330026155","1330026157"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/b88a3e88c85ee6f6fce97d883440dcc3.jpg","text":"TemporaryFile(/tmp/multipartBody5301531625662601153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737285953314,"filename":"image_19012025_12_24_02_391245_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/baea769a1ae713a9ee4fd200c1c739e0.jpg","text":"TemporaryFile(/tmp/multipartBody7505320499755053358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737285953314,"filename":"image_19012025_12_23_02_220591_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/23ac8ae8e4a6c1f17228adee3cbbb1e7.jpg","text":"TemporaryFile(/tmp/multipartBody2444236362307051100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737285953314,"filename":"image_19012025_12_24_02_391245_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/51566e57c4053c2f358e1ec5045c26ec.jpg","text":"TemporaryFile(/tmp/multipartBody1038310404583367371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737285953314,"filename":"image_19012025_12_24_02_391245_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330026155","file1":"1330026133","file0":"1330026131","file3":"1330026157"},"map_files_photo_id_array":[{"photo_id":"1330026155","filename":"file2"},{"photo_id":"1330026133","filename":"file1"},{"photo_id":"1330026131","filename":"file0"},{"photo_id":"1330026157","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330026155":["hashtag1","hashtag2"]},{"1330026131":["hashtag1","hashtag2"]},{"1330026157":["hashtag1","hashtag2"]},{"1330026133":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330026155, 1330026131, 1330026157, 1330026133)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.05701470375061 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 12:25:22.345896
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/12/24/image_19012025_12_24_02_391245_0003.jpg', '/home/pi/Desktop/images/19012025/12/25/image_19012025_12_25_02_542125_0000.jpg', '/home/pi/Desktop/images/19012025/12/25/image_19012025_12_25_02_542125_0001.jpg', '/home/pi/Desktop/images/19012025/12/25/image_19012025_12_25_02_542125_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/12/24/image_19012025_12_24_02_391245_0003.jpg
/home/pi/Desktop/images/19012025/12/25/image_19012025_12_25_02_542125_0000.jpg
/home/pi/Desktop/images/19012025/12/25/image_19012025_12_25_02_542125_0001.jpg
/home/pi/Desktop/images/19012025/12/25/image_19012025_12_25_02_542125_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330026191","1330026193","1330026186","1330026189"],"photo_ids_order":["1330026186","1330026189","1330026191","1330026193"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/c702a6945c3b6b577476d831bfd763a3.jpg","text":"TemporaryFile(/tmp/multipartBody5446110605566181898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737285993759,"filename":"image_19012025_12_25_02_542125_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/5d8d3dd107eef989a6d9295d84be5c60.jpg","text":"TemporaryFile(/tmp/multipartBody2777349528354099391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737285993759,"filename":"image_19012025_12_25_02_542125_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/5b2d0aab5a0dbf7ae657dea0920895d2.jpg","text":"TemporaryFile(/tmp/multipartBody4779684135668441846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737285993759,"filename":"image_19012025_12_24_02_391245_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/fa33c80c63638c1a8cedc68be96abaf6.jpg","text":"TemporaryFile(/tmp/multipartBody1662261239890508639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737285993759,"filename":"image_19012025_12_25_02_542125_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330026191","file1":"1330026189","file0":"1330026186","file3":"1330026193"},"map_files_photo_id_array":[{"photo_id":"1330026191","filename":"file2"},{"photo_id":"1330026189","filename":"file1"},{"photo_id":"1330026186","filename":"file0"},{"photo_id":"1330026193","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330026191":["hashtag1","hashtag2"]},{"1330026193":["hashtag1","hashtag2"]},{"1330026186":["hashtag1","hashtag2"]},{"1330026189":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330026191, 1330026193, 1330026186, 1330026189)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.70658206939697 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-19 12:26:22.555134
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/12/25/image_19012025_12_25_02_542125_0003.jpg', '/home/pi/Desktop/images/19012025/12/26/image_19012025_12_26_02_697267_0000.jpg', '/home/pi/Desktop/images/19012025/12/26/image_19012025_12_26_02_697267_0001.jpg', '/home/pi/Desktop/images/19012025/12/26/image_19012025_12_26_02_697267_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/12/25/image_19012025_12_25_02_542125_0003.jpg
/home/pi/Desktop/images/19012025/12/26/image_19012025_12_26_02_697267_0000.jpg
/home/pi/Desktop/images/19012025/12/26/image_19012025_12_26_02_697267_0001.jpg
/home/pi/Desktop/images/19012025/12/26/image_19012025_12_26_02_697267_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 11.130176305770874 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-19 12:26:42.536089
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/12/25/image_19012025_12_25_02_542125_0003.jpg', '/home/pi/Desktop/images/19012025/12/26/image_19012025_12_26_02_697267_0000.jpg', '/home/pi/Desktop/images/19012025/12/26/image_19012025_12_26_02_697267_0001.jpg', '/home/pi/Desktop/images/19012025/12/26/image_19012025_12_26_02_697267_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/12/25/image_19012025_12_25_02_542125_0003.jpg
/home/pi/Desktop/images/19012025/12/26/image_19012025_12_26_02_697267_0000.jpg
/home/pi/Desktop/images/19012025/12/26/image_19012025_12_26_02_697267_0001.jpg
/home/pi/Desktop/images/19012025/12/26/image_19012025_12_26_02_697267_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330026456","1330026454","1330026457","1330026451"],"photo_ids_order":["1330026451","1330026454","1330026456","1330026457"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/e85a24c10604d94039c17804d7dfdf77.jpg","text":"TemporaryFile(/tmp/multipartBody691628784256685526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737286074054,"filename":"image_19012025_12_26_02_697267_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/c7e38c2c1258c596eaf0da4d16ce0655.jpg","text":"TemporaryFile(/tmp/multipartBody6470734842387499539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737286074054,"filename":"image_19012025_12_26_02_697267_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/f3e825d98d3455b34faad731fa523e8c.jpg","text":"TemporaryFile(/tmp/multipartBody7417936925559283574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737286074054,"filename":"image_19012025_12_26_02_697267_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/0d69dda32b58247b67d885ca2a12068c.jpg","text":"TemporaryFile(/tmp/multipartBody8277885717107273656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737286074054,"filename":"image_19012025_12_25_02_542125_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330026456","file1":"1330026454","file0":"1330026451","file3":"1330026457"},"map_files_photo_id_array":[{"photo_id":"1330026456","filename":"file2"},{"photo_id":"1330026454","filename":"file1"},{"photo_id":"1330026451","filename":"file0"},{"photo_id":"1330026457","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330026456":["hashtag1","hashtag2"]},{"1330026454":["hashtag1","hashtag2"]},{"1330026457":["hashtag1","hashtag2"]},{"1330026451":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330026456, 1330026454, 1330026457, 1330026451)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.96034288406372 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-19 12:27:32.733589
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/12/26/image_19012025_12_26_02_697267_0003.jpg', '/home/pi/Desktop/images/19012025/12/27/image_19012025_12_27_02_932323_0000.jpg', '/home/pi/Desktop/images/19012025/12/27/image_19012025_12_27_02_932323_0001.jpg', '/home/pi/Desktop/images/19012025/12/27/image_19012025_12_27_02_932323_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/12/26/image_19012025_12_26_02_697267_0003.jpg
/home/pi/Desktop/images/19012025/12/27/image_19012025_12_27_02_932323_0000.jpg
/home/pi/Desktop/images/19012025/12/27/image_19012025_12_27_02_932323_0001.jpg
/home/pi/Desktop/images/19012025/12/27/image_19012025_12_27_02_932323_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330026474","1330026469","1330026471","1330026465"],"photo_ids_order":["1330026465","1330026469","1330026471","1330026474"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/98c0aa58ba93e6567aa95e06ccf4dd85.jpg","text":"TemporaryFile(/tmp/multipartBody7163307079019262989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737286123746,"filename":"image_19012025_12_27_02_932323_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/66da150286d214362cd5b20b4eacd9d5.jpg","text":"TemporaryFile(/tmp/multipartBody915349082150922790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737286123746,"filename":"image_19012025_12_27_02_932323_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/3c5fcee4c108c4f0a0d3b5369907501c.jpg","text":"TemporaryFile(/tmp/multipartBody1920726072750551789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737286123746,"filename":"image_19012025_12_27_02_932323_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/b9c88dd24a1e859474c387b202eb4c6f.jpg","text":"TemporaryFile(/tmp/multipartBody8846214250747063390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737286123746,"filename":"image_19012025_12_26_02_697267_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330026471","file1":"1330026469","file0":"1330026465","file3":"1330026474"},"map_files_photo_id_array":[{"photo_id":"1330026471","filename":"file2"},{"photo_id":"1330026469","filename":"file1"},{"photo_id":"1330026465","filename":"file0"},{"photo_id":"1330026474","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330026474":["hashtag1","hashtag2"]},{"1330026469":["hashtag1","hashtag2"]},{"1330026471":["hashtag1","hashtag2"]},{"1330026465":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330026474, 1330026469, 1330026471, 1330026465)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.89174270629883 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 12:28:21.942615
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/12/27/image_19012025_12_27_02_932323_0003.jpg', '/home/pi/Desktop/images/19012025/12/28/image_19012025_12_28_03_086623_0000.jpg', '/home/pi/Desktop/images/19012025/12/28/image_19012025_12_28_03_086623_0001.jpg', '/home/pi/Desktop/images/19012025/12/28/image_19012025_12_28_03_086623_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/12/27/image_19012025_12_27_02_932323_0003.jpg
/home/pi/Desktop/images/19012025/12/28/image_19012025_12_28_03_086623_0000.jpg
/home/pi/Desktop/images/19012025/12/28/image_19012025_12_28_03_086623_0001.jpg
/home/pi/Desktop/images/19012025/12/28/image_19012025_12_28_03_086623_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330026518","1330026512","1330026515","1330026520"],"photo_ids_order":["1330026512","1330026515","1330026518","1330026520"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/4689ea6304a3d9c118ef021ec161a857.jpg","text":"TemporaryFile(/tmp/multipartBody5966053420333664090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737286173279,"filename":"image_19012025_12_28_03_086623_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/487a3eaf138b09a1f48a58c693a92c47.jpg","text":"TemporaryFile(/tmp/multipartBody4676733710504918284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737286173279,"filename":"image_19012025_12_27_02_932323_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/44a13e03db0df210094a9bf2944de2f7.jpg","text":"TemporaryFile(/tmp/multipartBody2573996073880076694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737286173279,"filename":"image_19012025_12_28_03_086623_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/8d7afe034c263b62ca18048655e5c522.jpg","text":"TemporaryFile(/tmp/multipartBody807175874431911219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737286173279,"filename":"image_19012025_12_28_03_086623_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330026518","file1":"1330026515","file0":"1330026512","file3":"1330026520"},"map_files_photo_id_array":[{"photo_id":"1330026518","filename":"file2"},{"photo_id":"1330026515","filename":"file1"},{"photo_id":"1330026512","filename":"file0"},{"photo_id":"1330026520","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330026518":["hashtag1","hashtag2"]},{"1330026512":["hashtag1","hashtag2"]},{"1330026515":["hashtag1","hashtag2"]},{"1330026520":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330026518, 1330026512, 1330026515, 1330026520)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 44.82740330696106 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 12:29:22.233969
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/12/28/image_19012025_12_28_03_086623_0003.jpg', '/home/pi/Desktop/images/19012025/12/29/image_19012025_12_29_02_267448_0000.jpg', '/home/pi/Desktop/images/19012025/12/29/image_19012025_12_29_02_267448_0001.jpg', '/home/pi/Desktop/images/19012025/12/29/image_19012025_12_29_02_267448_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/12/28/image_19012025_12_28_03_086623_0003.jpg
/home/pi/Desktop/images/19012025/12/29/image_19012025_12_29_02_267448_0000.jpg
/home/pi/Desktop/images/19012025/12/29/image_19012025_12_29_02_267448_0001.jpg
/home/pi/Desktop/images/19012025/12/29/image_19012025_12_29_02_267448_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330026531","1330026534","1330026536","1330026527"],"photo_ids_order":["1330026527","1330026531","1330026534","1330026536"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/de905a78e7823956b54b3dba0ee27b6d.jpg","text":"TemporaryFile(/tmp/multipartBody7145614290823394352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737286233335,"filename":"image_19012025_12_29_02_267448_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/85e2bb87870bc26fd5a1306f539da0af.jpg","text":"TemporaryFile(/tmp/multipartBody6058120359949900598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737286233335,"filename":"image_19012025_12_29_02_267448_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/d66f7fa654d23bbd2fd4e5f07789f95e.jpg","text":"TemporaryFile(/tmp/multipartBody7114875500590711870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737286233335,"filename":"image_19012025_12_29_02_267448_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/71d5ddf06a8b8828e9aa55c3d9fdd749.jpg","text":"TemporaryFile(/tmp/multipartBody6808585913583128457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737286233335,"filename":"image_19012025_12_28_03_086623_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330026534","file1":"1330026531","file0":"1330026527","file3":"1330026536"},"map_files_photo_id_array":[{"photo_id":"1330026534","filename":"file2"},{"photo_id":"1330026531","filename":"file1"},{"photo_id":"1330026527","filename":"file0"},{"photo_id":"1330026536","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330026531":["hashtag1","hashtag2"]},{"1330026534":["hashtag1","hashtag2"]},{"1330026536":["hashtag1","hashtag2"]},{"1330026527":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330026531, 1330026534, 1330026536, 1330026527)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.159098625183105 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 12:30:22.384887
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/12/29/image_19012025_12_29_02_267448_0003.jpg', '/home/pi/Desktop/images/19012025/12/30/image_19012025_12_30_02_432966_0000.jpg', '/home/pi/Desktop/images/19012025/12/30/image_19012025_12_30_02_432966_0001.jpg', '/home/pi/Desktop/images/19012025/12/30/image_19012025_12_30_02_432966_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/12/29/image_19012025_12_29_02_267448_0003.jpg
/home/pi/Desktop/images/19012025/12/30/image_19012025_12_30_02_432966_0000.jpg
/home/pi/Desktop/images/19012025/12/30/image_19012025_12_30_02_432966_0001.jpg
/home/pi/Desktop/images/19012025/12/30/image_19012025_12_30_02_432966_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330026546","1330026543","1330026551","1330026564"],"photo_ids_order":["1330026543","1330026546","1330026551","1330026564"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/bc5205b5edf8b23e485f0c4397c13967.jpg","text":"TemporaryFile(/tmp/multipartBody6990018691280611374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737286293623,"filename":"image_19012025_12_30_02_432966_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/17cab2994e2e0a26658680041d29daab.jpg","text":"TemporaryFile(/tmp/multipartBody7073656618178673442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737286293623,"filename":"image_19012025_12_29_02_267448_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/998c167150e56c8eb24186170fec6868.jpg","text":"TemporaryFile(/tmp/multipartBody2818270544669684130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737286293623,"filename":"image_19012025_12_30_02_432966_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/1472d693e2eff0a027c4f38466129322.jpg","text":"TemporaryFile(/tmp/multipartBody4221317083379607080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737286293623,"filename":"image_19012025_12_30_02_432966_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330026551","file1":"1330026546","file0":"1330026543","file3":"1330026564"},"map_files_photo_id_array":[{"photo_id":"1330026551","filename":"file2"},{"photo_id":"1330026546","filename":"file1"},{"photo_id":"1330026543","filename":"file0"},{"photo_id":"1330026564","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330026546":["hashtag1","hashtag2"]},{"1330026543":["hashtag1","hashtag2"]},{"1330026551":["hashtag1","hashtag2"]},{"1330026564":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330026546, 1330026543, 1330026551, 1330026564)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.5421679019928 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 12:31:22.521728
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/12/30/image_19012025_12_30_02_432966_0003.jpg', '/home/pi/Desktop/images/19012025/12/31/image_19012025_12_31_02_643302_0000.jpg', '/home/pi/Desktop/images/19012025/12/31/image_19012025_12_31_02_643302_0001.jpg', '/home/pi/Desktop/images/19012025/12/31/image_19012025_12_31_02_643302_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/12/30/image_19012025_12_30_02_432966_0003.jpg
/home/pi/Desktop/images/19012025/12/31/image_19012025_12_31_02_643302_0000.jpg
/home/pi/Desktop/images/19012025/12/31/image_19012025_12_31_02_643302_0001.jpg
/home/pi/Desktop/images/19012025/12/31/image_19012025_12_31_02_643302_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330027052","1330026809","1330027048","1330026649"],"photo_ids_order":["1330026649","1330026809","1330027048","1330027052"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/6fdd57cd09e77c9435a19ae9bc128052.jpg","text":"TemporaryFile(/tmp/multipartBody7106148565749645114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737286353512,"filename":"image_19012025_12_31_02_643302_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/4e6cb18dde3c9966e2c54c20edeb2f39.jpg","text":"TemporaryFile(/tmp/multipartBody6022146140416737290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737286353512,"filename":"image_19012025_12_31_02_643302_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/efce30ed1ec5838d468ddda3759aa691.jpg","text":"TemporaryFile(/tmp/multipartBody5072914262848972918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737286353512,"filename":"image_19012025_12_31_02_643302_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/b0156dbd27feb8e676944c7bd0157060.jpg","text":"TemporaryFile(/tmp/multipartBody8181747876144296695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737286353512,"filename":"image_19012025_12_30_02_432966_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330027048","file1":"1330026809","file0":"1330026649","file3":"1330027052"},"map_files_photo_id_array":[{"photo_id":"1330027048","filename":"file2"},{"photo_id":"1330026809","filename":"file1"},{"photo_id":"1330026649","filename":"file0"},{"photo_id":"1330027052","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330027052":["hashtag1","hashtag2"]},{"1330026809":["hashtag1","hashtag2"]},{"1330027048":["hashtag1","hashtag2"]},{"1330026649":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330027052, 1330026809, 1330027048, 1330026649)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.687273263931274 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 12:32:22.650845
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/12/31/image_19012025_12_31_02_643302_0003.jpg', '/home/pi/Desktop/images/19012025/12/32/image_19012025_12_32_02_829571_0000.jpg', '/home/pi/Desktop/images/19012025/12/32/image_19012025_12_32_02_829571_0001.jpg', '/home/pi/Desktop/images/19012025/12/32/image_19012025_12_32_02_829571_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/12/31/image_19012025_12_31_02_643302_0003.jpg
/home/pi/Desktop/images/19012025/12/32/image_19012025_12_32_02_829571_0000.jpg
/home/pi/Desktop/images/19012025/12/32/image_19012025_12_32_02_829571_0001.jpg
/home/pi/Desktop/images/19012025/12/32/image_19012025_12_32_02_829571_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.412304162979126 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-19 12:32:42.656371
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/12/31/image_19012025_12_31_02_643302_0003.jpg', '/home/pi/Desktop/images/19012025/12/32/image_19012025_12_32_02_829571_0000.jpg', '/home/pi/Desktop/images/19012025/12/32/image_19012025_12_32_02_829571_0001.jpg', '/home/pi/Desktop/images/19012025/12/32/image_19012025_12_32_02_829571_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/12/31/image_19012025_12_31_02_643302_0003.jpg
/home/pi/Desktop/images/19012025/12/32/image_19012025_12_32_02_829571_0000.jpg
/home/pi/Desktop/images/19012025/12/32/image_19012025_12_32_02_829571_0001.jpg
/home/pi/Desktop/images/19012025/12/32/image_19012025_12_32_02_829571_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330027250","1330027252","1330027287","1330027254"],"photo_ids_order":["1330027250","1330027252","1330027254","1330027287"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/c510bbf744153884942e4bea21fdc956.jpg","text":"TemporaryFile(/tmp/multipartBody4333863034690721397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737286433468,"filename":"image_19012025_12_31_02_643302_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/4fe93e76ca1fcf91a0c80c1d08e84274.jpg","text":"TemporaryFile(/tmp/multipartBody2467995633899335899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737286433468,"filename":"image_19012025_12_32_02_829571_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/cb511ed125e45b5a3efe319dd26ab073.jpg","text":"TemporaryFile(/tmp/multipartBody211271416478598658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737286433468,"filename":"image_19012025_12_32_02_829571_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/64e534976af71654b6432e607f63a8e1.jpg","text":"TemporaryFile(/tmp/multipartBody1671585504762906582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737286433468,"filename":"image_19012025_12_32_02_829571_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330027254","file1":"1330027252","file0":"1330027250","file3":"1330027287"},"map_files_photo_id_array":[{"photo_id":"1330027254","filename":"file2"},{"photo_id":"1330027252","filename":"file1"},{"photo_id":"1330027250","filename":"file0"},{"photo_id":"1330027287","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330027250":["hashtag1","hashtag2"]},{"1330027252":["hashtag1","hashtag2"]},{"1330027287":["hashtag1","hashtag2"]},{"1330027254":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330027250, 1330027252, 1330027287, 1330027254)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.32373642921448 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-19 12:33:31.848880
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/12/32/image_19012025_12_32_02_829571_0003.jpg', '/home/pi/Desktop/images/19012025/12/33/image_19012025_12_33_03_013435_0000.jpg', '/home/pi/Desktop/images/19012025/12/33/image_19012025_12_33_03_013435_0001.jpg', '/home/pi/Desktop/images/19012025/12/33/image_19012025_12_33_03_013435_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/12/32/image_19012025_12_32_02_829571_0003.jpg
/home/pi/Desktop/images/19012025/12/33/image_19012025_12_33_03_013435_0000.jpg
/home/pi/Desktop/images/19012025/12/33/image_19012025_12_33_03_013435_0001.jpg
/home/pi/Desktop/images/19012025/12/33/image_19012025_12_33_03_013435_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330027649","1330027687","1330027648","1330027689"],"photo_ids_order":["1330027648","1330027649","1330027687","1330027689"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/28e230c0983d36695d905ea212ae037b.jpg","text":"TemporaryFile(/tmp/multipartBody4450069408956451632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737286482932,"filename":"image_19012025_12_33_03_013435_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/20dccfac897ab42c7772799767e9da7d.jpg","text":"TemporaryFile(/tmp/multipartBody3679465719985315651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737286482932,"filename":"image_19012025_12_33_03_013435_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/299dc144b8372904277dbb4122b80cbf.jpg","text":"TemporaryFile(/tmp/multipartBody442961493874073389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737286482932,"filename":"image_19012025_12_32_02_829571_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/43ddece0f7eebbb1873e24ff0cfe74b4.jpg","text":"TemporaryFile(/tmp/multipartBody11568160262027867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737286482932,"filename":"image_19012025_12_33_03_013435_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330027687","file1":"1330027649","file0":"1330027648","file3":"1330027689"},"map_files_photo_id_array":[{"photo_id":"1330027687","filename":"file2"},{"photo_id":"1330027649","filename":"file1"},{"photo_id":"1330027648","filename":"file0"},{"photo_id":"1330027689","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330027649":["hashtag1","hashtag2"]},{"1330027687":["hashtag1","hashtag2"]},{"1330027648":["hashtag1","hashtag2"]},{"1330027689":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330027649, 1330027687, 1330027648, 1330027689)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.448622703552246 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 12:34:22.097284
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/12/33/image_19012025_12_33_03_013435_0003.jpg', '/home/pi/Desktop/images/19012025/12/34/image_19012025_12_34_02_358384_0000.jpg', '/home/pi/Desktop/images/19012025/12/34/image_19012025_12_34_02_358384_0001.jpg', '/home/pi/Desktop/images/19012025/12/34/image_19012025_12_34_02_358384_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/12/33/image_19012025_12_33_03_013435_0003.jpg
/home/pi/Desktop/images/19012025/12/34/image_19012025_12_34_02_358384_0000.jpg
/home/pi/Desktop/images/19012025/12/34/image_19012025_12_34_02_358384_0001.jpg
/home/pi/Desktop/images/19012025/12/34/image_19012025_12_34_02_358384_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330027728","1330027705","1330027729","1330027708"],"photo_ids_order":["1330027705","1330027708","1330027728","1330027729"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/2cd0888a746bdc4dcbcb6c77109538ea.jpg","text":"TemporaryFile(/tmp/multipartBody7954398046649822552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737286533501,"filename":"image_19012025_12_34_02_358384_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/d034ab4a835a06a5636c637902ace807.jpg","text":"TemporaryFile(/tmp/multipartBody3832246384919351412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737286533501,"filename":"image_19012025_12_33_03_013435_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/94b60cd24a4fb0b845324c968a0bf071.jpg","text":"TemporaryFile(/tmp/multipartBody8710008830904924264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737286533501,"filename":"image_19012025_12_34_02_358384_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/3513e850bb118d0f3b18445a1f6b4f5e.jpg","text":"TemporaryFile(/tmp/multipartBody8812980289915495319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737286533501,"filename":"image_19012025_12_34_02_358384_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330027728","file1":"1330027708","file0":"1330027705","file3":"1330027729"},"map_files_photo_id_array":[{"photo_id":"1330027728","filename":"file2"},{"photo_id":"1330027708","filename":"file1"},{"photo_id":"1330027705","filename":"file0"},{"photo_id":"1330027729","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330027728":["hashtag1","hashtag2"]},{"1330027705":["hashtag1","hashtag2"]},{"1330027729":["hashtag1","hashtag2"]},{"1330027708":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330027728, 1330027705, 1330027729, 1330027708)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.219186305999756 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 12:35:22.298006
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/12/34/image_19012025_12_34_02_358384_0003.jpg', '/home/pi/Desktop/images/19012025/12/35/image_19012025_12_35_02_432561_0000.jpg', '/home/pi/Desktop/images/19012025/12/35/image_19012025_12_35_02_432561_0001.jpg', '/home/pi/Desktop/images/19012025/12/35/image_19012025_12_35_02_432561_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/12/34/image_19012025_12_34_02_358384_0003.jpg
/home/pi/Desktop/images/19012025/12/35/image_19012025_12_35_02_432561_0000.jpg
/home/pi/Desktop/images/19012025/12/35/image_19012025_12_35_02_432561_0001.jpg
/home/pi/Desktop/images/19012025/12/35/image_19012025_12_35_02_432561_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330027739","1330027736","1330027743","1330027746"],"photo_ids_order":["1330027736","1330027739","1330027743","1330027746"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/68a3d4d4b06aa7668714b738eda73a58.jpg","text":"TemporaryFile(/tmp/multipartBody6641446101370644935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737286593714,"filename":"image_19012025_12_35_02_432561_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/93a38f82bd8b4595730a6ce6cdb619ce.jpg","text":"TemporaryFile(/tmp/multipartBody6392612313315039434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737286593714,"filename":"image_19012025_12_34_02_358384_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/d82ba08d1912429c1fb357655b81fac1.jpg","text":"TemporaryFile(/tmp/multipartBody1275820024029654887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737286593714,"filename":"image_19012025_12_35_02_432561_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/adbbe8a2700d4955f2cf92e32d383361.jpg","text":"TemporaryFile(/tmp/multipartBody544330802974886219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737286593714,"filename":"image_19012025_12_35_02_432561_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330027743","file1":"1330027739","file0":"1330027736","file3":"1330027746"},"map_files_photo_id_array":[{"photo_id":"1330027743","filename":"file2"},{"photo_id":"1330027739","filename":"file1"},{"photo_id":"1330027736","filename":"file0"},{"photo_id":"1330027746","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330027739":["hashtag1","hashtag2"]},{"1330027736":["hashtag1","hashtag2"]},{"1330027743":["hashtag1","hashtag2"]},{"1330027746":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330027739, 1330027736, 1330027743, 1330027746)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.190650939941406 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 12:36:22.497529
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/12/35/image_19012025_12_35_02_432561_0003.jpg', '/home/pi/Desktop/images/19012025/12/36/image_19012025_12_36_02_661095_0000.jpg', '/home/pi/Desktop/images/19012025/12/36/image_19012025_12_36_02_661095_0001.jpg', '/home/pi/Desktop/images/19012025/12/36/image_19012025_12_36_02_661095_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/12/35/image_19012025_12_35_02_432561_0003.jpg
/home/pi/Desktop/images/19012025/12/36/image_19012025_12_36_02_661095_0000.jpg
/home/pi/Desktop/images/19012025/12/36/image_19012025_12_36_02_661095_0001.jpg
/home/pi/Desktop/images/19012025/12/36/image_19012025_12_36_02_661095_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330027763","1330027759","1330027752","1330027755"],"photo_ids_order":["1330027752","1330027755","1330027759","1330027763"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/75e1fca67b6e2d1a999c2ba8c5af08b4.jpg","text":"TemporaryFile(/tmp/multipartBody5044021109264589364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737286653644,"filename":"image_19012025_12_36_02_661095_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/9e9f8a110af6f7a15fa06b32a98193f1.jpg","text":"TemporaryFile(/tmp/multipartBody1369531458179741049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737286653644,"filename":"image_19012025_12_36_02_661095_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/5efc7b6f37d66f93346001fdefe0b2ba.jpg","text":"TemporaryFile(/tmp/multipartBody1886680215701071245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737286653644,"filename":"image_19012025_12_35_02_432561_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/d8618d65ac2041b2c185a90c9deb956b.jpg","text":"TemporaryFile(/tmp/multipartBody3508051734397239776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737286653644,"filename":"image_19012025_12_36_02_661095_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330027759","file1":"1330027755","file0":"1330027752","file3":"1330027763"},"map_files_photo_id_array":[{"photo_id":"1330027759","filename":"file2"},{"photo_id":"1330027755","filename":"file1"},{"photo_id":"1330027752","filename":"file0"},{"photo_id":"1330027763","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330027763":["hashtag1","hashtag2"]},{"1330027759":["hashtag1","hashtag2"]},{"1330027752":["hashtag1","hashtag2"]},{"1330027755":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330027763, 1330027759, 1330027752, 1330027755)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.45063138008118 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 12:37:03.141882
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
  port_id : 19698700
  datou_current_id : 2490825
in upload_from_sqlite, uploading in 19698700
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17012025/22/14/image_17012025_22_14_02_320043_0003.jpg', '/home/pi/Desktop/images/17012025/22/15/image_17012025_22_15_02_488874_0000.jpg', '/home/pi/Desktop/images/17012025/22/15/image_17012025_22_15_02_488874_0001.jpg', '/home/pi/Desktop/images/17012025/22/15/image_17012025_22_15_02_488874_0002.jpg', '/home/pi/Desktop/images/17012025/22/15/image_17012025_22_15_02_488874_0003.jpg', '/home/pi/Desktop/images/17012025/22/16/image_17012025_22_16_02_667626_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2490825&datou=0
/home/pi/Desktop/images/17012025/22/14/image_17012025_22_14_02_320043_0003.jpg
/home/pi/Desktop/images/17012025/22/15/image_17012025_22_15_02_488874_0000.jpg
/home/pi/Desktop/images/17012025/22/15/image_17012025_22_15_02_488874_0001.jpg
/home/pi/Desktop/images/17012025/22/15/image_17012025_22_15_02_488874_0002.jpg
/home/pi/Desktop/images/17012025/22/15/image_17012025_22_15_02_488874_0003.jpg
/home/pi/Desktop/images/17012025/22/16/image_17012025_22_16_02_667626_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":["1330027775","1330027778","1330027772","1330027780","1330027770","1330027782"],"photo_ids_order":["1330027770","1330027772","1330027775","1330027778","1330027780","1330027782"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/aa01fb55c2864d63f023e42f6e5d22de.jpg","text":"TemporaryFile(/tmp/multipartBody6830161750650148907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737286700371,"filename":"image_17012025_22_15_02_488874_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/edf51d1bfdefb6a1655b42fccff43c15.jpg","text":"TemporaryFile(/tmp/multipartBody3348959189622877892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737286700371,"filename":"image_17012025_22_15_02_488874_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/8f325111b6e36da23e6ca50f6455cd50.jpg","text":"TemporaryFile(/tmp/multipartBody1059059982798451498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737286700371,"filename":"image_17012025_22_15_02_488874_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/4ad09d4883fba65a3fc34557b6cd1073.jpg","text":"TemporaryFile(/tmp/multipartBody5063892044580736189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737286700371,"filename":"image_17012025_22_15_02_488874_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/7b5673d338ace4d1194d95c96ec1660a.jpg","text":"TemporaryFile(/tmp/multipartBody261148374615828920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737286700371,"filename":"image_17012025_22_14_02_320043_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/83e9a059ada4d020bc903a87a404c0f0.jpg","text":"TemporaryFile(/tmp/multipartBody8161008126228136502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737286700371,"filename":"image_17012025_22_16_02_667626_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330027775","file1":"1330027772","file0":"1330027770","file4":"1330027780","file5":"1330027782","file3":"1330027778"},"map_files_photo_id_array":[{"photo_id":"1330027782","filename":"file5"},{"photo_id":"1330027775","filename":"file2"},{"photo_id":"1330027780","filename":"file4"},{"photo_id":"1330027772","filename":"file1"},{"photo_id":"1330027770","filename":"file0"},{"photo_id":"1330027778","filename":"file3"}],"portfolio_id":19698700,"hashtag_by_photo_ids":[{"1330027775":["hashtag1","hashtag2"]},{"1330027778":["hashtag1","hashtag2"]},{"1330027772":["hashtag1","hashtag2"]},{"1330027780":["hashtag1","hashtag2"]},{"1330027770":["hashtag1","hashtag2"]},{"1330027782":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698700 used, photo_id : ArrayBuffer(1330027775, 1330027778, 1330027772, 1330027780, 1330027770, 1330027782)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.24722242355347 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 12:38:22.747116
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/12/36/image_19012025_12_36_02_661095_0003.jpg', '/home/pi/Desktop/images/19012025/12/37/image_19012025_12_37_02_731868_0000.jpg', '/home/pi/Desktop/images/19012025/12/37/image_19012025_12_37_02_731868_0001.jpg', '/home/pi/Desktop/images/19012025/12/37/image_19012025_12_37_02_731868_0002.jpg', '/home/pi/Desktop/images/19012025/12/37/image_19012025_12_37_02_731868_0003.jpg', '/home/pi/Desktop/images/19012025/12/38/image_19012025_12_38_02_922735_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/12/36/image_19012025_12_36_02_661095_0003.jpg
/home/pi/Desktop/images/19012025/12/37/image_19012025_12_37_02_731868_0000.jpg
/home/pi/Desktop/images/19012025/12/37/image_19012025_12_37_02_731868_0001.jpg
/home/pi/Desktop/images/19012025/12/37/image_19012025_12_37_02_731868_0002.jpg
/home/pi/Desktop/images/19012025/12/37/image_19012025_12_37_02_731868_0003.jpg
/home/pi/Desktop/images/19012025/12/38/image_19012025_12_38_02_922735_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":["1330027796","1330027799","1330027804","1330027797","1330027803","1330027793"],"photo_ids_order":["1330027793","1330027796","1330027797","1330027799","1330027803","1330027804"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/1064973568f139931a055503ff579069.jpg","text":"TemporaryFile(/tmp/multipartBody4780118922342821825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737286779051,"filename":"image_19012025_12_37_02_731868_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/13310a5cbdf77a3808d18842d1910c4d.jpg","text":"TemporaryFile(/tmp/multipartBody6522236305772690060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737286779051,"filename":"image_19012025_12_37_02_731868_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/c9259ebe0f09d2eb30d34849eee3d8e5.jpg","text":"TemporaryFile(/tmp/multipartBody4511392687582880164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737286779051,"filename":"image_19012025_12_38_02_922735_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/f71cb86ee34b3442c372dd58d0a291ae.jpg","text":"TemporaryFile(/tmp/multipartBody8605583780271189659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737286779051,"filename":"image_19012025_12_37_02_731868_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/883f61b4dd00aeb2018472c8e8c812af.jpg","text":"TemporaryFile(/tmp/multipartBody7432630975156881834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737286779051,"filename":"image_19012025_12_37_02_731868_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/919899d7b9e1c58185902145cac5f6fc.jpg","text":"TemporaryFile(/tmp/multipartBody7681597398987085647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737286779051,"filename":"image_19012025_12_36_02_661095_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330027797","file1":"1330027796","file0":"1330027793","file4":"1330027803","file5":"1330027804","file3":"1330027799"},"map_files_photo_id_array":[{"photo_id":"1330027804","filename":"file5"},{"photo_id":"1330027797","filename":"file2"},{"photo_id":"1330027803","filename":"file4"},{"photo_id":"1330027796","filename":"file1"},{"photo_id":"1330027793","filename":"file0"},{"photo_id":"1330027799","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330027796":["hashtag1","hashtag2"]},{"1330027799":["hashtag1","hashtag2"]},{"1330027804":["hashtag1","hashtag2"]},{"1330027797":["hashtag1","hashtag2"]},{"1330027803":["hashtag1","hashtag2"]},{"1330027793":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330027796, 1330027799, 1330027804, 1330027797, 1330027803, 1330027793)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.498380184173584 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-19 12:39:31.885523
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/12/38/image_19012025_12_38_02_922735_0001.jpg', '/home/pi/Desktop/images/19012025/12/38/image_19012025_12_38_02_922735_0002.jpg', '/home/pi/Desktop/images/19012025/12/38/image_19012025_12_38_02_922735_0003.jpg', '/home/pi/Desktop/images/19012025/12/39/image_19012025_12_39_03_059531_0000.jpg', '/home/pi/Desktop/images/19012025/12/39/image_19012025_12_39_03_059531_0001.jpg', '/home/pi/Desktop/images/19012025/12/39/image_19012025_12_39_03_059531_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/12/38/image_19012025_12_38_02_922735_0001.jpg
/home/pi/Desktop/images/19012025/12/38/image_19012025_12_38_02_922735_0002.jpg
/home/pi/Desktop/images/19012025/12/38/image_19012025_12_38_02_922735_0003.jpg
/home/pi/Desktop/images/19012025/12/39/image_19012025_12_39_03_059531_0000.jpg
/home/pi/Desktop/images/19012025/12/39/image_19012025_12_39_03_059531_0001.jpg
/home/pi/Desktop/images/19012025/12/39/image_19012025_12_39_03_059531_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330027844","1330027847","1330027814","1330027831","1330027842","1330027845"],"photo_ids_order":["1330027814","1330027831","1330027842","1330027844","1330027845","1330027847"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/3dac844dfe014774790f6f678b0e0b28.jpg","text":"TemporaryFile(/tmp/multipartBody4845676147982059490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737286848747,"filename":"image_19012025_12_39_03_059531_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/ac4ebfcfd11e5ef02e306d1c55a9b214.jpg","text":"TemporaryFile(/tmp/multipartBody5783485196725109237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737286848747,"filename":"image_19012025_12_39_03_059531_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/97757f1786110d00269e47d724ee6493.jpg","text":"TemporaryFile(/tmp/multipartBody969018736257345566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737286848747,"filename":"image_19012025_12_38_02_922735_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/f0170f5d9e57b69268c75dcba69f79e5.jpg","text":"TemporaryFile(/tmp/multipartBody7986033715538897918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737286848747,"filename":"image_19012025_12_38_02_922735_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/11e861291c70934458179a3b0febf724.jpg","text":"TemporaryFile(/tmp/multipartBody3658554988884196250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737286848747,"filename":"image_19012025_12_38_02_922735_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/7065739728079304d4fe039dd6722669.jpg","text":"TemporaryFile(/tmp/multipartBody3708395985086752142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737286848747,"filename":"image_19012025_12_39_03_059531_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330027842","file1":"1330027831","file0":"1330027814","file4":"1330027845","file5":"1330027847","file3":"1330027844"},"map_files_photo_id_array":[{"photo_id":"1330027847","filename":"file5"},{"photo_id":"1330027842","filename":"file2"},{"photo_id":"1330027845","filename":"file4"},{"photo_id":"1330027831","filename":"file1"},{"photo_id":"1330027814","filename":"file0"},{"photo_id":"1330027844","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330027844":["hashtag1","hashtag2"]},{"1330027847":["hashtag1","hashtag2"]},{"1330027814":["hashtag1","hashtag2"]},{"1330027831":["hashtag1","hashtag2"]},{"1330027842":["hashtag1","hashtag2"]},{"1330027845":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330027844, 1330027847, 1330027814, 1330027831, 1330027842, 1330027845)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 63.13259315490723 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-19 12:40:42.120181
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/12/39/image_19012025_12_39_03_059531_0003.jpg', '/home/pi/Desktop/images/19012025/12/40/image_19012025_12_40_02_246561_0000.jpg', '/home/pi/Desktop/images/19012025/12/40/image_19012025_12_40_02_246561_0001.jpg', '/home/pi/Desktop/images/19012025/12/40/image_19012025_12_40_02_246561_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/12/39/image_19012025_12_39_03_059531_0003.jpg
/home/pi/Desktop/images/19012025/12/40/image_19012025_12_40_02_246561_0000.jpg
/home/pi/Desktop/images/19012025/12/40/image_19012025_12_40_02_246561_0001.jpg
/home/pi/Desktop/images/19012025/12/40/image_19012025_12_40_02_246561_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.765662908554077 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 12:41:03.062129
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/12/39/image_19012025_12_39_03_059531_0003.jpg', '/home/pi/Desktop/images/19012025/12/40/image_19012025_12_40_02_246561_0000.jpg', '/home/pi/Desktop/images/19012025/12/40/image_19012025_12_40_02_246561_0001.jpg', '/home/pi/Desktop/images/19012025/12/40/image_19012025_12_40_02_246561_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/12/39/image_19012025_12_39_03_059531_0003.jpg
/home/pi/Desktop/images/19012025/12/40/image_19012025_12_40_02_246561_0000.jpg
/home/pi/Desktop/images/19012025/12/40/image_19012025_12_40_02_246561_0001.jpg
/home/pi/Desktop/images/19012025/12/40/image_19012025_12_40_02_246561_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330027871","1330027865","1330027867","1330027869"],"photo_ids_order":["1330027865","1330027867","1330027869","1330027871"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/d9c645572a3a83aa1a29f1fa73cc74e0.jpg","text":"TemporaryFile(/tmp/multipartBody7743465408634924586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737286934251,"filename":"image_19012025_12_40_02_246561_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/cecc3d047e6fe5d05025671d7c4129f2.jpg","text":"TemporaryFile(/tmp/multipartBody5246961029695584264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737286934251,"filename":"image_19012025_12_39_03_059531_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/b71df0e788109389bbcf77d546778c9a.jpg","text":"TemporaryFile(/tmp/multipartBody6920141279752812112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737286934251,"filename":"image_19012025_12_40_02_246561_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/02d2d1ea152ee7eedbaa0cbc136b6bf4.jpg","text":"TemporaryFile(/tmp/multipartBody580272533557396466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737286934251,"filename":"image_19012025_12_40_02_246561_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330027869","file1":"1330027867","file0":"1330027865","file3":"1330027871"},"map_files_photo_id_array":[{"photo_id":"1330027869","filename":"file2"},{"photo_id":"1330027867","filename":"file1"},{"photo_id":"1330027865","filename":"file0"},{"photo_id":"1330027871","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330027871":["hashtag1","hashtag2"]},{"1330027865":["hashtag1","hashtag2"]},{"1330027867":["hashtag1","hashtag2"]},{"1330027869":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330027871, 1330027865, 1330027867, 1330027869)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.434781074523926 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-19 12:41:52.298790
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/12/40/image_19012025_12_40_02_246561_0003.jpg', '/home/pi/Desktop/images/19012025/12/41/image_19012025_12_41_02_559046_0000.jpg', '/home/pi/Desktop/images/19012025/12/41/image_19012025_12_41_02_559046_0001.jpg', '/home/pi/Desktop/images/19012025/12/41/image_19012025_12_41_02_559046_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/12/40/image_19012025_12_40_02_246561_0003.jpg
/home/pi/Desktop/images/19012025/12/41/image_19012025_12_41_02_559046_0000.jpg
/home/pi/Desktop/images/19012025/12/41/image_19012025_12_41_02_559046_0001.jpg
/home/pi/Desktop/images/19012025/12/41/image_19012025_12_41_02_559046_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330027880","1330027882","1330027879","1330027881"],"photo_ids_order":["1330027879","1330027880","1330027881","1330027882"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/05ab5ef2c40ff926ed1f7866e0c32534.jpg","text":"TemporaryFile(/tmp/multipartBody679115953559774139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737286983437,"filename":"image_19012025_12_41_02_559046_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/b902dc6c7d4963ca124d51ec2f5a9774.jpg","text":"TemporaryFile(/tmp/multipartBody6812138147886264202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737286983437,"filename":"image_19012025_12_41_02_559046_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/05034282e641960c363068710189301a.jpg","text":"TemporaryFile(/tmp/multipartBody5988649091874010470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737286983437,"filename":"image_19012025_12_40_02_246561_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/c1e9b3e68155650d02583fa45ad483bf.jpg","text":"TemporaryFile(/tmp/multipartBody8678049074354716717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737286983437,"filename":"image_19012025_12_41_02_559046_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330027881","file1":"1330027880","file0":"1330027879","file3":"1330027882"},"map_files_photo_id_array":[{"photo_id":"1330027881","filename":"file2"},{"photo_id":"1330027880","filename":"file1"},{"photo_id":"1330027879","filename":"file0"},{"photo_id":"1330027882","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330027880":["hashtag1","hashtag2"]},{"1330027882":["hashtag1","hashtag2"]},{"1330027879":["hashtag1","hashtag2"]},{"1330027881":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330027880, 1330027882, 1330027879, 1330027881)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 44.91956353187561 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-19 12:42:42.539356
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/12/41/image_19012025_12_41_02_559046_0003.jpg', '/home/pi/Desktop/images/19012025/12/42/image_19012025_12_42_02_689451_0000.jpg', '/home/pi/Desktop/images/19012025/12/42/image_19012025_12_42_02_689451_0001.jpg', '/home/pi/Desktop/images/19012025/12/42/image_19012025_12_42_02_689451_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/12/41/image_19012025_12_41_02_559046_0003.jpg
/home/pi/Desktop/images/19012025/12/42/image_19012025_12_42_02_689451_0000.jpg
/home/pi/Desktop/images/19012025/12/42/image_19012025_12_42_02_689451_0001.jpg
/home/pi/Desktop/images/19012025/12/42/image_19012025_12_42_02_689451_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":["1330027926","1330027907","1330027924","1330027929"],"photo_ids_order":["1330027907","1330027924","1330027926","1330027929"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/a18a8ce4c9745d383ce56fb70374f338.jpg","text":"TemporaryFile(/tmp/multipartBody3114308390151835378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737287033820,"filename":"image_19012025_12_42_02_689451_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/c20ed96fcb7676a76975d242873f3089.jpg","text":"TemporaryFile(/tmp/multipartBody2060184167987076340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737287033820,"filename":"image_19012025_12_41_02_559046_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/a54d855f91106a13517077ac3da514d0.jpg","text":"TemporaryFile(/tmp/multipartBody8548630428798738346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737287033820,"filename":"image_19012025_12_42_02_689451_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/8d3d1227a7708081381ee11ce5a61aab.jpg","text":"TemporaryFile(/tmp/multipartBody8828139088790888858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737287033820,"filename":"image_19012025_12_42_02_689451_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330027926","file1":"1330027924","file0":"1330027907","file3":"1330027929"},"map_files_photo_id_array":[{"photo_id":"1330027926","filename":"file2"},{"photo_id":"1330027924","filename":"file1"},{"photo_id":"1330027907","filename":"file0"},{"photo_id":"1330027929","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330027926":["hashtag1","hashtag2"]},{"1330027907":["hashtag1","hashtag2"]},{"1330027924":["hashtag1","hashtag2"]},{"1330027929":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330027926, 1330027907, 1330027924, 1330027929)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.08936834335327 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 12:43:22.708425
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/12/42/image_19012025_12_42_02_689451_0003.jpg', '/home/pi/Desktop/images/19012025/12/43/image_19012025_12_43_02_849979_0000.jpg', '/home/pi/Desktop/images/19012025/12/43/image_19012025_12_43_02_849979_0001.jpg', '/home/pi/Desktop/images/19012025/12/43/image_19012025_12_43_02_849979_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/12/42/image_19012025_12_42_02_689451_0003.jpg
/home/pi/Desktop/images/19012025/12/43/image_19012025_12_43_02_849979_0000.jpg
/home/pi/Desktop/images/19012025/12/43/image_19012025_12_43_02_849979_0001.jpg
/home/pi/Desktop/images/19012025/12/43/image_19012025_12_43_02_849979_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330027988","1330027984","1330027986","1330027971"],"photo_ids_order":["1330027971","1330027984","1330027986","1330027988"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/bbf586e2023c375c4ae39659ce1c8011.jpg","text":"TemporaryFile(/tmp/multipartBody1190772710878844842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737287073969,"filename":"image_19012025_12_43_02_849979_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/4ed534aacfa73320690e231041f55e5d.jpg","text":"TemporaryFile(/tmp/multipartBody8226605542416081503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737287073969,"filename":"image_19012025_12_43_02_849979_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/12297bf1c1823fd248b51b3936cecb32.jpg","text":"TemporaryFile(/tmp/multipartBody7103043058708368235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737287073969,"filename":"image_19012025_12_43_02_849979_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/a966b11f5ff5fb419252352b86ec68ae.jpg","text":"TemporaryFile(/tmp/multipartBody1220904806074881578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737287073969,"filename":"image_19012025_12_42_02_689451_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330027986","file1":"1330027984","file0":"1330027971","file3":"1330027988"},"map_files_photo_id_array":[{"photo_id":"1330027986","filename":"file2"},{"photo_id":"1330027984","filename":"file1"},{"photo_id":"1330027971","filename":"file0"},{"photo_id":"1330027988","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330027988":["hashtag1","hashtag2"]},{"1330027984":["hashtag1","hashtag2"]},{"1330027986":["hashtag1","hashtag2"]},{"1330027971":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330027988, 1330027984, 1330027986, 1330027971)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.347782135009766 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 12:44:21.915539
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/12/43/image_19012025_12_43_02_849979_0003.jpg', '/home/pi/Desktop/images/19012025/12/44/image_19012025_12_44_03_089285_0000.jpg', '/home/pi/Desktop/images/19012025/12/44/image_19012025_12_44_03_089285_0001.jpg', '/home/pi/Desktop/images/19012025/12/44/image_19012025_12_44_03_089285_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/12/43/image_19012025_12_43_02_849979_0003.jpg
/home/pi/Desktop/images/19012025/12/44/image_19012025_12_44_03_089285_0000.jpg
/home/pi/Desktop/images/19012025/12/44/image_19012025_12_44_03_089285_0001.jpg
/home/pi/Desktop/images/19012025/12/44/image_19012025_12_44_03_089285_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.503124713897705 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-19 12:44:41.952007
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/12/43/image_19012025_12_43_02_849979_0003.jpg', '/home/pi/Desktop/images/19012025/12/44/image_19012025_12_44_03_089285_0000.jpg', '/home/pi/Desktop/images/19012025/12/44/image_19012025_12_44_03_089285_0001.jpg', '/home/pi/Desktop/images/19012025/12/44/image_19012025_12_44_03_089285_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/12/43/image_19012025_12_43_02_849979_0003.jpg
/home/pi/Desktop/images/19012025/12/44/image_19012025_12_44_03_089285_0000.jpg
/home/pi/Desktop/images/19012025/12/44/image_19012025_12_44_03_089285_0001.jpg
/home/pi/Desktop/images/19012025/12/44/image_19012025_12_44_03_089285_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":["1330028144","1330028169","1330028154","1330028171"],"photo_ids_order":["1330028144","1330028154","1330028169","1330028171"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/205a1309e1f67e9190bd7914c240518b.jpg","text":"TemporaryFile(/tmp/multipartBody8227783614272921767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737287152835,"filename":"image_19012025_12_43_02_849979_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/8934ae355626a5c8dcc8d9803580af1c.jpg","text":"TemporaryFile(/tmp/multipartBody2040486137910645537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737287152835,"filename":"image_19012025_12_44_03_089285_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/b8fac7f6e39b12280ceb11d329ec15e5.jpg","text":"TemporaryFile(/tmp/multipartBody8372949440246844905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737287152835,"filename":"image_19012025_12_44_03_089285_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/7550f2f7faf4f39c050df7b1de42efa3.jpg","text":"TemporaryFile(/tmp/multipartBody7309602074087488376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737287152835,"filename":"image_19012025_12_44_03_089285_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330028169","file1":"1330028154","file0":"1330028144","file3":"1330028171"},"map_files_photo_id_array":[{"photo_id":"1330028169","filename":"file2"},{"photo_id":"1330028154","filename":"file1"},{"photo_id":"1330028144","filename":"file0"},{"photo_id":"1330028171","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330028144":["hashtag1","hashtag2"]},{"1330028169":["hashtag1","hashtag2"]},{"1330028154":["hashtag1","hashtag2"]},{"1330028171":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330028144, 1330028169, 1330028154, 1330028171)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.9225652217865 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 12:45:22.080240
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/12/44/image_19012025_12_44_03_089285_0003.jpg', '/home/pi/Desktop/images/19012025/12/45/image_19012025_12_45_02_234090_0000.jpg', '/home/pi/Desktop/images/19012025/12/45/image_19012025_12_45_02_234090_0001.jpg', '/home/pi/Desktop/images/19012025/12/45/image_19012025_12_45_02_234090_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/12/44/image_19012025_12_44_03_089285_0003.jpg
/home/pi/Desktop/images/19012025/12/45/image_19012025_12_45_02_234090_0000.jpg
/home/pi/Desktop/images/19012025/12/45/image_19012025_12_45_02_234090_0001.jpg
/home/pi/Desktop/images/19012025/12/45/image_19012025_12_45_02_234090_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330028225","1330028228","1330028232","1330028235"],"photo_ids_order":["1330028225","1330028228","1330028232","1330028235"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/a8d6824c5184dc441d89247fa339524a.jpg","text":"TemporaryFile(/tmp/multipartBody6873974747507524510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737287192947,"filename":"image_19012025_12_44_03_089285_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/fba8b0b28ec2c4c7fcb93f6cce8a3bc1.jpg","text":"TemporaryFile(/tmp/multipartBody2103158522557677455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737287192947,"filename":"image_19012025_12_45_02_234090_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/e20fbca4a5f46e559abfe2504a0d28f2.jpg","text":"TemporaryFile(/tmp/multipartBody5237257887157105332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737287192947,"filename":"image_19012025_12_45_02_234090_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/1a07ed4a2001ea3e38ae41d2a7e1fea9.jpg","text":"TemporaryFile(/tmp/multipartBody3433563551832090747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737287192947,"filename":"image_19012025_12_45_02_234090_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330028232","file1":"1330028228","file0":"1330028225","file3":"1330028235"},"map_files_photo_id_array":[{"photo_id":"1330028232","filename":"file2"},{"photo_id":"1330028228","filename":"file1"},{"photo_id":"1330028225","filename":"file0"},{"photo_id":"1330028235","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330028225":["hashtag1","hashtag2"]},{"1330028228":["hashtag1","hashtag2"]},{"1330028232":["hashtag1","hashtag2"]},{"1330028235":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330028225, 1330028228, 1330028232, 1330028235)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.72420144081116 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 12:46:22.312587
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/12/45/image_19012025_12_45_02_234090_0003.jpg', '/home/pi/Desktop/images/19012025/12/46/image_19012025_12_46_02_395360_0000.jpg', '/home/pi/Desktop/images/19012025/12/46/image_19012025_12_46_02_395360_0001.jpg', '/home/pi/Desktop/images/19012025/12/46/image_19012025_12_46_02_395360_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/12/45/image_19012025_12_45_02_234090_0003.jpg
/home/pi/Desktop/images/19012025/12/46/image_19012025_12_46_02_395360_0000.jpg
/home/pi/Desktop/images/19012025/12/46/image_19012025_12_46_02_395360_0001.jpg
/home/pi/Desktop/images/19012025/12/46/image_19012025_12_46_02_395360_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330028731","1330028728","1330028652","1330028655"],"photo_ids_order":["1330028652","1330028655","1330028728","1330028731"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/46219285e2974edb4078abffb2be4de9.jpg","text":"TemporaryFile(/tmp/multipartBody3606933348713713577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737287253668,"filename":"image_19012025_12_46_02_395360_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/268e4a73489ca8a8f0fa1616d7738c2f.jpg","text":"TemporaryFile(/tmp/multipartBody7274842445364085500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737287253668,"filename":"image_19012025_12_46_02_395360_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/5aa5c0bd6350475706d97640c26b9593.jpg","text":"TemporaryFile(/tmp/multipartBody2475591893035980997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737287253668,"filename":"image_19012025_12_45_02_234090_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/c1383065585f1bf5855a5d07365ba932.jpg","text":"TemporaryFile(/tmp/multipartBody2999310837980276007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737287253668,"filename":"image_19012025_12_46_02_395360_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330028728","file1":"1330028655","file0":"1330028652","file3":"1330028731"},"map_files_photo_id_array":[{"photo_id":"1330028728","filename":"file2"},{"photo_id":"1330028655","filename":"file1"},{"photo_id":"1330028652","filename":"file0"},{"photo_id":"1330028731","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330028731":["hashtag1","hashtag2"]},{"1330028728":["hashtag1","hashtag2"]},{"1330028652":["hashtag1","hashtag2"]},{"1330028655":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330028731, 1330028728, 1330028652, 1330028655)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.149057388305664 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 12:47:03.052866
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
  port_id : 19698700
  datou_current_id : 2490825
in upload_from_sqlite, uploading in 19698700
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17012025/22/16/image_17012025_22_16_02_667626_0001.jpg', '/home/pi/Desktop/images/17012025/22/16/image_17012025_22_16_02_667626_0002.jpg', '/home/pi/Desktop/images/17012025/22/16/image_17012025_22_16_02_667626_0003.jpg', '/home/pi/Desktop/images/17012025/22/17/image_17012025_22_17_02_788888_0000.jpg', '/home/pi/Desktop/images/17012025/22/17/image_17012025_22_17_02_788888_0001.jpg', '/home/pi/Desktop/images/17012025/22/17/image_17012025_22_17_02_788888_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2490825&datou=0
/home/pi/Desktop/images/17012025/22/16/image_17012025_22_16_02_667626_0001.jpg
/home/pi/Desktop/images/17012025/22/16/image_17012025_22_16_02_667626_0002.jpg
/home/pi/Desktop/images/17012025/22/16/image_17012025_22_16_02_667626_0003.jpg
/home/pi/Desktop/images/17012025/22/17/image_17012025_22_17_02_788888_0000.jpg
/home/pi/Desktop/images/17012025/22/17/image_17012025_22_17_02_788888_0001.jpg
/home/pi/Desktop/images/17012025/22/17/image_17012025_22_17_02_788888_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330028744","1330028747","1330028735","1330028749","1330028740","1330028737"],"photo_ids_order":["1330028735","1330028737","1330028740","1330028744","1330028747","1330028749"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/31d936cd6545b7b07f2468a6a5565649.jpg","text":"TemporaryFile(/tmp/multipartBody8773963572513337666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737287300439,"filename":"image_17012025_22_17_02_788888_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/3efb7f2e17b4b715dc268e7cbda18dcb.jpg","text":"TemporaryFile(/tmp/multipartBody8058105265747108425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737287300439,"filename":"image_17012025_22_17_02_788888_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/b832a17fb397b0af9dfdb675af8fa08f.jpg","text":"TemporaryFile(/tmp/multipartBody824085253245029012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737287300439,"filename":"image_17012025_22_16_02_667626_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/8f3fe728be248427bf72ea3805d717a7.jpg","text":"TemporaryFile(/tmp/multipartBody1057100429422686311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737287300439,"filename":"image_17012025_22_17_02_788888_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/62ac6b64469758287839c74d8e9ab37b.jpg","text":"TemporaryFile(/tmp/multipartBody7555606403538453190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737287300439,"filename":"image_17012025_22_16_02_667626_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/925b82708909073514f9a596f19288cd.jpg","text":"TemporaryFile(/tmp/multipartBody6502035437871298539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737287300439,"filename":"image_17012025_22_16_02_667626_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330028740","file1":"1330028737","file0":"1330028735","file4":"1330028747","file5":"1330028749","file3":"1330028744"},"map_files_photo_id_array":[{"photo_id":"1330028749","filename":"file5"},{"photo_id":"1330028740","filename":"file2"},{"photo_id":"1330028747","filename":"file4"},{"photo_id":"1330028737","filename":"file1"},{"photo_id":"1330028735","filename":"file0"},{"photo_id":"1330028744","filename":"file3"}],"portfolio_id":19698700,"hashtag_by_photo_ids":[{"1330028744":["hashtag1","hashtag2"]},{"1330028747":["hashtag1","hashtag2"]},{"1330028735":["hashtag1","hashtag2"]},{"1330028749":["hashtag1","hashtag2"]},{"1330028740":["hashtag1","hashtag2"]},{"1330028737":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698700 used, photo_id : ArrayBuffer(1330028744, 1330028747, 1330028735, 1330028749, 1330028740, 1330028737)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.92332601547241 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-19 12:48:22.664390
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/12/46/image_19012025_12_46_02_395360_0003.jpg', '/home/pi/Desktop/images/19012025/12/47/image_19012025_12_47_02_579349_0000.jpg', '/home/pi/Desktop/images/19012025/12/47/image_19012025_12_47_02_579349_0001.jpg', '/home/pi/Desktop/images/19012025/12/47/image_19012025_12_47_02_579349_0002.jpg', '/home/pi/Desktop/images/19012025/12/47/image_19012025_12_47_02_579349_0003.jpg', '/home/pi/Desktop/images/19012025/12/48/image_19012025_12_48_02_803102_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/12/46/image_19012025_12_46_02_395360_0003.jpg
/home/pi/Desktop/images/19012025/12/47/image_19012025_12_47_02_579349_0000.jpg
/home/pi/Desktop/images/19012025/12/47/image_19012025_12_47_02_579349_0001.jpg
/home/pi/Desktop/images/19012025/12/47/image_19012025_12_47_02_579349_0002.jpg
/home/pi/Desktop/images/19012025/12/47/image_19012025_12_47_02_579349_0003.jpg
/home/pi/Desktop/images/19012025/12/48/image_19012025_12_48_02_803102_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":["1330028764","1330028758","1330028790","1330028760","1330028774","1330028762"],"photo_ids_order":["1330028758","1330028760","1330028762","1330028764","1330028774","1330028790"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/ba0a8f9d0b3b8a35e0171c55e790d7d6.jpg","text":"TemporaryFile(/tmp/multipartBody1584322779380870584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737287380521,"filename":"image_19012025_12_47_02_579349_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/b2b811996f5b2ced1f4df238f6f46c9d.jpg","text":"TemporaryFile(/tmp/multipartBody5319199357010456468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737287380521,"filename":"image_19012025_12_46_02_395360_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/e74f297d0d71541b14c9122b08ef0705.jpg","text":"TemporaryFile(/tmp/multipartBody5114505632129996409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737287380521,"filename":"image_19012025_12_48_02_803102_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/14bbfe14e907665b2c125360579a62f3.jpg","text":"TemporaryFile(/tmp/multipartBody6559692762204708127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737287380521,"filename":"image_19012025_12_47_02_579349_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/8f96a30a43a13721c0b7c5b9f00a015b.jpg","text":"TemporaryFile(/tmp/multipartBody6376229283708272086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737287380521,"filename":"image_19012025_12_47_02_579349_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/673a480ca846c1c3642df4b30b94440b.jpg","text":"TemporaryFile(/tmp/multipartBody5044958701732143448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737287380521,"filename":"image_19012025_12_47_02_579349_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330028762","file1":"1330028760","file0":"1330028758","file4":"1330028774","file5":"1330028790","file3":"1330028764"},"map_files_photo_id_array":[{"photo_id":"1330028790","filename":"file5"},{"photo_id":"1330028762","filename":"file2"},{"photo_id":"1330028774","filename":"file4"},{"photo_id":"1330028760","filename":"file1"},{"photo_id":"1330028758","filename":"file0"},{"photo_id":"1330028764","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330028764":["hashtag1","hashtag2"]},{"1330028758":["hashtag1","hashtag2"]},{"1330028790":["hashtag1","hashtag2"]},{"1330028760":["hashtag1","hashtag2"]},{"1330028774":["hashtag1","hashtag2"]},{"1330028762":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330028764, 1330028758, 1330028790, 1330028760, 1330028774, 1330028762)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.04978275299072 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 12:49:22.718819
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/12/48/image_19012025_12_48_02_803102_0002.jpg', '/home/pi/Desktop/images/19012025/12/49/image_19012025_12_49_02_939070_0000.jpg', '/home/pi/Desktop/images/19012025/12/49/image_19012025_12_49_02_939070_0001.jpg', '/home/pi/Desktop/images/19012025/12/49/image_19012025_12_49_02_939070_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/12/48/image_19012025_12_48_02_803102_0002.jpg
/home/pi/Desktop/images/19012025/12/49/image_19012025_12_49_02_939070_0000.jpg
/home/pi/Desktop/images/19012025/12/49/image_19012025_12_49_02_939070_0001.jpg
/home/pi/Desktop/images/19012025/12/49/image_19012025_12_49_02_939070_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330028822","1330028819","1330028824","1330028818"],"photo_ids_order":["1330028818","1330028819","1330028822","1330028824"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/fbbbf67752f3ebbc51b31a274f4c4089.jpg","text":"TemporaryFile(/tmp/multipartBody3261965312013137880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737287434780,"filename":"image_19012025_12_49_02_939070_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/db2345fb844aea6e2790570c995ec49d.jpg","text":"TemporaryFile(/tmp/multipartBody806245194457778253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737287434780,"filename":"image_19012025_12_49_02_939070_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/fe4753ef86570fe6569b857e16bdc376.jpg","text":"TemporaryFile(/tmp/multipartBody2149470897355673886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737287434780,"filename":"image_19012025_12_49_02_939070_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/dd15f0d277fd3c916279381905d79035.jpg","text":"TemporaryFile(/tmp/multipartBody8581922958279629967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737287434780,"filename":"image_19012025_12_48_02_803102_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330028822","file1":"1330028819","file0":"1330028818","file3":"1330028824"},"map_files_photo_id_array":[{"photo_id":"1330028822","filename":"file2"},{"photo_id":"1330028819","filename":"file1"},{"photo_id":"1330028818","filename":"file0"},{"photo_id":"1330028824","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330028822":["hashtag1","hashtag2"]},{"1330028819":["hashtag1","hashtag2"]},{"1330028824":["hashtag1","hashtag2"]},{"1330028818":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330028822, 1330028819, 1330028824, 1330028818)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.381601095199585 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 12:50:22.040168
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/12/49/image_19012025_12_49_02_939070_0003.jpg', '/home/pi/Desktop/images/19012025/12/50/image_19012025_12_50_03_059069_0000.jpg', '/home/pi/Desktop/images/19012025/12/50/image_19012025_12_50_03_059069_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/12/49/image_19012025_12_49_02_939070_0003.jpg
/home/pi/Desktop/images/19012025/12/50/image_19012025_12_50_03_059069_0000.jpg
/home/pi/Desktop/images/19012025/12/50/image_19012025_12_50_03_059069_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 8.806293725967407 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-19 12:50:31.932951
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/12/49/image_19012025_12_49_02_939070_0003.jpg', '/home/pi/Desktop/images/19012025/12/50/image_19012025_12_50_03_059069_0000.jpg', '/home/pi/Desktop/images/19012025/12/50/image_19012025_12_50_03_059069_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/12/49/image_19012025_12_49_02_939070_0003.jpg
/home/pi/Desktop/images/19012025/12/50/image_19012025_12_50_03_059069_0000.jpg
/home/pi/Desktop/images/19012025/12/50/image_19012025_12_50_03_059069_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330028946","1330029263","1330028835"],"photo_ids_order":["1330028835","1330028946","1330029263"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/92ecd38cd0a486f8b00a4799ad36f5f3.jpg","text":"TemporaryFile(/tmp/multipartBody3027195359171174460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737287501149,"filename":"image_19012025_12_50_03_059069_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/110a09eb95473189e92a3c5f39c82c64.jpg","text":"TemporaryFile(/tmp/multipartBody6684105464448293838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737287501149,"filename":"image_19012025_12_50_03_059069_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/ac12e672e1b24eb39a8abcd8e245a2a6.jpg","text":"TemporaryFile(/tmp/multipartBody2181542105483454471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737287501149,"filename":"image_19012025_12_49_02_939070_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330029263","file1":"1330028946","file0":"1330028835"},"map_files_photo_id_array":[{"photo_id":"1330029263","filename":"file2"},{"photo_id":"1330028946","filename":"file1"},{"photo_id":"1330028835","filename":"file0"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330028946":["hashtag1","hashtag2"]},{"1330029263":["hashtag1","hashtag2"]},{"1330028835":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330028946, 1330029263, 1330028835)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.349801540374756 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 12:51:22.251020
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/12/50/image_19012025_12_50_03_059069_0003.jpg', '/home/pi/Desktop/images/19012025/12/51/image_19012025_12_51_02_315477_0000.jpg', '/home/pi/Desktop/images/19012025/12/51/image_19012025_12_51_02_315477_0001.jpg', '/home/pi/Desktop/images/19012025/12/51/image_19012025_12_51_02_315477_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/12/50/image_19012025_12_50_03_059069_0003.jpg
/home/pi/Desktop/images/19012025/12/51/image_19012025_12_51_02_315477_0000.jpg
/home/pi/Desktop/images/19012025/12/51/image_19012025_12_51_02_315477_0001.jpg
/home/pi/Desktop/images/19012025/12/51/image_19012025_12_51_02_315477_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330029541","1330029543","1330029546","1330029549"],"photo_ids_order":["1330029541","1330029543","1330029546","1330029549"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/a82e13f005a2caa13c0d9098e332ed1e.jpg","text":"TemporaryFile(/tmp/multipartBody3725412754689882235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737287554311,"filename":"image_19012025_12_50_03_059069_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/1bdd4600c846540f8b98c60f66c0a509.jpg","text":"TemporaryFile(/tmp/multipartBody1927209313228892851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737287554311,"filename":"image_19012025_12_51_02_315477_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/1a3f322bcaba4765b4dab693639afac6.jpg","text":"TemporaryFile(/tmp/multipartBody8343707235583276952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737287554311,"filename":"image_19012025_12_51_02_315477_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/9079caaf0108f8ce371bec2983ffe989.jpg","text":"TemporaryFile(/tmp/multipartBody5318950985713244624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737287554311,"filename":"image_19012025_12_51_02_315477_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330029546","file1":"1330029543","file0":"1330029541","file3":"1330029549"},"map_files_photo_id_array":[{"photo_id":"1330029546","filename":"file2"},{"photo_id":"1330029543","filename":"file1"},{"photo_id":"1330029541","filename":"file0"},{"photo_id":"1330029549","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330029541":["hashtag1","hashtag2"]},{"1330029543":["hashtag1","hashtag2"]},{"1330029546":["hashtag1","hashtag2"]},{"1330029549":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330029541, 1330029543, 1330029546, 1330029549)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.88503646850586 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 12:52:22.322632
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/12/51/image_19012025_12_51_02_315477_0003.jpg', '/home/pi/Desktop/images/19012025/12/52/image_19012025_12_52_02_499517_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/12/51/image_19012025_12_51_02_315477_0003.jpg
/home/pi/Desktop/images/19012025/12/52/image_19012025_12_52_02_499517_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":["1330029674","1330029677"],"photo_ids_order":["1330029674","1330029677"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/7f8c60deb7aab501bfb964cac1626eea.jpg","text":"TemporaryFile(/tmp/multipartBody4083982231727977736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737287608697,"filename":"image_19012025_12_51_02_315477_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/b58cb9b0912c37f721f02c009a805e1f.jpg","text":"TemporaryFile(/tmp/multipartBody2687457425090512220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737287608697,"filename":"image_19012025_12_52_02_499517_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1330029677","file0":"1330029674"},"map_files_photo_id_array":[{"photo_id":"1330029677","filename":"file1"},{"photo_id":"1330029674","filename":"file0"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330029674":["hashtag1","hashtag2"]},{"1330029677":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330029674, 1330029677)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 25.25464367866516 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-19 12:52:52.246260
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
  port_id : 19698700
  datou_current_id : 2490825
in upload_from_sqlite, uploading in 19698700
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17012025/22/17/image_17012025_22_17_02_788888_0003.jpg', '/home/pi/Desktop/images/17012025/22/18/image_17012025_22_18_02_970910_0000.jpg', '/home/pi/Desktop/images/17012025/22/18/image_17012025_22_18_02_970910_0001.jpg', '/home/pi/Desktop/images/17012025/22/18/image_17012025_22_18_02_970910_0002.jpg', '/home/pi/Desktop/images/17012025/22/18/image_17012025_22_18_02_970910_0003.jpg', '/home/pi/Desktop/images/17012025/22/19/image_17012025_22_19_02_146711_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2490825&datou=0
/home/pi/Desktop/images/17012025/22/17/image_17012025_22_17_02_788888_0003.jpg
/home/pi/Desktop/images/17012025/22/18/image_17012025_22_18_02_970910_0000.jpg
/home/pi/Desktop/images/17012025/22/18/image_17012025_22_18_02_970910_0001.jpg
/home/pi/Desktop/images/17012025/22/18/image_17012025_22_18_02_970910_0002.jpg
/home/pi/Desktop/images/17012025/22/18/image_17012025_22_18_02_970910_0003.jpg
/home/pi/Desktop/images/17012025/22/19/image_17012025_22_19_02_146711_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":["1330029685","1330029687","1330029692","1330029686","1330029695","1330029689"],"photo_ids_order":["1330029685","1330029686","1330029687","1330029689","1330029692","1330029695"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/6d14a86d8e9749ee50e85b364b36f745.jpg","text":"TemporaryFile(/tmp/multipartBody353543230150826467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737287649213,"filename":"image_17012025_22_17_02_788888_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/0f6acac855c39d4607c8c2b6540f8dce.jpg","text":"TemporaryFile(/tmp/multipartBody7378114482043997977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737287649213,"filename":"image_17012025_22_18_02_970910_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/9f22b00b89780ff86fb36dc2075ffaff.jpg","text":"TemporaryFile(/tmp/multipartBody5820328327968991410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737287649213,"filename":"image_17012025_22_18_02_970910_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/c07f651a5a6b81d0febc76579a1b486e.jpg","text":"TemporaryFile(/tmp/multipartBody7057480233275213358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737287649213,"filename":"image_17012025_22_18_02_970910_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/06b4cc0fcab73fb51ae4321bb8d9ffb7.jpg","text":"TemporaryFile(/tmp/multipartBody5965821917003389027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737287649213,"filename":"image_17012025_22_19_02_146711_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/2e61d41b8558d18657bfbb4a604ab0ca.jpg","text":"TemporaryFile(/tmp/multipartBody5215966297048860932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737287649213,"filename":"image_17012025_22_18_02_970910_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330029687","file1":"1330029686","file0":"1330029685","file4":"1330029692","file5":"1330029695","file3":"1330029689"},"map_files_photo_id_array":[{"photo_id":"1330029695","filename":"file5"},{"photo_id":"1330029687","filename":"file2"},{"photo_id":"1330029692","filename":"file4"},{"photo_id":"1330029686","filename":"file1"},{"photo_id":"1330029685","filename":"file0"},{"photo_id":"1330029689","filename":"file3"}],"portfolio_id":19698700,"hashtag_by_photo_ids":[{"1330029685":["hashtag1","hashtag2"]},{"1330029687":["hashtag1","hashtag2"]},{"1330029692":["hashtag1","hashtag2"]},{"1330029686":["hashtag1","hashtag2"]},{"1330029695":["hashtag1","hashtag2"]},{"1330029689":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698700 used, photo_id : ArrayBuffer(1330029685, 1330029687, 1330029692, 1330029686, 1330029695, 1330029689)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.467297077178955 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-19 12:53:52.464627
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/12/52/image_19012025_12_52_02_499517_0003.jpg', '/home/pi/Desktop/images/19012025/12/53/image_19012025_12_53_02_645490_0000.jpg', '/home/pi/Desktop/images/19012025/12/53/image_19012025_12_53_02_645490_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/12/52/image_19012025_12_52_02_499517_0003.jpg
/home/pi/Desktop/images/19012025/12/53/image_19012025_12_53_02_645490_0000.jpg
/home/pi/Desktop/images/19012025/12/53/image_19012025_12_53_02_645490_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":["1330029700","1330029703","1330029702"],"photo_ids_order":["1330029700","1330029702","1330029703"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/524eaf9e30ec9d5b5c735018cb6eb8ca.jpg","text":"TemporaryFile(/tmp/multipartBody3574338417050539787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737287701707,"filename":"image_19012025_12_52_02_499517_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/e60d16d50c8403c7044e9b7cf43f1607.jpg","text":"TemporaryFile(/tmp/multipartBody452921464962195805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737287701707,"filename":"image_19012025_12_53_02_645490_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/b60113a1bb58a652fd2a1bb37b73b417.jpg","text":"TemporaryFile(/tmp/multipartBody6258876667354967639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737287701707,"filename":"image_19012025_12_53_02_645490_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330029703","file1":"1330029702","file0":"1330029700"},"map_files_photo_id_array":[{"photo_id":"1330029703","filename":"file2"},{"photo_id":"1330029702","filename":"file1"},{"photo_id":"1330029700","filename":"file0"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330029700":["hashtag1","hashtag2"]},{"1330029703":["hashtag1","hashtag2"]},{"1330029702":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330029700, 1330029703, 1330029702)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 32.08412456512451 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-19 12:54:32.646554
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/12/53/image_19012025_12_53_02_645490_0003.jpg', '/home/pi/Desktop/images/19012025/12/54/image_19012025_12_54_02_852366_0000.jpg', '/home/pi/Desktop/images/19012025/12/54/image_19012025_12_54_02_852366_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/12/53/image_19012025_12_53_02_645490_0003.jpg
/home/pi/Desktop/images/19012025/12/54/image_19012025_12_54_02_852366_0000.jpg
/home/pi/Desktop/images/19012025/12/54/image_19012025_12_54_02_852366_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":["1330029714","1330029717","1330029710"],"photo_ids_order":["1330029710","1330029714","1330029717"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/3366c0493b86c017ce76cf54cd5a8756.jpg","text":"TemporaryFile(/tmp/multipartBody6081248627378698187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737287741846,"filename":"image_19012025_12_54_02_852366_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/51525c1b256b8f1cc87bbd60f52dfebf.jpg","text":"TemporaryFile(/tmp/multipartBody2720162358641901805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737287741846,"filename":"image_19012025_12_54_02_852366_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/36df39140838d20981c7c7e03fdba46c.jpg","text":"TemporaryFile(/tmp/multipartBody4036622301124265624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737287741846,"filename":"image_19012025_12_53_02_645490_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330029717","file1":"1330029714","file0":"1330029710"},"map_files_photo_id_array":[{"photo_id":"1330029717","filename":"file2"},{"photo_id":"1330029714","filename":"file1"},{"photo_id":"1330029710","filename":"file0"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330029714":["hashtag1","hashtag2"]},{"1330029717":["hashtag1","hashtag2"]},{"1330029710":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330029714, 1330029717, 1330029710)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 32.187785625457764 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 12:55:21.958020
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/12/54/image_19012025_12_54_02_852366_0002.jpg', '/home/pi/Desktop/images/19012025/12/55/image_19012025_12_55_03_000004_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/12/54/image_19012025_12_54_02_852366_0002.jpg
/home/pi/Desktop/images/19012025/12/55/image_19012025_12_55_03_000004_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":["1330029726","1330029728"],"photo_ids_order":["1330029726","1330029728"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/4e6dbebe757ad753e4eb40b537848b4d.jpg","text":"TemporaryFile(/tmp/multipartBody3904162454326280965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737287788310,"filename":"image_19012025_12_54_02_852366_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/2b334bcf4e60c0f89b8d9c0edeab2346.jpg","text":"TemporaryFile(/tmp/multipartBody2510901972643704221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737287788310,"filename":"image_19012025_12_55_03_000004_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1330029728","file0":"1330029726"},"map_files_photo_id_array":[{"photo_id":"1330029728","filename":"file1"},{"photo_id":"1330029726","filename":"file0"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330029726":["hashtag1","hashtag2"]},{"1330029728":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330029726, 1330029728)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 23.81211805343628 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-19 12:55:51.915191
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
  port_id : 19698700
  datou_current_id : 2490825
in upload_from_sqlite, uploading in 19698700
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17012025/22/19/image_17012025_22_19_02_146711_0001.jpg', '/home/pi/Desktop/images/17012025/22/19/image_17012025_22_19_02_146711_0002.jpg', '/home/pi/Desktop/images/17012025/22/19/image_17012025_22_19_02_146711_0003.jpg', '/home/pi/Desktop/images/17012025/22/20/image_17012025_22_20_02_322336_0000.jpg', '/home/pi/Desktop/images/17012025/22/20/image_17012025_22_20_02_322336_0001.jpg', '/home/pi/Desktop/images/17012025/22/20/image_17012025_22_20_02_322336_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2490825&datou=0
/home/pi/Desktop/images/17012025/22/19/image_17012025_22_19_02_146711_0001.jpg
/home/pi/Desktop/images/17012025/22/19/image_17012025_22_19_02_146711_0002.jpg
/home/pi/Desktop/images/17012025/22/19/image_17012025_22_19_02_146711_0003.jpg
/home/pi/Desktop/images/17012025/22/20/image_17012025_22_20_02_322336_0000.jpg
/home/pi/Desktop/images/17012025/22/20/image_17012025_22_20_02_322336_0001.jpg
/home/pi/Desktop/images/17012025/22/20/image_17012025_22_20_02_322336_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 16.34950828552246 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 12:56:22.104990
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/12/55/image_19012025_12_55_03_000004_0001.jpg', '/home/pi/Desktop/images/19012025/12/56/image_19012025_12_56_02_285665_0000.jpg', '/home/pi/Desktop/images/19012025/12/56/image_19012025_12_56_02_285665_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/12/55/image_19012025_12_55_03_000004_0001.jpg
/home/pi/Desktop/images/19012025/12/56/image_19012025_12_56_02_285665_0000.jpg
/home/pi/Desktop/images/19012025/12/56/image_19012025_12_56_02_285665_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330029751","1330029748","1330029744"],"photo_ids_order":["1330029744","1330029748","1330029751"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/574c442494930d225410999607131eed.jpg","text":"TemporaryFile(/tmp/multipartBody3163609153436124762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737287851316,"filename":"image_19012025_12_56_02_285665_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/fdc6439c7eec001e4082718a3d60753c.jpg","text":"TemporaryFile(/tmp/multipartBody1969726827790671526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737287851316,"filename":"image_19012025_12_56_02_285665_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/95fed3bf271ec0000c0da9e95f62af90.jpg","text":"TemporaryFile(/tmp/multipartBody8000974253955449386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737287851316,"filename":"image_19012025_12_55_03_000004_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330029751","file1":"1330029748","file0":"1330029744"},"map_files_photo_id_array":[{"photo_id":"1330029751","filename":"file2"},{"photo_id":"1330029748","filename":"file1"},{"photo_id":"1330029744","filename":"file0"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330029751":["hashtag1","hashtag2"]},{"1330029748":["hashtag1","hashtag2"]},{"1330029744":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330029751, 1330029748, 1330029744)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.70181393623352 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 12:57:02.888071
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
  port_id : 19698700
  datou_current_id : 2490825
in upload_from_sqlite, uploading in 19698700
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17012025/22/19/image_17012025_22_19_02_146711_0001.jpg', '/home/pi/Desktop/images/17012025/22/19/image_17012025_22_19_02_146711_0002.jpg', '/home/pi/Desktop/images/17012025/22/19/image_17012025_22_19_02_146711_0003.jpg', '/home/pi/Desktop/images/17012025/22/20/image_17012025_22_20_02_322336_0000.jpg', '/home/pi/Desktop/images/17012025/22/20/image_17012025_22_20_02_322336_0001.jpg', '/home/pi/Desktop/images/17012025/22/20/image_17012025_22_20_02_322336_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2490825&datou=0
/home/pi/Desktop/images/17012025/22/19/image_17012025_22_19_02_146711_0001.jpg
/home/pi/Desktop/images/17012025/22/19/image_17012025_22_19_02_146711_0002.jpg
/home/pi/Desktop/images/17012025/22/19/image_17012025_22_19_02_146711_0003.jpg
/home/pi/Desktop/images/17012025/22/20/image_17012025_22_20_02_322336_0000.jpg
/home/pi/Desktop/images/17012025/22/20/image_17012025_22_20_02_322336_0001.jpg
/home/pi/Desktop/images/17012025/22/20/image_17012025_22_20_02_322336_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 16.41082525253296 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 12:57:22.364661
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/12/56/image_19012025_12_56_02_285665_0003.jpg', '/home/pi/Desktop/images/19012025/12/57/image_19012025_12_57_02_478986_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/12/56/image_19012025_12_56_02_285665_0003.jpg
/home/pi/Desktop/images/19012025/12/57/image_19012025_12_57_02_478986_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":["1330029764","1330029761"],"photo_ids_order":["1330029761","1330029764"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/0c410196e20fbd018d43911f65f4c8d1.jpg","text":"TemporaryFile(/tmp/multipartBody2418645126238719605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737287908715,"filename":"image_19012025_12_57_02_478986_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/134b8ac3534e02af37fe01f5bc648a84.jpg","text":"TemporaryFile(/tmp/multipartBody8624956888864643264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737287908715,"filename":"image_19012025_12_56_02_285665_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1330029764","file0":"1330029761"},"map_files_photo_id_array":[{"photo_id":"1330029764","filename":"file1"},{"photo_id":"1330029761","filename":"file0"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330029764":["hashtag1","hashtag2"]},{"1330029761":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330029764, 1330029761)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 22.77204203605652 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-19 12:57:52.312959
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
  port_id : 19698700
  datou_current_id : 2490825
in upload_from_sqlite, uploading in 19698700
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17012025/22/19/image_17012025_22_19_02_146711_0001.jpg', '/home/pi/Desktop/images/17012025/22/19/image_17012025_22_19_02_146711_0002.jpg', '/home/pi/Desktop/images/17012025/22/19/image_17012025_22_19_02_146711_0003.jpg', '/home/pi/Desktop/images/17012025/22/20/image_17012025_22_20_02_322336_0000.jpg', '/home/pi/Desktop/images/17012025/22/20/image_17012025_22_20_02_322336_0001.jpg', '/home/pi/Desktop/images/17012025/22/20/image_17012025_22_20_02_322336_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2490825&datou=0
/home/pi/Desktop/images/17012025/22/19/image_17012025_22_19_02_146711_0001.jpg
/home/pi/Desktop/images/17012025/22/19/image_17012025_22_19_02_146711_0002.jpg
/home/pi/Desktop/images/17012025/22/19/image_17012025_22_19_02_146711_0003.jpg
/home/pi/Desktop/images/17012025/22/20/image_17012025_22_20_02_322336_0000.jpg
/home/pi/Desktop/images/17012025/22/20/image_17012025_22_20_02_322336_0001.jpg
/home/pi/Desktop/images/17012025/22/20/image_17012025_22_20_02_322336_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-19 12:59:03.354901
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/12/57/image_19012025_12_57_02_478986_0003.jpg', '/home/pi/Desktop/images/19012025/12/58/image_19012025_12_58_02_613912_0000.jpg', '/home/pi/Desktop/images/19012025/12/58/image_19012025_12_58_02_613912_0001.jpg', '/home/pi/Desktop/images/19012025/12/58/image_19012025_12_58_02_613912_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/12/57/image_19012025_12_57_02_478986_0003.jpg
/home/pi/Desktop/images/19012025/12/58/image_19012025_12_58_02_613912_0000.jpg
/home/pi/Desktop/images/19012025/12/58/image_19012025_12_58_02_613912_0001.jpg
/home/pi/Desktop/images/19012025/12/58/image_19012025_12_58_02_613912_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330029796","1330029798","1330029791","1330029794"],"photo_ids_order":["1330029791","1330029794","1330029796","1330029798"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/2400b5f4e2c17e12f2dd027b05ee6603.jpg","text":"TemporaryFile(/tmp/multipartBody2649241792651700293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737288015460,"filename":"image_19012025_12_58_02_613912_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/35776847108a60b8c72722b608b9f29f.jpg","text":"TemporaryFile(/tmp/multipartBody7288940686768032963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737288015460,"filename":"image_19012025_12_58_02_613912_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/ff001114ecb42482fdff4803496f7524.jpg","text":"TemporaryFile(/tmp/multipartBody6447315242526279283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737288015460,"filename":"image_19012025_12_57_02_478986_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/e4dfca931bbfcb36fa4fb50d1f93ee7c.jpg","text":"TemporaryFile(/tmp/multipartBody6159091419618232231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737288015460,"filename":"image_19012025_12_58_02_613912_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330029796","file1":"1330029794","file0":"1330029791","file3":"1330029798"},"map_files_photo_id_array":[{"photo_id":"1330029796","filename":"file2"},{"photo_id":"1330029794","filename":"file1"},{"photo_id":"1330029791","filename":"file0"},{"photo_id":"1330029798","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330029796":["hashtag1","hashtag2"]},{"1330029798":["hashtag1","hashtag2"]},{"1330029791":["hashtag1","hashtag2"]},{"1330029794":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330029796, 1330029798, 1330029791, 1330029794)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.86235427856445 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-19 12:59:52.701256
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/12/58/image_19012025_12_58_02_613912_0003.jpg', '/home/pi/Desktop/images/19012025/12/59/image_19012025_12_59_02_842021_0000.jpg', '/home/pi/Desktop/images/19012025/12/59/image_19012025_12_59_02_842021_0001.jpg', '/home/pi/Desktop/images/19012025/12/59/image_19012025_12_59_02_842021_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/12/58/image_19012025_12_58_02_613912_0003.jpg
/home/pi/Desktop/images/19012025/12/59/image_19012025_12_59_02_842021_0000.jpg
/home/pi/Desktop/images/19012025/12/59/image_19012025_12_59_02_842021_0001.jpg
/home/pi/Desktop/images/19012025/12/59/image_19012025_12_59_02_842021_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330030634","1330030636","1330030635","1330030329"],"photo_ids_order":["1330030329","1330030634","1330030635","1330030636"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/29031d1d4c1bf80442ac25ff9f3dd4dd.jpg","text":"TemporaryFile(/tmp/multipartBody6971716866076422977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737288064724,"filename":"image_19012025_12_59_02_842021_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/58717e8dd025d8bd90e2502ff3615dc7.jpg","text":"TemporaryFile(/tmp/multipartBody6577826351320538494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737288064724,"filename":"image_19012025_12_59_02_842021_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/2fec4f75345d6addeca96f8a3e564668.jpg","text":"TemporaryFile(/tmp/multipartBody7131899762391236823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737288064724,"filename":"image_19012025_12_59_02_842021_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/88f318d469ddad58e906fc982b20ebaf.jpg","text":"TemporaryFile(/tmp/multipartBody8098641287122486262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737288064724,"filename":"image_19012025_12_58_02_613912_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330030635","file1":"1330030634","file0":"1330030329","file3":"1330030636"},"map_files_photo_id_array":[{"photo_id":"1330030635","filename":"file2"},{"photo_id":"1330030634","filename":"file1"},{"photo_id":"1330030329","filename":"file0"},{"photo_id":"1330030636","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330030634":["hashtag1","hashtag2"]},{"1330030636":["hashtag1","hashtag2"]},{"1330030635":["hashtag1","hashtag2"]},{"1330030329":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330030634, 1330030636, 1330030635, 1330030329)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.11863970756531 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-19 13:00:41.933290
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/12/59/image_19012025_12_59_02_842021_0003.jpg', '/home/pi/Desktop/images/19012025/13/00/image_19012025_13_00_03_081057_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/12/59/image_19012025_12_59_02_842021_0003.jpg
/home/pi/Desktop/images/19012025/13/00/image_19012025_13_00_03_081057_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":["1330030644","1330030685"],"photo_ids_order":["1330030644","1330030685"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/da498a0310e3e3565b18c19e370d7d4f.jpg","text":"TemporaryFile(/tmp/multipartBody41572051768964426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737288108285,"filename":"image_19012025_12_59_02_842021_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/137d2f59afc744aa155076b9c03fc784.jpg","text":"TemporaryFile(/tmp/multipartBody7267054200479232945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737288108285,"filename":"image_19012025_13_00_03_081057_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1330030685","file0":"1330030644"},"map_files_photo_id_array":[{"photo_id":"1330030685","filename":"file1"},{"photo_id":"1330030644","filename":"file0"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330030644":["hashtag1","hashtag2"]},{"1330030685":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330030644, 1330030685)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 23.27540683746338 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 13:01:22.178405
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/13/00/image_19012025_13_00_03_081057_0003.jpg', '/home/pi/Desktop/images/19012025/13/01/image_19012025_13_01_02_249212_0000.jpg', '/home/pi/Desktop/images/19012025/13/01/image_19012025_13_01_02_249212_0001.jpg', '/home/pi/Desktop/images/19012025/13/01/image_19012025_13_01_02_249212_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/13/00/image_19012025_13_00_03_081057_0003.jpg
/home/pi/Desktop/images/19012025/13/01/image_19012025_13_01_02_249212_0000.jpg
/home/pi/Desktop/images/19012025/13/01/image_19012025_13_01_02_249212_0001.jpg
/home/pi/Desktop/images/19012025/13/01/image_19012025_13_01_02_249212_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330030946","1330030966","1330030951","1330030943"],"photo_ids_order":["1330030943","1330030946","1330030951","1330030966"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/97554ee9d4795d3751f36688553e49d1.jpg","text":"TemporaryFile(/tmp/multipartBody4210841155352075179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737288153607,"filename":"image_19012025_13_01_02_249212_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/3f95d9204e4af26aeb79a6519ad95641.jpg","text":"TemporaryFile(/tmp/multipartBody8963575562544097457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737288153607,"filename":"image_19012025_13_01_02_249212_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/952f03bcf5e3b726f7dc3bf6665f400f.jpg","text":"TemporaryFile(/tmp/multipartBody4204322341329526252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737288153607,"filename":"image_19012025_13_01_02_249212_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/d71d194a43d19cdcbad47c17603a69da.jpg","text":"TemporaryFile(/tmp/multipartBody1519791734398095426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737288153607,"filename":"image_19012025_13_00_03_081057_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330030951","file1":"1330030946","file0":"1330030943","file3":"1330030966"},"map_files_photo_id_array":[{"photo_id":"1330030951","filename":"file2"},{"photo_id":"1330030946","filename":"file1"},{"photo_id":"1330030943","filename":"file0"},{"photo_id":"1330030966","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330030946":["hashtag1","hashtag2"]},{"1330030966":["hashtag1","hashtag2"]},{"1330030951":["hashtag1","hashtag2"]},{"1330030943":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330030946, 1330030966, 1330030951, 1330030943)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.47331690788269 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 13:02:22.371810
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/13/01/image_19012025_13_01_02_249212_0003.jpg', '/home/pi/Desktop/images/19012025/13/02/image_19012025_13_02_02_565747_0000.jpg', '/home/pi/Desktop/images/19012025/13/02/image_19012025_13_02_02_565747_0001.jpg', '/home/pi/Desktop/images/19012025/13/02/image_19012025_13_02_02_565747_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/13/01/image_19012025_13_01_02_249212_0003.jpg
/home/pi/Desktop/images/19012025/13/02/image_19012025_13_02_02_565747_0000.jpg
/home/pi/Desktop/images/19012025/13/02/image_19012025_13_02_02_565747_0001.jpg
/home/pi/Desktop/images/19012025/13/02/image_19012025_13_02_02_565747_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330031023","1330031032","1330031030","1330031027"],"photo_ids_order":["1330031023","1330031027","1330031030","1330031032"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/87c0932a5ce5fe46f4eece0a43f9a7d6.jpg","text":"TemporaryFile(/tmp/multipartBody4759939055635755675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737288214509,"filename":"image_19012025_13_01_02_249212_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/5b45afb68994e92b559c9602c93c1e0f.jpg","text":"TemporaryFile(/tmp/multipartBody1313898227612203203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737288214509,"filename":"image_19012025_13_02_02_565747_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/c7cff6ff8c6c43a56ef61dfad72b134c.jpg","text":"TemporaryFile(/tmp/multipartBody2715516813953868232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737288214509,"filename":"image_19012025_13_02_02_565747_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/b72fae51580a1d23654e3b4bd0acfab2.jpg","text":"TemporaryFile(/tmp/multipartBody2079515379358944610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737288214509,"filename":"image_19012025_13_02_02_565747_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330031030","file1":"1330031027","file0":"1330031023","file3":"1330031032"},"map_files_photo_id_array":[{"photo_id":"1330031030","filename":"file2"},{"photo_id":"1330031027","filename":"file1"},{"photo_id":"1330031023","filename":"file0"},{"photo_id":"1330031032","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330031023":["hashtag1","hashtag2"]},{"1330031032":["hashtag1","hashtag2"]},{"1330031030":["hashtag1","hashtag2"]},{"1330031027":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330031023, 1330031032, 1330031030, 1330031027)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.06626296043396 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 13:03:22.556465
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/13/02/image_19012025_13_02_02_565747_0003.jpg', '/home/pi/Desktop/images/19012025/13/03/image_19012025_13_03_02_767539_0000.jpg', '/home/pi/Desktop/images/19012025/13/03/image_19012025_13_03_02_767539_0001.jpg', '/home/pi/Desktop/images/19012025/13/03/image_19012025_13_03_02_767539_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/13/02/image_19012025_13_02_02_565747_0003.jpg
/home/pi/Desktop/images/19012025/13/03/image_19012025_13_03_02_767539_0000.jpg
/home/pi/Desktop/images/19012025/13/03/image_19012025_13_03_02_767539_0001.jpg
/home/pi/Desktop/images/19012025/13/03/image_19012025_13_03_02_767539_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330031041","1330031043","1330031037","1330031039"],"photo_ids_order":["1330031037","1330031039","1330031041","1330031043"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/82a5d72fc5a60b7cb7eaa0cbf26dac1b.jpg","text":"TemporaryFile(/tmp/multipartBody8817843047686161683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737288274164,"filename":"image_19012025_13_03_02_767539_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/1000acdecbd0e02b4a30e938521ce177.jpg","text":"TemporaryFile(/tmp/multipartBody6307248796942001987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737288274164,"filename":"image_19012025_13_03_02_767539_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/bde24e059d2f2f648ef063d031015094.jpg","text":"TemporaryFile(/tmp/multipartBody8518762112452324152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737288274164,"filename":"image_19012025_13_02_02_565747_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/69d07fb278dca8e7ef94cbc0d6ccc09c.jpg","text":"TemporaryFile(/tmp/multipartBody6104575952153257640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737288274164,"filename":"image_19012025_13_03_02_767539_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330031041","file1":"1330031039","file0":"1330031037","file3":"1330031043"},"map_files_photo_id_array":[{"photo_id":"1330031041","filename":"file2"},{"photo_id":"1330031039","filename":"file1"},{"photo_id":"1330031037","filename":"file0"},{"photo_id":"1330031043","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330031041":["hashtag1","hashtag2"]},{"1330031043":["hashtag1","hashtag2"]},{"1330031037":["hashtag1","hashtag2"]},{"1330031039":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330031041, 1330031043, 1330031037, 1330031039)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.00622630119324 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 13:04:22.790113
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/13/03/image_19012025_13_03_02_767539_0003.jpg', '/home/pi/Desktop/images/19012025/13/04/image_19012025_13_04_02_912256_0000.jpg', '/home/pi/Desktop/images/19012025/13/04/image_19012025_13_04_02_912256_0001.jpg', '/home/pi/Desktop/images/19012025/13/04/image_19012025_13_04_02_912256_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/13/03/image_19012025_13_03_02_767539_0003.jpg
/home/pi/Desktop/images/19012025/13/04/image_19012025_13_04_02_912256_0000.jpg
/home/pi/Desktop/images/19012025/13/04/image_19012025_13_04_02_912256_0001.jpg
/home/pi/Desktop/images/19012025/13/04/image_19012025_13_04_02_912256_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330031227","1330031224","1330031234","1330031231"],"photo_ids_order":["1330031224","1330031227","1330031231","1330031234"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/ac8192f66682ae56ba478b52fd7fb916.jpg","text":"TemporaryFile(/tmp/multipartBody1205076104253776986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737288334515,"filename":"image_19012025_13_04_02_912256_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/963293e835f6ddb69d00b779b5ae4c9c.jpg","text":"TemporaryFile(/tmp/multipartBody7125778325052510247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737288334515,"filename":"image_19012025_13_03_02_767539_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/f8d41841fb03a19a806ab47a8731d3d5.jpg","text":"TemporaryFile(/tmp/multipartBody5043849915981077114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737288334515,"filename":"image_19012025_13_04_02_912256_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/35dc405b879469363e9ac98fa8ef4430.jpg","text":"TemporaryFile(/tmp/multipartBody6442215583505594264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737288334515,"filename":"image_19012025_13_04_02_912256_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330031231","file1":"1330031227","file0":"1330031224","file3":"1330031234"},"map_files_photo_id_array":[{"photo_id":"1330031231","filename":"file2"},{"photo_id":"1330031227","filename":"file1"},{"photo_id":"1330031224","filename":"file0"},{"photo_id":"1330031234","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330031227":["hashtag1","hashtag2"]},{"1330031224":["hashtag1","hashtag2"]},{"1330031234":["hashtag1","hashtag2"]},{"1330031231":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330031227, 1330031224, 1330031234, 1330031231)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.48871326446533 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 13:05:21.973870
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/13/04/image_19012025_13_04_02_912256_0003.jpg', '/home/pi/Desktop/images/19012025/13/05/image_19012025_13_05_03_073289_0000.jpg', '/home/pi/Desktop/images/19012025/13/05/image_19012025_13_05_03_073289_0001.jpg', '/home/pi/Desktop/images/19012025/13/05/image_19012025_13_05_03_073289_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/13/04/image_19012025_13_04_02_912256_0003.jpg
/home/pi/Desktop/images/19012025/13/05/image_19012025_13_05_03_073289_0000.jpg
/home/pi/Desktop/images/19012025/13/05/image_19012025_13_05_03_073289_0001.jpg
/home/pi/Desktop/images/19012025/13/05/image_19012025_13_05_03_073289_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330032073","1330031245","1330031743","1330031351"],"photo_ids_order":["1330031245","1330031351","1330031743","1330032073"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/0037f782efad160114a9b4f8181b5029.jpg","text":"TemporaryFile(/tmp/multipartBody2084948820666126740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737288393799,"filename":"image_19012025_13_05_03_073289_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/867a6b60bd95d8255179abb98a425a98.jpg","text":"TemporaryFile(/tmp/multipartBody7685327168858989905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737288393799,"filename":"image_19012025_13_04_02_912256_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/31bb2e61f6273f6b3c418946d81c81ee.jpg","text":"TemporaryFile(/tmp/multipartBody7371600241393220555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737288393799,"filename":"image_19012025_13_05_03_073289_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/5f996dbee566d7bb06367addd135b610.jpg","text":"TemporaryFile(/tmp/multipartBody4213978999050591326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737288393799,"filename":"image_19012025_13_05_03_073289_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330031743","file1":"1330031351","file0":"1330031245","file3":"1330032073"},"map_files_photo_id_array":[{"photo_id":"1330031743","filename":"file2"},{"photo_id":"1330031351","filename":"file1"},{"photo_id":"1330031245","filename":"file0"},{"photo_id":"1330032073","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330032073":["hashtag1","hashtag2"]},{"1330031245":["hashtag1","hashtag2"]},{"1330031743":["hashtag1","hashtag2"]},{"1330031351":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330032073, 1330031245, 1330031743, 1330031351)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.61014795303345 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-19 13:06:22.124936
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/13/05/image_19012025_13_05_03_073289_0003.jpg', '/home/pi/Desktop/images/19012025/13/06/image_19012025_13_06_02_325714_0000.jpg', '/home/pi/Desktop/images/19012025/13/06/image_19012025_13_06_02_325714_0001.jpg', '/home/pi/Desktop/images/19012025/13/06/image_19012025_13_06_02_325714_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/13/05/image_19012025_13_05_03_073289_0003.jpg
/home/pi/Desktop/images/19012025/13/06/image_19012025_13_06_02_325714_0000.jpg
/home/pi/Desktop/images/19012025/13/06/image_19012025_13_06_02_325714_0001.jpg
/home/pi/Desktop/images/19012025/13/06/image_19012025_13_06_02_325714_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330032462","1330032459","1330032455","1330032452"],"photo_ids_order":["1330032452","1330032455","1330032459","1330032462"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/3c55516af769191df74f337de689e4b8.jpg","text":"TemporaryFile(/tmp/multipartBody5520500751761290846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737288454072,"filename":"image_19012025_13_06_02_325714_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/e9e293a8ee1b6192cecc49f1ff198edd.jpg","text":"TemporaryFile(/tmp/multipartBody1021746508051103418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737288454072,"filename":"image_19012025_13_06_02_325714_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/63671ff473aa4b266bf00d5e37a56a55.jpg","text":"TemporaryFile(/tmp/multipartBody8077410037950837201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737288454072,"filename":"image_19012025_13_06_02_325714_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/8956a66e7bc82137452f7500f059f805.jpg","text":"TemporaryFile(/tmp/multipartBody3046593257941562987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737288454072,"filename":"image_19012025_13_05_03_073289_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330032459","file1":"1330032455","file0":"1330032452","file3":"1330032462"},"map_files_photo_id_array":[{"photo_id":"1330032459","filename":"file2"},{"photo_id":"1330032455","filename":"file1"},{"photo_id":"1330032452","filename":"file0"},{"photo_id":"1330032462","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330032462":["hashtag1","hashtag2"]},{"1330032459":["hashtag1","hashtag2"]},{"1330032455":["hashtag1","hashtag2"]},{"1330032452":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330032462, 1330032459, 1330032455, 1330032452)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.57752561569214 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 13:07:22.299285
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/13/06/image_19012025_13_06_02_325714_0003.jpg', '/home/pi/Desktop/images/19012025/13/07/image_19012025_13_07_02_515466_0000.jpg', '/home/pi/Desktop/images/19012025/13/07/image_19012025_13_07_02_515466_0001.jpg', '/home/pi/Desktop/images/19012025/13/07/image_19012025_13_07_02_515466_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/13/06/image_19012025_13_06_02_325714_0003.jpg
/home/pi/Desktop/images/19012025/13/07/image_19012025_13_07_02_515466_0000.jpg
/home/pi/Desktop/images/19012025/13/07/image_19012025_13_07_02_515466_0001.jpg
/home/pi/Desktop/images/19012025/13/07/image_19012025_13_07_02_515466_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330032922","1330032974","1330032947","1330032553"],"photo_ids_order":["1330032553","1330032922","1330032947","1330032974"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/5326d250cd0cc121d1c0be73fff75ef6.jpg","text":"TemporaryFile(/tmp/multipartBody7931140947169816123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737288513839,"filename":"image_19012025_13_07_02_515466_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/88a32fdcfeaca992abaa06df6fdd1f62.jpg","text":"TemporaryFile(/tmp/multipartBody4126548895400821274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737288513839,"filename":"image_19012025_13_07_02_515466_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/5f49c08e7fa0284c043de32d0a65bba0.jpg","text":"TemporaryFile(/tmp/multipartBody7771093343217252935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737288513839,"filename":"image_19012025_13_07_02_515466_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/67e5501cfa7464ea30498b9aa08b8b33.jpg","text":"TemporaryFile(/tmp/multipartBody1747812469868616734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737288513839,"filename":"image_19012025_13_06_02_325714_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330032947","file1":"1330032922","file0":"1330032553","file3":"1330032974"},"map_files_photo_id_array":[{"photo_id":"1330032947","filename":"file2"},{"photo_id":"1330032922","filename":"file1"},{"photo_id":"1330032553","filename":"file0"},{"photo_id":"1330032974","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330032922":["hashtag1","hashtag2"]},{"1330032974":["hashtag1","hashtag2"]},{"1330032947":["hashtag1","hashtag2"]},{"1330032553":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330032922, 1330032974, 1330032947, 1330032553)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.200188636779785 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 13:08:02.839307
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
  port_id : 19698700
  datou_current_id : 2490825
in upload_from_sqlite, uploading in 19698700
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17012025/22/19/image_17012025_22_19_02_146711_0001.jpg', '/home/pi/Desktop/images/17012025/22/19/image_17012025_22_19_02_146711_0002.jpg', '/home/pi/Desktop/images/17012025/22/19/image_17012025_22_19_02_146711_0003.jpg', '/home/pi/Desktop/images/17012025/22/20/image_17012025_22_20_02_322336_0000.jpg', '/home/pi/Desktop/images/17012025/22/20/image_17012025_22_20_02_322336_0001.jpg', '/home/pi/Desktop/images/17012025/22/20/image_17012025_22_20_02_322336_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2490825&datou=0
/home/pi/Desktop/images/17012025/22/19/image_17012025_22_19_02_146711_0001.jpg
/home/pi/Desktop/images/17012025/22/19/image_17012025_22_19_02_146711_0002.jpg
/home/pi/Desktop/images/17012025/22/19/image_17012025_22_19_02_146711_0003.jpg
/home/pi/Desktop/images/17012025/22/20/image_17012025_22_20_02_322336_0000.jpg
/home/pi/Desktop/images/17012025/22/20/image_17012025_22_20_02_322336_0001.jpg
/home/pi/Desktop/images/17012025/22/20/image_17012025_22_20_02_322336_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 16.2719566822052 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 13:08:22.518171
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/13/07/image_19012025_13_07_02_515466_0003.jpg', '/home/pi/Desktop/images/19012025/13/08/image_19012025_13_08_02_611140_0000.jpg', '/home/pi/Desktop/images/19012025/13/08/image_19012025_13_08_02_611140_0001.jpg', '/home/pi/Desktop/images/19012025/13/08/image_19012025_13_08_02_611140_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/13/07/image_19012025_13_07_02_515466_0003.jpg
/home/pi/Desktop/images/19012025/13/08/image_19012025_13_08_02_611140_0000.jpg
/home/pi/Desktop/images/19012025/13/08/image_19012025_13_08_02_611140_0001.jpg
/home/pi/Desktop/images/19012025/13/08/image_19012025_13_08_02_611140_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330033071","1330033076","1330033067","1330033078"],"photo_ids_order":["1330033067","1330033071","1330033076","1330033078"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/d6ebbb748bf56f963f3b3d916b6125f1.jpg","text":"TemporaryFile(/tmp/multipartBody7721087739523857683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737288574004,"filename":"image_19012025_13_08_02_611140_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/95e2df47d412bcd4fc69ca33468c9804.jpg","text":"TemporaryFile(/tmp/multipartBody8134110087382258843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737288574004,"filename":"image_19012025_13_08_02_611140_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/d0db77d3ff378f00e10041c3879306c9.jpg","text":"TemporaryFile(/tmp/multipartBody8620862716387527718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737288574004,"filename":"image_19012025_13_07_02_515466_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/afb1f6b4acd0b8de122b7a14ada53579.jpg","text":"TemporaryFile(/tmp/multipartBody1312195485252448349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737288574004,"filename":"image_19012025_13_08_02_611140_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330033076","file1":"1330033071","file0":"1330033067","file3":"1330033078"},"map_files_photo_id_array":[{"photo_id":"1330033076","filename":"file2"},{"photo_id":"1330033071","filename":"file1"},{"photo_id":"1330033067","filename":"file0"},{"photo_id":"1330033078","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330033071":["hashtag1","hashtag2"]},{"1330033076":["hashtag1","hashtag2"]},{"1330033067":["hashtag1","hashtag2"]},{"1330033078":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330033071, 1330033076, 1330033067, 1330033078)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.37955951690674 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 13:09:22.618298
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/13/08/image_19012025_13_08_02_611140_0003.jpg', '/home/pi/Desktop/images/19012025/13/09/image_19012025_13_09_02_822535_0000.jpg', '/home/pi/Desktop/images/19012025/13/09/image_19012025_13_09_02_822535_0001.jpg', '/home/pi/Desktop/images/19012025/13/09/image_19012025_13_09_02_822535_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/13/08/image_19012025_13_08_02_611140_0003.jpg
/home/pi/Desktop/images/19012025/13/09/image_19012025_13_09_02_822535_0000.jpg
/home/pi/Desktop/images/19012025/13/09/image_19012025_13_09_02_822535_0001.jpg
/home/pi/Desktop/images/19012025/13/09/image_19012025_13_09_02_822535_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330033094","1330033090","1330033087","1330033084"],"photo_ids_order":["1330033084","1330033087","1330033090","1330033094"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/7639d3611a7369db9a70f9433a0913cd.jpg","text":"TemporaryFile(/tmp/multipartBody4188097527173486618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737288633986,"filename":"image_19012025_13_09_02_822535_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/b0a48a9a0bff0c654c36dd53c2cdbfff.jpg","text":"TemporaryFile(/tmp/multipartBody1132060879465034670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737288633986,"filename":"image_19012025_13_09_02_822535_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/d227f583b581dd3e6ab1d47bd7665658.jpg","text":"TemporaryFile(/tmp/multipartBody7891645840888869126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737288633986,"filename":"image_19012025_13_09_02_822535_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/4a1ec34538582f68e82c5867077be5c9.jpg","text":"TemporaryFile(/tmp/multipartBody7797206724016343441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737288633986,"filename":"image_19012025_13_08_02_611140_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330033090","file1":"1330033087","file0":"1330033084","file3":"1330033094"},"map_files_photo_id_array":[{"photo_id":"1330033090","filename":"file2"},{"photo_id":"1330033087","filename":"file1"},{"photo_id":"1330033084","filename":"file0"},{"photo_id":"1330033094","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330033094":["hashtag1","hashtag2"]},{"1330033090":["hashtag1","hashtag2"]},{"1330033087":["hashtag1","hashtag2"]},{"1330033084":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330033094, 1330033090, 1330033087, 1330033084)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.08464002609253 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 13:10:21.860652
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/13/09/image_19012025_13_09_02_822535_0003.jpg', '/home/pi/Desktop/images/19012025/13/10/image_19012025_13_10_03_047752_0000.jpg', '/home/pi/Desktop/images/19012025/13/10/image_19012025_13_10_03_047752_0001.jpg', '/home/pi/Desktop/images/19012025/13/10/image_19012025_13_10_03_047752_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/13/09/image_19012025_13_09_02_822535_0003.jpg
/home/pi/Desktop/images/19012025/13/10/image_19012025_13_10_03_047752_0000.jpg
/home/pi/Desktop/images/19012025/13/10/image_19012025_13_10_03_047752_0001.jpg
/home/pi/Desktop/images/19012025/13/10/image_19012025_13_10_03_047752_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330033140","1330033143","1330033133","1330033136"],"photo_ids_order":["1330033133","1330033136","1330033140","1330033143"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/a69acda8f3cabd97e4391a188b09433d.jpg","text":"TemporaryFile(/tmp/multipartBody1951917552590425122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737288692884,"filename":"image_19012025_13_10_03_047752_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/a0229d86abbc4080e1b3068d73f8370b.jpg","text":"TemporaryFile(/tmp/multipartBody9146654374347828119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737288692884,"filename":"image_19012025_13_10_03_047752_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/c70325cebbd6215b3cf434d2146f68eb.jpg","text":"TemporaryFile(/tmp/multipartBody6543416318374191649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737288692884,"filename":"image_19012025_13_09_02_822535_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/f55f0b8e38e6e9270d4d340a24c05bd4.jpg","text":"TemporaryFile(/tmp/multipartBody7080365238553496839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737288692884,"filename":"image_19012025_13_10_03_047752_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330033140","file1":"1330033136","file0":"1330033133","file3":"1330033143"},"map_files_photo_id_array":[{"photo_id":"1330033140","filename":"file2"},{"photo_id":"1330033136","filename":"file1"},{"photo_id":"1330033133","filename":"file0"},{"photo_id":"1330033143","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330033140":["hashtag1","hashtag2"]},{"1330033143":["hashtag1","hashtag2"]},{"1330033133":["hashtag1","hashtag2"]},{"1330033136":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330033140, 1330033143, 1330033133, 1330033136)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.78121495246887 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 13:11:22.006677
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/13/10/image_19012025_13_10_03_047752_0003.jpg', '/home/pi/Desktop/images/19012025/13/11/image_19012025_13_11_02_216399_0000.jpg', '/home/pi/Desktop/images/19012025/13/11/image_19012025_13_11_02_216399_0001.jpg', '/home/pi/Desktop/images/19012025/13/11/image_19012025_13_11_02_216399_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/13/10/image_19012025_13_10_03_047752_0003.jpg
/home/pi/Desktop/images/19012025/13/11/image_19012025_13_11_02_216399_0000.jpg
/home/pi/Desktop/images/19012025/13/11/image_19012025_13_11_02_216399_0001.jpg
/home/pi/Desktop/images/19012025/13/11/image_19012025_13_11_02_216399_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330033161","1330033153","1330033156","1330033159"],"photo_ids_order":["1330033153","1330033156","1330033159","1330033161"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/1f176677f5fbfc86a4c195f19d4ef807.jpg","text":"TemporaryFile(/tmp/multipartBody2132606299818220172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737288753652,"filename":"image_19012025_13_11_02_216399_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/fd0f29fb870d517aa22fd35689bbfbaa.jpg","text":"TemporaryFile(/tmp/multipartBody4937604522234604793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737288753652,"filename":"image_19012025_13_10_03_047752_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/f3b7171b2e0d489b96902f9a84c79e58.jpg","text":"TemporaryFile(/tmp/multipartBody7589396675231393995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737288753652,"filename":"image_19012025_13_11_02_216399_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/acae467bd8c0afc2a4c342cc2733eaf0.jpg","text":"TemporaryFile(/tmp/multipartBody5129825712808664286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737288753652,"filename":"image_19012025_13_11_02_216399_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330033159","file1":"1330033156","file0":"1330033153","file3":"1330033161"},"map_files_photo_id_array":[{"photo_id":"1330033159","filename":"file2"},{"photo_id":"1330033156","filename":"file1"},{"photo_id":"1330033153","filename":"file0"},{"photo_id":"1330033161","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330033161":["hashtag1","hashtag2"]},{"1330033153":["hashtag1","hashtag2"]},{"1330033156":["hashtag1","hashtag2"]},{"1330033159":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330033161, 1330033153, 1330033156, 1330033159)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.3859589099884 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 13:12:22.255186
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/13/11/image_19012025_13_11_02_216399_0003.jpg', '/home/pi/Desktop/images/19012025/13/12/image_19012025_13_12_02_337565_0000.jpg', '/home/pi/Desktop/images/19012025/13/12/image_19012025_13_12_02_337565_0001.jpg', '/home/pi/Desktop/images/19012025/13/12/image_19012025_13_12_02_337565_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/13/11/image_19012025_13_11_02_216399_0003.jpg
/home/pi/Desktop/images/19012025/13/12/image_19012025_13_12_02_337565_0000.jpg
/home/pi/Desktop/images/19012025/13/12/image_19012025_13_12_02_337565_0001.jpg
/home/pi/Desktop/images/19012025/13/12/image_19012025_13_12_02_337565_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 11.213263511657715 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-19 13:12:42.197355
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/13/11/image_19012025_13_11_02_216399_0003.jpg', '/home/pi/Desktop/images/19012025/13/12/image_19012025_13_12_02_337565_0000.jpg', '/home/pi/Desktop/images/19012025/13/12/image_19012025_13_12_02_337565_0001.jpg', '/home/pi/Desktop/images/19012025/13/12/image_19012025_13_12_02_337565_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/13/11/image_19012025_13_11_02_216399_0003.jpg
/home/pi/Desktop/images/19012025/13/12/image_19012025_13_12_02_337565_0000.jpg
/home/pi/Desktop/images/19012025/13/12/image_19012025_13_12_02_337565_0001.jpg
/home/pi/Desktop/images/19012025/13/12/image_19012025_13_12_02_337565_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330033207","1330033191","1330033209","1330033210"],"photo_ids_order":["1330033191","1330033207","1330033209","1330033210"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/fca240174a3f39794f7e538a107ae132.jpg","text":"TemporaryFile(/tmp/multipartBody7141367785595492513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737288833786,"filename":"image_19012025_13_12_02_337565_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/65d89a1f6143c09061beba5eab1d6ab1.jpg","text":"TemporaryFile(/tmp/multipartBody1498145863887613103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737288833786,"filename":"image_19012025_13_11_02_216399_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/1564c7a99e81e4a4dd13c2945d3467d5.jpg","text":"TemporaryFile(/tmp/multipartBody6138991420180607757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737288833786,"filename":"image_19012025_13_12_02_337565_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/7a0c413c4cc99119d49003b4257af856.jpg","text":"TemporaryFile(/tmp/multipartBody4698149566024045211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737288833786,"filename":"image_19012025_13_12_02_337565_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330033209","file1":"1330033207","file0":"1330033191","file3":"1330033210"},"map_files_photo_id_array":[{"photo_id":"1330033209","filename":"file2"},{"photo_id":"1330033207","filename":"file1"},{"photo_id":"1330033191","filename":"file0"},{"photo_id":"1330033210","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330033207":["hashtag1","hashtag2"]},{"1330033191":["hashtag1","hashtag2"]},{"1330033209":["hashtag1","hashtag2"]},{"1330033210":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330033207, 1330033191, 1330033209, 1330033210)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.89323449134827 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-19 13:13:32.340339
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/13/12/image_19012025_13_12_02_337565_0003.jpg', '/home/pi/Desktop/images/19012025/13/13/image_19012025_13_13_02_548956_0000.jpg', '/home/pi/Desktop/images/19012025/13/13/image_19012025_13_13_02_548956_0001.jpg', '/home/pi/Desktop/images/19012025/13/13/image_19012025_13_13_02_548956_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/13/12/image_19012025_13_12_02_337565_0003.jpg
/home/pi/Desktop/images/19012025/13/13/image_19012025_13_13_02_548956_0000.jpg
/home/pi/Desktop/images/19012025/13/13/image_19012025_13_13_02_548956_0001.jpg
/home/pi/Desktop/images/19012025/13/13/image_19012025_13_13_02_548956_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330033227","1330033221","1330033224","1330033218"],"photo_ids_order":["1330033218","1330033221","1330033224","1330033227"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/24795fbd9124cc90a4bb2b908ac40605.jpg","text":"TemporaryFile(/tmp/multipartBody8614680141191867321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737288884026,"filename":"image_19012025_13_13_02_548956_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/a58d5af47f661862e0d2b91df8d9d01c.jpg","text":"TemporaryFile(/tmp/multipartBody7828348414814699722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737288884026,"filename":"image_19012025_13_13_02_548956_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/688a2f44eb4aec3a86b27dd725bb4f98.jpg","text":"TemporaryFile(/tmp/multipartBody4360795416002115338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737288884026,"filename":"image_19012025_13_13_02_548956_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/628164382c262f545aa0b4d5dd35775f.jpg","text":"TemporaryFile(/tmp/multipartBody7604094363941137619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737288884026,"filename":"image_19012025_13_12_02_337565_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330033224","file1":"1330033221","file0":"1330033218","file3":"1330033227"},"map_files_photo_id_array":[{"photo_id":"1330033224","filename":"file2"},{"photo_id":"1330033221","filename":"file1"},{"photo_id":"1330033218","filename":"file0"},{"photo_id":"1330033227","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330033227":["hashtag1","hashtag2"]},{"1330033221":["hashtag1","hashtag2"]},{"1330033224":["hashtag1","hashtag2"]},{"1330033218":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330033227, 1330033221, 1330033224, 1330033218)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.5361692905426 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 13:14:22.600879
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/13/13/image_19012025_13_13_02_548956_0003.jpg', '/home/pi/Desktop/images/19012025/13/14/image_19012025_13_14_02_736464_0000.jpg', '/home/pi/Desktop/images/19012025/13/14/image_19012025_13_14_02_736464_0001.jpg', '/home/pi/Desktop/images/19012025/13/14/image_19012025_13_14_02_736464_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/13/13/image_19012025_13_13_02_548956_0003.jpg
/home/pi/Desktop/images/19012025/13/14/image_19012025_13_14_02_736464_0000.jpg
/home/pi/Desktop/images/19012025/13/14/image_19012025_13_14_02_736464_0001.jpg
/home/pi/Desktop/images/19012025/13/14/image_19012025_13_14_02_736464_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330033239","1330033242","1330033236","1330033246"],"photo_ids_order":["1330033236","1330033239","1330033242","1330033246"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/25da8f0ae4ca729640bbb72f3749ff0c.jpg","text":"TemporaryFile(/tmp/multipartBody2937102893573042864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737288934164,"filename":"image_19012025_13_14_02_736464_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/cd1a5011c16add0d09f9da8e20034600.jpg","text":"TemporaryFile(/tmp/multipartBody5617674638709736324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737288934164,"filename":"image_19012025_13_14_02_736464_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/6c6b2e728ae7061fcd0bbd35421fd208.jpg","text":"TemporaryFile(/tmp/multipartBody5542084449121514880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737288934164,"filename":"image_19012025_13_13_02_548956_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/23b1b135b70b3d09fc63383e9bedf714.jpg","text":"TemporaryFile(/tmp/multipartBody7724620296197852227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737288934164,"filename":"image_19012025_13_14_02_736464_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330033242","file1":"1330033239","file0":"1330033236","file3":"1330033246"},"map_files_photo_id_array":[{"photo_id":"1330033242","filename":"file2"},{"photo_id":"1330033239","filename":"file1"},{"photo_id":"1330033236","filename":"file0"},{"photo_id":"1330033246","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330033239":["hashtag1","hashtag2"]},{"1330033242":["hashtag1","hashtag2"]},{"1330033236":["hashtag1","hashtag2"]},{"1330033246":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330033239, 1330033242, 1330033236, 1330033246)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.06729245185852 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 13:15:22.790937
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/13/14/image_19012025_13_14_02_736464_0003.jpg', '/home/pi/Desktop/images/19012025/13/15/image_19012025_13_15_02_921069_0000.jpg', '/home/pi/Desktop/images/19012025/13/15/image_19012025_13_15_02_921069_0001.jpg', '/home/pi/Desktop/images/19012025/13/15/image_19012025_13_15_02_921069_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/13/14/image_19012025_13_14_02_736464_0003.jpg
/home/pi/Desktop/images/19012025/13/15/image_19012025_13_15_02_921069_0000.jpg
/home/pi/Desktop/images/19012025/13/15/image_19012025_13_15_02_921069_0001.jpg
/home/pi/Desktop/images/19012025/13/15/image_19012025_13_15_02_921069_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330033257","1330033260","1330033254","1330033262"],"photo_ids_order":["1330033254","1330033257","1330033260","1330033262"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/fb661b20a13515024d182bfd3d63a43b.jpg","text":"TemporaryFile(/tmp/multipartBody6431708163716132665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737288994580,"filename":"image_19012025_13_15_02_921069_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/6b46585e7f86ced2d357149d6c49e77a.jpg","text":"TemporaryFile(/tmp/multipartBody1160430139061594290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737288994580,"filename":"image_19012025_13_15_02_921069_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/26b1536b280ce42facaca1acf206f20c.jpg","text":"TemporaryFile(/tmp/multipartBody7836684310986696259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737288994580,"filename":"image_19012025_13_14_02_736464_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/44769ca8a7c19a97b9e354f55fdd2db8.jpg","text":"TemporaryFile(/tmp/multipartBody3934342556087587236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737288994580,"filename":"image_19012025_13_15_02_921069_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330033260","file1":"1330033257","file0":"1330033254","file3":"1330033262"},"map_files_photo_id_array":[{"photo_id":"1330033260","filename":"file2"},{"photo_id":"1330033257","filename":"file1"},{"photo_id":"1330033254","filename":"file0"},{"photo_id":"1330033262","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330033257":["hashtag1","hashtag2"]},{"1330033260":["hashtag1","hashtag2"]},{"1330033254":["hashtag1","hashtag2"]},{"1330033262":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330033257, 1330033260, 1330033254, 1330033262)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.7164089679718 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 13:16:21.924563
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/13/15/image_19012025_13_15_02_921069_0003.jpg', '/home/pi/Desktop/images/19012025/13/16/image_19012025_13_16_03_065229_0000.jpg', '/home/pi/Desktop/images/19012025/13/16/image_19012025_13_16_03_065229_0001.jpg', '/home/pi/Desktop/images/19012025/13/16/image_19012025_13_16_03_065229_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/13/15/image_19012025_13_15_02_921069_0003.jpg
/home/pi/Desktop/images/19012025/13/16/image_19012025_13_16_03_065229_0000.jpg
/home/pi/Desktop/images/19012025/13/16/image_19012025_13_16_03_065229_0001.jpg
/home/pi/Desktop/images/19012025/13/16/image_19012025_13_16_03_065229_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330033295","1330033321","1330033318","1330033293"],"photo_ids_order":["1330033293","1330033295","1330033318","1330033321"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/ec396c317eca3402bed4990da42a33da.jpg","text":"TemporaryFile(/tmp/multipartBody1067375906016080851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737289053730,"filename":"image_19012025_13_16_03_065229_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/f381799f1665b5df2c475ee5546a66b3.jpg","text":"TemporaryFile(/tmp/multipartBody7688664358893524470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737289053730,"filename":"image_19012025_13_16_03_065229_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/b8b7a1f495fe81d4741a5992003e4e57.jpg","text":"TemporaryFile(/tmp/multipartBody6530984488956036733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737289053730,"filename":"image_19012025_13_16_03_065229_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/d1fab0cb8608afcbd2fdc6b819df3587.jpg","text":"TemporaryFile(/tmp/multipartBody721771731951358652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737289053730,"filename":"image_19012025_13_15_02_921069_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330033318","file1":"1330033295","file0":"1330033293","file3":"1330033321"},"map_files_photo_id_array":[{"photo_id":"1330033318","filename":"file2"},{"photo_id":"1330033295","filename":"file1"},{"photo_id":"1330033293","filename":"file0"},{"photo_id":"1330033321","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330033295":["hashtag1","hashtag2"]},{"1330033321":["hashtag1","hashtag2"]},{"1330033318":["hashtag1","hashtag2"]},{"1330033293":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330033295, 1330033321, 1330033318, 1330033293)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.116281032562256 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 13:17:22.173302
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/13/16/image_19012025_13_16_03_065229_0003.jpg', '/home/pi/Desktop/images/19012025/13/17/image_19012025_13_17_02_283356_0000.jpg', '/home/pi/Desktop/images/19012025/13/17/image_19012025_13_17_02_283356_0001.jpg', '/home/pi/Desktop/images/19012025/13/17/image_19012025_13_17_02_283356_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/13/16/image_19012025_13_16_03_065229_0003.jpg
/home/pi/Desktop/images/19012025/13/17/image_19012025_13_17_02_283356_0000.jpg
/home/pi/Desktop/images/19012025/13/17/image_19012025_13_17_02_283356_0001.jpg
/home/pi/Desktop/images/19012025/13/17/image_19012025_13_17_02_283356_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330033587","1330033581","1330033584","1330033589"],"photo_ids_order":["1330033581","1330033584","1330033587","1330033589"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/95cacac8e765356d1d855c431a21731f.jpg","text":"TemporaryFile(/tmp/multipartBody3316044172900592346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737289113652,"filename":"image_19012025_13_17_02_283356_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/7b92f3e82d461b684d2d48e90bf5bb4f.jpg","text":"TemporaryFile(/tmp/multipartBody6217827369426696630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737289113652,"filename":"image_19012025_13_16_03_065229_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/7c0a87ee24a012b064aa0a5c7e71743f.jpg","text":"TemporaryFile(/tmp/multipartBody1608304555882032669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737289113652,"filename":"image_19012025_13_17_02_283356_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/bb7be5b3d37f37a16e949d17cac2b848.jpg","text":"TemporaryFile(/tmp/multipartBody3419337862366378437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737289113652,"filename":"image_19012025_13_17_02_283356_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330033587","file1":"1330033584","file0":"1330033581","file3":"1330033589"},"map_files_photo_id_array":[{"photo_id":"1330033587","filename":"file2"},{"photo_id":"1330033584","filename":"file1"},{"photo_id":"1330033581","filename":"file0"},{"photo_id":"1330033589","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330033587":["hashtag1","hashtag2"]},{"1330033581":["hashtag1","hashtag2"]},{"1330033584":["hashtag1","hashtag2"]},{"1330033589":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330033587, 1330033581, 1330033584, 1330033589)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.42548418045044 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 13:18:22.274473
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/13/17/image_19012025_13_17_02_283356_0003.jpg', '/home/pi/Desktop/images/19012025/13/18/image_19012025_13_18_02_595810_0000.jpg', '/home/pi/Desktop/images/19012025/13/18/image_19012025_13_18_02_595810_0001.jpg', '/home/pi/Desktop/images/19012025/13/18/image_19012025_13_18_02_595810_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/13/17/image_19012025_13_17_02_283356_0003.jpg
/home/pi/Desktop/images/19012025/13/18/image_19012025_13_18_02_595810_0000.jpg
/home/pi/Desktop/images/19012025/13/18/image_19012025_13_18_02_595810_0001.jpg
/home/pi/Desktop/images/19012025/13/18/image_19012025_13_18_02_595810_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330033601","1330033604","1330033597","1330033606"],"photo_ids_order":["1330033597","1330033601","1330033604","1330033606"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/3417fafc75511fa91d02013b770ecf4e.jpg","text":"TemporaryFile(/tmp/multipartBody8799942640855593181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737289174208,"filename":"image_19012025_13_18_02_595810_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/48aec9f499c987f7243a7842e32b0f2c.jpg","text":"TemporaryFile(/tmp/multipartBody2187955844727805542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737289174208,"filename":"image_19012025_13_18_02_595810_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/290f1c40a54892ef67072a1d7b59bb62.jpg","text":"TemporaryFile(/tmp/multipartBody1468650255224890957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737289174208,"filename":"image_19012025_13_17_02_283356_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/d5b59e14be6387f1106ed34f98e40391.jpg","text":"TemporaryFile(/tmp/multipartBody3939922301357998404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737289174208,"filename":"image_19012025_13_18_02_595810_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330033604","file1":"1330033601","file0":"1330033597","file3":"1330033606"},"map_files_photo_id_array":[{"photo_id":"1330033604","filename":"file2"},{"photo_id":"1330033601","filename":"file1"},{"photo_id":"1330033597","filename":"file0"},{"photo_id":"1330033606","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330033601":["hashtag1","hashtag2"]},{"1330033604":["hashtag1","hashtag2"]},{"1330033597":["hashtag1","hashtag2"]},{"1330033606":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330033601, 1330033604, 1330033597, 1330033606)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.4331316947937 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 13:19:22.488078
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/13/18/image_19012025_13_18_02_595810_0003.jpg', '/home/pi/Desktop/images/19012025/13/19/image_19012025_13_19_02_651907_0000.jpg', '/home/pi/Desktop/images/19012025/13/19/image_19012025_13_19_02_651907_0001.jpg', '/home/pi/Desktop/images/19012025/13/19/image_19012025_13_19_02_651907_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/13/18/image_19012025_13_18_02_595810_0003.jpg
/home/pi/Desktop/images/19012025/13/19/image_19012025_13_19_02_651907_0000.jpg
/home/pi/Desktop/images/19012025/13/19/image_19012025_13_19_02_651907_0001.jpg
/home/pi/Desktop/images/19012025/13/19/image_19012025_13_19_02_651907_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330034649","1330034651","1330034645","1330034647"],"photo_ids_order":["1330034645","1330034647","1330034649","1330034651"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/f0f270c4813d11865a6cb4b43434c316.jpg","text":"TemporaryFile(/tmp/multipartBody4431781262094286406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737289233865,"filename":"image_19012025_13_19_02_651907_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/57906fe2ceb8f5f63e538cf7aad6a090.jpg","text":"TemporaryFile(/tmp/multipartBody5733768198898412888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737289233865,"filename":"image_19012025_13_19_02_651907_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/746dbe5166663230c50e4ad0586830a5.jpg","text":"TemporaryFile(/tmp/multipartBody335615631362350054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737289233865,"filename":"image_19012025_13_18_02_595810_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/0bebd98c604f32b5a4092254112066f2.jpg","text":"TemporaryFile(/tmp/multipartBody1595488740761058341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737289233865,"filename":"image_19012025_13_19_02_651907_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330034649","file1":"1330034647","file0":"1330034645","file3":"1330034651"},"map_files_photo_id_array":[{"photo_id":"1330034649","filename":"file2"},{"photo_id":"1330034647","filename":"file1"},{"photo_id":"1330034645","filename":"file0"},{"photo_id":"1330034651","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330034649":["hashtag1","hashtag2"]},{"1330034651":["hashtag1","hashtag2"]},{"1330034645":["hashtag1","hashtag2"]},{"1330034647":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330034649, 1330034651, 1330034645, 1330034647)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.80308389663696 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 13:20:22.712055
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/13/19/image_19012025_13_19_02_651907_0003.jpg', '/home/pi/Desktop/images/19012025/13/20/image_19012025_13_20_02_804215_0000.jpg', '/home/pi/Desktop/images/19012025/13/20/image_19012025_13_20_02_804215_0001.jpg', '/home/pi/Desktop/images/19012025/13/20/image_19012025_13_20_02_804215_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/13/19/image_19012025_13_19_02_651907_0003.jpg
/home/pi/Desktop/images/19012025/13/20/image_19012025_13_20_02_804215_0000.jpg
/home/pi/Desktop/images/19012025/13/20/image_19012025_13_20_02_804215_0001.jpg
/home/pi/Desktop/images/19012025/13/20/image_19012025_13_20_02_804215_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330034990","1330035034","1330035037","1330035022"],"photo_ids_order":["1330034990","1330035022","1330035034","1330035037"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/ef6602b248a2e228a4ce6d65c6f79a58.jpg","text":"TemporaryFile(/tmp/multipartBody328489722497474996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737289294738,"filename":"image_19012025_13_19_02_651907_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/5d2c0e93fc990334951db3af5ef2e6b9.jpg","text":"TemporaryFile(/tmp/multipartBody2144170661931709556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737289294738,"filename":"image_19012025_13_20_02_804215_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/b5f91ab3646d2a9970258cb2df51f12a.jpg","text":"TemporaryFile(/tmp/multipartBody2125531231590677593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737289294738,"filename":"image_19012025_13_20_02_804215_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/3e63849943f0e7fbec7198ec69759437.jpg","text":"TemporaryFile(/tmp/multipartBody8369710132496012113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737289294738,"filename":"image_19012025_13_20_02_804215_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330035034","file1":"1330035022","file0":"1330034990","file3":"1330035037"},"map_files_photo_id_array":[{"photo_id":"1330035034","filename":"file2"},{"photo_id":"1330035022","filename":"file1"},{"photo_id":"1330034990","filename":"file0"},{"photo_id":"1330035037","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330034990":["hashtag1","hashtag2"]},{"1330035034":["hashtag1","hashtag2"]},{"1330035037":["hashtag1","hashtag2"]},{"1330035022":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330034990, 1330035034, 1330035037, 1330035022)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.08015418052673 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 13:21:21.921517
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/13/20/image_19012025_13_20_02_804215_0003.jpg', '/home/pi/Desktop/images/19012025/13/21/image_19012025_13_21_03_035056_0000.jpg', '/home/pi/Desktop/images/19012025/13/21/image_19012025_13_21_03_035056_0001.jpg', '/home/pi/Desktop/images/19012025/13/21/image_19012025_13_21_03_035056_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/13/20/image_19012025_13_20_02_804215_0003.jpg
/home/pi/Desktop/images/19012025/13/21/image_19012025_13_21_03_035056_0000.jpg
/home/pi/Desktop/images/19012025/13/21/image_19012025_13_21_03_035056_0001.jpg
/home/pi/Desktop/images/19012025/13/21/image_19012025_13_21_03_035056_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330035143","1330035139","1330035141","1330035135"],"photo_ids_order":["1330035135","1330035139","1330035141","1330035143"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/ead568f954c45f66b43a3d7504a575ec.jpg","text":"TemporaryFile(/tmp/multipartBody4512227428345973495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737289353751,"filename":"image_19012025_13_21_03_035056_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/e853fb006837b97e21a2ce9ea3272321.jpg","text":"TemporaryFile(/tmp/multipartBody282680423052037645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737289353751,"filename":"image_19012025_13_21_03_035056_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/ce4fd4c93e56fe6fc17f0b55cbd092bd.jpg","text":"TemporaryFile(/tmp/multipartBody4598378342290625643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737289353751,"filename":"image_19012025_13_21_03_035056_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/b7d5d4452137b7e1f4a8760eeac7b6b2.jpg","text":"TemporaryFile(/tmp/multipartBody1847395529531160029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737289353751,"filename":"image_19012025_13_20_02_804215_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330035141","file1":"1330035139","file0":"1330035135","file3":"1330035143"},"map_files_photo_id_array":[{"photo_id":"1330035141","filename":"file2"},{"photo_id":"1330035139","filename":"file1"},{"photo_id":"1330035135","filename":"file0"},{"photo_id":"1330035143","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330035143":["hashtag1","hashtag2"]},{"1330035139":["hashtag1","hashtag2"]},{"1330035141":["hashtag1","hashtag2"]},{"1330035135":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330035143, 1330035139, 1330035141, 1330035135)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 44.659095287323 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 13:22:22.197794
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/13/21/image_19012025_13_21_03_035056_0003.jpg', '/home/pi/Desktop/images/19012025/13/22/image_19012025_13_22_02_260414_0000.jpg', '/home/pi/Desktop/images/19012025/13/22/image_19012025_13_22_02_260414_0001.jpg', '/home/pi/Desktop/images/19012025/13/22/image_19012025_13_22_02_260414_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/13/21/image_19012025_13_21_03_035056_0003.jpg
/home/pi/Desktop/images/19012025/13/22/image_19012025_13_22_02_260414_0000.jpg
/home/pi/Desktop/images/19012025/13/22/image_19012025_13_22_02_260414_0001.jpg
/home/pi/Desktop/images/19012025/13/22/image_19012025_13_22_02_260414_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330035188","1330035184","1330035178","1330035180"],"photo_ids_order":["1330035178","1330035180","1330035184","1330035188"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/9587586615068710b43f42d48a04c5d3.jpg","text":"TemporaryFile(/tmp/multipartBody20655173140451699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737289413968,"filename":"image_19012025_13_22_02_260414_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/9a7e4766bba6af2692532a026bbde4e6.jpg","text":"TemporaryFile(/tmp/multipartBody1709530036006723219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737289413968,"filename":"image_19012025_13_22_02_260414_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/197c12c4ccd397ac70aeaf336e4613df.jpg","text":"TemporaryFile(/tmp/multipartBody3611694170296061924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737289413968,"filename":"image_19012025_13_21_03_035056_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/942c51c38f2b3c7745878c8ce3278698.jpg","text":"TemporaryFile(/tmp/multipartBody9161292934100085504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737289413968,"filename":"image_19012025_13_22_02_260414_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330035184","file1":"1330035180","file0":"1330035178","file3":"1330035188"},"map_files_photo_id_array":[{"photo_id":"1330035184","filename":"file2"},{"photo_id":"1330035180","filename":"file1"},{"photo_id":"1330035178","filename":"file0"},{"photo_id":"1330035188","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330035188":["hashtag1","hashtag2"]},{"1330035184":["hashtag1","hashtag2"]},{"1330035178":["hashtag1","hashtag2"]},{"1330035180":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330035188, 1330035184, 1330035178, 1330035180)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.34802770614624 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 13:23:22.305992
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/13/22/image_19012025_13_22_02_260414_0003.jpg', '/home/pi/Desktop/images/19012025/13/23/image_19012025_13_23_02_429002_0000.jpg', '/home/pi/Desktop/images/19012025/13/23/image_19012025_13_23_02_429002_0001.jpg', '/home/pi/Desktop/images/19012025/13/23/image_19012025_13_23_02_429002_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/13/22/image_19012025_13_22_02_260414_0003.jpg
/home/pi/Desktop/images/19012025/13/23/image_19012025_13_23_02_429002_0000.jpg
/home/pi/Desktop/images/19012025/13/23/image_19012025_13_23_02_429002_0001.jpg
/home/pi/Desktop/images/19012025/13/23/image_19012025_13_23_02_429002_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330035209","1330035199","1330035203","1330035206"],"photo_ids_order":["1330035199","1330035203","1330035206","1330035209"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/edbad8c8e6154f4a2e36f5492f075875.jpg","text":"TemporaryFile(/tmp/multipartBody8576101863321762457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737289474102,"filename":"image_19012025_13_23_02_429002_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/3bd46551acc714a911393bc2920934bf.jpg","text":"TemporaryFile(/tmp/multipartBody8549479321631641187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737289474102,"filename":"image_19012025_13_22_02_260414_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/a3fbcddc2705a126b0a3c770faa7097f.jpg","text":"TemporaryFile(/tmp/multipartBody7638779108008575347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737289474102,"filename":"image_19012025_13_23_02_429002_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/ec69e5bd987dcc0f99de44c4f9e2ea04.jpg","text":"TemporaryFile(/tmp/multipartBody4286784677713490287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737289474102,"filename":"image_19012025_13_23_02_429002_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330035206","file1":"1330035203","file0":"1330035199","file3":"1330035209"},"map_files_photo_id_array":[{"photo_id":"1330035206","filename":"file2"},{"photo_id":"1330035203","filename":"file1"},{"photo_id":"1330035199","filename":"file0"},{"photo_id":"1330035209","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330035209":["hashtag1","hashtag2"]},{"1330035199":["hashtag1","hashtag2"]},{"1330035203":["hashtag1","hashtag2"]},{"1330035206":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330035209, 1330035199, 1330035203, 1330035206)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 45.51845145225525 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 13:24:22.522595
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/13/23/image_19012025_13_23_02_429002_0003.jpg', '/home/pi/Desktop/images/19012025/13/24/image_19012025_13_24_02_633622_0000.jpg', '/home/pi/Desktop/images/19012025/13/24/image_19012025_13_24_02_633622_0001.jpg', '/home/pi/Desktop/images/19012025/13/24/image_19012025_13_24_02_633622_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/13/23/image_19012025_13_23_02_429002_0003.jpg
/home/pi/Desktop/images/19012025/13/24/image_19012025_13_24_02_633622_0000.jpg
/home/pi/Desktop/images/19012025/13/24/image_19012025_13_24_02_633622_0001.jpg
/home/pi/Desktop/images/19012025/13/24/image_19012025_13_24_02_633622_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 11.127011060714722 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-19 13:24:42.477763
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/13/23/image_19012025_13_23_02_429002_0003.jpg', '/home/pi/Desktop/images/19012025/13/24/image_19012025_13_24_02_633622_0000.jpg', '/home/pi/Desktop/images/19012025/13/24/image_19012025_13_24_02_633622_0001.jpg', '/home/pi/Desktop/images/19012025/13/24/image_19012025_13_24_02_633622_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/13/23/image_19012025_13_23_02_429002_0003.jpg
/home/pi/Desktop/images/19012025/13/24/image_19012025_13_24_02_633622_0000.jpg
/home/pi/Desktop/images/19012025/13/24/image_19012025_13_24_02_633622_0001.jpg
/home/pi/Desktop/images/19012025/13/24/image_19012025_13_24_02_633622_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330035467","1330035434","1330035379","1330035376"],"photo_ids_order":["1330035376","1330035379","1330035434","1330035467"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/0232b1e1313ffb4d506593121a67f205.jpg","text":"TemporaryFile(/tmp/multipartBody7054517932792007030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737289553987,"filename":"image_19012025_13_24_02_633622_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/e0d3bac7b9d3829c5b0946fcbb952299.jpg","text":"TemporaryFile(/tmp/multipartBody4203260277094327103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737289553987,"filename":"image_19012025_13_24_02_633622_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/4347eb466f57ef99844c7971637b822d.jpg","text":"TemporaryFile(/tmp/multipartBody4842363519745096798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737289553987,"filename":"image_19012025_13_24_02_633622_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/aec2a6109ae2b1745eadb136f4cf3fe5.jpg","text":"TemporaryFile(/tmp/multipartBody8124287153295660523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737289553987,"filename":"image_19012025_13_23_02_429002_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330035434","file1":"1330035379","file0":"1330035376","file3":"1330035467"},"map_files_photo_id_array":[{"photo_id":"1330035434","filename":"file2"},{"photo_id":"1330035379","filename":"file1"},{"photo_id":"1330035376","filename":"file0"},{"photo_id":"1330035467","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330035467":["hashtag1","hashtag2"]},{"1330035434":["hashtag1","hashtag2"]},{"1330035379":["hashtag1","hashtag2"]},{"1330035376":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330035467, 1330035434, 1330035379, 1330035376)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.90725922584534 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-19 13:25:32.551096
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/13/24/image_19012025_13_24_02_633622_0003.jpg', '/home/pi/Desktop/images/19012025/13/25/image_19012025_13_25_02_783615_0000.jpg', '/home/pi/Desktop/images/19012025/13/25/image_19012025_13_25_02_783615_0001.jpg', '/home/pi/Desktop/images/19012025/13/25/image_19012025_13_25_02_783615_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/13/24/image_19012025_13_24_02_633622_0003.jpg
/home/pi/Desktop/images/19012025/13/25/image_19012025_13_25_02_783615_0000.jpg
/home/pi/Desktop/images/19012025/13/25/image_19012025_13_25_02_783615_0001.jpg
/home/pi/Desktop/images/19012025/13/25/image_19012025_13_25_02_783615_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330035572","1330035566","1330035569","1330035563"],"photo_ids_order":["1330035563","1330035566","1330035569","1330035572"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/f0a6936eff03ddb675cd9eb35224e02f.jpg","text":"TemporaryFile(/tmp/multipartBody2157950925837313001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737289604137,"filename":"image_19012025_13_25_02_783615_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/7cdd8c44cab2ebf7dc9958d250a2154e.jpg","text":"TemporaryFile(/tmp/multipartBody1546474364166699969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737289604137,"filename":"image_19012025_13_25_02_783615_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/5bd6cc38824e624d4505fe01fa807a5a.jpg","text":"TemporaryFile(/tmp/multipartBody3713374713187794255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737289604137,"filename":"image_19012025_13_25_02_783615_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/87fad42d91d6e9a02017b97577331001.jpg","text":"TemporaryFile(/tmp/multipartBody7538894861847290929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737289604137,"filename":"image_19012025_13_24_02_633622_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330035569","file1":"1330035566","file0":"1330035563","file3":"1330035572"},"map_files_photo_id_array":[{"photo_id":"1330035569","filename":"file2"},{"photo_id":"1330035566","filename":"file1"},{"photo_id":"1330035563","filename":"file0"},{"photo_id":"1330035572","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330035572":["hashtag1","hashtag2"]},{"1330035566":["hashtag1","hashtag2"]},{"1330035569":["hashtag1","hashtag2"]},{"1330035563":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330035572, 1330035566, 1330035569, 1330035563)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 48.787758111953735 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 13:26:22.818255
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/13/25/image_19012025_13_25_02_783615_0003.jpg', '/home/pi/Desktop/images/19012025/13/26/image_19012025_13_26_02_919430_0000.jpg', '/home/pi/Desktop/images/19012025/13/26/image_19012025_13_26_02_919430_0001.jpg', '/home/pi/Desktop/images/19012025/13/26/image_19012025_13_26_02_919430_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/13/25/image_19012025_13_25_02_783615_0003.jpg
/home/pi/Desktop/images/19012025/13/26/image_19012025_13_26_02_919430_0000.jpg
/home/pi/Desktop/images/19012025/13/26/image_19012025_13_26_02_919430_0001.jpg
/home/pi/Desktop/images/19012025/13/26/image_19012025_13_26_02_919430_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330035583","1330035577","1330035580","1330035584"],"photo_ids_order":["1330035577","1330035580","1330035583","1330035584"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/47d6c4271b3b4ca8dfa775f19d75410e.jpg","text":"TemporaryFile(/tmp/multipartBody8735898444862967418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737289654398,"filename":"image_19012025_13_26_02_919430_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/887ce95a3c04219aaea79efbe272db5b.jpg","text":"TemporaryFile(/tmp/multipartBody386173177389413953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737289654398,"filename":"image_19012025_13_25_02_783615_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/0d983724714c01cee1fb098e50941e90.jpg","text":"TemporaryFile(/tmp/multipartBody1297581422474830632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737289654398,"filename":"image_19012025_13_26_02_919430_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/4a7c6b907285683c2453f962cc550a3f.jpg","text":"TemporaryFile(/tmp/multipartBody7837022466816024629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737289654398,"filename":"image_19012025_13_26_02_919430_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330035583","file1":"1330035580","file0":"1330035577","file3":"1330035584"},"map_files_photo_id_array":[{"photo_id":"1330035583","filename":"file2"},{"photo_id":"1330035580","filename":"file1"},{"photo_id":"1330035577","filename":"file0"},{"photo_id":"1330035584","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330035583":["hashtag1","hashtag2"]},{"1330035577":["hashtag1","hashtag2"]},{"1330035580":["hashtag1","hashtag2"]},{"1330035584":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330035583, 1330035577, 1330035580, 1330035584)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 4 photos
time to upload: 38.760618686676025 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 13:27:22.016231
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/13/26/image_19012025_13_26_02_919430_0003.jpg', '/home/pi/Desktop/images/19012025/13/27/image_19012025_13_27_03_147816_0000.jpg', '/home/pi/Desktop/images/19012025/13/27/image_19012025_13_27_03_147816_0001.jpg', '/home/pi/Desktop/images/19012025/13/27/image_19012025_13_27_03_147816_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/13/26/image_19012025_13_26_02_919430_0003.jpg
/home/pi/Desktop/images/19012025/13/27/image_19012025_13_27_03_147816_0000.jpg
/home/pi/Desktop/images/19012025/13/27/image_19012025_13_27_03_147816_0001.jpg
/home/pi/Desktop/images/19012025/13/27/image_19012025_13_27_03_147816_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330035595","1330035598","1330035592","1330035597"],"photo_ids_order":["1330035592","1330035595","1330035597","1330035598"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/4f86f9d8c4e1aa41335c6476ffcaaf95.jpg","text":"TemporaryFile(/tmp/multipartBody5264509023990456858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737289713996,"filename":"image_19012025_13_27_03_147816_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/7b7bed998fa0ebf7333b2b47d798e657.jpg","text":"TemporaryFile(/tmp/multipartBody6615445871736111241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737289713996,"filename":"image_19012025_13_27_03_147816_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/02e5759ef35e0f42abe756767075aba5.jpg","text":"TemporaryFile(/tmp/multipartBody3504715967427347326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737289713996,"filename":"image_19012025_13_26_02_919430_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/7b319cf7b695398d1927c7591062523a.jpg","text":"TemporaryFile(/tmp/multipartBody1218784236394044535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737289713996,"filename":"image_19012025_13_27_03_147816_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330035597","file1":"1330035595","file0":"1330035592","file3":"1330035598"},"map_files_photo_id_array":[{"photo_id":"1330035597","filename":"file2"},{"photo_id":"1330035595","filename":"file1"},{"photo_id":"1330035592","filename":"file0"},{"photo_id":"1330035598","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330035595":["hashtag1","hashtag2"]},{"1330035598":["hashtag1","hashtag2"]},{"1330035592":["hashtag1","hashtag2"]},{"1330035597":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330035595, 1330035598, 1330035592, 1330035597)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 44.83936595916748 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 13:28:22.262041
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/13/27/image_19012025_13_27_03_147816_0003.jpg', '/home/pi/Desktop/images/19012025/13/28/image_19012025_13_28_02_371057_0000.jpg', '/home/pi/Desktop/images/19012025/13/28/image_19012025_13_28_02_371057_0001.jpg', '/home/pi/Desktop/images/19012025/13/28/image_19012025_13_28_02_371057_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/13/27/image_19012025_13_27_03_147816_0003.jpg
/home/pi/Desktop/images/19012025/13/28/image_19012025_13_28_02_371057_0000.jpg
/home/pi/Desktop/images/19012025/13/28/image_19012025_13_28_02_371057_0001.jpg
/home/pi/Desktop/images/19012025/13/28/image_19012025_13_28_02_371057_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330035614","1330035608","1330035619","1330035604"],"photo_ids_order":["1330035604","1330035608","1330035614","1330035619"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/122bdb4ce1f9c971f4720714e3fcf1d8.jpg","text":"TemporaryFile(/tmp/multipartBody95925534108611903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737289773849,"filename":"image_19012025_13_28_02_371057_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/ce62b5d3d52952b3dd11c26ab1f08b9b.jpg","text":"TemporaryFile(/tmp/multipartBody1614191429361271104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737289773849,"filename":"image_19012025_13_28_02_371057_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/9aae2edcef633ed1da62dfbcd2ff1b98.jpg","text":"TemporaryFile(/tmp/multipartBody3666616827098951707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737289773849,"filename":"image_19012025_13_28_02_371057_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/5454a01d417e58708b9596d39f301ad4.jpg","text":"TemporaryFile(/tmp/multipartBody75338122824383931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737289773849,"filename":"image_19012025_13_27_03_147816_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330035614","file1":"1330035608","file0":"1330035604","file3":"1330035619"},"map_files_photo_id_array":[{"photo_id":"1330035614","filename":"file2"},{"photo_id":"1330035608","filename":"file1"},{"photo_id":"1330035604","filename":"file0"},{"photo_id":"1330035619","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330035614":["hashtag1","hashtag2"]},{"1330035608":["hashtag1","hashtag2"]},{"1330035619":["hashtag1","hashtag2"]},{"1330035604":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330035614, 1330035608, 1330035619, 1330035604)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.78664302825928 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 13:29:22.486170
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/13/28/image_19012025_13_28_02_371057_0003.jpg', '/home/pi/Desktop/images/19012025/13/29/image_19012025_13_29_02_549505_0000.jpg', '/home/pi/Desktop/images/19012025/13/29/image_19012025_13_29_02_549505_0001.jpg', '/home/pi/Desktop/images/19012025/13/29/image_19012025_13_29_02_549505_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/13/28/image_19012025_13_28_02_371057_0003.jpg
/home/pi/Desktop/images/19012025/13/29/image_19012025_13_29_02_549505_0000.jpg
/home/pi/Desktop/images/19012025/13/29/image_19012025_13_29_02_549505_0001.jpg
/home/pi/Desktop/images/19012025/13/29/image_19012025_13_29_02_549505_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330035662","1330035637","1330035639","1330035633"],"photo_ids_order":["1330035633","1330035637","1330035639","1330035662"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/eefecd7b80f097137513eaeb87e735c5.jpg","text":"TemporaryFile(/tmp/multipartBody5424355257461633695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737289833879,"filename":"image_19012025_13_29_02_549505_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/781bb8fad621b2255c5c08f213934e77.jpg","text":"TemporaryFile(/tmp/multipartBody5407351886417121866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737289833879,"filename":"image_19012025_13_29_02_549505_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/fff6f8cb9314ad4c9286b66a3afbd3a9.jpg","text":"TemporaryFile(/tmp/multipartBody8367213003325413046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737289833879,"filename":"image_19012025_13_29_02_549505_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/e6320dd3439722dabf23d0c6c2ddf880.jpg","text":"TemporaryFile(/tmp/multipartBody2679615600682174054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737289833879,"filename":"image_19012025_13_28_02_371057_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330035639","file1":"1330035637","file0":"1330035633","file3":"1330035662"},"map_files_photo_id_array":[{"photo_id":"1330035639","filename":"file2"},{"photo_id":"1330035637","filename":"file1"},{"photo_id":"1330035633","filename":"file0"},{"photo_id":"1330035662","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330035662":["hashtag1","hashtag2"]},{"1330035637":["hashtag1","hashtag2"]},{"1330035639":["hashtag1","hashtag2"]},{"1330035633":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330035662, 1330035637, 1330035639, 1330035633)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 44.67866230010986 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 13:30:22.571215
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/13/29/image_19012025_13_29_02_549505_0003.jpg', '/home/pi/Desktop/images/19012025/13/30/image_19012025_13_30_02_814859_0000.jpg', '/home/pi/Desktop/images/19012025/13/30/image_19012025_13_30_02_814859_0001.jpg', '/home/pi/Desktop/images/19012025/13/30/image_19012025_13_30_02_814859_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/13/29/image_19012025_13_29_02_549505_0003.jpg
/home/pi/Desktop/images/19012025/13/30/image_19012025_13_30_02_814859_0000.jpg
/home/pi/Desktop/images/19012025/13/30/image_19012025_13_30_02_814859_0001.jpg
/home/pi/Desktop/images/19012025/13/30/image_19012025_13_30_02_814859_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 11.297346591949463 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-19 13:30:42.640886
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/13/29/image_19012025_13_29_02_549505_0003.jpg', '/home/pi/Desktop/images/19012025/13/30/image_19012025_13_30_02_814859_0000.jpg', '/home/pi/Desktop/images/19012025/13/30/image_19012025_13_30_02_814859_0001.jpg', '/home/pi/Desktop/images/19012025/13/30/image_19012025_13_30_02_814859_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/13/29/image_19012025_13_29_02_549505_0003.jpg
/home/pi/Desktop/images/19012025/13/30/image_19012025_13_30_02_814859_0000.jpg
/home/pi/Desktop/images/19012025/13/30/image_19012025_13_30_02_814859_0001.jpg
/home/pi/Desktop/images/19012025/13/30/image_19012025_13_30_02_814859_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330035926","1330035902","1330035924","1330035927"],"photo_ids_order":["1330035902","1330035924","1330035926","1330035927"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/f468fab21c257e13229021267c2043f7.jpg","text":"TemporaryFile(/tmp/multipartBody1300837141299933164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737289914337,"filename":"image_19012025_13_30_02_814859_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/e3828e88d1e30500da2786a0bf4fb3cd.jpg","text":"TemporaryFile(/tmp/multipartBody5347717212849965792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737289914337,"filename":"image_19012025_13_29_02_549505_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/1d0821d0a5d28b0b8fe1aa788a0df24a.jpg","text":"TemporaryFile(/tmp/multipartBody4117052275819357467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737289914337,"filename":"image_19012025_13_30_02_814859_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/3f7e2780d0c73aaa19c62bb20a610ec1.jpg","text":"TemporaryFile(/tmp/multipartBody6673111393853712666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737289914337,"filename":"image_19012025_13_30_02_814859_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330035926","file1":"1330035924","file0":"1330035902","file3":"1330035927"},"map_files_photo_id_array":[{"photo_id":"1330035926","filename":"file2"},{"photo_id":"1330035924","filename":"file1"},{"photo_id":"1330035902","filename":"file0"},{"photo_id":"1330035927","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330035926":["hashtag1","hashtag2"]},{"1330035902":["hashtag1","hashtag2"]},{"1330035924":["hashtag1","hashtag2"]},{"1330035927":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330035926, 1330035902, 1330035924, 1330035927)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.45276927947998 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-19 13:31:32.818973
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/13/30/image_19012025_13_30_02_814859_0003.jpg', '/home/pi/Desktop/images/19012025/13/31/image_19012025_13_31_02_988590_0000.jpg', '/home/pi/Desktop/images/19012025/13/31/image_19012025_13_31_02_988590_0001.jpg', '/home/pi/Desktop/images/19012025/13/31/image_19012025_13_31_02_988590_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/13/30/image_19012025_13_30_02_814859_0003.jpg
/home/pi/Desktop/images/19012025/13/31/image_19012025_13_31_02_988590_0000.jpg
/home/pi/Desktop/images/19012025/13/31/image_19012025_13_31_02_988590_0001.jpg
/home/pi/Desktop/images/19012025/13/31/image_19012025_13_31_02_988590_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330035940","1330035943","1330035937","1330035946"],"photo_ids_order":["1330035937","1330035940","1330035943","1330035946"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/da8526407ec5bd3e62a769a8a6ca1bf7.jpg","text":"TemporaryFile(/tmp/multipartBody5925322351119748368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737289964681,"filename":"image_19012025_13_31_02_988590_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/7a9c0d5004726f6a4a47f49428beb580.jpg","text":"TemporaryFile(/tmp/multipartBody8244467456113543307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737289964681,"filename":"image_19012025_13_31_02_988590_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/4f650b8ede4d99c6f58c25f3ce91f388.jpg","text":"TemporaryFile(/tmp/multipartBody6375149301954990898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737289964681,"filename":"image_19012025_13_30_02_814859_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/7fce6e199157f94a3255f8809cd01707.jpg","text":"TemporaryFile(/tmp/multipartBody2138355192797561139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737289964681,"filename":"image_19012025_13_31_02_988590_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330035943","file1":"1330035940","file0":"1330035937","file3":"1330035946"},"map_files_photo_id_array":[{"photo_id":"1330035943","filename":"file2"},{"photo_id":"1330035940","filename":"file1"},{"photo_id":"1330035937","filename":"file0"},{"photo_id":"1330035946","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330035940":["hashtag1","hashtag2"]},{"1330035943":["hashtag1","hashtag2"]},{"1330035937":["hashtag1","hashtag2"]},{"1330035946":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330035940, 1330035943, 1330035937, 1330035946)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.850794315338135 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 13:32:21.991455
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/13/31/image_19012025_13_31_02_988590_0003.jpg', '/home/pi/Desktop/images/19012025/13/32/image_19012025_13_32_03_163552_0000.jpg', '/home/pi/Desktop/images/19012025/13/32/image_19012025_13_32_03_163552_0001.jpg', '/home/pi/Desktop/images/19012025/13/32/image_19012025_13_32_03_163552_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/13/31/image_19012025_13_31_02_988590_0003.jpg
/home/pi/Desktop/images/19012025/13/32/image_19012025_13_32_03_163552_0000.jpg
/home/pi/Desktop/images/19012025/13/32/image_19012025_13_32_03_163552_0001.jpg
/home/pi/Desktop/images/19012025/13/32/image_19012025_13_32_03_163552_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330036021","1330036026","1330035992","1330035989"],"photo_ids_order":["1330035989","1330035992","1330036021","1330036026"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/493eb0bc775239e2d4739efcdd40940d.jpg","text":"TemporaryFile(/tmp/multipartBody213685791119464356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737290013689,"filename":"image_19012025_13_32_03_163552_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/6072738cb6cdf891e92d4d7aa3eeec34.jpg","text":"TemporaryFile(/tmp/multipartBody6735484772505195283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737290013689,"filename":"image_19012025_13_32_03_163552_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/dc46a2f2c5ce57b417d1c9885371ff50.jpg","text":"TemporaryFile(/tmp/multipartBody7229661926219794820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737290013689,"filename":"image_19012025_13_32_03_163552_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/d3c1467fb71ceb14e769d1e38111e2ee.jpg","text":"TemporaryFile(/tmp/multipartBody8104803806029536946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737290013689,"filename":"image_19012025_13_31_02_988590_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330036021","file1":"1330035992","file0":"1330035989","file3":"1330036026"},"map_files_photo_id_array":[{"photo_id":"1330036021","filename":"file2"},{"photo_id":"1330035992","filename":"file1"},{"photo_id":"1330035989","filename":"file0"},{"photo_id":"1330036026","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330036021":["hashtag1","hashtag2"]},{"1330036026":["hashtag1","hashtag2"]},{"1330035992":["hashtag1","hashtag2"]},{"1330035989":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330036021, 1330036026, 1330035992, 1330035989)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.05490183830261 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 13:33:22.214483
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/13/32/image_19012025_13_32_03_163552_0003.jpg', '/home/pi/Desktop/images/19012025/13/33/image_19012025_13_33_02_362912_0000.jpg', '/home/pi/Desktop/images/19012025/13/33/image_19012025_13_33_02_362912_0001.jpg', '/home/pi/Desktop/images/19012025/13/33/image_19012025_13_33_02_362912_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/13/32/image_19012025_13_32_03_163552_0003.jpg
/home/pi/Desktop/images/19012025/13/33/image_19012025_13_33_02_362912_0000.jpg
/home/pi/Desktop/images/19012025/13/33/image_19012025_13_33_02_362912_0001.jpg
/home/pi/Desktop/images/19012025/13/33/image_19012025_13_33_02_362912_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330036250","1330036383","1330036305","1330036253"],"photo_ids_order":["1330036250","1330036253","1330036305","1330036383"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/6b40440df4185ddd22db7cf48bf59191.jpg","text":"TemporaryFile(/tmp/multipartBody3182469645401586644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737290074162,"filename":"image_19012025_13_32_03_163552_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/f5f69a6823d96d7cf0affac6dc6bc78b.jpg","text":"TemporaryFile(/tmp/multipartBody4888661839252846352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737290074162,"filename":"image_19012025_13_33_02_362912_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/f551ed8c0de679aae211513f7ff8b55c.jpg","text":"TemporaryFile(/tmp/multipartBody8231914836056336548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737290074162,"filename":"image_19012025_13_33_02_362912_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/4f9de1824b09c18d04e560781f426e72.jpg","text":"TemporaryFile(/tmp/multipartBody3330332186882006818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737290074162,"filename":"image_19012025_13_33_02_362912_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330036305","file1":"1330036253","file0":"1330036250","file3":"1330036383"},"map_files_photo_id_array":[{"photo_id":"1330036305","filename":"file2"},{"photo_id":"1330036253","filename":"file1"},{"photo_id":"1330036250","filename":"file0"},{"photo_id":"1330036383","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330036250":["hashtag1","hashtag2"]},{"1330036383":["hashtag1","hashtag2"]},{"1330036305":["hashtag1","hashtag2"]},{"1330036253":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330036250, 1330036383, 1330036305, 1330036253)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 44.46957612037659 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 13:34:22.379378
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/13/33/image_19012025_13_33_02_362912_0003.jpg', '/home/pi/Desktop/images/19012025/13/34/image_19012025_13_34_02_520195_0000.jpg', '/home/pi/Desktop/images/19012025/13/34/image_19012025_13_34_02_520195_0001.jpg', '/home/pi/Desktop/images/19012025/13/34/image_19012025_13_34_02_520195_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/13/33/image_19012025_13_33_02_362912_0003.jpg
/home/pi/Desktop/images/19012025/13/34/image_19012025_13_34_02_520195_0000.jpg
/home/pi/Desktop/images/19012025/13/34/image_19012025_13_34_02_520195_0001.jpg
/home/pi/Desktop/images/19012025/13/34/image_19012025_13_34_02_520195_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330036409","1330036400","1330036404","1330036397"],"photo_ids_order":["1330036397","1330036400","1330036404","1330036409"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/afedcc982312e5e6f9a37133267b0f3b.jpg","text":"TemporaryFile(/tmp/multipartBody8089296458507166372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737290133987,"filename":"image_19012025_13_34_02_520195_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/9ee693d81b5d8c5022f31d5574116548.jpg","text":"TemporaryFile(/tmp/multipartBody557884081268252847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737290133987,"filename":"image_19012025_13_34_02_520195_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/08ecad4aae38f1fff9ff8a7eacd714d3.jpg","text":"TemporaryFile(/tmp/multipartBody294908427254557543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737290133987,"filename":"image_19012025_13_34_02_520195_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/e50ae91a51b4ce841604a40159c1af35.jpg","text":"TemporaryFile(/tmp/multipartBody7712670398455560819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737290133987,"filename":"image_19012025_13_33_02_362912_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330036404","file1":"1330036400","file0":"1330036397","file3":"1330036409"},"map_files_photo_id_array":[{"photo_id":"1330036404","filename":"file2"},{"photo_id":"1330036400","filename":"file1"},{"photo_id":"1330036397","filename":"file0"},{"photo_id":"1330036409","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330036409":["hashtag1","hashtag2"]},{"1330036400":["hashtag1","hashtag2"]},{"1330036404":["hashtag1","hashtag2"]},{"1330036397":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330036409, 1330036400, 1330036404, 1330036397)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.084237813949585 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 13:35:22.549569
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/13/34/image_19012025_13_34_02_520195_0003.jpg', '/home/pi/Desktop/images/19012025/13/35/image_19012025_13_35_02_669205_0000.jpg', '/home/pi/Desktop/images/19012025/13/35/image_19012025_13_35_02_669205_0001.jpg', '/home/pi/Desktop/images/19012025/13/35/image_19012025_13_35_02_669205_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/13/34/image_19012025_13_34_02_520195_0003.jpg
/home/pi/Desktop/images/19012025/13/35/image_19012025_13_35_02_669205_0000.jpg
/home/pi/Desktop/images/19012025/13/35/image_19012025_13_35_02_669205_0001.jpg
/home/pi/Desktop/images/19012025/13/35/image_19012025_13_35_02_669205_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330036427","1330036429","1330036422","1330036425"],"photo_ids_order":["1330036422","1330036425","1330036427","1330036429"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/3dec07fe4a78e9b7bd75058b28378ba0.jpg","text":"TemporaryFile(/tmp/multipartBody847523706967415982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737290194328,"filename":"image_19012025_13_35_02_669205_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/ffbe37c4bd68236fe4ad581b21098f12.jpg","text":"TemporaryFile(/tmp/multipartBody4494159469645430155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737290194328,"filename":"image_19012025_13_35_02_669205_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/c2380fc05e16a0e5c5e728e7e93cd615.jpg","text":"TemporaryFile(/tmp/multipartBody8196257701463769108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737290194328,"filename":"image_19012025_13_34_02_520195_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/433706a4ed5346068989974bc12351bc.jpg","text":"TemporaryFile(/tmp/multipartBody1936639831935005225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737290194328,"filename":"image_19012025_13_35_02_669205_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330036427","file1":"1330036425","file0":"1330036422","file3":"1330036429"},"map_files_photo_id_array":[{"photo_id":"1330036427","filename":"file2"},{"photo_id":"1330036425","filename":"file1"},{"photo_id":"1330036422","filename":"file0"},{"photo_id":"1330036429","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330036427":["hashtag1","hashtag2"]},{"1330036429":["hashtag1","hashtag2"]},{"1330036422":["hashtag1","hashtag2"]},{"1330036425":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330036427, 1330036429, 1330036422, 1330036425)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.196059703826904 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 13:36:22.681909
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/13/35/image_19012025_13_35_02_669205_0003.jpg', '/home/pi/Desktop/images/19012025/13/36/image_19012025_13_36_02_847952_0000.jpg', '/home/pi/Desktop/images/19012025/13/36/image_19012025_13_36_02_847952_0001.jpg', '/home/pi/Desktop/images/19012025/13/36/image_19012025_13_36_02_847952_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/13/35/image_19012025_13_35_02_669205_0003.jpg
/home/pi/Desktop/images/19012025/13/36/image_19012025_13_36_02_847952_0000.jpg
/home/pi/Desktop/images/19012025/13/36/image_19012025_13_36_02_847952_0001.jpg
/home/pi/Desktop/images/19012025/13/36/image_19012025_13_36_02_847952_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 11.257606506347656 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-19 13:36:42.670504
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/13/35/image_19012025_13_35_02_669205_0003.jpg', '/home/pi/Desktop/images/19012025/13/36/image_19012025_13_36_02_847952_0000.jpg', '/home/pi/Desktop/images/19012025/13/36/image_19012025_13_36_02_847952_0001.jpg', '/home/pi/Desktop/images/19012025/13/36/image_19012025_13_36_02_847952_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/13/35/image_19012025_13_35_02_669205_0003.jpg
/home/pi/Desktop/images/19012025/13/36/image_19012025_13_36_02_847952_0000.jpg
/home/pi/Desktop/images/19012025/13/36/image_19012025_13_36_02_847952_0001.jpg
/home/pi/Desktop/images/19012025/13/36/image_19012025_13_36_02_847952_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":["1330036442","1330036459","1330036470","1330036478"],"photo_ids_order":["1330036442","1330036459","1330036470","1330036478"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/486ea549f6d94772cdaa91717e1a19ec.jpg","text":"TemporaryFile(/tmp/multipartBody6102679809910890889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737290274318,"filename":"image_19012025_13_35_02_669205_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/6e1f4750be40dc26a69f9f40169817ff.jpg","text":"TemporaryFile(/tmp/multipartBody7214052754639882386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737290274318,"filename":"image_19012025_13_36_02_847952_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/aa657bc6c38679b8dc5ca0185495ebee.jpg","text":"TemporaryFile(/tmp/multipartBody8873920882967545197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737290274318,"filename":"image_19012025_13_36_02_847952_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/701aec0d7c1695980b56137f3d2fc8a8.jpg","text":"TemporaryFile(/tmp/multipartBody8294522108620215586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737290274318,"filename":"image_19012025_13_36_02_847952_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330036470","file1":"1330036459","file0":"1330036442","file3":"1330036478"},"map_files_photo_id_array":[{"photo_id":"1330036470","filename":"file2"},{"photo_id":"1330036459","filename":"file1"},{"photo_id":"1330036442","filename":"file0"},{"photo_id":"1330036478","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330036442":["hashtag1","hashtag2"]},{"1330036459":["hashtag1","hashtag2"]},{"1330036470":["hashtag1","hashtag2"]},{"1330036478":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330036442, 1330036459, 1330036470, 1330036478)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.52200770378113 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 13:37:21.900862
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/13/36/image_19012025_13_36_02_847952_0003.jpg', '/home/pi/Desktop/images/19012025/13/37/image_19012025_13_37_03_064101_0000.jpg', '/home/pi/Desktop/images/19012025/13/37/image_19012025_13_37_03_064101_0001.jpg', '/home/pi/Desktop/images/19012025/13/37/image_19012025_13_37_03_064101_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/13/36/image_19012025_13_36_02_847952_0003.jpg
/home/pi/Desktop/images/19012025/13/37/image_19012025_13_37_03_064101_0000.jpg
/home/pi/Desktop/images/19012025/13/37/image_19012025_13_37_03_064101_0001.jpg
/home/pi/Desktop/images/19012025/13/37/image_19012025_13_37_03_064101_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330036489","1330036485","1330036482","1330036487"],"photo_ids_order":["1330036482","1330036485","1330036487","1330036489"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/85067130aca56262c8905ff9fea7a087.jpg","text":"TemporaryFile(/tmp/multipartBody7684919727977245679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737290313398,"filename":"image_19012025_13_37_03_064101_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/f5db4f744e8cd0d0721ed582c6ef1abe.jpg","text":"TemporaryFile(/tmp/multipartBody7875011084738897877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737290313398,"filename":"image_19012025_13_37_03_064101_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/8775e7bdb3e1fa44aa545c97f005307c.jpg","text":"TemporaryFile(/tmp/multipartBody4547613526368147056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737290313398,"filename":"image_19012025_13_36_02_847952_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/1a98c4cc67f89cf8d8c3f1469e61662a.jpg","text":"TemporaryFile(/tmp/multipartBody1755660589329351558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737290313398,"filename":"image_19012025_13_37_03_064101_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330036487","file1":"1330036485","file0":"1330036482","file3":"1330036489"},"map_files_photo_id_array":[{"photo_id":"1330036487","filename":"file2"},{"photo_id":"1330036485","filename":"file1"},{"photo_id":"1330036482","filename":"file0"},{"photo_id":"1330036489","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330036489":["hashtag1","hashtag2"]},{"1330036485":["hashtag1","hashtag2"]},{"1330036482":["hashtag1","hashtag2"]},{"1330036487":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330036489, 1330036485, 1330036482, 1330036487)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.16055917739868 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 13:38:02.583092
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
  port_id : 19698700
  datou_current_id : 2490825
in upload_from_sqlite, uploading in 19698700
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17012025/22/19/image_17012025_22_19_02_146711_0001.jpg', '/home/pi/Desktop/images/17012025/22/19/image_17012025_22_19_02_146711_0002.jpg', '/home/pi/Desktop/images/17012025/22/19/image_17012025_22_19_02_146711_0003.jpg', '/home/pi/Desktop/images/17012025/22/20/image_17012025_22_20_02_322336_0000.jpg', '/home/pi/Desktop/images/17012025/22/20/image_17012025_22_20_02_322336_0001.jpg', '/home/pi/Desktop/images/17012025/22/20/image_17012025_22_20_02_322336_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2490825&datou=0
/home/pi/Desktop/images/17012025/22/19/image_17012025_22_19_02_146711_0001.jpg
/home/pi/Desktop/images/17012025/22/19/image_17012025_22_19_02_146711_0002.jpg
/home/pi/Desktop/images/17012025/22/19/image_17012025_22_19_02_146711_0003.jpg
/home/pi/Desktop/images/17012025/22/20/image_17012025_22_20_02_322336_0000.jpg
/home/pi/Desktop/images/17012025/22/20/image_17012025_22_20_02_322336_0001.jpg
/home/pi/Desktop/images/17012025/22/20/image_17012025_22_20_02_322336_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330036573","1330036576","1330036579","1330036567","1330036552","1330036571"],"photo_ids_order":["1330036552","1330036567","1330036571","1330036573","1330036576","1330036579"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/4957afe70da789a81863b40f7e1acee2.jpg","text":"TemporaryFile(/tmp/multipartBody2651868253094645782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737290359224,"filename":"image_17012025_22_20_02_322336_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/bf411192627e86642e9607631c503c17.jpg","text":"TemporaryFile(/tmp/multipartBody1749361943183734559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737290359224,"filename":"image_17012025_22_20_02_322336_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/847a7a79d13f0ac3c9d68e514bd0609c.jpg","text":"TemporaryFile(/tmp/multipartBody7501077407402699874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737290359224,"filename":"image_17012025_22_20_02_322336_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/c5cb018a6060ecd6ac500ba2d2aba9c2.jpg","text":"TemporaryFile(/tmp/multipartBody2241869298927625669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737290359224,"filename":"image_17012025_22_19_02_146711_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/08e520823ccec62318138015d4ec82ca.jpg","text":"TemporaryFile(/tmp/multipartBody5775017698008183308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737290359224,"filename":"image_17012025_22_19_02_146711_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/aa29e7ccb9b48bce298698c24367614d.jpg","text":"TemporaryFile(/tmp/multipartBody7298378758278502581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737290359224,"filename":"image_17012025_22_19_02_146711_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330036571","file1":"1330036567","file0":"1330036552","file4":"1330036576","file5":"1330036579","file3":"1330036573"},"map_files_photo_id_array":[{"photo_id":"1330036579","filename":"file5"},{"photo_id":"1330036571","filename":"file2"},{"photo_id":"1330036576","filename":"file4"},{"photo_id":"1330036567","filename":"file1"},{"photo_id":"1330036552","filename":"file0"},{"photo_id":"1330036573","filename":"file3"}],"portfolio_id":19698700,"hashtag_by_photo_ids":[{"1330036573":["hashtag1","hashtag2"]},{"1330036576":["hashtag1","hashtag2"]},{"1330036579":["hashtag1","hashtag2"]},{"1330036567":["hashtag1","hashtag2"]},{"1330036552":["hashtag1","hashtag2"]},{"1330036571":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698700 used, photo_id : ArrayBuffer(1330036573, 1330036576, 1330036579, 1330036567, 1330036552, 1330036571)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.01477026939392 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 13:39:02.926257
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/13/37/image_19012025_13_37_03_064101_0003.jpg', '/home/pi/Desktop/images/19012025/13/38/image_19012025_13_38_02_246745_0000.jpg', '/home/pi/Desktop/images/19012025/13/38/image_19012025_13_38_02_246745_0001.jpg', '/home/pi/Desktop/images/19012025/13/38/image_19012025_13_38_02_246745_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/13/37/image_19012025_13_37_03_064101_0003.jpg
/home/pi/Desktop/images/19012025/13/38/image_19012025_13_38_02_246745_0000.jpg
/home/pi/Desktop/images/19012025/13/38/image_19012025_13_38_02_246745_0001.jpg
/home/pi/Desktop/images/19012025/13/38/image_19012025_13_38_02_246745_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330036655","1330036693","1330036585","1330036584"],"photo_ids_order":["1330036584","1330036585","1330036655","1330036693"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/46181b2aa458f88cb1ce4026fa29ca37.jpg","text":"TemporaryFile(/tmp/multipartBody8079987717840239207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737290414587,"filename":"image_19012025_13_38_02_246745_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/37735825c0dbd5ad7e13f7aa520644fb.jpg","text":"TemporaryFile(/tmp/multipartBody6616476131064159690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737290414587,"filename":"image_19012025_13_38_02_246745_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/89d330b6f5b328e354f46b297b4e8879.jpg","text":"TemporaryFile(/tmp/multipartBody9196441078389614306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737290414587,"filename":"image_19012025_13_38_02_246745_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/622aa3dd1585c59026a5eb46e4467429.jpg","text":"TemporaryFile(/tmp/multipartBody2652683411467450488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737290414587,"filename":"image_19012025_13_37_03_064101_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330036655","file1":"1330036585","file0":"1330036584","file3":"1330036693"},"map_files_photo_id_array":[{"photo_id":"1330036655","filename":"file2"},{"photo_id":"1330036585","filename":"file1"},{"photo_id":"1330036584","filename":"file0"},{"photo_id":"1330036693","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330036655":["hashtag1","hashtag2"]},{"1330036693":["hashtag1","hashtag2"]},{"1330036585":["hashtag1","hashtag2"]},{"1330036584":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330036655, 1330036693, 1330036585, 1330036584)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.36232829093933 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-19 13:39:52.281121
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/13/38/image_19012025_13_38_02_246745_0003.jpg', '/home/pi/Desktop/images/19012025/13/39/image_19012025_13_39_02_372085_0000.jpg', '/home/pi/Desktop/images/19012025/13/39/image_19012025_13_39_02_372085_0001.jpg', '/home/pi/Desktop/images/19012025/13/39/image_19012025_13_39_02_372085_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/13/38/image_19012025_13_38_02_246745_0003.jpg
/home/pi/Desktop/images/19012025/13/39/image_19012025_13_39_02_372085_0000.jpg
/home/pi/Desktop/images/19012025/13/39/image_19012025_13_39_02_372085_0001.jpg
/home/pi/Desktop/images/19012025/13/39/image_19012025_13_39_02_372085_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330036727","1330036726","1330036729","1330036728"],"photo_ids_order":["1330036726","1330036727","1330036728","1330036729"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/68b28b7b87ec5e705a75f13da2ebd46b.jpg","text":"TemporaryFile(/tmp/multipartBody132509244593530030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737290463385,"filename":"image_19012025_13_39_02_372085_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/6c607ee338f043e09e26ee537ead15d8.jpg","text":"TemporaryFile(/tmp/multipartBody5923844628547567736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737290463385,"filename":"image_19012025_13_38_02_246745_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/4fbba71dc92e2ddb69c07730170a292a.jpg","text":"TemporaryFile(/tmp/multipartBody6244477355252249667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737290463385,"filename":"image_19012025_13_39_02_372085_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/aca63d496f918829a556ac1a876dc63c.jpg","text":"TemporaryFile(/tmp/multipartBody1784428095605959731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737290463385,"filename":"image_19012025_13_39_02_372085_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330036728","file1":"1330036727","file0":"1330036726","file3":"1330036729"},"map_files_photo_id_array":[{"photo_id":"1330036728","filename":"file2"},{"photo_id":"1330036727","filename":"file1"},{"photo_id":"1330036726","filename":"file0"},{"photo_id":"1330036729","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330036727":["hashtag1","hashtag2"]},{"1330036726":["hashtag1","hashtag2"]},{"1330036729":["hashtag1","hashtag2"]},{"1330036728":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330036727, 1330036726, 1330036729, 1330036728)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.06545615196228 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-19 13:40:42.609756
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/13/39/image_19012025_13_39_02_372085_0003.jpg', '/home/pi/Desktop/images/19012025/13/40/image_19012025_13_40_02_613290_0000.jpg', '/home/pi/Desktop/images/19012025/13/40/image_19012025_13_40_02_613290_0001.jpg', '/home/pi/Desktop/images/19012025/13/40/image_19012025_13_40_02_613290_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/13/39/image_19012025_13_39_02_372085_0003.jpg
/home/pi/Desktop/images/19012025/13/40/image_19012025_13_40_02_613290_0000.jpg
/home/pi/Desktop/images/19012025/13/40/image_19012025_13_40_02_613290_0001.jpg
/home/pi/Desktop/images/19012025/13/40/image_19012025_13_40_02_613290_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":["1330036738","1330036740","1330036743","1330036742"],"photo_ids_order":["1330036738","1330036740","1330036742","1330036743"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/12f0b188a871408920163ee7eab82711.jpg","text":"TemporaryFile(/tmp/multipartBody1060020922008491733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737290513772,"filename":"image_19012025_13_39_02_372085_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/a2081d9e12628b6cef06a0951235d58f.jpg","text":"TemporaryFile(/tmp/multipartBody7159243009914804163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737290513772,"filename":"image_19012025_13_40_02_613290_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/e569916d70ec2904e31b8f0261a93e2e.jpg","text":"TemporaryFile(/tmp/multipartBody6783543945107457813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737290513772,"filename":"image_19012025_13_40_02_613290_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/e0cf62fe64067ca68de9dabf39bd8fb4.jpg","text":"TemporaryFile(/tmp/multipartBody6350573176343171565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737290513772,"filename":"image_19012025_13_40_02_613290_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330036742","file1":"1330036740","file0":"1330036738","file3":"1330036743"},"map_files_photo_id_array":[{"photo_id":"1330036742","filename":"file2"},{"photo_id":"1330036740","filename":"file1"},{"photo_id":"1330036738","filename":"file0"},{"photo_id":"1330036743","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330036738":["hashtag1","hashtag2"]},{"1330036740":["hashtag1","hashtag2"]},{"1330036743":["hashtag1","hashtag2"]},{"1330036742":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330036738, 1330036740, 1330036743, 1330036742)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.01448917388916 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 13:41:22.682359
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/13/40/image_19012025_13_40_02_613290_0003.jpg', '/home/pi/Desktop/images/19012025/13/41/image_19012025_13_41_02_878441_0000.jpg', '/home/pi/Desktop/images/19012025/13/41/image_19012025_13_41_02_878441_0001.jpg', '/home/pi/Desktop/images/19012025/13/41/image_19012025_13_41_02_878441_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/13/40/image_19012025_13_40_02_613290_0003.jpg
/home/pi/Desktop/images/19012025/13/41/image_19012025_13_41_02_878441_0000.jpg
/home/pi/Desktop/images/19012025/13/41/image_19012025_13_41_02_878441_0001.jpg
/home/pi/Desktop/images/19012025/13/41/image_19012025_13_41_02_878441_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330036771","1330037082","1330036747","1330036751"],"photo_ids_order":["1330036747","1330036751","1330036771","1330037082"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/32ec29951524f0db091b5b78eee5fb8e.jpg","text":"TemporaryFile(/tmp/multipartBody2282184383352861984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737290554217,"filename":"image_19012025_13_41_02_878441_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/ebb998ec47b965af2c3b3cfe36585c46.jpg","text":"TemporaryFile(/tmp/multipartBody2233866705108894336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737290554217,"filename":"image_19012025_13_41_02_878441_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/fb77e162f72f630f1a17517560b295e1.jpg","text":"TemporaryFile(/tmp/multipartBody511686957982239092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737290554217,"filename":"image_19012025_13_40_02_613290_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/29888cfcab7cee0b3c16799dbb912b0c.jpg","text":"TemporaryFile(/tmp/multipartBody2754959777977850895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737290554217,"filename":"image_19012025_13_41_02_878441_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330036771","file1":"1330036751","file0":"1330036747","file3":"1330037082"},"map_files_photo_id_array":[{"photo_id":"1330036771","filename":"file2"},{"photo_id":"1330036751","filename":"file1"},{"photo_id":"1330036747","filename":"file0"},{"photo_id":"1330037082","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330036771":["hashtag1","hashtag2"]},{"1330037082":["hashtag1","hashtag2"]},{"1330036747":["hashtag1","hashtag2"]},{"1330036751":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330036771, 1330037082, 1330036747, 1330036751)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.03673768043518 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 13:42:21.970805
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/13/41/image_19012025_13_41_02_878441_0003.jpg', '/home/pi/Desktop/images/19012025/13/42/image_19012025_13_42_03_063889_0000.jpg', '/home/pi/Desktop/images/19012025/13/42/image_19012025_13_42_03_063889_0001.jpg', '/home/pi/Desktop/images/19012025/13/42/image_19012025_13_42_03_063889_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/13/41/image_19012025_13_41_02_878441_0003.jpg
/home/pi/Desktop/images/19012025/13/42/image_19012025_13_42_03_063889_0000.jpg
/home/pi/Desktop/images/19012025/13/42/image_19012025_13_42_03_063889_0001.jpg
/home/pi/Desktop/images/19012025/13/42/image_19012025_13_42_03_063889_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330037298","1330037295","1330037301","1330037293"],"photo_ids_order":["1330037293","1330037295","1330037298","1330037301"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/957a6984df7e691dc320de41c6c7bc04.jpg","text":"TemporaryFile(/tmp/multipartBody2469782885773037711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737290613054,"filename":"image_19012025_13_42_03_063889_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/29435369bacfa34795122de6f982b0ff.jpg","text":"TemporaryFile(/tmp/multipartBody8507400723230057650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737290613054,"filename":"image_19012025_13_42_03_063889_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/54e79ad8767cb26501aa29dbcdf5376b.jpg","text":"TemporaryFile(/tmp/multipartBody125495928785840012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737290613054,"filename":"image_19012025_13_42_03_063889_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/6b1a265d473e56dac4cfc0997dc4e683.jpg","text":"TemporaryFile(/tmp/multipartBody4233326273414266581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737290613054,"filename":"image_19012025_13_41_02_878441_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330037298","file1":"1330037295","file0":"1330037293","file3":"1330037301"},"map_files_photo_id_array":[{"photo_id":"1330037298","filename":"file2"},{"photo_id":"1330037295","filename":"file1"},{"photo_id":"1330037293","filename":"file0"},{"photo_id":"1330037301","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330037298":["hashtag1","hashtag2"]},{"1330037295":["hashtag1","hashtag2"]},{"1330037301":["hashtag1","hashtag2"]},{"1330037293":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330037298, 1330037295, 1330037301, 1330037293)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.59871029853821 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 13:43:02.733970
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
  port_id : 19698700
  datou_current_id : 2490825
in upload_from_sqlite, uploading in 19698700
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17012025/22/20/image_17012025_22_20_02_322336_0003.jpg', '/home/pi/Desktop/images/17012025/22/21/image_17012025_22_21_02_469431_0000.jpg', '/home/pi/Desktop/images/17012025/22/21/image_17012025_22_21_02_469431_0001.jpg', '/home/pi/Desktop/images/17012025/22/21/image_17012025_22_21_02_469431_0002.jpg', '/home/pi/Desktop/images/17012025/22/21/image_17012025_22_21_02_469431_0003.jpg', '/home/pi/Desktop/images/17012025/22/22/image_17012025_22_22_02_712808_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2490825&datou=0
/home/pi/Desktop/images/17012025/22/20/image_17012025_22_20_02_322336_0003.jpg
/home/pi/Desktop/images/17012025/22/21/image_17012025_22_21_02_469431_0000.jpg
/home/pi/Desktop/images/17012025/22/21/image_17012025_22_21_02_469431_0001.jpg
/home/pi/Desktop/images/17012025/22/21/image_17012025_22_21_02_469431_0002.jpg
/home/pi/Desktop/images/17012025/22/21/image_17012025_22_21_02_469431_0003.jpg
/home/pi/Desktop/images/17012025/22/22/image_17012025_22_22_02_712808_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":["1330037455","1330037442","1330037450","1330037444","1330037453","1330037447"],"photo_ids_order":["1330037442","1330037444","1330037447","1330037450","1330037453","1330037455"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/acc76fd6075a44414d37763855bd2820.jpg","text":"TemporaryFile(/tmp/multipartBody4053060464355133335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737290660022,"filename":"image_17012025_22_22_02_712808_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/0ecc7f465805a402d49480a90c61a05f.jpg","text":"TemporaryFile(/tmp/multipartBody7860538634318435709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737290660022,"filename":"image_17012025_22_20_02_322336_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/3c8b56a3e499c5e8508a304d980621e3.jpg","text":"TemporaryFile(/tmp/multipartBody4973661610059184910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737290660022,"filename":"image_17012025_22_21_02_469431_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/58c456ea92e569da89f6c2393653ce51.jpg","text":"TemporaryFile(/tmp/multipartBody4145590762565217431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737290660022,"filename":"image_17012025_22_21_02_469431_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/5d62d1fd980b98d9e976ecb10633f1e7.jpg","text":"TemporaryFile(/tmp/multipartBody2105836337393171545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737290660022,"filename":"image_17012025_22_21_02_469431_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/e426f19e390546992104d375f0a6cd92.jpg","text":"TemporaryFile(/tmp/multipartBody2784300161249870046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737290660022,"filename":"image_17012025_22_21_02_469431_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330037447","file1":"1330037444","file0":"1330037442","file4":"1330037453","file5":"1330037455","file3":"1330037450"},"map_files_photo_id_array":[{"photo_id":"1330037455","filename":"file5"},{"photo_id":"1330037447","filename":"file2"},{"photo_id":"1330037453","filename":"file4"},{"photo_id":"1330037444","filename":"file1"},{"photo_id":"1330037442","filename":"file0"},{"photo_id":"1330037450","filename":"file3"}],"portfolio_id":19698700,"hashtag_by_photo_ids":[{"1330037455":["hashtag1","hashtag2"]},{"1330037442":["hashtag1","hashtag2"]},{"1330037450":["hashtag1","hashtag2"]},{"1330037444":["hashtag1","hashtag2"]},{"1330037453":["hashtag1","hashtag2"]},{"1330037447":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698700 used, photo_id : ArrayBuffer(1330037455, 1330037442, 1330037450, 1330037444, 1330037453, 1330037447)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.01536846160889 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 13:44:02.603063
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/13/42/image_19012025_13_42_03_063889_0003.jpg', '/home/pi/Desktop/images/19012025/13/43/image_19012025_13_43_02_280313_0000.jpg', '/home/pi/Desktop/images/19012025/13/43/image_19012025_13_43_02_280313_0001.jpg', '/home/pi/Desktop/images/19012025/13/43/image_19012025_13_43_02_280313_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/13/42/image_19012025_13_42_03_063889_0003.jpg
/home/pi/Desktop/images/19012025/13/43/image_19012025_13_43_02_280313_0000.jpg
/home/pi/Desktop/images/19012025/13/43/image_19012025_13_43_02_280313_0001.jpg
/home/pi/Desktop/images/19012025/13/43/image_19012025_13_43_02_280313_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330037461","1330037464","1330037466","1330037460"],"photo_ids_order":["1330037460","1330037461","1330037464","1330037466"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/57b3a87c1a9b99cf1d421f2ef38c82b2.jpg","text":"TemporaryFile(/tmp/multipartBody1439268628454122267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737290713864,"filename":"image_19012025_13_43_02_280313_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/ae33d56f40a7205c3d5f3cd3e05f51e1.jpg","text":"TemporaryFile(/tmp/multipartBody7964072742580339743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737290713864,"filename":"image_19012025_13_43_02_280313_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/2825e0cfe0ec61ca560d9c4187a4d387.jpg","text":"TemporaryFile(/tmp/multipartBody4230036379886378737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737290713864,"filename":"image_19012025_13_43_02_280313_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/9ce190eb8a02137ee33e679f279824f6.jpg","text":"TemporaryFile(/tmp/multipartBody1025786634691662356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737290713864,"filename":"image_19012025_13_42_03_063889_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330037464","file1":"1330037461","file0":"1330037460","file3":"1330037466"},"map_files_photo_id_array":[{"photo_id":"1330037464","filename":"file2"},{"photo_id":"1330037461","filename":"file1"},{"photo_id":"1330037460","filename":"file0"},{"photo_id":"1330037466","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330037461":["hashtag1","hashtag2"]},{"1330037464":["hashtag1","hashtag2"]},{"1330037466":["hashtag1","hashtag2"]},{"1330037460":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330037461, 1330037464, 1330037466, 1330037460)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.52829670906067 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-19 13:44:52.200765
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/13/43/image_19012025_13_43_02_280313_0003.jpg', '/home/pi/Desktop/images/19012025/13/44/image_19012025_13_44_02_378779_0000.jpg', '/home/pi/Desktop/images/19012025/13/44/image_19012025_13_44_02_378779_0001.jpg', '/home/pi/Desktop/images/19012025/13/44/image_19012025_13_44_02_378779_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/13/43/image_19012025_13_43_02_280313_0003.jpg
/home/pi/Desktop/images/19012025/13/44/image_19012025_13_44_02_378779_0000.jpg
/home/pi/Desktop/images/19012025/13/44/image_19012025_13_44_02_378779_0001.jpg
/home/pi/Desktop/images/19012025/13/44/image_19012025_13_44_02_378779_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330037476","1330037479","1330037478","1330037477"],"photo_ids_order":["1330037476","1330037477","1330037478","1330037479"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/4a461a5051fd7483b1fd677dd57e5b27.jpg","text":"TemporaryFile(/tmp/multipartBody2607029318340519108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737290763333,"filename":"image_19012025_13_43_02_280313_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/930997cd0843641830f6f24c10e0ffab.jpg","text":"TemporaryFile(/tmp/multipartBody4295146786468045669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737290763333,"filename":"image_19012025_13_44_02_378779_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/e4b88d1bb9fedc72a5f0b7f4a869eaa5.jpg","text":"TemporaryFile(/tmp/multipartBody5137632312505483898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737290763333,"filename":"image_19012025_13_44_02_378779_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/766001d505d5dcfce7b8f924aa0228ff.jpg","text":"TemporaryFile(/tmp/multipartBody4759539461781776969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737290763333,"filename":"image_19012025_13_44_02_378779_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330037478","file1":"1330037477","file0":"1330037476","file3":"1330037479"},"map_files_photo_id_array":[{"photo_id":"1330037478","filename":"file2"},{"photo_id":"1330037477","filename":"file1"},{"photo_id":"1330037476","filename":"file0"},{"photo_id":"1330037479","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330037476":["hashtag1","hashtag2"]},{"1330037479":["hashtag1","hashtag2"]},{"1330037478":["hashtag1","hashtag2"]},{"1330037477":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330037476, 1330037479, 1330037478, 1330037477)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.90105080604553 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-19 13:45:42.401216
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/13/44/image_19012025_13_44_02_378779_0003.jpg', '/home/pi/Desktop/images/19012025/13/45/image_19012025_13_45_02_604097_0000.jpg', '/home/pi/Desktop/images/19012025/13/45/image_19012025_13_45_02_604097_0001.jpg', '/home/pi/Desktop/images/19012025/13/45/image_19012025_13_45_02_604097_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/13/44/image_19012025_13_44_02_378779_0003.jpg
/home/pi/Desktop/images/19012025/13/45/image_19012025_13_45_02_604097_0000.jpg
/home/pi/Desktop/images/19012025/13/45/image_19012025_13_45_02_604097_0001.jpg
/home/pi/Desktop/images/19012025/13/45/image_19012025_13_45_02_604097_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330037833","1330037859","1330037852","1330037858"],"photo_ids_order":["1330037833","1330037852","1330037858","1330037859"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/97a60e9bf570eb715afd47b6b65f9a1b.jpg","text":"TemporaryFile(/tmp/multipartBody5748321822208918317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737290813900,"filename":"image_19012025_13_44_02_378779_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/bdd79d82da2b554657904904c180bd37.jpg","text":"TemporaryFile(/tmp/multipartBody4670856285881536344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737290813900,"filename":"image_19012025_13_45_02_604097_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/75c9b0ddfbe24c1d736d150b946f0afa.jpg","text":"TemporaryFile(/tmp/multipartBody4802576190469422306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737290813900,"filename":"image_19012025_13_45_02_604097_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/3a6148bb070bfde31d88ad4e95645d49.jpg","text":"TemporaryFile(/tmp/multipartBody8609629749442287767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737290813900,"filename":"image_19012025_13_45_02_604097_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330037858","file1":"1330037852","file0":"1330037833","file3":"1330037859"},"map_files_photo_id_array":[{"photo_id":"1330037858","filename":"file2"},{"photo_id":"1330037852","filename":"file1"},{"photo_id":"1330037833","filename":"file0"},{"photo_id":"1330037859","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330037833":["hashtag1","hashtag2"]},{"1330037859":["hashtag1","hashtag2"]},{"1330037852":["hashtag1","hashtag2"]},{"1330037858":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330037833, 1330037859, 1330037852, 1330037858)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 44.49635338783264 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-19 13:46:32.545310
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/13/45/image_19012025_13_45_02_604097_0003.jpg', '/home/pi/Desktop/images/19012025/13/46/image_19012025_13_46_02_861906_0000.jpg', '/home/pi/Desktop/images/19012025/13/46/image_19012025_13_46_02_861906_0001.jpg', '/home/pi/Desktop/images/19012025/13/46/image_19012025_13_46_02_861906_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/13/45/image_19012025_13_45_02_604097_0003.jpg
/home/pi/Desktop/images/19012025/13/46/image_19012025_13_46_02_861906_0000.jpg
/home/pi/Desktop/images/19012025/13/46/image_19012025_13_46_02_861906_0001.jpg
/home/pi/Desktop/images/19012025/13/46/image_19012025_13_46_02_861906_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330037949","1330037943","1330037952","1330037946"],"photo_ids_order":["1330037943","1330037946","1330037949","1330037952"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/59220d8b9bc35d2709a087ae16c6e71d.jpg","text":"TemporaryFile(/tmp/multipartBody8300771880267066329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737290863807,"filename":"image_19012025_13_46_02_861906_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/ac492031a216621e241cc0e302b9746a.jpg","text":"TemporaryFile(/tmp/multipartBody8709718684524915307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737290863807,"filename":"image_19012025_13_45_02_604097_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/99c7bb0d198f1054fa1ff59fbcfcdac2.jpg","text":"TemporaryFile(/tmp/multipartBody5076971322030028621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737290863807,"filename":"image_19012025_13_46_02_861906_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/6cbc2f884d3a88f52c538f1480f198e2.jpg","text":"TemporaryFile(/tmp/multipartBody4864906449943172231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737290863807,"filename":"image_19012025_13_46_02_861906_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330037949","file1":"1330037946","file0":"1330037943","file3":"1330037952"},"map_files_photo_id_array":[{"photo_id":"1330037949","filename":"file2"},{"photo_id":"1330037946","filename":"file1"},{"photo_id":"1330037943","filename":"file0"},{"photo_id":"1330037952","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330037949":["hashtag1","hashtag2"]},{"1330037943":["hashtag1","hashtag2"]},{"1330037952":["hashtag1","hashtag2"]},{"1330037946":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330037949, 1330037943, 1330037952, 1330037946)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.52588510513306 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 13:47:22.727856
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/13/46/image_19012025_13_46_02_861906_0003.jpg', '/home/pi/Desktop/images/19012025/13/47/image_19012025_13_47_03_004121_0000.jpg', '/home/pi/Desktop/images/19012025/13/47/image_19012025_13_47_03_004121_0001.jpg', '/home/pi/Desktop/images/19012025/13/47/image_19012025_13_47_03_004121_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/13/46/image_19012025_13_46_02_861906_0003.jpg
/home/pi/Desktop/images/19012025/13/47/image_19012025_13_47_03_004121_0000.jpg
/home/pi/Desktop/images/19012025/13/47/image_19012025_13_47_03_004121_0001.jpg
/home/pi/Desktop/images/19012025/13/47/image_19012025_13_47_03_004121_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330037962","1330037959","1330037968","1330037966"],"photo_ids_order":["1330037959","1330037962","1330037966","1330037968"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/c10f46f43b13e0ec3fdfd2be4e37cc80.jpg","text":"TemporaryFile(/tmp/multipartBody1248429430236849881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737290913813,"filename":"image_19012025_13_47_03_004121_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/a7a8fea95ec7d84ef6ac7ead0302fa32.jpg","text":"TemporaryFile(/tmp/multipartBody9222729290944253507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737290913813,"filename":"image_19012025_13_46_02_861906_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/eadf4d6f95faecbf918b499a06b8f5a3.jpg","text":"TemporaryFile(/tmp/multipartBody7253060301604385990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737290913813,"filename":"image_19012025_13_47_03_004121_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/6dd5e9eb44d305a60ea5838848d8d2f3.jpg","text":"TemporaryFile(/tmp/multipartBody478516173327501848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737290913813,"filename":"image_19012025_13_47_03_004121_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330037966","file1":"1330037962","file0":"1330037959","file3":"1330037968"},"map_files_photo_id_array":[{"photo_id":"1330037966","filename":"file2"},{"photo_id":"1330037962","filename":"file1"},{"photo_id":"1330037959","filename":"file0"},{"photo_id":"1330037968","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330037962":["hashtag1","hashtag2"]},{"1330037959":["hashtag1","hashtag2"]},{"1330037968":["hashtag1","hashtag2"]},{"1330037966":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330037962, 1330037959, 1330037968, 1330037966)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.21466946601868 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 13:48:02.248924
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
  port_id : 19698700
  datou_current_id : 2490825
in upload_from_sqlite, uploading in 19698700
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17012025/22/22/image_17012025_22_22_02_712808_0001.jpg', '/home/pi/Desktop/images/17012025/22/22/image_17012025_22_22_02_712808_0002.jpg', '/home/pi/Desktop/images/17012025/22/22/image_17012025_22_22_02_712808_0003.jpg', '/home/pi/Desktop/images/17012025/22/23/image_17012025_22_23_02_887618_0000.jpg', '/home/pi/Desktop/images/17012025/22/23/image_17012025_22_23_02_887618_0001.jpg', '/home/pi/Desktop/images/17012025/22/23/image_17012025_22_23_02_887618_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2490825&datou=0
/home/pi/Desktop/images/17012025/22/22/image_17012025_22_22_02_712808_0001.jpg
/home/pi/Desktop/images/17012025/22/22/image_17012025_22_22_02_712808_0002.jpg
/home/pi/Desktop/images/17012025/22/22/image_17012025_22_22_02_712808_0003.jpg
/home/pi/Desktop/images/17012025/22/23/image_17012025_22_23_02_887618_0000.jpg
/home/pi/Desktop/images/17012025/22/23/image_17012025_22_23_02_887618_0001.jpg
/home/pi/Desktop/images/17012025/22/23/image_17012025_22_23_02_887618_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330037986","1330037981","1330037984","1330037978","1330037972","1330037975"],"photo_ids_order":["1330037972","1330037975","1330037978","1330037981","1330037984","1330037986"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/ade6d461f8183e750b9149acbecab24e.jpg","text":"TemporaryFile(/tmp/multipartBody8846630304539317903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737290959626,"filename":"image_17012025_22_23_02_887618_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/811475408a56240c83f3b7a2b24c8114.jpg","text":"TemporaryFile(/tmp/multipartBody3909498132497487124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737290959626,"filename":"image_17012025_22_23_02_887618_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/96038bc56fd7a483569bc3710d67aa51.jpg","text":"TemporaryFile(/tmp/multipartBody3208636115079133067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737290959626,"filename":"image_17012025_22_23_02_887618_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/f6d833df0965b101c28f7d7c50e43ae1.jpg","text":"TemporaryFile(/tmp/multipartBody78953085491233361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737290959626,"filename":"image_17012025_22_22_02_712808_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/71813ba5fc41dd255cf516d1584c1bcd.jpg","text":"TemporaryFile(/tmp/multipartBody6554582213065882024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737290959626,"filename":"image_17012025_22_22_02_712808_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/7c6c91a7680d7c9fd5ff5ba739c9492b.jpg","text":"TemporaryFile(/tmp/multipartBody4604488401877273755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737290959626,"filename":"image_17012025_22_22_02_712808_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330037978","file1":"1330037975","file0":"1330037972","file4":"1330037984","file5":"1330037986","file3":"1330037981"},"map_files_photo_id_array":[{"photo_id":"1330037986","filename":"file5"},{"photo_id":"1330037978","filename":"file2"},{"photo_id":"1330037984","filename":"file4"},{"photo_id":"1330037975","filename":"file1"},{"photo_id":"1330037972","filename":"file0"},{"photo_id":"1330037981","filename":"file3"}],"portfolio_id":19698700,"hashtag_by_photo_ids":[{"1330037986":["hashtag1","hashtag2"]},{"1330037981":["hashtag1","hashtag2"]},{"1330037984":["hashtag1","hashtag2"]},{"1330037978":["hashtag1","hashtag2"]},{"1330037972":["hashtag1","hashtag2"]},{"1330037975":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698700 used, photo_id : ArrayBuffer(1330037986, 1330037981, 1330037984, 1330037978, 1330037972, 1330037975)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.625840187072754 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 13:49:02.714025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/13/47/image_19012025_13_47_03_004121_0003.jpg', '/home/pi/Desktop/images/19012025/13/48/image_19012025_13_48_03_169190_0000.jpg', '/home/pi/Desktop/images/19012025/13/48/image_19012025_13_48_03_169190_0001.jpg', '/home/pi/Desktop/images/19012025/13/48/image_19012025_13_48_03_169190_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/13/47/image_19012025_13_47_03_004121_0003.jpg
/home/pi/Desktop/images/19012025/13/48/image_19012025_13_48_03_169190_0000.jpg
/home/pi/Desktop/images/19012025/13/48/image_19012025_13_48_03_169190_0001.jpg
/home/pi/Desktop/images/19012025/13/48/image_19012025_13_48_03_169190_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330038208","1330038026","1330037990","1330037993"],"photo_ids_order":["1330037990","1330037993","1330038026","1330038208"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/5d4cb6d6b1823724466670d7aebd631a.jpg","text":"TemporaryFile(/tmp/multipartBody1208073535735047172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737291014224,"filename":"image_19012025_13_48_03_169190_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/6f3d39872f136dec54e9c8208f367ced.jpg","text":"TemporaryFile(/tmp/multipartBody1689166716032751365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737291014224,"filename":"image_19012025_13_48_03_169190_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/61a899dfc6561d60e48836573c645eea.jpg","text":"TemporaryFile(/tmp/multipartBody6443355181909160384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737291014224,"filename":"image_19012025_13_47_03_004121_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/5b594ab4dc83aac0f5d503d94283c0dd.jpg","text":"TemporaryFile(/tmp/multipartBody4991826102131641994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737291014224,"filename":"image_19012025_13_48_03_169190_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330038026","file1":"1330037993","file0":"1330037990","file3":"1330038208"},"map_files_photo_id_array":[{"photo_id":"1330038026","filename":"file2"},{"photo_id":"1330037993","filename":"file1"},{"photo_id":"1330037990","filename":"file0"},{"photo_id":"1330038208","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330038208":["hashtag1","hashtag2"]},{"1330038026":["hashtag1","hashtag2"]},{"1330037990":["hashtag1","hashtag2"]},{"1330037993":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330038208, 1330038026, 1330037990, 1330037993)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.13533687591553 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-19 13:49:52.162095
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/13/48/image_19012025_13_48_03_169190_0003.jpg', '/home/pi/Desktop/images/19012025/13/49/image_19012025_13_49_02_365342_0000.jpg', '/home/pi/Desktop/images/19012025/13/49/image_19012025_13_49_02_365342_0001.jpg', '/home/pi/Desktop/images/19012025/13/49/image_19012025_13_49_02_365342_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/13/48/image_19012025_13_48_03_169190_0003.jpg
/home/pi/Desktop/images/19012025/13/49/image_19012025_13_49_02_365342_0000.jpg
/home/pi/Desktop/images/19012025/13/49/image_19012025_13_49_02_365342_0001.jpg
/home/pi/Desktop/images/19012025/13/49/image_19012025_13_49_02_365342_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330038337","1330038333","1330038335","1330038334"],"photo_ids_order":["1330038333","1330038334","1330038335","1330038337"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/1f9341a6ef14ac17321b9148404d3f6a.jpg","text":"TemporaryFile(/tmp/multipartBody7076356893469443750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737291063472,"filename":"image_19012025_13_49_02_365342_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/f3377473c9ba976fb3d11f56b9539c41.jpg","text":"TemporaryFile(/tmp/multipartBody6604599044234955378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737291063472,"filename":"image_19012025_13_48_03_169190_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/b02363017aa65fade347985e2f447c84.jpg","text":"TemporaryFile(/tmp/multipartBody5119700001820858790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737291063472,"filename":"image_19012025_13_49_02_365342_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/838a9a60489b8ab0536b2c4d8b92966a.jpg","text":"TemporaryFile(/tmp/multipartBody5997225084032940629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737291063472,"filename":"image_19012025_13_49_02_365342_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330038335","file1":"1330038334","file0":"1330038333","file3":"1330038337"},"map_files_photo_id_array":[{"photo_id":"1330038335","filename":"file2"},{"photo_id":"1330038334","filename":"file1"},{"photo_id":"1330038333","filename":"file0"},{"photo_id":"1330038337","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330038337":["hashtag1","hashtag2"]},{"1330038333":["hashtag1","hashtag2"]},{"1330038335":["hashtag1","hashtag2"]},{"1330038334":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330038337, 1330038333, 1330038335, 1330038334)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.4089789390564 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-19 13:50:42.387149
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/13/49/image_19012025_13_49_02_365342_0003.jpg', '/home/pi/Desktop/images/19012025/13/50/image_19012025_13_50_02_490470_0000.jpg', '/home/pi/Desktop/images/19012025/13/50/image_19012025_13_50_02_490470_0001.jpg', '/home/pi/Desktop/images/19012025/13/50/image_19012025_13_50_02_490470_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/13/49/image_19012025_13_49_02_365342_0003.jpg
/home/pi/Desktop/images/19012025/13/50/image_19012025_13_50_02_490470_0000.jpg
/home/pi/Desktop/images/19012025/13/50/image_19012025_13_50_02_490470_0001.jpg
/home/pi/Desktop/images/19012025/13/50/image_19012025_13_50_02_490470_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330038350","1330038353","1330038347","1330038352"],"photo_ids_order":["1330038347","1330038350","1330038352","1330038353"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/9936ca1a91637eb41c89cacc10306617.jpg","text":"TemporaryFile(/tmp/multipartBody943669103771009175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737291114087,"filename":"image_19012025_13_50_02_490470_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/129d8405485c09ca2b86985a9767f725.jpg","text":"TemporaryFile(/tmp/multipartBody3826271723812361428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737291114087,"filename":"image_19012025_13_50_02_490470_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/2325e951b6172ddb7f3563c48b1acbb5.jpg","text":"TemporaryFile(/tmp/multipartBody3466050224770001394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737291114087,"filename":"image_19012025_13_49_02_365342_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/c1eb75fdd5f69a57a180443ff001519d.jpg","text":"TemporaryFile(/tmp/multipartBody9198524425541155360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737291114087,"filename":"image_19012025_13_50_02_490470_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330038352","file1":"1330038350","file0":"1330038347","file3":"1330038353"},"map_files_photo_id_array":[{"photo_id":"1330038352","filename":"file2"},{"photo_id":"1330038350","filename":"file1"},{"photo_id":"1330038347","filename":"file0"},{"photo_id":"1330038353","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330038350":["hashtag1","hashtag2"]},{"1330038353":["hashtag1","hashtag2"]},{"1330038347":["hashtag1","hashtag2"]},{"1330038352":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330038350, 1330038353, 1330038347, 1330038352)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.205700159072876 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-19 13:51:32.536124
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/13/50/image_19012025_13_50_02_490470_0003.jpg', '/home/pi/Desktop/images/19012025/13/51/image_19012025_13_51_02_777430_0000.jpg', '/home/pi/Desktop/images/19012025/13/51/image_19012025_13_51_02_777430_0001.jpg', '/home/pi/Desktop/images/19012025/13/51/image_19012025_13_51_02_777430_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/13/50/image_19012025_13_50_02_490470_0003.jpg
/home/pi/Desktop/images/19012025/13/51/image_19012025_13_51_02_777430_0000.jpg
/home/pi/Desktop/images/19012025/13/51/image_19012025_13_51_02_777430_0001.jpg
/home/pi/Desktop/images/19012025/13/51/image_19012025_13_51_02_777430_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330038363","1330038365","1330038367","1330038361"],"photo_ids_order":["1330038361","1330038363","1330038365","1330038367"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/5d314282f7e07177600f8c152724f306.jpg","text":"TemporaryFile(/tmp/multipartBody7687612314628579045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737291163730,"filename":"image_19012025_13_51_02_777430_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/2cbc80c4c86a09606c75ff9237d77067.jpg","text":"TemporaryFile(/tmp/multipartBody183530764638638378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737291163730,"filename":"image_19012025_13_51_02_777430_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/f7560f2705a97e40fffa20156bd568ff.jpg","text":"TemporaryFile(/tmp/multipartBody718434704907347284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737291163730,"filename":"image_19012025_13_51_02_777430_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/6831422778221de1b5cc3a4d26678a22.jpg","text":"TemporaryFile(/tmp/multipartBody6228755256219198435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737291163730,"filename":"image_19012025_13_50_02_490470_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330038365","file1":"1330038363","file0":"1330038361","file3":"1330038367"},"map_files_photo_id_array":[{"photo_id":"1330038365","filename":"file2"},{"photo_id":"1330038363","filename":"file1"},{"photo_id":"1330038361","filename":"file0"},{"photo_id":"1330038367","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330038363":["hashtag1","hashtag2"]},{"1330038365":["hashtag1","hashtag2"]},{"1330038367":["hashtag1","hashtag2"]},{"1330038361":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330038363, 1330038365, 1330038367, 1330038361)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.93953323364258 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 13:52:22.779747
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/13/51/image_19012025_13_51_02_777430_0003.jpg', '/home/pi/Desktop/images/19012025/13/52/image_19012025_13_52_02_879606_0000.jpg', '/home/pi/Desktop/images/19012025/13/52/image_19012025_13_52_02_879606_0001.jpg', '/home/pi/Desktop/images/19012025/13/52/image_19012025_13_52_02_879606_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/13/51/image_19012025_13_51_02_777430_0003.jpg
/home/pi/Desktop/images/19012025/13/52/image_19012025_13_52_02_879606_0000.jpg
/home/pi/Desktop/images/19012025/13/52/image_19012025_13_52_02_879606_0001.jpg
/home/pi/Desktop/images/19012025/13/52/image_19012025_13_52_02_879606_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330038403","1330038375","1330038372","1330038401"],"photo_ids_order":["1330038372","1330038375","1330038401","1330038403"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/b4a845bcec04090cbe846af400135735.jpg","text":"TemporaryFile(/tmp/multipartBody203078787323060463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737291214780,"filename":"image_19012025_13_52_02_879606_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/311d324b29673b99c0e3a1ec7d945ace.jpg","text":"TemporaryFile(/tmp/multipartBody673691533892617208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737291214780,"filename":"image_19012025_13_52_02_879606_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/658c362e2a589eb8de7238d31606470f.jpg","text":"TemporaryFile(/tmp/multipartBody2464073084682787302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737291214780,"filename":"image_19012025_13_51_02_777430_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/d9bee65d7fbedb73847b1bd5eeebe986.jpg","text":"TemporaryFile(/tmp/multipartBody7182690332765670843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737291214780,"filename":"image_19012025_13_52_02_879606_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330038401","file1":"1330038375","file0":"1330038372","file3":"1330038403"},"map_files_photo_id_array":[{"photo_id":"1330038401","filename":"file2"},{"photo_id":"1330038375","filename":"file1"},{"photo_id":"1330038372","filename":"file0"},{"photo_id":"1330038403","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330038403":["hashtag1","hashtag2"]},{"1330038375":["hashtag1","hashtag2"]},{"1330038372":["hashtag1","hashtag2"]},{"1330038401":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330038403, 1330038375, 1330038372, 1330038401)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.83174180984497 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 13:53:21.917476
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/13/52/image_19012025_13_52_02_879606_0003.jpg', '/home/pi/Desktop/images/19012025/13/53/image_19012025_13_53_03_103721_0000.jpg', '/home/pi/Desktop/images/19012025/13/53/image_19012025_13_53_03_103721_0001.jpg', '/home/pi/Desktop/images/19012025/13/53/image_19012025_13_53_03_103721_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/13/52/image_19012025_13_52_02_879606_0003.jpg
/home/pi/Desktop/images/19012025/13/53/image_19012025_13_53_03_103721_0000.jpg
/home/pi/Desktop/images/19012025/13/53/image_19012025_13_53_03_103721_0001.jpg
/home/pi/Desktop/images/19012025/13/53/image_19012025_13_53_03_103721_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.709196090698242 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-19 13:53:41.946988
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/13/52/image_19012025_13_52_02_879606_0003.jpg', '/home/pi/Desktop/images/19012025/13/53/image_19012025_13_53_03_103721_0000.jpg', '/home/pi/Desktop/images/19012025/13/53/image_19012025_13_53_03_103721_0001.jpg', '/home/pi/Desktop/images/19012025/13/53/image_19012025_13_53_03_103721_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/13/52/image_19012025_13_52_02_879606_0003.jpg
/home/pi/Desktop/images/19012025/13/53/image_19012025_13_53_03_103721_0000.jpg
/home/pi/Desktop/images/19012025/13/53/image_19012025_13_53_03_103721_0001.jpg
/home/pi/Desktop/images/19012025/13/53/image_19012025_13_53_03_103721_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330038538","1330038537","1330038536","1330038533"],"photo_ids_order":["1330038533","1330038536","1330038537","1330038538"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/2dc9dcfa63d9e956a0886169c88697a1.jpg","text":"TemporaryFile(/tmp/multipartBody2710670894440489993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737291293067,"filename":"image_19012025_13_53_03_103721_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/7a8c180dc6a97bc2b6439fe2cf8b459f.jpg","text":"TemporaryFile(/tmp/multipartBody3240944708263938056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737291293067,"filename":"image_19012025_13_53_03_103721_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/75f92e6b09c9eeee02c5e2be11e64179.jpg","text":"TemporaryFile(/tmp/multipartBody8922761757591269005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737291293067,"filename":"image_19012025_13_53_03_103721_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/fda90648d0ce3342dedf23d4676010a4.jpg","text":"TemporaryFile(/tmp/multipartBody3234151328558700869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737291293067,"filename":"image_19012025_13_52_02_879606_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330038537","file1":"1330038536","file0":"1330038533","file3":"1330038538"},"map_files_photo_id_array":[{"photo_id":"1330038537","filename":"file2"},{"photo_id":"1330038536","filename":"file1"},{"photo_id":"1330038533","filename":"file0"},{"photo_id":"1330038538","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330038538":["hashtag1","hashtag2"]},{"1330038537":["hashtag1","hashtag2"]},{"1330038536":["hashtag1","hashtag2"]},{"1330038533":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330038538, 1330038537, 1330038536, 1330038533)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.420634269714355 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-19 13:54:32.066222
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/13/53/image_19012025_13_53_03_103721_0003.jpg', '/home/pi/Desktop/images/19012025/13/54/image_19012025_13_54_02_260736_0000.jpg', '/home/pi/Desktop/images/19012025/13/54/image_19012025_13_54_02_260736_0001.jpg', '/home/pi/Desktop/images/19012025/13/54/image_19012025_13_54_02_260736_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/13/53/image_19012025_13_53_03_103721_0003.jpg
/home/pi/Desktop/images/19012025/13/54/image_19012025_13_54_02_260736_0000.jpg
/home/pi/Desktop/images/19012025/13/54/image_19012025_13_54_02_260736_0001.jpg
/home/pi/Desktop/images/19012025/13/54/image_19012025_13_54_02_260736_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330038555","1330038570","1330038564","1330038567"],"photo_ids_order":["1330038555","1330038564","1330038567","1330038570"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/580fa200f740a75f6e80b29fc609d74d.jpg","text":"TemporaryFile(/tmp/multipartBody6803585779271174071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737291343675,"filename":"image_19012025_13_53_03_103721_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/2e4d4d8c06fe52919f2665eafaa8f566.jpg","text":"TemporaryFile(/tmp/multipartBody934376180827184017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737291343675,"filename":"image_19012025_13_54_02_260736_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/817d30b1dc7f2b3917b4a613bf23d875.jpg","text":"TemporaryFile(/tmp/multipartBody6535887907017596526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737291343675,"filename":"image_19012025_13_54_02_260736_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/c3e9eb49851eb7b4a695a9b102fb1bd5.jpg","text":"TemporaryFile(/tmp/multipartBody1854351405012115812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737291343675,"filename":"image_19012025_13_54_02_260736_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330038567","file1":"1330038564","file0":"1330038555","file3":"1330038570"},"map_files_photo_id_array":[{"photo_id":"1330038567","filename":"file2"},{"photo_id":"1330038564","filename":"file1"},{"photo_id":"1330038555","filename":"file0"},{"photo_id":"1330038570","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330038555":["hashtag1","hashtag2"]},{"1330038570":["hashtag1","hashtag2"]},{"1330038564":["hashtag1","hashtag2"]},{"1330038567":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330038555, 1330038570, 1330038564, 1330038567)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.32128882408142 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 13:55:22.290735
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/13/54/image_19012025_13_54_02_260736_0003.jpg', '/home/pi/Desktop/images/19012025/13/55/image_19012025_13_55_02_484030_0000.jpg', '/home/pi/Desktop/images/19012025/13/55/image_19012025_13_55_02_484030_0001.jpg', '/home/pi/Desktop/images/19012025/13/55/image_19012025_13_55_02_484030_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/13/54/image_19012025_13_54_02_260736_0003.jpg
/home/pi/Desktop/images/19012025/13/55/image_19012025_13_55_02_484030_0000.jpg
/home/pi/Desktop/images/19012025/13/55/image_19012025_13_55_02_484030_0001.jpg
/home/pi/Desktop/images/19012025/13/55/image_19012025_13_55_02_484030_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330038579","1330038581","1330038575","1330038577"],"photo_ids_order":["1330038575","1330038577","1330038579","1330038581"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/e03e346a8be89b5f2686f464c530dc34.jpg","text":"TemporaryFile(/tmp/multipartBody1324303811802645311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737291393686,"filename":"image_19012025_13_55_02_484030_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/60cc30b6db3cbbebc999a2ba30b51896.jpg","text":"TemporaryFile(/tmp/multipartBody8023917032216176732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737291393686,"filename":"image_19012025_13_55_02_484030_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/7e95233699ef41126da22469c178b5c7.jpg","text":"TemporaryFile(/tmp/multipartBody8879667160848268149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737291393686,"filename":"image_19012025_13_54_02_260736_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/850f7da43eb74e132cab36e17a13e86a.jpg","text":"TemporaryFile(/tmp/multipartBody6004298239383323957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737291393686,"filename":"image_19012025_13_55_02_484030_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330038579","file1":"1330038577","file0":"1330038575","file3":"1330038581"},"map_files_photo_id_array":[{"photo_id":"1330038579","filename":"file2"},{"photo_id":"1330038577","filename":"file1"},{"photo_id":"1330038575","filename":"file0"},{"photo_id":"1330038581","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330038579":["hashtag1","hashtag2"]},{"1330038581":["hashtag1","hashtag2"]},{"1330038575":["hashtag1","hashtag2"]},{"1330038577":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330038579, 1330038581, 1330038575, 1330038577)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.459545850753784 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 13:56:02.972043
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
  port_id : 19698700
  datou_current_id : 2490825
in upload_from_sqlite, uploading in 19698700
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17012025/22/23/image_17012025_22_23_02_887618_0003.jpg', '/home/pi/Desktop/images/17012025/22/24/image_17012025_22_24_03_040008_0000.jpg', '/home/pi/Desktop/images/17012025/22/24/image_17012025_22_24_03_040008_0001.jpg', '/home/pi/Desktop/images/17012025/22/24/image_17012025_22_24_03_040008_0002.jpg', '/home/pi/Desktop/images/17012025/22/24/image_17012025_22_24_03_040008_0003.jpg', '/home/pi/Desktop/images/17012025/22/25/image_17012025_22_25_02_320535_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2490825&datou=0
/home/pi/Desktop/images/17012025/22/23/image_17012025_22_23_02_887618_0003.jpg
/home/pi/Desktop/images/17012025/22/24/image_17012025_22_24_03_040008_0000.jpg
/home/pi/Desktop/images/17012025/22/24/image_17012025_22_24_03_040008_0001.jpg
/home/pi/Desktop/images/17012025/22/24/image_17012025_22_24_03_040008_0002.jpg
/home/pi/Desktop/images/17012025/22/24/image_17012025_22_24_03_040008_0003.jpg
/home/pi/Desktop/images/17012025/22/25/image_17012025_22_25_02_320535_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":["1330038588","1330038596","1330038590","1330038593","1330038598","1330038586"],"photo_ids_order":["1330038586","1330038588","1330038590","1330038593","1330038596","1330038598"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/8b83f19cbdbee95954685eaf4dc32d61.jpg","text":"TemporaryFile(/tmp/multipartBody4976732168676394840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737291440228,"filename":"image_17012025_22_24_03_040008_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/93410ea8e408c4754d5c205338406a34.jpg","text":"TemporaryFile(/tmp/multipartBody6266809026305001521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737291440228,"filename":"image_17012025_22_24_03_040008_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/93c3289ba801e4eca4a92d83acfa0c07.jpg","text":"TemporaryFile(/tmp/multipartBody5124197351742651434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737291440228,"filename":"image_17012025_22_24_03_040008_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/88e9762343a2d198a774f77b3996b5ae.jpg","text":"TemporaryFile(/tmp/multipartBody2601408015993772105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737291440228,"filename":"image_17012025_22_24_03_040008_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/a468718c61f1686683abd5abffce6d74.jpg","text":"TemporaryFile(/tmp/multipartBody2677040201583979427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737291440228,"filename":"image_17012025_22_25_02_320535_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/54b5c3762bceb31af9b66bedf0b52003.jpg","text":"TemporaryFile(/tmp/multipartBody5433495872320201878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737291440228,"filename":"image_17012025_22_23_02_887618_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330038590","file1":"1330038588","file0":"1330038586","file4":"1330038596","file5":"1330038598","file3":"1330038593"},"map_files_photo_id_array":[{"photo_id":"1330038598","filename":"file5"},{"photo_id":"1330038590","filename":"file2"},{"photo_id":"1330038596","filename":"file4"},{"photo_id":"1330038588","filename":"file1"},{"photo_id":"1330038586","filename":"file0"},{"photo_id":"1330038593","filename":"file3"}],"portfolio_id":19698700,"hashtag_by_photo_ids":[{"1330038588":["hashtag1","hashtag2"]},{"1330038596":["hashtag1","hashtag2"]},{"1330038590":["hashtag1","hashtag2"]},{"1330038593":["hashtag1","hashtag2"]},{"1330038598":["hashtag1","hashtag2"]},{"1330038586":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698700 used, photo_id : ArrayBuffer(1330038588, 1330038596, 1330038590, 1330038593, 1330038598, 1330038586)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.36424398422241 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 13:57:03.278328
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/13/55/image_19012025_13_55_02_484030_0003.jpg', '/home/pi/Desktop/images/19012025/13/56/image_19012025_13_56_02_646267_0000.jpg', '/home/pi/Desktop/images/19012025/13/56/image_19012025_13_56_02_646267_0001.jpg', '/home/pi/Desktop/images/19012025/13/56/image_19012025_13_56_02_646267_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/13/55/image_19012025_13_55_02_484030_0003.jpg
/home/pi/Desktop/images/19012025/13/56/image_19012025_13_56_02_646267_0000.jpg
/home/pi/Desktop/images/19012025/13/56/image_19012025_13_56_02_646267_0001.jpg
/home/pi/Desktop/images/19012025/13/56/image_19012025_13_56_02_646267_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330038607","1330038603","1330038602","1330038605"],"photo_ids_order":["1330038602","1330038603","1330038605","1330038607"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/04c61ddde5127cf52e3de6ee579b0b06.jpg","text":"TemporaryFile(/tmp/multipartBody7995467409767348265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737291494576,"filename":"image_19012025_13_56_02_646267_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/af836ef8248b5a78b5956633694aa098.jpg","text":"TemporaryFile(/tmp/multipartBody7438416121628517366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737291494576,"filename":"image_19012025_13_56_02_646267_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/85ba64132df668ffcdfdeddc822e875a.jpg","text":"TemporaryFile(/tmp/multipartBody376547135543080288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737291494576,"filename":"image_19012025_13_55_02_484030_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/b3891e999e702cd596b339a80971fee3.jpg","text":"TemporaryFile(/tmp/multipartBody4646729194058571368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737291494576,"filename":"image_19012025_13_56_02_646267_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330038605","file1":"1330038603","file0":"1330038602","file3":"1330038607"},"map_files_photo_id_array":[{"photo_id":"1330038605","filename":"file2"},{"photo_id":"1330038603","filename":"file1"},{"photo_id":"1330038602","filename":"file0"},{"photo_id":"1330038607","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330038607":["hashtag1","hashtag2"]},{"1330038603":["hashtag1","hashtag2"]},{"1330038602":["hashtag1","hashtag2"]},{"1330038605":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330038607, 1330038603, 1330038602, 1330038605)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.449095249176025 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-19 13:57:52.619115
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/13/56/image_19012025_13_56_02_646267_0003.jpg', '/home/pi/Desktop/images/19012025/13/57/image_19012025_13_57_02_853188_0000.jpg', '/home/pi/Desktop/images/19012025/13/57/image_19012025_13_57_02_853188_0001.jpg', '/home/pi/Desktop/images/19012025/13/57/image_19012025_13_57_02_853188_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/13/56/image_19012025_13_56_02_646267_0003.jpg
/home/pi/Desktop/images/19012025/13/57/image_19012025_13_57_02_853188_0000.jpg
/home/pi/Desktop/images/19012025/13/57/image_19012025_13_57_02_853188_0001.jpg
/home/pi/Desktop/images/19012025/13/57/image_19012025_13_57_02_853188_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-19 13:59:02.682125
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/13/56/image_19012025_13_56_02_646267_0003.jpg', '/home/pi/Desktop/images/19012025/13/57/image_19012025_13_57_02_853188_0000.jpg', '/home/pi/Desktop/images/19012025/13/57/image_19012025_13_57_02_853188_0001.jpg', '/home/pi/Desktop/images/19012025/13/57/image_19012025_13_57_02_853188_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/13/56/image_19012025_13_56_02_646267_0003.jpg
/home/pi/Desktop/images/19012025/13/57/image_19012025_13_57_02_853188_0000.jpg
/home/pi/Desktop/images/19012025/13/57/image_19012025_13_57_02_853188_0001.jpg
/home/pi/Desktop/images/19012025/13/57/image_19012025_13_57_02_853188_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":["1330038684","1330038663","1330038686","1330038665"],"photo_ids_order":["1330038663","1330038665","1330038684","1330038686"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/823ca0976b9b37e5abfb713fdc36cada.jpg","text":"TemporaryFile(/tmp/multipartBody7400702250442424141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737291613888,"filename":"image_19012025_13_57_02_853188_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/52ab12b0cf2d7f8f4471fc67572fed34.jpg","text":"TemporaryFile(/tmp/multipartBody6445511035910012995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737291613888,"filename":"image_19012025_13_56_02_646267_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/d22d8b6dec2507e05e03daa5210a244f.jpg","text":"TemporaryFile(/tmp/multipartBody3764439825056519271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737291613888,"filename":"image_19012025_13_57_02_853188_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/7d155fe445102588fbdbf9f208e862ac.jpg","text":"TemporaryFile(/tmp/multipartBody8021670845959391513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737291613888,"filename":"image_19012025_13_57_02_853188_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330038684","file1":"1330038665","file0":"1330038663","file3":"1330038686"},"map_files_photo_id_array":[{"photo_id":"1330038684","filename":"file2"},{"photo_id":"1330038665","filename":"file1"},{"photo_id":"1330038663","filename":"file0"},{"photo_id":"1330038686","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330038684":["hashtag1","hashtag2"]},{"1330038663":["hashtag1","hashtag2"]},{"1330038686":["hashtag1","hashtag2"]},{"1330038665":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330038684, 1330038663, 1330038686, 1330038665)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.287293434143066 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-19 13:59:42.054165
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/13/57/image_19012025_13_57_02_853188_0003.jpg', '/home/pi/Desktop/images/19012025/13/58/image_19012025_13_58_03_036709_0000.jpg', '/home/pi/Desktop/images/19012025/13/58/image_19012025_13_58_03_036709_0001.jpg', '/home/pi/Desktop/images/19012025/13/58/image_19012025_13_58_03_036709_0002.jpg', '/home/pi/Desktop/images/19012025/13/58/image_19012025_13_58_03_036709_0003.jpg', '/home/pi/Desktop/images/19012025/13/59/image_19012025_13_59_02_141762_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/13/57/image_19012025_13_57_02_853188_0003.jpg
/home/pi/Desktop/images/19012025/13/58/image_19012025_13_58_03_036709_0000.jpg
/home/pi/Desktop/images/19012025/13/58/image_19012025_13_58_03_036709_0001.jpg
/home/pi/Desktop/images/19012025/13/58/image_19012025_13_58_03_036709_0002.jpg
/home/pi/Desktop/images/19012025/13/58/image_19012025_13_58_03_036709_0003.jpg
/home/pi/Desktop/images/19012025/13/59/image_19012025_13_59_02_141762_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":["1330038699","1330038693","1330038705","1330038695","1330038702","1330038697"],"photo_ids_order":["1330038693","1330038695","1330038697","1330038699","1330038702","1330038705"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/fad8ee741f846b66d4d187ccb0b613aa.jpg","text":"TemporaryFile(/tmp/multipartBody3362568984598613870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737291658694,"filename":"image_19012025_13_58_03_036709_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/c3443d87de66dfefadcb95006e35f3c3.jpg","text":"TemporaryFile(/tmp/multipartBody4861192181598149893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737291658694,"filename":"image_19012025_13_57_02_853188_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/c82401b5c4c4f64a83e48865a9a0d61c.jpg","text":"TemporaryFile(/tmp/multipartBody6463418992379987705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737291658694,"filename":"image_19012025_13_59_02_141762_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/9da3ea96620fc52ad0f3c59322933e23.jpg","text":"TemporaryFile(/tmp/multipartBody39184840104257944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737291658694,"filename":"image_19012025_13_58_03_036709_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/efcc5776bc91ef9cbf4def25e97fa999.jpg","text":"TemporaryFile(/tmp/multipartBody507223031497418184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737291658694,"filename":"image_19012025_13_58_03_036709_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/25459b778839269261c7db16235e5a37.jpg","text":"TemporaryFile(/tmp/multipartBody3420584854953555115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737291658694,"filename":"image_19012025_13_58_03_036709_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330038697","file1":"1330038695","file0":"1330038693","file4":"1330038702","file5":"1330038705","file3":"1330038699"},"map_files_photo_id_array":[{"photo_id":"1330038705","filename":"file5"},{"photo_id":"1330038697","filename":"file2"},{"photo_id":"1330038702","filename":"file4"},{"photo_id":"1330038695","filename":"file1"},{"photo_id":"1330038693","filename":"file0"},{"photo_id":"1330038699","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330038699":["hashtag1","hashtag2"]},{"1330038693":["hashtag1","hashtag2"]},{"1330038705":["hashtag1","hashtag2"]},{"1330038695":["hashtag1","hashtag2"]},{"1330038702":["hashtag1","hashtag2"]},{"1330038697":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330038699, 1330038693, 1330038705, 1330038695, 1330038702, 1330038697)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.18615126609802 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-19 14:00:42.170902
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/13/59/image_19012025_13_59_02_141762_0001.jpg', '/home/pi/Desktop/images/19012025/13/59/image_19012025_13_59_02_141762_0002.jpg', '/home/pi/Desktop/images/19012025/13/59/image_19012025_13_59_02_141762_0003.jpg', '/home/pi/Desktop/images/19012025/14/00/image_19012025_14_00_02_389691_0000.jpg', '/home/pi/Desktop/images/19012025/14/00/image_19012025_14_00_02_389691_0001.jpg', '/home/pi/Desktop/images/19012025/14/00/image_19012025_14_00_02_389691_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/13/59/image_19012025_13_59_02_141762_0001.jpg
/home/pi/Desktop/images/19012025/13/59/image_19012025_13_59_02_141762_0002.jpg
/home/pi/Desktop/images/19012025/13/59/image_19012025_13_59_02_141762_0003.jpg
/home/pi/Desktop/images/19012025/14/00/image_19012025_14_00_02_389691_0000.jpg
/home/pi/Desktop/images/19012025/14/00/image_19012025_14_00_02_389691_0001.jpg
/home/pi/Desktop/images/19012025/14/00/image_19012025_14_00_02_389691_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330038712","1330038721","1330038715","1330038718","1330038723","1330038719"],"photo_ids_order":["1330038712","1330038715","1330038718","1330038719","1330038721","1330038723"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/66be3ef7b2be8591194d7b42925bbda4.jpg","text":"TemporaryFile(/tmp/multipartBody2427759605785345585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737291718632,"filename":"image_19012025_13_59_02_141762_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/fc53b2000a6508569003fca7aced84dd.jpg","text":"TemporaryFile(/tmp/multipartBody1173079763240459142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737291718632,"filename":"image_19012025_14_00_02_389691_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/e3c1baf639f6af89c1c39bee938e966e.jpg","text":"TemporaryFile(/tmp/multipartBody2808804586157557798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737291718632,"filename":"image_19012025_13_59_02_141762_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/d3b955dce5d6837d2f5653db1aa3798b.jpg","text":"TemporaryFile(/tmp/multipartBody2102180097606051797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737291718632,"filename":"image_19012025_13_59_02_141762_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/8971b42ed89b812cdf92addbe8b03afa.jpg","text":"TemporaryFile(/tmp/multipartBody1579389140742750525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737291718632,"filename":"image_19012025_14_00_02_389691_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/c2baf891a7d3e0c98c060d10d12f4c00.jpg","text":"TemporaryFile(/tmp/multipartBody6770679701291766023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737291718632,"filename":"image_19012025_14_00_02_389691_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330038718","file1":"1330038715","file0":"1330038712","file4":"1330038721","file5":"1330038723","file3":"1330038719"},"map_files_photo_id_array":[{"photo_id":"1330038723","filename":"file5"},{"photo_id":"1330038718","filename":"file2"},{"photo_id":"1330038721","filename":"file4"},{"photo_id":"1330038715","filename":"file1"},{"photo_id":"1330038712","filename":"file0"},{"photo_id":"1330038719","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330038712":["hashtag1","hashtag2"]},{"1330038721":["hashtag1","hashtag2"]},{"1330038715":["hashtag1","hashtag2"]},{"1330038718":["hashtag1","hashtag2"]},{"1330038723":["hashtag1","hashtag2"]},{"1330038719":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330038712, 1330038721, 1330038715, 1330038718, 1330038723, 1330038719)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.71766424179077 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-19 14:01:42.401644
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/14/00/image_19012025_14_00_02_389691_0003.jpg', '/home/pi/Desktop/images/19012025/14/01/image_19012025_14_01_02_549632_0000.jpg', '/home/pi/Desktop/images/19012025/14/01/image_19012025_14_01_02_549632_0001.jpg', '/home/pi/Desktop/images/19012025/14/01/image_19012025_14_01_02_549632_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/14/00/image_19012025_14_00_02_389691_0003.jpg
/home/pi/Desktop/images/19012025/14/01/image_19012025_14_01_02_549632_0000.jpg
/home/pi/Desktop/images/19012025/14/01/image_19012025_14_01_02_549632_0001.jpg
/home/pi/Desktop/images/19012025/14/01/image_19012025_14_01_02_549632_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330038762","1330038760","1330038763","1330038751"],"photo_ids_order":["1330038751","1330038760","1330038762","1330038763"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/44eeb22b77e36ba7aa6c44d11e3e73ad.jpg","text":"TemporaryFile(/tmp/multipartBody4061460439567822354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737291773697,"filename":"image_19012025_14_01_02_549632_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/2d77e7b490a1122575549465d7a350fb.jpg","text":"TemporaryFile(/tmp/multipartBody8673572253714729385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737291773697,"filename":"image_19012025_14_01_02_549632_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/eb48bf6c89c02b2da5016629f7e04796.jpg","text":"TemporaryFile(/tmp/multipartBody6883494030019334286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737291773697,"filename":"image_19012025_14_01_02_549632_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/d93c4c4a742a88840cc18871445f15c4.jpg","text":"TemporaryFile(/tmp/multipartBody2761252679231783218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737291773697,"filename":"image_19012025_14_00_02_389691_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330038762","file1":"1330038760","file0":"1330038751","file3":"1330038763"},"map_files_photo_id_array":[{"photo_id":"1330038762","filename":"file2"},{"photo_id":"1330038760","filename":"file1"},{"photo_id":"1330038751","filename":"file0"},{"photo_id":"1330038763","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330038762":["hashtag1","hashtag2"]},{"1330038760":["hashtag1","hashtag2"]},{"1330038763":["hashtag1","hashtag2"]},{"1330038751":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330038762, 1330038760, 1330038763, 1330038751)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.53555393218994 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-19 14:02:32.553157
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/14/01/image_19012025_14_01_02_549632_0003.jpg', '/home/pi/Desktop/images/19012025/14/02/image_19012025_14_02_02_747066_0000.jpg', '/home/pi/Desktop/images/19012025/14/02/image_19012025_14_02_02_747066_0001.jpg', '/home/pi/Desktop/images/19012025/14/02/image_19012025_14_02_02_747066_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/14/01/image_19012025_14_01_02_549632_0003.jpg
/home/pi/Desktop/images/19012025/14/02/image_19012025_14_02_02_747066_0000.jpg
/home/pi/Desktop/images/19012025/14/02/image_19012025_14_02_02_747066_0001.jpg
/home/pi/Desktop/images/19012025/14/02/image_19012025_14_02_02_747066_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330040005","1330040001","1330039999","1330040003"],"photo_ids_order":["1330039999","1330040001","1330040003","1330040005"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/04029482d371903ec6a39e9b7716c59b.jpg","text":"TemporaryFile(/tmp/multipartBody5971699463314108272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737291823973,"filename":"image_19012025_14_02_02_747066_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/b42b94eae36b76fd500030e99093d6d2.jpg","text":"TemporaryFile(/tmp/multipartBody9099338980947267732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737291823973,"filename":"image_19012025_14_02_02_747066_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/64b9df20f3baf90b91a9b40c4353c39a.jpg","text":"TemporaryFile(/tmp/multipartBody3257091439549988074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737291823973,"filename":"image_19012025_14_01_02_549632_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/0d41cb7f81f3fc16953cdb4fec8cda6d.jpg","text":"TemporaryFile(/tmp/multipartBody5892171332383920365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737291823973,"filename":"image_19012025_14_02_02_747066_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330040003","file1":"1330040001","file0":"1330039999","file3":"1330040005"},"map_files_photo_id_array":[{"photo_id":"1330040003","filename":"file2"},{"photo_id":"1330040001","filename":"file1"},{"photo_id":"1330039999","filename":"file0"},{"photo_id":"1330040005","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330040005":["hashtag1","hashtag2"]},{"1330040001":["hashtag1","hashtag2"]},{"1330039999":["hashtag1","hashtag2"]},{"1330040003":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330040005, 1330040001, 1330039999, 1330040003)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.27142834663391 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 14:03:22.774036
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/14/02/image_19012025_14_02_02_747066_0003.jpg', '/home/pi/Desktop/images/19012025/14/03/image_19012025_14_03_02_935568_0000.jpg', '/home/pi/Desktop/images/19012025/14/03/image_19012025_14_03_02_935568_0001.jpg', '/home/pi/Desktop/images/19012025/14/03/image_19012025_14_03_02_935568_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/14/02/image_19012025_14_02_02_747066_0003.jpg
/home/pi/Desktop/images/19012025/14/03/image_19012025_14_03_02_935568_0000.jpg
/home/pi/Desktop/images/19012025/14/03/image_19012025_14_03_02_935568_0001.jpg
/home/pi/Desktop/images/19012025/14/03/image_19012025_14_03_02_935568_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330040842","1330040844","1330040622","1330040839"],"photo_ids_order":["1330040622","1330040839","1330040842","1330040844"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/7f3508883913686bebbc6af420cafb54.jpg","text":"TemporaryFile(/tmp/multipartBody8013467561523466420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737291874268,"filename":"image_19012025_14_03_02_935568_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/c48219992fa7d94750ae8c48e28bf779.jpg","text":"TemporaryFile(/tmp/multipartBody1004491466591874322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737291874268,"filename":"image_19012025_14_03_02_935568_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/16d45385457497c48a25371e4ce76bdf.jpg","text":"TemporaryFile(/tmp/multipartBody2060716396936869830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737291874268,"filename":"image_19012025_14_02_02_747066_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/ead62e09217113967f475f16abc4e2f8.jpg","text":"TemporaryFile(/tmp/multipartBody656737328937717611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737291874268,"filename":"image_19012025_14_03_02_935568_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330040842","file1":"1330040839","file0":"1330040622","file3":"1330040844"},"map_files_photo_id_array":[{"photo_id":"1330040842","filename":"file2"},{"photo_id":"1330040839","filename":"file1"},{"photo_id":"1330040622","filename":"file0"},{"photo_id":"1330040844","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330040842":["hashtag1","hashtag2"]},{"1330040844":["hashtag1","hashtag2"]},{"1330040622":["hashtag1","hashtag2"]},{"1330040839":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330040842, 1330040844, 1330040622, 1330040839)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.596224546432495 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 14:04:21.989979
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/14/03/image_19012025_14_03_02_935568_0003.jpg', '/home/pi/Desktop/images/19012025/14/04/image_19012025_14_04_03_148770_0000.jpg', '/home/pi/Desktop/images/19012025/14/04/image_19012025_14_04_03_148770_0001.jpg', '/home/pi/Desktop/images/19012025/14/04/image_19012025_14_04_03_148770_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/14/03/image_19012025_14_03_02_935568_0003.jpg
/home/pi/Desktop/images/19012025/14/04/image_19012025_14_04_03_148770_0000.jpg
/home/pi/Desktop/images/19012025/14/04/image_19012025_14_04_03_148770_0001.jpg
/home/pi/Desktop/images/19012025/14/04/image_19012025_14_04_03_148770_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330041729","1330041831","1330041765","1330041687"],"photo_ids_order":["1330041687","1330041729","1330041765","1330041831"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/3548c0632291d1dcc53f5bf3d2863d48.jpg","text":"TemporaryFile(/tmp/multipartBody5982184254976247816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737291934370,"filename":"image_19012025_14_04_03_148770_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/bffcc68a86021f70b309a28676795173.jpg","text":"TemporaryFile(/tmp/multipartBody4527537256819575191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737291934370,"filename":"image_19012025_14_04_03_148770_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/c2b9befee1f08dd47184a50784df80fb.jpg","text":"TemporaryFile(/tmp/multipartBody4979001853542337741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737291934370,"filename":"image_19012025_14_04_03_148770_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/04bd3134169591d042f0e68a32b75a85.jpg","text":"TemporaryFile(/tmp/multipartBody3302899128832389487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737291934370,"filename":"image_19012025_14_03_02_935568_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330041765","file1":"1330041729","file0":"1330041687","file3":"1330041831"},"map_files_photo_id_array":[{"photo_id":"1330041765","filename":"file2"},{"photo_id":"1330041729","filename":"file1"},{"photo_id":"1330041687","filename":"file0"},{"photo_id":"1330041831","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330041729":["hashtag1","hashtag2"]},{"1330041831":["hashtag1","hashtag2"]},{"1330041765":["hashtag1","hashtag2"]},{"1330041687":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330041729, 1330041831, 1330041765, 1330041687)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.1579053401947 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 14:05:22.256164
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/14/04/image_19012025_14_04_03_148770_0003.jpg', '/home/pi/Desktop/images/19012025/14/05/image_19012025_14_05_02_369355_0000.jpg', '/home/pi/Desktop/images/19012025/14/05/image_19012025_14_05_02_369355_0001.jpg', '/home/pi/Desktop/images/19012025/14/05/image_19012025_14_05_02_369355_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/14/04/image_19012025_14_04_03_148770_0003.jpg
/home/pi/Desktop/images/19012025/14/05/image_19012025_14_05_02_369355_0000.jpg
/home/pi/Desktop/images/19012025/14/05/image_19012025_14_05_02_369355_0001.jpg
/home/pi/Desktop/images/19012025/14/05/image_19012025_14_05_02_369355_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330042852","1330042846","1330042849","1330042854"],"photo_ids_order":["1330042846","1330042849","1330042852","1330042854"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/95a3733525f2156c75a6a497efc46b5a.jpg","text":"TemporaryFile(/tmp/multipartBody4106577742112223651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737291994023,"filename":"image_19012025_14_05_02_369355_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/7c6ac7c418ec511794193e3bba08ed9e.jpg","text":"TemporaryFile(/tmp/multipartBody1285136359670627798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737291994023,"filename":"image_19012025_14_04_03_148770_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/9d43bca15cf5398da133be3ced105056.jpg","text":"TemporaryFile(/tmp/multipartBody6455814395523902924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737291994023,"filename":"image_19012025_14_05_02_369355_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/52bc1472dd875b36b078c7f06a4fe61b.jpg","text":"TemporaryFile(/tmp/multipartBody4979974568428340671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737291994023,"filename":"image_19012025_14_05_02_369355_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330042852","file1":"1330042849","file0":"1330042846","file3":"1330042854"},"map_files_photo_id_array":[{"photo_id":"1330042852","filename":"file2"},{"photo_id":"1330042849","filename":"file1"},{"photo_id":"1330042846","filename":"file0"},{"photo_id":"1330042854","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330042852":["hashtag1","hashtag2"]},{"1330042846":["hashtag1","hashtag2"]},{"1330042849":["hashtag1","hashtag2"]},{"1330042854":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330042852, 1330042846, 1330042849, 1330042854)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.86881637573242 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 14:06:22.409144
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/14/05/image_19012025_14_05_02_369355_0003.jpg', '/home/pi/Desktop/images/19012025/14/06/image_19012025_14_06_02_651878_0000.jpg', '/home/pi/Desktop/images/19012025/14/06/image_19012025_14_06_02_651878_0001.jpg', '/home/pi/Desktop/images/19012025/14/06/image_19012025_14_06_02_651878_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/14/05/image_19012025_14_05_02_369355_0003.jpg
/home/pi/Desktop/images/19012025/14/06/image_19012025_14_06_02_651878_0000.jpg
/home/pi/Desktop/images/19012025/14/06/image_19012025_14_06_02_651878_0001.jpg
/home/pi/Desktop/images/19012025/14/06/image_19012025_14_06_02_651878_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330043222","1330043225","1330043219","1330043208"],"photo_ids_order":["1330043208","1330043219","1330043222","1330043225"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/f951d7b3261864037a21dd8009cf958a.jpg","text":"TemporaryFile(/tmp/multipartBody3586199930961393425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737292054586,"filename":"image_19012025_14_06_02_651878_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/a4983fbbc4cb51b6e4ba0a9be8d36684.jpg","text":"TemporaryFile(/tmp/multipartBody6853334978955334363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737292054586,"filename":"image_19012025_14_06_02_651878_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/6878c01630c8b7fa57df00d1ae7aab65.jpg","text":"TemporaryFile(/tmp/multipartBody2230034589917924677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737292054586,"filename":"image_19012025_14_06_02_651878_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/54732e11d4582e9a4f479276f6f259b8.jpg","text":"TemporaryFile(/tmp/multipartBody7584547445683073743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737292054586,"filename":"image_19012025_14_05_02_369355_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330043222","file1":"1330043219","file0":"1330043208","file3":"1330043225"},"map_files_photo_id_array":[{"photo_id":"1330043222","filename":"file2"},{"photo_id":"1330043219","filename":"file1"},{"photo_id":"1330043208","filename":"file0"},{"photo_id":"1330043225","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330043222":["hashtag1","hashtag2"]},{"1330043225":["hashtag1","hashtag2"]},{"1330043219":["hashtag1","hashtag2"]},{"1330043208":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330043222, 1330043225, 1330043219, 1330043208)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.83063077926636 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 14:07:22.602055
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/14/06/image_19012025_14_06_02_651878_0003.jpg', '/home/pi/Desktop/images/19012025/14/07/image_19012025_14_07_02_796323_0000.jpg', '/home/pi/Desktop/images/19012025/14/07/image_19012025_14_07_02_796323_0001.jpg', '/home/pi/Desktop/images/19012025/14/07/image_19012025_14_07_02_796323_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/14/06/image_19012025_14_06_02_651878_0003.jpg
/home/pi/Desktop/images/19012025/14/07/image_19012025_14_07_02_796323_0000.jpg
/home/pi/Desktop/images/19012025/14/07/image_19012025_14_07_02_796323_0001.jpg
/home/pi/Desktop/images/19012025/14/07/image_19012025_14_07_02_796323_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330043264","1330043273","1330043271","1330043268"],"photo_ids_order":["1330043264","1330043268","1330043271","1330043273"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/67abd22ef89b4d965bde192bf106ebb0.jpg","text":"TemporaryFile(/tmp/multipartBody8716660570944147204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737292114769,"filename":"image_19012025_14_06_02_651878_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/57fd80d6c27836e5ef0c9f80208e91ee.jpg","text":"TemporaryFile(/tmp/multipartBody5416066545432833128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737292114769,"filename":"image_19012025_14_07_02_796323_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/e85f6c4c184daffcd99908ad02c3b686.jpg","text":"TemporaryFile(/tmp/multipartBody6788247458768783446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737292114769,"filename":"image_19012025_14_07_02_796323_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/26cfd2988e1780cfa47471cae6ed7b12.jpg","text":"TemporaryFile(/tmp/multipartBody377569705715235370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737292114769,"filename":"image_19012025_14_07_02_796323_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330043271","file1":"1330043268","file0":"1330043264","file3":"1330043273"},"map_files_photo_id_array":[{"photo_id":"1330043271","filename":"file2"},{"photo_id":"1330043268","filename":"file1"},{"photo_id":"1330043264","filename":"file0"},{"photo_id":"1330043273","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330043264":["hashtag1","hashtag2"]},{"1330043273":["hashtag1","hashtag2"]},{"1330043271":["hashtag1","hashtag2"]},{"1330043268":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330043264, 1330043273, 1330043271, 1330043268)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.18062090873718 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 14:08:22.720941
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/14/07/image_19012025_14_07_02_796323_0003.jpg', '/home/pi/Desktop/images/19012025/14/08/image_19012025_14_08_03_029089_0000.jpg', '/home/pi/Desktop/images/19012025/14/08/image_19012025_14_08_03_029089_0001.jpg', '/home/pi/Desktop/images/19012025/14/08/image_19012025_14_08_03_029089_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/14/07/image_19012025_14_07_02_796323_0003.jpg
/home/pi/Desktop/images/19012025/14/08/image_19012025_14_08_03_029089_0000.jpg
/home/pi/Desktop/images/19012025/14/08/image_19012025_14_08_03_029089_0001.jpg
/home/pi/Desktop/images/19012025/14/08/image_19012025_14_08_03_029089_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330043287","1330043290","1330043284","1330043292"],"photo_ids_order":["1330043284","1330043287","1330043290","1330043292"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/dea9684f9ab5cf10b438fbee5ad96f44.jpg","text":"TemporaryFile(/tmp/multipartBody5397570022749976735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737292174435,"filename":"image_19012025_14_08_03_029089_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/dfab2d3eca89c0e5787efeaa4ac32546.jpg","text":"TemporaryFile(/tmp/multipartBody1454350227284426780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737292174435,"filename":"image_19012025_14_08_03_029089_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/9a3cbc60844720b5fb678d1fc681e0b7.jpg","text":"TemporaryFile(/tmp/multipartBody7049860217615735130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737292174435,"filename":"image_19012025_14_07_02_796323_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/e254049c4d9a19c893834826825c59ec.jpg","text":"TemporaryFile(/tmp/multipartBody1527070975214132499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737292174435,"filename":"image_19012025_14_08_03_029089_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330043290","file1":"1330043287","file0":"1330043284","file3":"1330043292"},"map_files_photo_id_array":[{"photo_id":"1330043290","filename":"file2"},{"photo_id":"1330043287","filename":"file1"},{"photo_id":"1330043284","filename":"file0"},{"photo_id":"1330043292","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330043287":["hashtag1","hashtag2"]},{"1330043290":["hashtag1","hashtag2"]},{"1330043284":["hashtag1","hashtag2"]},{"1330043292":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330043287, 1330043290, 1330043284, 1330043292)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.69016909599304 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 14:09:21.947896
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/14/08/image_19012025_14_08_03_029089_0003.jpg', '/home/pi/Desktop/images/19012025/14/09/image_19012025_14_09_03_105227_0000.jpg', '/home/pi/Desktop/images/19012025/14/09/image_19012025_14_09_03_105227_0001.jpg', '/home/pi/Desktop/images/19012025/14/09/image_19012025_14_09_03_105227_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/14/08/image_19012025_14_08_03_029089_0003.jpg
/home/pi/Desktop/images/19012025/14/09/image_19012025_14_09_03_105227_0000.jpg
/home/pi/Desktop/images/19012025/14/09/image_19012025_14_09_03_105227_0001.jpg
/home/pi/Desktop/images/19012025/14/09/image_19012025_14_09_03_105227_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330043497","1330043491","1330043488","1330043495"],"photo_ids_order":["1330043488","1330043491","1330043495","1330043497"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/60ae6ad958a0f6aa08f4f6a3c0504ccc.jpg","text":"TemporaryFile(/tmp/multipartBody7102499851128785144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737292233710,"filename":"image_19012025_14_09_03_105227_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/89b7f4707155cdbb317010bc5ca4e11f.jpg","text":"TemporaryFile(/tmp/multipartBody627686740143537741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737292233710,"filename":"image_19012025_14_09_03_105227_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/dc9d5558c721af703615ba25ea784635.jpg","text":"TemporaryFile(/tmp/multipartBody6780739575083238499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737292233710,"filename":"image_19012025_14_08_03_029089_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/abff9fc95d86117ba2e5e73ee0fc7b47.jpg","text":"TemporaryFile(/tmp/multipartBody5767377786958265800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737292233710,"filename":"image_19012025_14_09_03_105227_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330043495","file1":"1330043491","file0":"1330043488","file3":"1330043497"},"map_files_photo_id_array":[{"photo_id":"1330043495","filename":"file2"},{"photo_id":"1330043491","filename":"file1"},{"photo_id":"1330043488","filename":"file0"},{"photo_id":"1330043497","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330043497":["hashtag1","hashtag2"]},{"1330043491":["hashtag1","hashtag2"]},{"1330043488":["hashtag1","hashtag2"]},{"1330043495":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330043497, 1330043491, 1330043488, 1330043495)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.57247066497803 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-19 14:10:22.127432
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/14/09/image_19012025_14_09_03_105227_0003.jpg', '/home/pi/Desktop/images/19012025/14/10/image_19012025_14_10_02_278895_0000.jpg', '/home/pi/Desktop/images/19012025/14/10/image_19012025_14_10_02_278895_0001.jpg', '/home/pi/Desktop/images/19012025/14/10/image_19012025_14_10_02_278895_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/14/09/image_19012025_14_09_03_105227_0003.jpg
/home/pi/Desktop/images/19012025/14/10/image_19012025_14_10_02_278895_0000.jpg
/home/pi/Desktop/images/19012025/14/10/image_19012025_14_10_02_278895_0001.jpg
/home/pi/Desktop/images/19012025/14/10/image_19012025_14_10_02_278895_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330043560","1330043563","1330043557","1330043565"],"photo_ids_order":["1330043557","1330043560","1330043563","1330043565"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/ea0329d599d7e8f6ff99963040cb7a42.jpg","text":"TemporaryFile(/tmp/multipartBody5530926633110707762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737292293974,"filename":"image_19012025_14_10_02_278895_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/bbd2cb4dc029d697e90f3a833e988c39.jpg","text":"TemporaryFile(/tmp/multipartBody4365414885249531583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737292293974,"filename":"image_19012025_14_10_02_278895_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/9584468c4d7639856dcf888a3ad08202.jpg","text":"TemporaryFile(/tmp/multipartBody1406216669379012465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737292293974,"filename":"image_19012025_14_09_03_105227_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/d08673e2a1283d1f800aa4b2eddb8499.jpg","text":"TemporaryFile(/tmp/multipartBody6359274501434711901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737292293974,"filename":"image_19012025_14_10_02_278895_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330043563","file1":"1330043560","file0":"1330043557","file3":"1330043565"},"map_files_photo_id_array":[{"photo_id":"1330043563","filename":"file2"},{"photo_id":"1330043560","filename":"file1"},{"photo_id":"1330043557","filename":"file0"},{"photo_id":"1330043565","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330043560":["hashtag1","hashtag2"]},{"1330043563":["hashtag1","hashtag2"]},{"1330043557":["hashtag1","hashtag2"]},{"1330043565":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330043560, 1330043563, 1330043557, 1330043565)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 4 photos
time to upload: 39.75285363197327 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 14:11:22.332086
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/14/10/image_19012025_14_10_02_278895_0003.jpg', '/home/pi/Desktop/images/19012025/14/11/image_19012025_14_11_02_451471_0000.jpg', '/home/pi/Desktop/images/19012025/14/11/image_19012025_14_11_02_451471_0001.jpg', '/home/pi/Desktop/images/19012025/14/11/image_19012025_14_11_02_451471_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/14/10/image_19012025_14_10_02_278895_0003.jpg
/home/pi/Desktop/images/19012025/14/11/image_19012025_14_11_02_451471_0000.jpg
/home/pi/Desktop/images/19012025/14/11/image_19012025_14_11_02_451471_0001.jpg
/home/pi/Desktop/images/19012025/14/11/image_19012025_14_11_02_451471_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330043572","1330043580","1330043577","1330043574"],"photo_ids_order":["1330043572","1330043574","1330043577","1330043580"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/6bd6385caf6b2555c0658a2c4b98ea58.jpg","text":"TemporaryFile(/tmp/multipartBody4873518716252315814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737292353724,"filename":"image_19012025_14_10_02_278895_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/633f38e44b84b3db4686889817d66ab2.jpg","text":"TemporaryFile(/tmp/multipartBody8631978104769918669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737292353724,"filename":"image_19012025_14_11_02_451471_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/6707213d3d59c433953b97e6024d3060.jpg","text":"TemporaryFile(/tmp/multipartBody7244236525116640509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737292353724,"filename":"image_19012025_14_11_02_451471_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/3675bab51359095f0ae517ebf2dac29f.jpg","text":"TemporaryFile(/tmp/multipartBody5470206063011960495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737292353724,"filename":"image_19012025_14_11_02_451471_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330043577","file1":"1330043574","file0":"1330043572","file3":"1330043580"},"map_files_photo_id_array":[{"photo_id":"1330043577","filename":"file2"},{"photo_id":"1330043574","filename":"file1"},{"photo_id":"1330043572","filename":"file0"},{"photo_id":"1330043580","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330043572":["hashtag1","hashtag2"]},{"1330043580":["hashtag1","hashtag2"]},{"1330043577":["hashtag1","hashtag2"]},{"1330043574":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330043572, 1330043580, 1330043577, 1330043574)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.433141231536865 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 14:12:02.954751
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
  port_id : 19698700
  datou_current_id : 2490825
in upload_from_sqlite, uploading in 19698700
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17012025/22/25/image_17012025_22_25_02_320535_0001.jpg', '/home/pi/Desktop/images/17012025/22/25/image_17012025_22_25_02_320535_0002.jpg', '/home/pi/Desktop/images/17012025/22/25/image_17012025_22_25_02_320535_0003.jpg', '/home/pi/Desktop/images/17012025/22/26/image_17012025_22_26_02_442785_0000.jpg', '/home/pi/Desktop/images/17012025/22/26/image_17012025_22_26_02_442785_0001.jpg', '/home/pi/Desktop/images/17012025/22/26/image_17012025_22_26_02_442785_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2490825&datou=0
/home/pi/Desktop/images/17012025/22/25/image_17012025_22_25_02_320535_0001.jpg
/home/pi/Desktop/images/17012025/22/25/image_17012025_22_25_02_320535_0002.jpg
/home/pi/Desktop/images/17012025/22/25/image_17012025_22_25_02_320535_0003.jpg
/home/pi/Desktop/images/17012025/22/26/image_17012025_22_26_02_442785_0000.jpg
/home/pi/Desktop/images/17012025/22/26/image_17012025_22_26_02_442785_0001.jpg
/home/pi/Desktop/images/17012025/22/26/image_17012025_22_26_02_442785_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330043801","1330043804","1330043770","1330043764","1330043761","1330043778"],"photo_ids_order":["1330043761","1330043764","1330043770","1330043778","1330043801","1330043804"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/ac118f50557ec1ac91f002ec18e60af8.jpg","text":"TemporaryFile(/tmp/multipartBody7548793523349159457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737292400188,"filename":"image_17012025_22_26_02_442785_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/e3ba928d9a21da48b601cbb4804c5e53.jpg","text":"TemporaryFile(/tmp/multipartBody283044930650548030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737292400188,"filename":"image_17012025_22_26_02_442785_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/462b36c37c845af57cb8726fde43222c.jpg","text":"TemporaryFile(/tmp/multipartBody1470516718928742193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737292400188,"filename":"image_17012025_22_25_02_320535_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/f85301be62afa64937fdc4e620a1de02.jpg","text":"TemporaryFile(/tmp/multipartBody1274511627145195250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737292400188,"filename":"image_17012025_22_25_02_320535_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/22ad8905fb012625e639620cc4764651.jpg","text":"TemporaryFile(/tmp/multipartBody4969769367516483009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737292400188,"filename":"image_17012025_22_25_02_320535_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/f20c0845ce4d6ade52059a48fd9b11de.jpg","text":"TemporaryFile(/tmp/multipartBody5273315617274578257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737292400188,"filename":"image_17012025_22_26_02_442785_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330043770","file1":"1330043764","file0":"1330043761","file4":"1330043801","file5":"1330043804","file3":"1330043778"},"map_files_photo_id_array":[{"photo_id":"1330043804","filename":"file5"},{"photo_id":"1330043770","filename":"file2"},{"photo_id":"1330043801","filename":"file4"},{"photo_id":"1330043764","filename":"file1"},{"photo_id":"1330043761","filename":"file0"},{"photo_id":"1330043778","filename":"file3"}],"portfolio_id":19698700,"hashtag_by_photo_ids":[{"1330043801":["hashtag1","hashtag2"]},{"1330043804":["hashtag1","hashtag2"]},{"1330043770":["hashtag1","hashtag2"]},{"1330043764":["hashtag1","hashtag2"]},{"1330043761":["hashtag1","hashtag2"]},{"1330043778":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698700 used, photo_id : ArrayBuffer(1330043801, 1330043804, 1330043770, 1330043764, 1330043761, 1330043778)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.805070638656616 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 14:13:22.743909
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/14/11/image_19012025_14_11_02_451471_0003.jpg', '/home/pi/Desktop/images/19012025/14/12/image_19012025_14_12_02_650339_0000.jpg', '/home/pi/Desktop/images/19012025/14/12/image_19012025_14_12_02_650339_0001.jpg', '/home/pi/Desktop/images/19012025/14/12/image_19012025_14_12_02_650339_0002.jpg', '/home/pi/Desktop/images/19012025/14/12/image_19012025_14_12_02_650339_0003.jpg', '/home/pi/Desktop/images/19012025/14/13/image_19012025_14_13_02_889790_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/14/11/image_19012025_14_11_02_451471_0003.jpg
/home/pi/Desktop/images/19012025/14/12/image_19012025_14_12_02_650339_0000.jpg
/home/pi/Desktop/images/19012025/14/12/image_19012025_14_12_02_650339_0001.jpg
/home/pi/Desktop/images/19012025/14/12/image_19012025_14_12_02_650339_0002.jpg
/home/pi/Desktop/images/19012025/14/12/image_19012025_14_12_02_650339_0003.jpg
/home/pi/Desktop/images/19012025/14/13/image_19012025_14_13_02_889790_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":["1330043960","1330043933","1330043957","1330043962","1330043956","1330043856"],"photo_ids_order":["1330043856","1330043933","1330043956","1330043957","1330043960","1330043962"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/f4a1909c921a9cd63c87c2cc8277001c.jpg","text":"TemporaryFile(/tmp/multipartBody3048921466337752462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737292479591,"filename":"image_19012025_14_12_02_650339_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/289b96828a44fc9ce6ed661cc7706406.jpg","text":"TemporaryFile(/tmp/multipartBody2862785619488849242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737292479591,"filename":"image_19012025_14_12_02_650339_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/29451e19ee1a699e07a00ab6fe6f7aa1.jpg","text":"TemporaryFile(/tmp/multipartBody7488043997174084341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737292479591,"filename":"image_19012025_14_12_02_650339_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/cb04ef62c7efed928a52f3de8b4e89e2.jpg","text":"TemporaryFile(/tmp/multipartBody2246693676205488120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737292479591,"filename":"image_19012025_14_13_02_889790_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/0dea062f107bae7d8475767ea68db9df.jpg","text":"TemporaryFile(/tmp/multipartBody7406421168120695333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737292479591,"filename":"image_19012025_14_12_02_650339_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/e05f025ad686efcca81b3022a0e5055d.jpg","text":"TemporaryFile(/tmp/multipartBody8399264378315594075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737292479591,"filename":"image_19012025_14_11_02_451471_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330043956","file1":"1330043933","file0":"1330043856","file4":"1330043960","file5":"1330043962","file3":"1330043957"},"map_files_photo_id_array":[{"photo_id":"1330043962","filename":"file5"},{"photo_id":"1330043956","filename":"file2"},{"photo_id":"1330043960","filename":"file4"},{"photo_id":"1330043933","filename":"file1"},{"photo_id":"1330043856","filename":"file0"},{"photo_id":"1330043957","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330043960":["hashtag1","hashtag2"]},{"1330043933":["hashtag1","hashtag2"]},{"1330043957":["hashtag1","hashtag2"]},{"1330043962":["hashtag1","hashtag2"]},{"1330043956":["hashtag1","hashtag2"]},{"1330043856":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330043960, 1330043933, 1330043957, 1330043962, 1330043956, 1330043856)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.31476974487305 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 14:14:21.889443
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/14/13/image_19012025_14_13_02_889790_0001.jpg', '/home/pi/Desktop/images/19012025/14/13/image_19012025_14_13_02_889790_0002.jpg', '/home/pi/Desktop/images/19012025/14/13/image_19012025_14_13_02_889790_0003.jpg', '/home/pi/Desktop/images/19012025/14/14/image_19012025_14_14_03_013935_0000.jpg', '/home/pi/Desktop/images/19012025/14/14/image_19012025_14_14_03_013935_0001.jpg', '/home/pi/Desktop/images/19012025/14/14/image_19012025_14_14_03_013935_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/14/13/image_19012025_14_13_02_889790_0001.jpg
/home/pi/Desktop/images/19012025/14/13/image_19012025_14_13_02_889790_0002.jpg
/home/pi/Desktop/images/19012025/14/13/image_19012025_14_13_02_889790_0003.jpg
/home/pi/Desktop/images/19012025/14/14/image_19012025_14_14_03_013935_0000.jpg
/home/pi/Desktop/images/19012025/14/14/image_19012025_14_14_03_013935_0001.jpg
/home/pi/Desktop/images/19012025/14/14/image_19012025_14_14_03_013935_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330043972","1330043974","1330044025","1330043970","1330044102","1330043976"],"photo_ids_order":["1330043970","1330043972","1330043974","1330043976","1330044025","1330044102"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/1576846765e20c7e5b8ef273c6cd0b41.jpg","text":"TemporaryFile(/tmp/multipartBody8948229434530507479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737292538605,"filename":"image_19012025_14_13_02_889790_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/4f16e807b9f6596ea6c3427fda010da1.jpg","text":"TemporaryFile(/tmp/multipartBody8205729667155241526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737292538605,"filename":"image_19012025_14_13_02_889790_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/1c959e161aaeab4e1b4c0b76e244b0a3.jpg","text":"TemporaryFile(/tmp/multipartBody3820013221867429411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737292538605,"filename":"image_19012025_14_14_03_013935_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/6439cbe672910079c2e9e30f729a9285.jpg","text":"TemporaryFile(/tmp/multipartBody5047540996972140263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737292538605,"filename":"image_19012025_14_13_02_889790_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/a4940be325037e40c272364c00d6c95b.jpg","text":"TemporaryFile(/tmp/multipartBody4160255312262308958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737292538605,"filename":"image_19012025_14_14_03_013935_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/e82480e673f3f337bfe6fb46a2163538.jpg","text":"TemporaryFile(/tmp/multipartBody4813142354738052974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737292538605,"filename":"image_19012025_14_14_03_013935_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330043974","file1":"1330043972","file0":"1330043970","file4":"1330044025","file5":"1330044102","file3":"1330043976"},"map_files_photo_id_array":[{"photo_id":"1330044102","filename":"file5"},{"photo_id":"1330043974","filename":"file2"},{"photo_id":"1330044025","filename":"file4"},{"photo_id":"1330043972","filename":"file1"},{"photo_id":"1330043970","filename":"file0"},{"photo_id":"1330043976","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330043972":["hashtag1","hashtag2"]},{"1330043974":["hashtag1","hashtag2"]},{"1330044025":["hashtag1","hashtag2"]},{"1330043970":["hashtag1","hashtag2"]},{"1330044102":["hashtag1","hashtag2"]},{"1330043976":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330043972, 1330043974, 1330044025, 1330043970, 1330044102, 1330043976)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.69481348991394 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 14:15:22.044821
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/14/14/image_19012025_14_14_03_013935_0003.jpg', '/home/pi/Desktop/images/19012025/14/15/image_19012025_14_15_02_259011_0000.jpg', '/home/pi/Desktop/images/19012025/14/15/image_19012025_14_15_02_259011_0001.jpg', '/home/pi/Desktop/images/19012025/14/15/image_19012025_14_15_02_259011_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/14/14/image_19012025_14_14_03_013935_0003.jpg
/home/pi/Desktop/images/19012025/14/15/image_19012025_14_15_02_259011_0000.jpg
/home/pi/Desktop/images/19012025/14/15/image_19012025_14_15_02_259011_0001.jpg
/home/pi/Desktop/images/19012025/14/15/image_19012025_14_15_02_259011_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330044184","1330044181","1330044177","1330044186"],"photo_ids_order":["1330044177","1330044181","1330044184","1330044186"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/69af46a97f1b8c9571e17065c1751a38.jpg","text":"TemporaryFile(/tmp/multipartBody1584667304101168052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737292593632,"filename":"image_19012025_14_15_02_259011_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/3f718818d84e4f8e2428bd113db66937.jpg","text":"TemporaryFile(/tmp/multipartBody4761913544406350554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737292593632,"filename":"image_19012025_14_15_02_259011_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/0fe2b67e633df4d4279eb5d3ccfe1ecf.jpg","text":"TemporaryFile(/tmp/multipartBody7246640921389749824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737292593632,"filename":"image_19012025_14_14_03_013935_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/2dccc1c6fb304a705c44f9c0cd07c966.jpg","text":"TemporaryFile(/tmp/multipartBody1119473224114963008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737292593632,"filename":"image_19012025_14_15_02_259011_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330044184","file1":"1330044181","file0":"1330044177","file3":"1330044186"},"map_files_photo_id_array":[{"photo_id":"1330044184","filename":"file2"},{"photo_id":"1330044181","filename":"file1"},{"photo_id":"1330044177","filename":"file0"},{"photo_id":"1330044186","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330044184":["hashtag1","hashtag2"]},{"1330044181":["hashtag1","hashtag2"]},{"1330044177":["hashtag1","hashtag2"]},{"1330044186":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330044184, 1330044181, 1330044177, 1330044186)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.22182631492615 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 14:16:22.218903
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/14/15/image_19012025_14_15_02_259011_0003.jpg', '/home/pi/Desktop/images/19012025/14/16/image_19012025_14_16_02_385612_0000.jpg', '/home/pi/Desktop/images/19012025/14/16/image_19012025_14_16_02_385612_0001.jpg', '/home/pi/Desktop/images/19012025/14/16/image_19012025_14_16_02_385612_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/14/15/image_19012025_14_15_02_259011_0003.jpg
/home/pi/Desktop/images/19012025/14/16/image_19012025_14_16_02_385612_0000.jpg
/home/pi/Desktop/images/19012025/14/16/image_19012025_14_16_02_385612_0001.jpg
/home/pi/Desktop/images/19012025/14/16/image_19012025_14_16_02_385612_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330044220","1330044226","1330044242","1330044245"],"photo_ids_order":["1330044220","1330044226","1330044242","1330044245"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/8e090ae5d39639f6348ae0f014180576.jpg","text":"TemporaryFile(/tmp/multipartBody7948163555040244025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737292653666,"filename":"image_19012025_14_15_02_259011_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/638676202f5e52f113120ecf9ebd795b.jpg","text":"TemporaryFile(/tmp/multipartBody1260562488443837611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737292653666,"filename":"image_19012025_14_16_02_385612_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/e4b7920d9da55d3e8c151f0bbdbf8b54.jpg","text":"TemporaryFile(/tmp/multipartBody7491373561540812633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737292653666,"filename":"image_19012025_14_16_02_385612_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/fd85d3d1f1ec7848b8ddf3f9701c7f23.jpg","text":"TemporaryFile(/tmp/multipartBody8278162378953848687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737292653666,"filename":"image_19012025_14_16_02_385612_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330044242","file1":"1330044226","file0":"1330044220","file3":"1330044245"},"map_files_photo_id_array":[{"photo_id":"1330044242","filename":"file2"},{"photo_id":"1330044226","filename":"file1"},{"photo_id":"1330044220","filename":"file0"},{"photo_id":"1330044245","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330044220":["hashtag1","hashtag2"]},{"1330044226":["hashtag1","hashtag2"]},{"1330044242":["hashtag1","hashtag2"]},{"1330044245":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330044220, 1330044226, 1330044242, 1330044245)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.88072395324707 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 14:17:22.388554
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/14/16/image_19012025_14_16_02_385612_0003.jpg', '/home/pi/Desktop/images/19012025/14/17/image_19012025_14_17_02_542586_0000.jpg', '/home/pi/Desktop/images/19012025/14/17/image_19012025_14_17_02_542586_0001.jpg', '/home/pi/Desktop/images/19012025/14/17/image_19012025_14_17_02_542586_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/14/16/image_19012025_14_16_02_385612_0003.jpg
/home/pi/Desktop/images/19012025/14/17/image_19012025_14_17_02_542586_0000.jpg
/home/pi/Desktop/images/19012025/14/17/image_19012025_14_17_02_542586_0001.jpg
/home/pi/Desktop/images/19012025/14/17/image_19012025_14_17_02_542586_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330044328","1330044322","1330044325","1330044330"],"photo_ids_order":["1330044322","1330044325","1330044328","1330044330"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/074e32f6ecdb9fcf9e5d4dcd1d2ccc2a.jpg","text":"TemporaryFile(/tmp/multipartBody3811416603538200653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737292713727,"filename":"image_19012025_14_17_02_542586_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/fe1493cde24f8978ffe4f49f6c8de372.jpg","text":"TemporaryFile(/tmp/multipartBody4184829887876275559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737292713727,"filename":"image_19012025_14_16_02_385612_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/c158b82fdc4996bf70f654472a46827c.jpg","text":"TemporaryFile(/tmp/multipartBody6846034989774182553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737292713727,"filename":"image_19012025_14_17_02_542586_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/bdba6d41a1087f293d95491a3233f0ed.jpg","text":"TemporaryFile(/tmp/multipartBody5392929160349020918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737292713727,"filename":"image_19012025_14_17_02_542586_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330044328","file1":"1330044325","file0":"1330044322","file3":"1330044330"},"map_files_photo_id_array":[{"photo_id":"1330044328","filename":"file2"},{"photo_id":"1330044325","filename":"file1"},{"photo_id":"1330044322","filename":"file0"},{"photo_id":"1330044330","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330044328":["hashtag1","hashtag2"]},{"1330044322":["hashtag1","hashtag2"]},{"1330044325":["hashtag1","hashtag2"]},{"1330044330":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330044328, 1330044322, 1330044325, 1330044330)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.62079572677612 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-19 14:18:22.745161
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/14/17/image_19012025_14_17_02_542586_0003.jpg', '/home/pi/Desktop/images/19012025/14/18/image_19012025_14_18_02_776569_0000.jpg', '/home/pi/Desktop/images/19012025/14/18/image_19012025_14_18_02_776569_0001.jpg', '/home/pi/Desktop/images/19012025/14/18/image_19012025_14_18_02_776569_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/14/17/image_19012025_14_17_02_542586_0003.jpg
/home/pi/Desktop/images/19012025/14/18/image_19012025_14_18_02_776569_0000.jpg
/home/pi/Desktop/images/19012025/14/18/image_19012025_14_18_02_776569_0001.jpg
/home/pi/Desktop/images/19012025/14/18/image_19012025_14_18_02_776569_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330044425","1330044428","1330044423","1330044420"],"photo_ids_order":["1330044420","1330044423","1330044425","1330044428"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/da8edf7f7bb48a036ce008b39ff69efe.jpg","text":"TemporaryFile(/tmp/multipartBody13586731167832532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737292773883,"filename":"image_19012025_14_18_02_776569_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/478dc22ef7de5ed036acb8b90d6e10d7.jpg","text":"TemporaryFile(/tmp/multipartBody5807282384505952974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737292773883,"filename":"image_19012025_14_18_02_776569_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/ed237ab4d969008b6c7c5a0d2143c19e.jpg","text":"TemporaryFile(/tmp/multipartBody6273292199880326594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737292773883,"filename":"image_19012025_14_18_02_776569_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/1d40cb763b3a8509ffc852f45becb37a.jpg","text":"TemporaryFile(/tmp/multipartBody4897072358725669752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737292773883,"filename":"image_19012025_14_17_02_542586_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330044425","file1":"1330044423","file0":"1330044420","file3":"1330044428"},"map_files_photo_id_array":[{"photo_id":"1330044425","filename":"file2"},{"photo_id":"1330044423","filename":"file1"},{"photo_id":"1330044420","filename":"file0"},{"photo_id":"1330044428","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330044425":["hashtag1","hashtag2"]},{"1330044428":["hashtag1","hashtag2"]},{"1330044423":["hashtag1","hashtag2"]},{"1330044420":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330044425, 1330044428, 1330044423, 1330044420)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.58944129943848 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 14:19:21.924786
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/14/18/image_19012025_14_18_02_776569_0003.jpg', '/home/pi/Desktop/images/19012025/14/19/image_19012025_14_19_03_010858_0000.jpg', '/home/pi/Desktop/images/19012025/14/19/image_19012025_14_19_03_010858_0001.jpg', '/home/pi/Desktop/images/19012025/14/19/image_19012025_14_19_03_010858_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/14/18/image_19012025_14_18_02_776569_0003.jpg
/home/pi/Desktop/images/19012025/14/19/image_19012025_14_19_03_010858_0000.jpg
/home/pi/Desktop/images/19012025/14/19/image_19012025_14_19_03_010858_0001.jpg
/home/pi/Desktop/images/19012025/14/19/image_19012025_14_19_03_010858_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330044506","1330044481","1330044445","1330044491"],"photo_ids_order":["1330044445","1330044481","1330044491","1330044506"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/52e5f8b5a38ba29c0273346d12669433.jpg","text":"TemporaryFile(/tmp/multipartBody6183487810063340641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737292833108,"filename":"image_19012025_14_19_03_010858_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/cb81bd2b23582223ad6fa179d56fa18c.jpg","text":"TemporaryFile(/tmp/multipartBody4228139114231616240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737292833108,"filename":"image_19012025_14_19_03_010858_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/b40948eafd4cf3fd0eedca025d7d9f4d.jpg","text":"TemporaryFile(/tmp/multipartBody3361753207311412152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737292833108,"filename":"image_19012025_14_18_02_776569_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/40b1aceec5d5b9916637d6bebae8e6b8.jpg","text":"TemporaryFile(/tmp/multipartBody6577939882617964259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737292833108,"filename":"image_19012025_14_19_03_010858_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330044491","file1":"1330044481","file0":"1330044445","file3":"1330044506"},"map_files_photo_id_array":[{"photo_id":"1330044491","filename":"file2"},{"photo_id":"1330044481","filename":"file1"},{"photo_id":"1330044445","filename":"file0"},{"photo_id":"1330044506","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330044506":["hashtag1","hashtag2"]},{"1330044481":["hashtag1","hashtag2"]},{"1330044445":["hashtag1","hashtag2"]},{"1330044491":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330044506, 1330044481, 1330044445, 1330044491)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.18074417114258 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 14:20:22.044352
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/14/19/image_19012025_14_19_03_010858_0003.jpg', '/home/pi/Desktop/images/19012025/14/20/image_19012025_14_20_02_171871_0000.jpg', '/home/pi/Desktop/images/19012025/14/20/image_19012025_14_20_02_171871_0001.jpg', '/home/pi/Desktop/images/19012025/14/20/image_19012025_14_20_02_171871_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/14/19/image_19012025_14_19_03_010858_0003.jpg
/home/pi/Desktop/images/19012025/14/20/image_19012025_14_20_02_171871_0000.jpg
/home/pi/Desktop/images/19012025/14/20/image_19012025_14_20_02_171871_0001.jpg
/home/pi/Desktop/images/19012025/14/20/image_19012025_14_20_02_171871_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330045426","1330045105","1330045421","1330045418"],"photo_ids_order":["1330045105","1330045418","1330045421","1330045426"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/6fbbe8866ea1383a06b2054b870c67c5.jpg","text":"TemporaryFile(/tmp/multipartBody8170051326048612547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737292893010,"filename":"image_19012025_14_20_02_171871_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/b57b2757db37593cf6db165954511c2a.jpg","text":"TemporaryFile(/tmp/multipartBody4894619514915452709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737292893010,"filename":"image_19012025_14_19_03_010858_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/15147f707c8c5f2690dd9af4c6adb279.jpg","text":"TemporaryFile(/tmp/multipartBody3458206684757841500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737292893010,"filename":"image_19012025_14_20_02_171871_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/17e50a3aa733ff20f8e8c474b9ffa1ca.jpg","text":"TemporaryFile(/tmp/multipartBody365198321519619561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737292893010,"filename":"image_19012025_14_20_02_171871_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330045421","file1":"1330045418","file0":"1330045105","file3":"1330045426"},"map_files_photo_id_array":[{"photo_id":"1330045421","filename":"file2"},{"photo_id":"1330045418","filename":"file1"},{"photo_id":"1330045105","filename":"file0"},{"photo_id":"1330045426","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330045426":["hashtag1","hashtag2"]},{"1330045105":["hashtag1","hashtag2"]},{"1330045421":["hashtag1","hashtag2"]},{"1330045418":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330045426, 1330045105, 1330045421, 1330045418)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.40900421142578 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 14:21:02.791320
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
  port_id : 19698700
  datou_current_id : 2490825
in upload_from_sqlite, uploading in 19698700
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17012025/22/26/image_17012025_22_26_02_442785_0003.jpg', '/home/pi/Desktop/images/17012025/22/27/image_17012025_22_27_02_603912_0000.jpg', '/home/pi/Desktop/images/17012025/22/27/image_17012025_22_27_02_603912_0001.jpg', '/home/pi/Desktop/images/17012025/22/27/image_17012025_22_27_02_603912_0002.jpg', '/home/pi/Desktop/images/17012025/22/27/image_17012025_22_27_02_603912_0003.jpg', '/home/pi/Desktop/images/17012025/22/28/image_17012025_22_28_02_797848_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2490825&datou=0
/home/pi/Desktop/images/17012025/22/26/image_17012025_22_26_02_442785_0003.jpg
/home/pi/Desktop/images/17012025/22/27/image_17012025_22_27_02_603912_0000.jpg
/home/pi/Desktop/images/17012025/22/27/image_17012025_22_27_02_603912_0001.jpg
/home/pi/Desktop/images/17012025/22/27/image_17012025_22_27_02_603912_0002.jpg
/home/pi/Desktop/images/17012025/22/27/image_17012025_22_27_02_603912_0003.jpg
/home/pi/Desktop/images/17012025/22/28/image_17012025_22_28_02_797848_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":["1330045732","1330045830","1330045715","1330045591","1330045585","1330045588"],"photo_ids_order":["1330045585","1330045588","1330045591","1330045715","1330045732","1330045830"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/906c8411b17025f1268cba05f1856b20.jpg","text":"TemporaryFile(/tmp/multipartBody5595218108410202051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737292940663,"filename":"image_17012025_22_27_02_603912_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/0446a0488a2646496d9d02ff42200db7.jpg","text":"TemporaryFile(/tmp/multipartBody8212070179925022197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737292940663,"filename":"image_17012025_22_28_02_797848_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/7d270c9a7bd78744855872729dc829e6.jpg","text":"TemporaryFile(/tmp/multipartBody7414329043198308035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737292940663,"filename":"image_17012025_22_27_02_603912_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/697a7773b66007462f18da01b89d28e8.jpg","text":"TemporaryFile(/tmp/multipartBody1736086366645148960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737292940663,"filename":"image_17012025_22_27_02_603912_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/d84a3bf82bfa7c3b68c71c3cb2602662.jpg","text":"TemporaryFile(/tmp/multipartBody3685895171026815847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737292940663,"filename":"image_17012025_22_26_02_442785_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/dd6f76d93f3f9c82f483c9f8ff9b2861.jpg","text":"TemporaryFile(/tmp/multipartBody230172273437085332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737292940663,"filename":"image_17012025_22_27_02_603912_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330045591","file1":"1330045588","file0":"1330045585","file4":"1330045732","file5":"1330045830","file3":"1330045715"},"map_files_photo_id_array":[{"photo_id":"1330045830","filename":"file5"},{"photo_id":"1330045591","filename":"file2"},{"photo_id":"1330045732","filename":"file4"},{"photo_id":"1330045588","filename":"file1"},{"photo_id":"1330045585","filename":"file0"},{"photo_id":"1330045715","filename":"file3"}],"portfolio_id":19698700,"hashtag_by_photo_ids":[{"1330045732":["hashtag1","hashtag2"]},{"1330045830":["hashtag1","hashtag2"]},{"1330045715":["hashtag1","hashtag2"]},{"1330045591":["hashtag1","hashtag2"]},{"1330045585":["hashtag1","hashtag2"]},{"1330045588":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698700 used, photo_id : ArrayBuffer(1330045732, 1330045830, 1330045715, 1330045591, 1330045585, 1330045588)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 61.47972655296326 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 14:22:22.303987
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/14/20/image_19012025_14_20_02_171871_0003.jpg', '/home/pi/Desktop/images/19012025/14/21/image_19012025_14_21_02_388422_0000.jpg', '/home/pi/Desktop/images/19012025/14/21/image_19012025_14_21_02_388422_0001.jpg', '/home/pi/Desktop/images/19012025/14/21/image_19012025_14_21_02_388422_0002.jpg', '/home/pi/Desktop/images/19012025/14/21/image_19012025_14_21_02_388422_0003.jpg', '/home/pi/Desktop/images/19012025/14/22/image_19012025_14_22_02_536833_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/14/20/image_19012025_14_20_02_171871_0003.jpg
/home/pi/Desktop/images/19012025/14/21/image_19012025_14_21_02_388422_0000.jpg
/home/pi/Desktop/images/19012025/14/21/image_19012025_14_21_02_388422_0001.jpg
/home/pi/Desktop/images/19012025/14/21/image_19012025_14_21_02_388422_0002.jpg
/home/pi/Desktop/images/19012025/14/21/image_19012025_14_21_02_388422_0003.jpg
/home/pi/Desktop/images/19012025/14/22/image_19012025_14_22_02_536833_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":["1330046082","1330046076","1330046078","1330046080","1330046074","1330046071"],"photo_ids_order":["1330046071","1330046074","1330046076","1330046078","1330046080","1330046082"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/d5e3a154ffa82376da44365eeff9a02f.jpg","text":"TemporaryFile(/tmp/multipartBody4258088823617218698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737293018831,"filename":"image_19012025_14_22_02_536833_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/01b778349c24b96f767cfe6185bcda86.jpg","text":"TemporaryFile(/tmp/multipartBody2503502423499056342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737293018831,"filename":"image_19012025_14_21_02_388422_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/2ff2aacefecf601f989bb91c58095085.jpg","text":"TemporaryFile(/tmp/multipartBody2904715008914420073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737293018831,"filename":"image_19012025_14_21_02_388422_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/b6629bb7083b990202f90eea1b6de232.jpg","text":"TemporaryFile(/tmp/multipartBody5891291283058196611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737293018831,"filename":"image_19012025_14_21_02_388422_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/c13524241678d827db74e4f0d3faa4b5.jpg","text":"TemporaryFile(/tmp/multipartBody4158185859887264811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737293018831,"filename":"image_19012025_14_21_02_388422_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/01aadc6feb727ed5ce8d417e0761d606.jpg","text":"TemporaryFile(/tmp/multipartBody4690316370132184106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737293018831,"filename":"image_19012025_14_20_02_171871_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330046076","file1":"1330046074","file0":"1330046071","file4":"1330046080","file5":"1330046082","file3":"1330046078"},"map_files_photo_id_array":[{"photo_id":"1330046082","filename":"file5"},{"photo_id":"1330046076","filename":"file2"},{"photo_id":"1330046080","filename":"file4"},{"photo_id":"1330046074","filename":"file1"},{"photo_id":"1330046071","filename":"file0"},{"photo_id":"1330046078","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330046082":["hashtag1","hashtag2"]},{"1330046076":["hashtag1","hashtag2"]},{"1330046078":["hashtag1","hashtag2"]},{"1330046080":["hashtag1","hashtag2"]},{"1330046074":["hashtag1","hashtag2"]},{"1330046071":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330046082, 1330046076, 1330046078, 1330046080, 1330046074, 1330046071)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.24500274658203 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 14:23:22.566814
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/14/22/image_19012025_14_22_02_536833_0001.jpg', '/home/pi/Desktop/images/19012025/14/22/image_19012025_14_22_02_536833_0002.jpg', '/home/pi/Desktop/images/19012025/14/22/image_19012025_14_22_02_536833_0003.jpg', '/home/pi/Desktop/images/19012025/14/23/image_19012025_14_23_02_708271_0000.jpg', '/home/pi/Desktop/images/19012025/14/23/image_19012025_14_23_02_708271_0001.jpg', '/home/pi/Desktop/images/19012025/14/23/image_19012025_14_23_02_708271_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/14/22/image_19012025_14_22_02_536833_0001.jpg
/home/pi/Desktop/images/19012025/14/22/image_19012025_14_22_02_536833_0002.jpg
/home/pi/Desktop/images/19012025/14/22/image_19012025_14_22_02_536833_0003.jpg
/home/pi/Desktop/images/19012025/14/23/image_19012025_14_23_02_708271_0000.jpg
/home/pi/Desktop/images/19012025/14/23/image_19012025_14_23_02_708271_0001.jpg
/home/pi/Desktop/images/19012025/14/23/image_19012025_14_23_02_708271_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330046091","1330046097","1330046099","1330046093","1330046095","1330046089"],"photo_ids_order":["1330046089","1330046091","1330046093","1330046095","1330046097","1330046099"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/2d7a498fe2d59dbe84d82f9af1421741.jpg","text":"TemporaryFile(/tmp/multipartBody2568414524102823888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737293078579,"filename":"image_19012025_14_22_02_536833_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/a620ede4773487b6010067737005b75e.jpg","text":"TemporaryFile(/tmp/multipartBody5749916729162564730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737293078579,"filename":"image_19012025_14_23_02_708271_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/2de7b5e1b21a2c6592ab40228ee029e3.jpg","text":"TemporaryFile(/tmp/multipartBody1416699799149252184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737293078579,"filename":"image_19012025_14_23_02_708271_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/c30dae8e95951aeee7cf3d476a681ed9.jpg","text":"TemporaryFile(/tmp/multipartBody7146400994121125054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737293078579,"filename":"image_19012025_14_22_02_536833_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/240f06ae28a6def61825d2165cf3fbc0.jpg","text":"TemporaryFile(/tmp/multipartBody4364063950527365648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737293078579,"filename":"image_19012025_14_23_02_708271_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/9969b2b746cee1e009f7e2588285e669.jpg","text":"TemporaryFile(/tmp/multipartBody7219577690635419566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737293078579,"filename":"image_19012025_14_22_02_536833_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330046093","file1":"1330046091","file0":"1330046089","file4":"1330046097","file5":"1330046099","file3":"1330046095"},"map_files_photo_id_array":[{"photo_id":"1330046099","filename":"file5"},{"photo_id":"1330046093","filename":"file2"},{"photo_id":"1330046097","filename":"file4"},{"photo_id":"1330046091","filename":"file1"},{"photo_id":"1330046089","filename":"file0"},{"photo_id":"1330046095","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330046091":["hashtag1","hashtag2"]},{"1330046097":["hashtag1","hashtag2"]},{"1330046099":["hashtag1","hashtag2"]},{"1330046093":["hashtag1","hashtag2"]},{"1330046095":["hashtag1","hashtag2"]},{"1330046089":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330046091, 1330046097, 1330046099, 1330046093, 1330046095, 1330046089)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.5156614780426 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 14:24:22.679083
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/14/23/image_19012025_14_23_02_708271_0003.jpg', '/home/pi/Desktop/images/19012025/14/24/image_19012025_14_24_02_874501_0000.jpg', '/home/pi/Desktop/images/19012025/14/24/image_19012025_14_24_02_874501_0001.jpg', '/home/pi/Desktop/images/19012025/14/24/image_19012025_14_24_02_874501_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/14/23/image_19012025_14_23_02_708271_0003.jpg
/home/pi/Desktop/images/19012025/14/24/image_19012025_14_24_02_874501_0000.jpg
/home/pi/Desktop/images/19012025/14/24/image_19012025_14_24_02_874501_0001.jpg
/home/pi/Desktop/images/19012025/14/24/image_19012025_14_24_02_874501_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330046106","1330046109","1330046114","1330046222"],"photo_ids_order":["1330046106","1330046109","1330046114","1330046222"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/389d93089fa19e0f8952f02522cb3739.jpg","text":"TemporaryFile(/tmp/multipartBody7479650220995485140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737293133823,"filename":"image_19012025_14_23_02_708271_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/05f9634f319790a4806b1c6ee344152f.jpg","text":"TemporaryFile(/tmp/multipartBody2168882259448063463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737293133823,"filename":"image_19012025_14_24_02_874501_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/cdf0e25daba26c10da1431213a632da5.jpg","text":"TemporaryFile(/tmp/multipartBody1566197233337063818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737293133823,"filename":"image_19012025_14_24_02_874501_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/8de5d7eeb4a1ddbfaa7208bd3fd31997.jpg","text":"TemporaryFile(/tmp/multipartBody7449457793539018119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737293133823,"filename":"image_19012025_14_24_02_874501_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330046114","file1":"1330046109","file0":"1330046106","file3":"1330046222"},"map_files_photo_id_array":[{"photo_id":"1330046114","filename":"file2"},{"photo_id":"1330046109","filename":"file1"},{"photo_id":"1330046106","filename":"file0"},{"photo_id":"1330046222","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330046106":["hashtag1","hashtag2"]},{"1330046109":["hashtag1","hashtag2"]},{"1330046114":["hashtag1","hashtag2"]},{"1330046222":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330046106, 1330046109, 1330046114, 1330046222)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.743486642837524 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 14:25:21.859731
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/14/24/image_19012025_14_24_02_874501_0003.jpg', '/home/pi/Desktop/images/19012025/14/25/image_19012025_14_25_03_056603_0000.jpg', '/home/pi/Desktop/images/19012025/14/25/image_19012025_14_25_03_056603_0001.jpg', '/home/pi/Desktop/images/19012025/14/25/image_19012025_14_25_03_056603_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/14/24/image_19012025_14_24_02_874501_0003.jpg
/home/pi/Desktop/images/19012025/14/25/image_19012025_14_25_03_056603_0000.jpg
/home/pi/Desktop/images/19012025/14/25/image_19012025_14_25_03_056603_0001.jpg
/home/pi/Desktop/images/19012025/14/25/image_19012025_14_25_03_056603_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330046316","1330046319","1330046303","1330046293"],"photo_ids_order":["1330046293","1330046303","1330046316","1330046319"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/ed25d234660ef675ae429830224fac46.jpg","text":"TemporaryFile(/tmp/multipartBody3626239906054025329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737293193469,"filename":"image_19012025_14_25_03_056603_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/6b99e031793e9c1a984cf3f3635b1b6b.jpg","text":"TemporaryFile(/tmp/multipartBody2364118169586958537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737293193469,"filename":"image_19012025_14_25_03_056603_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/24dbd7e095d13b4b194fd726f45a2d2a.jpg","text":"TemporaryFile(/tmp/multipartBody3594301116487348574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737293193469,"filename":"image_19012025_14_25_03_056603_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/a40424ceb659a6cf27cf69fc2505e1d6.jpg","text":"TemporaryFile(/tmp/multipartBody899918779192086579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737293193469,"filename":"image_19012025_14_24_02_874501_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330046316","file1":"1330046303","file0":"1330046293","file3":"1330046319"},"map_files_photo_id_array":[{"photo_id":"1330046316","filename":"file2"},{"photo_id":"1330046303","filename":"file1"},{"photo_id":"1330046293","filename":"file0"},{"photo_id":"1330046319","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330046316":["hashtag1","hashtag2"]},{"1330046319":["hashtag1","hashtag2"]},{"1330046303":["hashtag1","hashtag2"]},{"1330046293":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330046316, 1330046319, 1330046303, 1330046293)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.47106647491455 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-19 14:26:22.144889
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/14/25/image_19012025_14_25_03_056603_0003.jpg', '/home/pi/Desktop/images/19012025/14/26/image_19012025_14_26_02_312142_0000.jpg', '/home/pi/Desktop/images/19012025/14/26/image_19012025_14_26_02_312142_0001.jpg', '/home/pi/Desktop/images/19012025/14/26/image_19012025_14_26_02_312142_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/14/25/image_19012025_14_25_03_056603_0003.jpg
/home/pi/Desktop/images/19012025/14/26/image_19012025_14_26_02_312142_0000.jpg
/home/pi/Desktop/images/19012025/14/26/image_19012025_14_26_02_312142_0001.jpg
/home/pi/Desktop/images/19012025/14/26/image_19012025_14_26_02_312142_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330046330","1330046333","1330046327","1330046336"],"photo_ids_order":["1330046327","1330046330","1330046333","1330046336"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/2d6e71478cfa51adf06ad9c45a858828.jpg","text":"TemporaryFile(/tmp/multipartBody3069413953891881484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737293253475,"filename":"image_19012025_14_26_02_312142_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/243f47f071fd0a3052d8f3079d9eb36e.jpg","text":"TemporaryFile(/tmp/multipartBody352207427704511196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737293253475,"filename":"image_19012025_14_26_02_312142_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/1007df06425d4f5a1bda8d086b19c0c6.jpg","text":"TemporaryFile(/tmp/multipartBody2685521374792642646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737293253475,"filename":"image_19012025_14_25_03_056603_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/6170e6bcfc0b13c8b7d177c6453b14f7.jpg","text":"TemporaryFile(/tmp/multipartBody5044504530802120014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737293253475,"filename":"image_19012025_14_26_02_312142_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330046333","file1":"1330046330","file0":"1330046327","file3":"1330046336"},"map_files_photo_id_array":[{"photo_id":"1330046333","filename":"file2"},{"photo_id":"1330046330","filename":"file1"},{"photo_id":"1330046327","filename":"file0"},{"photo_id":"1330046336","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330046330":["hashtag1","hashtag2"]},{"1330046333":["hashtag1","hashtag2"]},{"1330046327":["hashtag1","hashtag2"]},{"1330046336":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330046330, 1330046333, 1330046327, 1330046336)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 4 photos
time to upload: 39.66587162017822 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 14:27:22.210260
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/14/26/image_19012025_14_26_02_312142_0003.jpg', '/home/pi/Desktop/images/19012025/14/27/image_19012025_14_27_02_393740_0000.jpg', '/home/pi/Desktop/images/19012025/14/27/image_19012025_14_27_02_393740_0001.jpg', '/home/pi/Desktop/images/19012025/14/27/image_19012025_14_27_02_393740_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/14/26/image_19012025_14_26_02_312142_0003.jpg
/home/pi/Desktop/images/19012025/14/27/image_19012025_14_27_02_393740_0000.jpg
/home/pi/Desktop/images/19012025/14/27/image_19012025_14_27_02_393740_0001.jpg
/home/pi/Desktop/images/19012025/14/27/image_19012025_14_27_02_393740_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330046425","1330046419","1330046422","1330046416"],"photo_ids_order":["1330046416","1330046419","1330046422","1330046425"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/dbb4158026f8df0a49d9f972a8842517.jpg","text":"TemporaryFile(/tmp/multipartBody2606363965714875953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737293313464,"filename":"image_19012025_14_27_02_393740_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/10daaac885894b2a6f5a56dee1925f35.jpg","text":"TemporaryFile(/tmp/multipartBody7864203604783288423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737293313464,"filename":"image_19012025_14_27_02_393740_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/710256680f55dcd494e0a09dbcd092ba.jpg","text":"TemporaryFile(/tmp/multipartBody9002416308266873147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737293313464,"filename":"image_19012025_14_27_02_393740_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/0e603332dc45d72e9f2eeefcb813d4f8.jpg","text":"TemporaryFile(/tmp/multipartBody6658715245167057243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737293313464,"filename":"image_19012025_14_26_02_312142_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330046422","file1":"1330046419","file0":"1330046416","file3":"1330046425"},"map_files_photo_id_array":[{"photo_id":"1330046422","filename":"file2"},{"photo_id":"1330046419","filename":"file1"},{"photo_id":"1330046416","filename":"file0"},{"photo_id":"1330046425","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330046425":["hashtag1","hashtag2"]},{"1330046419":["hashtag1","hashtag2"]},{"1330046422":["hashtag1","hashtag2"]},{"1330046416":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330046425, 1330046419, 1330046422, 1330046416)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.94294810295105 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 14:28:02.892302
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
  port_id : 19698700
  datou_current_id : 2490825
in upload_from_sqlite, uploading in 19698700
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17012025/22/28/image_17012025_22_28_02_797848_0001.jpg', '/home/pi/Desktop/images/17012025/22/28/image_17012025_22_28_02_797848_0002.jpg', '/home/pi/Desktop/images/17012025/22/28/image_17012025_22_28_02_797848_0003.jpg', '/home/pi/Desktop/images/17012025/22/29/image_17012025_22_29_03_011265_0000.jpg', '/home/pi/Desktop/images/17012025/22/29/image_17012025_22_29_03_011265_0001.jpg', '/home/pi/Desktop/images/17012025/22/29/image_17012025_22_29_03_011265_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2490825&datou=0
/home/pi/Desktop/images/17012025/22/28/image_17012025_22_28_02_797848_0001.jpg
/home/pi/Desktop/images/17012025/22/28/image_17012025_22_28_02_797848_0002.jpg
/home/pi/Desktop/images/17012025/22/28/image_17012025_22_28_02_797848_0003.jpg
/home/pi/Desktop/images/17012025/22/29/image_17012025_22_29_03_011265_0000.jpg
/home/pi/Desktop/images/17012025/22/29/image_17012025_22_29_03_011265_0001.jpg
/home/pi/Desktop/images/17012025/22/29/image_17012025_22_29_03_011265_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330046499","1330046532","1330046526","1330046529","1330046514","1330046534"],"photo_ids_order":["1330046499","1330046514","1330046526","1330046529","1330046532","1330046534"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/28722dee6161084daa825262f7713233.jpg","text":"TemporaryFile(/tmp/multipartBody722880982419462303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737293359891,"filename":"image_17012025_22_28_02_797848_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/982ccd6eeab26dbd53a3e036f07d5db1.jpg","text":"TemporaryFile(/tmp/multipartBody3841297108776981623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737293359891,"filename":"image_17012025_22_29_03_011265_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/ae96054be480367bf1246dee07db2404.jpg","text":"TemporaryFile(/tmp/multipartBody7160754517289468501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737293359891,"filename":"image_17012025_22_28_02_797848_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/6344f92245d01e8a0e5ed9405c3d85b5.jpg","text":"TemporaryFile(/tmp/multipartBody1731544027450145325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737293359891,"filename":"image_17012025_22_29_03_011265_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/062b498d24f7e88c78dbf4256e6fb4b9.jpg","text":"TemporaryFile(/tmp/multipartBody1014275422916657675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737293359891,"filename":"image_17012025_22_28_02_797848_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/90d63ecf258493c2b9a7eed64f83de36.jpg","text":"TemporaryFile(/tmp/multipartBody5903729970409434884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737293359891,"filename":"image_17012025_22_29_03_011265_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330046526","file1":"1330046514","file0":"1330046499","file4":"1330046532","file5":"1330046534","file3":"1330046529"},"map_files_photo_id_array":[{"photo_id":"1330046534","filename":"file5"},{"photo_id":"1330046526","filename":"file2"},{"photo_id":"1330046532","filename":"file4"},{"photo_id":"1330046514","filename":"file1"},{"photo_id":"1330046499","filename":"file0"},{"photo_id":"1330046529","filename":"file3"}],"portfolio_id":19698700,"hashtag_by_photo_ids":[{"1330046499":["hashtag1","hashtag2"]},{"1330046532":["hashtag1","hashtag2"]},{"1330046526":["hashtag1","hashtag2"]},{"1330046529":["hashtag1","hashtag2"]},{"1330046514":["hashtag1","hashtag2"]},{"1330046534":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698700 used, photo_id : ArrayBuffer(1330046499, 1330046532, 1330046526, 1330046529, 1330046514, 1330046534)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.18895196914673 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 14:29:03.379554
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/14/27/image_19012025_14_27_02_393740_0003.jpg', '/home/pi/Desktop/images/19012025/14/28/image_19012025_14_28_02_663285_0000.jpg', '/home/pi/Desktop/images/19012025/14/28/image_19012025_14_28_02_663285_0001.jpg', '/home/pi/Desktop/images/19012025/14/28/image_19012025_14_28_02_663285_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/14/27/image_19012025_14_27_02_393740_0003.jpg
/home/pi/Desktop/images/19012025/14/28/image_19012025_14_28_02_663285_0000.jpg
/home/pi/Desktop/images/19012025/14/28/image_19012025_14_28_02_663285_0001.jpg
/home/pi/Desktop/images/19012025/14/28/image_19012025_14_28_02_663285_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330046539","1330046541","1330046543","1330046546"],"photo_ids_order":["1330046539","1330046541","1330046543","1330046546"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/91bb78120596704675eee7efb93bf67e.jpg","text":"TemporaryFile(/tmp/multipartBody6353813054998906768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737293414818,"filename":"image_19012025_14_27_02_393740_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/565097b6f824f70dacb0acec69a9e814.jpg","text":"TemporaryFile(/tmp/multipartBody1997189065521899007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737293414818,"filename":"image_19012025_14_28_02_663285_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/7c2d52e66e4e63aff08e1b5ea0f61336.jpg","text":"TemporaryFile(/tmp/multipartBody51381625326510242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737293414818,"filename":"image_19012025_14_28_02_663285_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/735f3bec8729b492eca1bc1ca9e66dad.jpg","text":"TemporaryFile(/tmp/multipartBody7580117507865044383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737293414818,"filename":"image_19012025_14_28_02_663285_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330046543","file1":"1330046541","file0":"1330046539","file3":"1330046546"},"map_files_photo_id_array":[{"photo_id":"1330046543","filename":"file2"},{"photo_id":"1330046541","filename":"file1"},{"photo_id":"1330046539","filename":"file0"},{"photo_id":"1330046546","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330046539":["hashtag1","hashtag2"]},{"1330046541":["hashtag1","hashtag2"]},{"1330046543":["hashtag1","hashtag2"]},{"1330046546":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330046539, 1330046541, 1330046543, 1330046546)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.207926988601685 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-19 14:29:52.515596
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/14/28/image_19012025_14_28_02_663285_0003.jpg', '/home/pi/Desktop/images/19012025/14/29/image_19012025_14_29_02_704236_0000.jpg', '/home/pi/Desktop/images/19012025/14/29/image_19012025_14_29_02_704236_0001.jpg', '/home/pi/Desktop/images/19012025/14/29/image_19012025_14_29_02_704236_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/14/28/image_19012025_14_28_02_663285_0003.jpg
/home/pi/Desktop/images/19012025/14/29/image_19012025_14_29_02_704236_0000.jpg
/home/pi/Desktop/images/19012025/14/29/image_19012025_14_29_02_704236_0001.jpg
/home/pi/Desktop/images/19012025/14/29/image_19012025_14_29_02_704236_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":["1330046556","1330046555","1330046558","1330046557"],"photo_ids_order":["1330046555","1330046556","1330046557","1330046558"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/2c5522053b628af79fd32cf695fdb352.jpg","text":"TemporaryFile(/tmp/multipartBody4159541796713023880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737293463831,"filename":"image_19012025_14_29_02_704236_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/302a5e9c0ac4b49d08088cb3bf9f1131.jpg","text":"TemporaryFile(/tmp/multipartBody7030357332874285156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737293463831,"filename":"image_19012025_14_28_02_663285_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/dfcb21401ee7772ab45fc8d081ca5b7e.jpg","text":"TemporaryFile(/tmp/multipartBody8202615371893132014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737293463831,"filename":"image_19012025_14_29_02_704236_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/81d76b87ffba8e5f2a8dd5f32887808c.jpg","text":"TemporaryFile(/tmp/multipartBody8286903082024532978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737293463831,"filename":"image_19012025_14_29_02_704236_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330046557","file1":"1330046556","file0":"1330046555","file3":"1330046558"},"map_files_photo_id_array":[{"photo_id":"1330046557","filename":"file2"},{"photo_id":"1330046556","filename":"file1"},{"photo_id":"1330046555","filename":"file0"},{"photo_id":"1330046558","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330046556":["hashtag1","hashtag2"]},{"1330046555":["hashtag1","hashtag2"]},{"1330046558":["hashtag1","hashtag2"]},{"1330046557":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330046556, 1330046555, 1330046558, 1330046557)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.65711855888367 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-19 14:30:32.707775
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/14/29/image_19012025_14_29_02_704236_0003.jpg', '/home/pi/Desktop/images/19012025/14/30/image_19012025_14_30_03_015097_0000.jpg', '/home/pi/Desktop/images/19012025/14/30/image_19012025_14_30_03_015097_0001.jpg', '/home/pi/Desktop/images/19012025/14/30/image_19012025_14_30_03_015097_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/14/29/image_19012025_14_29_02_704236_0003.jpg
/home/pi/Desktop/images/19012025/14/30/image_19012025_14_30_03_015097_0000.jpg
/home/pi/Desktop/images/19012025/14/30/image_19012025_14_30_03_015097_0001.jpg
/home/pi/Desktop/images/19012025/14/30/image_19012025_14_30_03_015097_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330046787","1330046877","1330046826","1330046828"],"photo_ids_order":["1330046787","1330046826","1330046828","1330046877"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/88cbbf0186568b8d488f882cd57617e9.jpg","text":"TemporaryFile(/tmp/multipartBody807057872794951232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737293504002,"filename":"image_19012025_14_29_02_704236_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/8916d9932b47891bc03c0979e9925fe3.jpg","text":"TemporaryFile(/tmp/multipartBody3077179534342936825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737293504002,"filename":"image_19012025_14_30_03_015097_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/6281030065a0735b8fd9f8c86989e595.jpg","text":"TemporaryFile(/tmp/multipartBody5001063713977209688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737293504002,"filename":"image_19012025_14_30_03_015097_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/bce2d7fee9e99641d52134d3ff73b08e.jpg","text":"TemporaryFile(/tmp/multipartBody4969329493621981225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737293504002,"filename":"image_19012025_14_30_03_015097_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330046828","file1":"1330046826","file0":"1330046787","file3":"1330046877"},"map_files_photo_id_array":[{"photo_id":"1330046828","filename":"file2"},{"photo_id":"1330046826","filename":"file1"},{"photo_id":"1330046787","filename":"file0"},{"photo_id":"1330046877","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330046787":["hashtag1","hashtag2"]},{"1330046877":["hashtag1","hashtag2"]},{"1330046826":["hashtag1","hashtag2"]},{"1330046828":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330046787, 1330046877, 1330046826, 1330046828)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.25562906265259 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 14:31:21.950385
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/14/30/image_19012025_14_30_03_015097_0003.jpg', '/home/pi/Desktop/images/19012025/14/31/image_19012025_14_31_03_135051_0000.jpg', '/home/pi/Desktop/images/19012025/14/31/image_19012025_14_31_03_135051_0001.jpg', '/home/pi/Desktop/images/19012025/14/31/image_19012025_14_31_03_135051_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/14/30/image_19012025_14_30_03_015097_0003.jpg
/home/pi/Desktop/images/19012025/14/31/image_19012025_14_31_03_135051_0000.jpg
/home/pi/Desktop/images/19012025/14/31/image_19012025_14_31_03_135051_0001.jpg
/home/pi/Desktop/images/19012025/14/31/image_19012025_14_31_03_135051_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330046912","1330046921","1330046915","1330046918"],"photo_ids_order":["1330046912","1330046915","1330046918","1330046921"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/5f9115599bf1677823a567602d5868dc.jpg","text":"TemporaryFile(/tmp/multipartBody317947642695301430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737293552751,"filename":"image_19012025_14_30_03_015097_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/080ecc634073f1e1ad0d005a1c89f7fd.jpg","text":"TemporaryFile(/tmp/multipartBody8625460689556673361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737293552751,"filename":"image_19012025_14_31_03_135051_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/309e6fe950527acc6e58ffaf9bf3f06d.jpg","text":"TemporaryFile(/tmp/multipartBody8093530385905949482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737293552751,"filename":"image_19012025_14_31_03_135051_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/a3172647aaee814de522b7ef94168f30.jpg","text":"TemporaryFile(/tmp/multipartBody2858044474901358751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737293552751,"filename":"image_19012025_14_31_03_135051_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330046918","file1":"1330046915","file0":"1330046912","file3":"1330046921"},"map_files_photo_id_array":[{"photo_id":"1330046918","filename":"file2"},{"photo_id":"1330046915","filename":"file1"},{"photo_id":"1330046912","filename":"file0"},{"photo_id":"1330046921","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330046912":["hashtag1","hashtag2"]},{"1330046921":["hashtag1","hashtag2"]},{"1330046915":["hashtag1","hashtag2"]},{"1330046918":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330046912, 1330046921, 1330046915, 1330046918)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 4 photos
time to upload: 39.69922757148743 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 14:32:22.119070
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/14/31/image_19012025_14_31_03_135051_0003.jpg', '/home/pi/Desktop/images/19012025/14/32/image_19012025_14_32_02_288026_0000.jpg', '/home/pi/Desktop/images/19012025/14/32/image_19012025_14_32_02_288026_0001.jpg', '/home/pi/Desktop/images/19012025/14/32/image_19012025_14_32_02_288026_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/14/31/image_19012025_14_31_03_135051_0003.jpg
/home/pi/Desktop/images/19012025/14/32/image_19012025_14_32_02_288026_0000.jpg
/home/pi/Desktop/images/19012025/14/32/image_19012025_14_32_02_288026_0001.jpg
/home/pi/Desktop/images/19012025/14/32/image_19012025_14_32_02_288026_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330046996","1330046999","1330047002","1330046986"],"photo_ids_order":["1330046986","1330046996","1330046999","1330047002"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/1f04c4efb188e1828ec67c2856df108f.jpg","text":"TemporaryFile(/tmp/multipartBody5566758709904624647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737293613275,"filename":"image_19012025_14_32_02_288026_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/e97b70b30c4ff199f630515f2bbd8ceb.jpg","text":"TemporaryFile(/tmp/multipartBody280483523965631134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737293613275,"filename":"image_19012025_14_32_02_288026_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/9a650dfbb25fa845bde7da4b5015d160.jpg","text":"TemporaryFile(/tmp/multipartBody3599796029671650106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737293613275,"filename":"image_19012025_14_32_02_288026_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/9ddcb74b9abe95b5d1659dc5ab200a2e.jpg","text":"TemporaryFile(/tmp/multipartBody2350043115421990481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737293613275,"filename":"image_19012025_14_31_03_135051_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330046999","file1":"1330046996","file0":"1330046986","file3":"1330047002"},"map_files_photo_id_array":[{"photo_id":"1330046999","filename":"file2"},{"photo_id":"1330046996","filename":"file1"},{"photo_id":"1330046986","filename":"file0"},{"photo_id":"1330047002","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330046996":["hashtag1","hashtag2"]},{"1330046999":["hashtag1","hashtag2"]},{"1330047002":["hashtag1","hashtag2"]},{"1330046986":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330046996, 1330046999, 1330047002, 1330046986)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.859477519989014 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 14:33:02.920154
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
  port_id : 19698700
  datou_current_id : 2490825
in upload_from_sqlite, uploading in 19698700
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17012025/22/29/image_17012025_22_29_03_011265_0003.jpg', '/home/pi/Desktop/images/17012025/22/30/image_17012025_22_30_02_232970_0000.jpg', '/home/pi/Desktop/images/17012025/22/30/image_17012025_22_30_02_232970_0001.jpg', '/home/pi/Desktop/images/17012025/22/30/image_17012025_22_30_02_232970_0002.jpg', '/home/pi/Desktop/images/17012025/22/30/image_17012025_22_30_02_232970_0003.jpg', '/home/pi/Desktop/images/17012025/22/31/image_17012025_22_31_02_483659_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2490825&datou=0
/home/pi/Desktop/images/17012025/22/29/image_17012025_22_29_03_011265_0003.jpg
/home/pi/Desktop/images/17012025/22/30/image_17012025_22_30_02_232970_0000.jpg
/home/pi/Desktop/images/17012025/22/30/image_17012025_22_30_02_232970_0001.jpg
/home/pi/Desktop/images/17012025/22/30/image_17012025_22_30_02_232970_0002.jpg
/home/pi/Desktop/images/17012025/22/30/image_17012025_22_30_02_232970_0003.jpg
/home/pi/Desktop/images/17012025/22/31/image_17012025_22_31_02_483659_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":["1330047009","1330047092","1330047012","1330047107","1330047007","1330047109"],"photo_ids_order":["1330047007","1330047009","1330047012","1330047092","1330047107","1330047109"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/23710fec5672e40729ae192c54aa5039.jpg","text":"TemporaryFile(/tmp/multipartBody1214791173717166984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737293660614,"filename":"image_17012025_22_30_02_232970_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/39b4d00a207653e36c1074af197e79d0.jpg","text":"TemporaryFile(/tmp/multipartBody5569604579472642069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737293660614,"filename":"image_17012025_22_30_02_232970_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/4238da9b560873bb68daeb37d12286db.jpg","text":"TemporaryFile(/tmp/multipartBody7044237166102471638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737293660614,"filename":"image_17012025_22_30_02_232970_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/3ff45bea74c6ec717d005779a35054e7.jpg","text":"TemporaryFile(/tmp/multipartBody7081140401305098634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737293660614,"filename":"image_17012025_22_30_02_232970_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/4a11922af5ec8a5bb085ad7e4dc9afe0.jpg","text":"TemporaryFile(/tmp/multipartBody8482724091289141615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737293660614,"filename":"image_17012025_22_29_03_011265_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/b0f45b38e9e87db69538765ccc6ce5b9.jpg","text":"TemporaryFile(/tmp/multipartBody2801768825508368074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737293660614,"filename":"image_17012025_22_31_02_483659_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330047012","file1":"1330047009","file0":"1330047007","file4":"1330047107","file5":"1330047109","file3":"1330047092"},"map_files_photo_id_array":[{"photo_id":"1330047109","filename":"file5"},{"photo_id":"1330047012","filename":"file2"},{"photo_id":"1330047107","filename":"file4"},{"photo_id":"1330047009","filename":"file1"},{"photo_id":"1330047007","filename":"file0"},{"photo_id":"1330047092","filename":"file3"}],"portfolio_id":19698700,"hashtag_by_photo_ids":[{"1330047009":["hashtag1","hashtag2"]},{"1330047092":["hashtag1","hashtag2"]},{"1330047012":["hashtag1","hashtag2"]},{"1330047107":["hashtag1","hashtag2"]},{"1330047007":["hashtag1","hashtag2"]},{"1330047109":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698700 used, photo_id : ArrayBuffer(1330047009, 1330047092, 1330047012, 1330047107, 1330047007, 1330047109)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.456483125686646 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 14:34:02.839766
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/14/32/image_19012025_14_32_02_288026_0003.jpg', '/home/pi/Desktop/images/19012025/14/33/image_19012025_14_33_02_433659_0000.jpg', '/home/pi/Desktop/images/19012025/14/33/image_19012025_14_33_02_433659_0001.jpg', '/home/pi/Desktop/images/19012025/14/33/image_19012025_14_33_02_433659_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/14/32/image_19012025_14_32_02_288026_0003.jpg
/home/pi/Desktop/images/19012025/14/33/image_19012025_14_33_02_433659_0000.jpg
/home/pi/Desktop/images/19012025/14/33/image_19012025_14_33_02_433659_0001.jpg
/home/pi/Desktop/images/19012025/14/33/image_19012025_14_33_02_433659_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330047114","1330047117","1330047113","1330047121"],"photo_ids_order":["1330047113","1330047114","1330047117","1330047121"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/7909f315a4c375931a18e04c78ed17d0.jpg","text":"TemporaryFile(/tmp/multipartBody1284260807969089971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737293714017,"filename":"image_19012025_14_33_02_433659_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/eb72cd7fcb8c3ca2f488eb0b793df386.jpg","text":"TemporaryFile(/tmp/multipartBody6643040114235101703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737293714017,"filename":"image_19012025_14_33_02_433659_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/26eaa567a66ea28089863343fcc588e2.jpg","text":"TemporaryFile(/tmp/multipartBody3077444135756232944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737293714017,"filename":"image_19012025_14_32_02_288026_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/5313639091f2235e86067ca968276337.jpg","text":"TemporaryFile(/tmp/multipartBody4799703095028055589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737293714017,"filename":"image_19012025_14_33_02_433659_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330047117","file1":"1330047114","file0":"1330047113","file3":"1330047121"},"map_files_photo_id_array":[{"photo_id":"1330047117","filename":"file2"},{"photo_id":"1330047114","filename":"file1"},{"photo_id":"1330047113","filename":"file0"},{"photo_id":"1330047121","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330047114":["hashtag1","hashtag2"]},{"1330047117":["hashtag1","hashtag2"]},{"1330047113":["hashtag1","hashtag2"]},{"1330047121":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330047114, 1330047117, 1330047113, 1330047121)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.96551489830017 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-19 14:34:52.454700
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/14/33/image_19012025_14_33_02_433659_0003.jpg', '/home/pi/Desktop/images/19012025/14/34/image_19012025_14_34_02_590171_0000.jpg', '/home/pi/Desktop/images/19012025/14/34/image_19012025_14_34_02_590171_0001.jpg', '/home/pi/Desktop/images/19012025/14/34/image_19012025_14_34_02_590171_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/14/33/image_19012025_14_33_02_433659_0003.jpg
/home/pi/Desktop/images/19012025/14/34/image_19012025_14_34_02_590171_0000.jpg
/home/pi/Desktop/images/19012025/14/34/image_19012025_14_34_02_590171_0001.jpg
/home/pi/Desktop/images/19012025/14/34/image_19012025_14_34_02_590171_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330047165","1330047153","1330047164","1330047152"],"photo_ids_order":["1330047152","1330047153","1330047164","1330047165"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/8f2f0e41bda8e55f34d31469c5f801d0.jpg","text":"TemporaryFile(/tmp/multipartBody1535865273210760706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737293763522,"filename":"image_19012025_14_34_02_590171_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/1cbd5d5e622dce57a2159fcc56107d8f.jpg","text":"TemporaryFile(/tmp/multipartBody5677384655334653833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737293763522,"filename":"image_19012025_14_34_02_590171_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/fb183f35915a9a08d4a6656598e476f4.jpg","text":"TemporaryFile(/tmp/multipartBody8611734217651733903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737293763522,"filename":"image_19012025_14_34_02_590171_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/3345c6564fe65026c42249b8c54ac650.jpg","text":"TemporaryFile(/tmp/multipartBody3036471331912109364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737293763522,"filename":"image_19012025_14_33_02_433659_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330047164","file1":"1330047153","file0":"1330047152","file3":"1330047165"},"map_files_photo_id_array":[{"photo_id":"1330047164","filename":"file2"},{"photo_id":"1330047153","filename":"file1"},{"photo_id":"1330047152","filename":"file0"},{"photo_id":"1330047165","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330047165":["hashtag1","hashtag2"]},{"1330047153":["hashtag1","hashtag2"]},{"1330047164":["hashtag1","hashtag2"]},{"1330047152":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330047165, 1330047153, 1330047164, 1330047152)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.56923460960388 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-19 14:35:42.694105
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/14/34/image_19012025_14_34_02_590171_0003.jpg', '/home/pi/Desktop/images/19012025/14/35/image_19012025_14_35_02_766729_0000.jpg', '/home/pi/Desktop/images/19012025/14/35/image_19012025_14_35_02_766729_0001.jpg', '/home/pi/Desktop/images/19012025/14/35/image_19012025_14_35_02_766729_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/14/34/image_19012025_14_34_02_590171_0003.jpg
/home/pi/Desktop/images/19012025/14/35/image_19012025_14_35_02_766729_0000.jpg
/home/pi/Desktop/images/19012025/14/35/image_19012025_14_35_02_766729_0001.jpg
/home/pi/Desktop/images/19012025/14/35/image_19012025_14_35_02_766729_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":["1330047181","1330047175","1330047180","1330047177"],"photo_ids_order":["1330047175","1330047177","1330047180","1330047181"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/413e76f0555eb1188da38d7fbf057897.jpg","text":"TemporaryFile(/tmp/multipartBody2674821296365139955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737293813362,"filename":"image_19012025_14_35_02_766729_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/47e1216b710fc28678e5578bc0dff6b0.jpg","text":"TemporaryFile(/tmp/multipartBody7920292898107182036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737293813362,"filename":"image_19012025_14_34_02_590171_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/5b625d64aad2504a77e5e4796e1912db.jpg","text":"TemporaryFile(/tmp/multipartBody8194289166022811995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737293813362,"filename":"image_19012025_14_35_02_766729_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/10e8b7227bb28c1fda4a77f63e9224ec.jpg","text":"TemporaryFile(/tmp/multipartBody4882170646909513802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737293813362,"filename":"image_19012025_14_35_02_766729_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330047180","file1":"1330047177","file0":"1330047175","file3":"1330047181"},"map_files_photo_id_array":[{"photo_id":"1330047180","filename":"file2"},{"photo_id":"1330047177","filename":"file1"},{"photo_id":"1330047175","filename":"file0"},{"photo_id":"1330047181","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330047181":["hashtag1","hashtag2"]},{"1330047175":["hashtag1","hashtag2"]},{"1330047180":["hashtag1","hashtag2"]},{"1330047177":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330047181, 1330047175, 1330047180, 1330047177)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.28278946876526 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 14:36:21.783879
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/14/35/image_19012025_14_35_02_766729_0003.jpg', '/home/pi/Desktop/images/19012025/14/36/image_19012025_14_36_03_017370_0000.jpg', '/home/pi/Desktop/images/19012025/14/36/image_19012025_14_36_03_017370_0001.jpg', '/home/pi/Desktop/images/19012025/14/36/image_19012025_14_36_03_017370_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/14/35/image_19012025_14_35_02_766729_0003.jpg
/home/pi/Desktop/images/19012025/14/36/image_19012025_14_36_03_017370_0000.jpg
/home/pi/Desktop/images/19012025/14/36/image_19012025_14_36_03_017370_0001.jpg
/home/pi/Desktop/images/19012025/14/36/image_19012025_14_36_03_017370_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330047188","1330047185","1330047209","1330047211"],"photo_ids_order":["1330047185","1330047188","1330047209","1330047211"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/e2f9d909fea9bf1772e9b00132517dd8.jpg","text":"TemporaryFile(/tmp/multipartBody5830923853893914069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737293852903,"filename":"image_19012025_14_36_03_017370_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/cff7ba8cbaa778feab502a010bb4f39c.jpg","text":"TemporaryFile(/tmp/multipartBody3422659888434958624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737293852903,"filename":"image_19012025_14_35_02_766729_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/c50c2bdda0274555658f4b76f92132ca.jpg","text":"TemporaryFile(/tmp/multipartBody6317664231321210386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737293852903,"filename":"image_19012025_14_36_03_017370_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/0dedd9ada15bb32c2dc3e547511afc6e.jpg","text":"TemporaryFile(/tmp/multipartBody8002860259801578952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737293852903,"filename":"image_19012025_14_36_03_017370_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330047209","file1":"1330047188","file0":"1330047185","file3":"1330047211"},"map_files_photo_id_array":[{"photo_id":"1330047209","filename":"file2"},{"photo_id":"1330047188","filename":"file1"},{"photo_id":"1330047185","filename":"file0"},{"photo_id":"1330047211","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330047188":["hashtag1","hashtag2"]},{"1330047185":["hashtag1","hashtag2"]},{"1330047209":["hashtag1","hashtag2"]},{"1330047211":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330047188, 1330047185, 1330047209, 1330047211)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.78981924057007 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 14:37:02.712726
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
  port_id : 19698700
  datou_current_id : 2490825
in upload_from_sqlite, uploading in 19698700
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17012025/22/31/image_17012025_22_31_02_483659_0001.jpg', '/home/pi/Desktop/images/17012025/22/31/image_17012025_22_31_02_483659_0002.jpg', '/home/pi/Desktop/images/17012025/22/31/image_17012025_22_31_02_483659_0003.jpg', '/home/pi/Desktop/images/17012025/22/32/image_17012025_22_32_02_579757_0000.jpg', '/home/pi/Desktop/images/17012025/22/32/image_17012025_22_32_02_579757_0001.jpg', '/home/pi/Desktop/images/17012025/22/32/image_17012025_22_32_02_579757_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2490825&datou=0
/home/pi/Desktop/images/17012025/22/31/image_17012025_22_31_02_483659_0001.jpg
/home/pi/Desktop/images/17012025/22/31/image_17012025_22_31_02_483659_0002.jpg
/home/pi/Desktop/images/17012025/22/31/image_17012025_22_31_02_483659_0003.jpg
/home/pi/Desktop/images/17012025/22/32/image_17012025_22_32_02_579757_0000.jpg
/home/pi/Desktop/images/17012025/22/32/image_17012025_22_32_02_579757_0001.jpg
/home/pi/Desktop/images/17012025/22/32/image_17012025_22_32_02_579757_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330047389","1330047328","1330047322","1330047301","1330047325","1330047319"],"photo_ids_order":["1330047301","1330047319","1330047322","1330047325","1330047328","1330047389"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/046a87542b2e7d91c52a735618450ba9.jpg","text":"TemporaryFile(/tmp/multipartBody442901985476457986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737293900385,"filename":"image_17012025_22_32_02_579757_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/2d20460b247e8c2f18af35664e3366e7.jpg","text":"TemporaryFile(/tmp/multipartBody230919882510374267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737293900385,"filename":"image_17012025_22_32_02_579757_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/d4911bedc391499009ac08aaf8e99179.jpg","text":"TemporaryFile(/tmp/multipartBody8693074070894435998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737293900385,"filename":"image_17012025_22_31_02_483659_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/b0e6231ca4d4991ab552394d0d8e5608.jpg","text":"TemporaryFile(/tmp/multipartBody6500180085745628328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737293900385,"filename":"image_17012025_22_31_02_483659_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/c02357244fe72466e8756f61565edffe.jpg","text":"TemporaryFile(/tmp/multipartBody1892670355394821455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737293900385,"filename":"image_17012025_22_32_02_579757_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/f1acaab4e7e4c436bb94082342bddca1.jpg","text":"TemporaryFile(/tmp/multipartBody3001844661170089157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737293900385,"filename":"image_17012025_22_31_02_483659_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330047322","file1":"1330047319","file0":"1330047301","file4":"1330047328","file5":"1330047389","file3":"1330047325"},"map_files_photo_id_array":[{"photo_id":"1330047389","filename":"file5"},{"photo_id":"1330047322","filename":"file2"},{"photo_id":"1330047328","filename":"file4"},{"photo_id":"1330047319","filename":"file1"},{"photo_id":"1330047301","filename":"file0"},{"photo_id":"1330047325","filename":"file3"}],"portfolio_id":19698700,"hashtag_by_photo_ids":[{"1330047389":["hashtag1","hashtag2"]},{"1330047328":["hashtag1","hashtag2"]},{"1330047322":["hashtag1","hashtag2"]},{"1330047301":["hashtag1","hashtag2"]},{"1330047325":["hashtag1","hashtag2"]},{"1330047319":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698700 used, photo_id : ArrayBuffer(1330047389, 1330047328, 1330047322, 1330047301, 1330047325, 1330047319)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.38364601135254 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 14:38:02.604653
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/14/36/image_19012025_14_36_03_017370_0003.jpg', '/home/pi/Desktop/images/19012025/14/37/image_19012025_14_37_02_169488_0000.jpg', '/home/pi/Desktop/images/19012025/14/37/image_19012025_14_37_02_169488_0001.jpg', '/home/pi/Desktop/images/19012025/14/37/image_19012025_14_37_02_169488_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/14/36/image_19012025_14_36_03_017370_0003.jpg
/home/pi/Desktop/images/19012025/14/37/image_19012025_14_37_02_169488_0000.jpg
/home/pi/Desktop/images/19012025/14/37/image_19012025_14_37_02_169488_0001.jpg
/home/pi/Desktop/images/19012025/14/37/image_19012025_14_37_02_169488_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330047394","1330047754","1330047430","1330047393"],"photo_ids_order":["1330047393","1330047394","1330047430","1330047754"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/993fe9f65ff216eecbb44b00bbf0ef3a.jpg","text":"TemporaryFile(/tmp/multipartBody4410172426025671829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737293953924,"filename":"image_19012025_14_37_02_169488_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/5478833e27d568d8c8f03c81c8984149.jpg","text":"TemporaryFile(/tmp/multipartBody2656846691457112350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737293953924,"filename":"image_19012025_14_37_02_169488_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/85c842b266128bd0a50c2fce0be247d0.jpg","text":"TemporaryFile(/tmp/multipartBody5942841651843963219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737293953924,"filename":"image_19012025_14_37_02_169488_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/8c88ef83f939c6a1d73158f0a35ed461.jpg","text":"TemporaryFile(/tmp/multipartBody1955834153741297861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737293953924,"filename":"image_19012025_14_36_03_017370_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330047430","file1":"1330047394","file0":"1330047393","file3":"1330047754"},"map_files_photo_id_array":[{"photo_id":"1330047430","filename":"file2"},{"photo_id":"1330047394","filename":"file1"},{"photo_id":"1330047393","filename":"file0"},{"photo_id":"1330047754","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330047394":["hashtag1","hashtag2"]},{"1330047754":["hashtag1","hashtag2"]},{"1330047430":["hashtag1","hashtag2"]},{"1330047393":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330047394, 1330047754, 1330047430, 1330047393)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.45082664489746 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-19 14:38:52.216346
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/14/37/image_19012025_14_37_02_169488_0003.jpg', '/home/pi/Desktop/images/19012025/14/38/image_19012025_14_38_02_400352_0000.jpg', '/home/pi/Desktop/images/19012025/14/38/image_19012025_14_38_02_400352_0001.jpg', '/home/pi/Desktop/images/19012025/14/38/image_19012025_14_38_02_400352_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/14/37/image_19012025_14_37_02_169488_0003.jpg
/home/pi/Desktop/images/19012025/14/38/image_19012025_14_38_02_400352_0000.jpg
/home/pi/Desktop/images/19012025/14/38/image_19012025_14_38_02_400352_0001.jpg
/home/pi/Desktop/images/19012025/14/38/image_19012025_14_38_02_400352_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330048586","1330048585","1330048588","1330048587"],"photo_ids_order":["1330048585","1330048586","1330048587","1330048588"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/34c161f9e7e8cbb1926e29e6b57336c2.jpg","text":"TemporaryFile(/tmp/multipartBody1550382758628757019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737294003317,"filename":"image_19012025_14_38_02_400352_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/5774830bb6d060ad91ee2a00c662aff0.jpg","text":"TemporaryFile(/tmp/multipartBody5380079907872216552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737294003317,"filename":"image_19012025_14_37_02_169488_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/03ba63013704d884bfc99c41cc1af41f.jpg","text":"TemporaryFile(/tmp/multipartBody4142249327284694693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737294003317,"filename":"image_19012025_14_38_02_400352_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/a30586af75477a8659cbaf5683e707a7.jpg","text":"TemporaryFile(/tmp/multipartBody9031624605694306305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737294003317,"filename":"image_19012025_14_38_02_400352_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330048587","file1":"1330048586","file0":"1330048585","file3":"1330048588"},"map_files_photo_id_array":[{"photo_id":"1330048587","filename":"file2"},{"photo_id":"1330048586","filename":"file1"},{"photo_id":"1330048585","filename":"file0"},{"photo_id":"1330048588","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330048586":["hashtag1","hashtag2"]},{"1330048585":["hashtag1","hashtag2"]},{"1330048588":["hashtag1","hashtag2"]},{"1330048587":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330048586, 1330048585, 1330048588, 1330048587)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.384464740753174 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-19 14:39:42.498393
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/14/38/image_19012025_14_38_02_400352_0003.jpg', '/home/pi/Desktop/images/19012025/14/39/image_19012025_14_39_02_547572_0000.jpg', '/home/pi/Desktop/images/19012025/14/39/image_19012025_14_39_02_547572_0001.jpg', '/home/pi/Desktop/images/19012025/14/39/image_19012025_14_39_02_547572_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/14/38/image_19012025_14_38_02_400352_0003.jpg
/home/pi/Desktop/images/19012025/14/39/image_19012025_14_39_02_547572_0000.jpg
/home/pi/Desktop/images/19012025/14/39/image_19012025_14_39_02_547572_0001.jpg
/home/pi/Desktop/images/19012025/14/39/image_19012025_14_39_02_547572_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330048976","1330048961","1330048835","1330048842"],"photo_ids_order":["1330048835","1330048842","1330048961","1330048976"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/c06c3d6519d3d178fbd182e3c89cf7a9.jpg","text":"TemporaryFile(/tmp/multipartBody462554936663373750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737294053509,"filename":"image_19012025_14_39_02_547572_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/cd7ac233fbbaa5113525805f6810b079.jpg","text":"TemporaryFile(/tmp/multipartBody409321252887543263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737294053509,"filename":"image_19012025_14_39_02_547572_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/98fb39dbd35b781d6b12048f69fee973.jpg","text":"TemporaryFile(/tmp/multipartBody6736738046701790911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737294053509,"filename":"image_19012025_14_38_02_400352_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/fd7142ef718de21080525334e7f2df42.jpg","text":"TemporaryFile(/tmp/multipartBody4313504849249602426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737294053509,"filename":"image_19012025_14_39_02_547572_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330048961","file1":"1330048842","file0":"1330048835","file3":"1330048976"},"map_files_photo_id_array":[{"photo_id":"1330048961","filename":"file2"},{"photo_id":"1330048842","filename":"file1"},{"photo_id":"1330048835","filename":"file0"},{"photo_id":"1330048976","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330048976":["hashtag1","hashtag2"]},{"1330048961":["hashtag1","hashtag2"]},{"1330048835":["hashtag1","hashtag2"]},{"1330048842":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330048976, 1330048961, 1330048835, 1330048842)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.24288773536682 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-19 14:40:32.614512
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/14/39/image_19012025_14_39_02_547572_0003.jpg', '/home/pi/Desktop/images/19012025/14/40/image_19012025_14_40_02_784488_0000.jpg', '/home/pi/Desktop/images/19012025/14/40/image_19012025_14_40_02_784488_0001.jpg', '/home/pi/Desktop/images/19012025/14/40/image_19012025_14_40_02_784488_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/14/39/image_19012025_14_39_02_547572_0003.jpg
/home/pi/Desktop/images/19012025/14/40/image_19012025_14_40_02_784488_0000.jpg
/home/pi/Desktop/images/19012025/14/40/image_19012025_14_40_02_784488_0001.jpg
/home/pi/Desktop/images/19012025/14/40/image_19012025_14_40_02_784488_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330049066","1330049281","1330049062","1330049064"],"photo_ids_order":["1330049062","1330049064","1330049066","1330049281"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/98eb2825ae7a14bbee70434bf061163a.jpg","text":"TemporaryFile(/tmp/multipartBody261489319154457394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737294103692,"filename":"image_19012025_14_40_02_784488_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/bb41317e08b68438e71c5dfb019f6b3a.jpg","text":"TemporaryFile(/tmp/multipartBody5512555875111559418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737294103692,"filename":"image_19012025_14_40_02_784488_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/7560876f3b6b08315689ef4d0db4685c.jpg","text":"TemporaryFile(/tmp/multipartBody341879080664043346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737294103692,"filename":"image_19012025_14_39_02_547572_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/af85e4ee14c454ca66fbb7f513e41b5c.jpg","text":"TemporaryFile(/tmp/multipartBody6859282810598232377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737294103692,"filename":"image_19012025_14_40_02_784488_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330049066","file1":"1330049064","file0":"1330049062","file3":"1330049281"},"map_files_photo_id_array":[{"photo_id":"1330049066","filename":"file2"},{"photo_id":"1330049064","filename":"file1"},{"photo_id":"1330049062","filename":"file0"},{"photo_id":"1330049281","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330049066":["hashtag1","hashtag2"]},{"1330049281":["hashtag1","hashtag2"]},{"1330049062":["hashtag1","hashtag2"]},{"1330049064":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330049066, 1330049281, 1330049062, 1330049064)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.856629848480225 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 14:41:21.908683
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/14/40/image_19012025_14_40_02_784488_0003.jpg', '/home/pi/Desktop/images/19012025/14/41/image_19012025_14_41_03_007889_0000.jpg', '/home/pi/Desktop/images/19012025/14/41/image_19012025_14_41_03_007889_0001.jpg', '/home/pi/Desktop/images/19012025/14/41/image_19012025_14_41_03_007889_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/14/40/image_19012025_14_40_02_784488_0003.jpg
/home/pi/Desktop/images/19012025/14/41/image_19012025_14_41_03_007889_0000.jpg
/home/pi/Desktop/images/19012025/14/41/image_19012025_14_41_03_007889_0001.jpg
/home/pi/Desktop/images/19012025/14/41/image_19012025_14_41_03_007889_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330049300","1330049293","1330049289","1330049297"],"photo_ids_order":["1330049289","1330049293","1330049297","1330049300"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/1657751c084d458208a6ca54a5bb2c33.jpg","text":"TemporaryFile(/tmp/multipartBody7134739690293221151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737294152844,"filename":"image_19012025_14_41_03_007889_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/a7e87488f7d4833b013ec4b3141476cf.jpg","text":"TemporaryFile(/tmp/multipartBody5478087587629957569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737294152844,"filename":"image_19012025_14_41_03_007889_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/b5ed5fbd97440598ca136b1ad2b7bb6b.jpg","text":"TemporaryFile(/tmp/multipartBody1076927582943543610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737294152844,"filename":"image_19012025_14_40_02_784488_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/f9f30a9a8385692829ece4c6aff2de4f.jpg","text":"TemporaryFile(/tmp/multipartBody2572840095749513776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737294152844,"filename":"image_19012025_14_41_03_007889_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330049297","file1":"1330049293","file0":"1330049289","file3":"1330049300"},"map_files_photo_id_array":[{"photo_id":"1330049297","filename":"file2"},{"photo_id":"1330049293","filename":"file1"},{"photo_id":"1330049289","filename":"file0"},{"photo_id":"1330049300","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330049300":["hashtag1","hashtag2"]},{"1330049293":["hashtag1","hashtag2"]},{"1330049289":["hashtag1","hashtag2"]},{"1330049297":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330049300, 1330049293, 1330049289, 1330049297)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.98254632949829 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 14:42:02.410627
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
  port_id : 19698700
  datou_current_id : 2490825
in upload_from_sqlite, uploading in 19698700
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17012025/22/32/image_17012025_22_32_02_579757_0003.jpg', '/home/pi/Desktop/images/17012025/22/33/image_17012025_22_33_02_724979_0000.jpg', '/home/pi/Desktop/images/17012025/22/33/image_17012025_22_33_02_724979_0001.jpg', '/home/pi/Desktop/images/17012025/22/33/image_17012025_22_33_02_724979_0002.jpg', '/home/pi/Desktop/images/17012025/22/33/image_17012025_22_33_02_724979_0003.jpg', '/home/pi/Desktop/images/17012025/22/34/image_17012025_22_34_02_921229_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2490825&datou=0
/home/pi/Desktop/images/17012025/22/32/image_17012025_22_32_02_579757_0003.jpg
/home/pi/Desktop/images/17012025/22/33/image_17012025_22_33_02_724979_0000.jpg
/home/pi/Desktop/images/17012025/22/33/image_17012025_22_33_02_724979_0001.jpg
/home/pi/Desktop/images/17012025/22/33/image_17012025_22_33_02_724979_0002.jpg
/home/pi/Desktop/images/17012025/22/33/image_17012025_22_33_02_724979_0003.jpg
/home/pi/Desktop/images/17012025/22/34/image_17012025_22_34_02_921229_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":["1330049673","1330049796","1330049754","1330049670","1330049678","1330049759"],"photo_ids_order":["1330049670","1330049673","1330049678","1330049754","1330049759","1330049796"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/5676a1829a465ee2b207106bd9c9ffb5.jpg","text":"TemporaryFile(/tmp/multipartBody5810427477691851112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737294200026,"filename":"image_17012025_22_33_02_724979_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/89ff4ea0f63e1ab036588ac228677ab1.jpg","text":"TemporaryFile(/tmp/multipartBody3247085419215140845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737294200026,"filename":"image_17012025_22_34_02_921229_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/eb632e098585f33b66cb89388d3c85f4.jpg","text":"TemporaryFile(/tmp/multipartBody6397616534006698925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737294200026,"filename":"image_17012025_22_33_02_724979_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/2f3ec74e74154f9c403ecc99ebc4cdca.jpg","text":"TemporaryFile(/tmp/multipartBody4131600145720323255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737294200026,"filename":"image_17012025_22_32_02_579757_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/db59f79afe4e3267a7f12450b7070313.jpg","text":"TemporaryFile(/tmp/multipartBody3326299475160711326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737294200026,"filename":"image_17012025_22_33_02_724979_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/77624c8b23a124cca47a82775e468d77.jpg","text":"TemporaryFile(/tmp/multipartBody1109499896622479750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737294200026,"filename":"image_17012025_22_33_02_724979_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330049678","file1":"1330049673","file0":"1330049670","file4":"1330049759","file5":"1330049796","file3":"1330049754"},"map_files_photo_id_array":[{"photo_id":"1330049796","filename":"file5"},{"photo_id":"1330049678","filename":"file2"},{"photo_id":"1330049759","filename":"file4"},{"photo_id":"1330049673","filename":"file1"},{"photo_id":"1330049670","filename":"file0"},{"photo_id":"1330049754","filename":"file3"}],"portfolio_id":19698700,"hashtag_by_photo_ids":[{"1330049673":["hashtag1","hashtag2"]},{"1330049796":["hashtag1","hashtag2"]},{"1330049754":["hashtag1","hashtag2"]},{"1330049670":["hashtag1","hashtag2"]},{"1330049678":["hashtag1","hashtag2"]},{"1330049759":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698700 used, photo_id : ArrayBuffer(1330049673, 1330049796, 1330049754, 1330049670, 1330049678, 1330049759)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.79084277153015 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 14:43:02.775970
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/14/41/image_19012025_14_41_03_007889_0003.jpg', '/home/pi/Desktop/images/19012025/14/42/image_19012025_14_42_02_203129_0000.jpg', '/home/pi/Desktop/images/19012025/14/42/image_19012025_14_42_02_203129_0001.jpg', '/home/pi/Desktop/images/19012025/14/42/image_19012025_14_42_02_203129_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/14/41/image_19012025_14_41_03_007889_0003.jpg
/home/pi/Desktop/images/19012025/14/42/image_19012025_14_42_02_203129_0000.jpg
/home/pi/Desktop/images/19012025/14/42/image_19012025_14_42_02_203129_0001.jpg
/home/pi/Desktop/images/19012025/14/42/image_19012025_14_42_02_203129_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":["1330049930","1330049935","1330049923","1330049932"],"photo_ids_order":["1330049923","1330049930","1330049932","1330049935"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/d4969eb7966a84a2b21db19c4cd59ffa.jpg","text":"TemporaryFile(/tmp/multipartBody1561630919647746295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737294254047,"filename":"image_19012025_14_42_02_203129_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/8fce99c4d001fe4abee5ab22dcd6ddca.jpg","text":"TemporaryFile(/tmp/multipartBody3375313593597778390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737294254047,"filename":"image_19012025_14_42_02_203129_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/1810b850531004e734a397ee05a82882.jpg","text":"TemporaryFile(/tmp/multipartBody98649027298018205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737294254047,"filename":"image_19012025_14_41_03_007889_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/b3f84e125571e6cae97ec2e28bd91b1c.jpg","text":"TemporaryFile(/tmp/multipartBody6734369347286531884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737294254047,"filename":"image_19012025_14_42_02_203129_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330049932","file1":"1330049930","file0":"1330049923","file3":"1330049935"},"map_files_photo_id_array":[{"photo_id":"1330049932","filename":"file2"},{"photo_id":"1330049930","filename":"file1"},{"photo_id":"1330049923","filename":"file0"},{"photo_id":"1330049935","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330049930":["hashtag1","hashtag2"]},{"1330049935":["hashtag1","hashtag2"]},{"1330049923":["hashtag1","hashtag2"]},{"1330049932":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330049930, 1330049935, 1330049923, 1330049932)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.33514070510864 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-19 14:43:42.099817
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/14/42/image_19012025_14_42_02_203129_0003.jpg', '/home/pi/Desktop/images/19012025/14/43/image_19012025_14_43_02_320099_0000.jpg', '/home/pi/Desktop/images/19012025/14/43/image_19012025_14_43_02_320099_0001.jpg', '/home/pi/Desktop/images/19012025/14/43/image_19012025_14_43_02_320099_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/14/42/image_19012025_14_42_02_203129_0003.jpg
/home/pi/Desktop/images/19012025/14/43/image_19012025_14_43_02_320099_0000.jpg
/home/pi/Desktop/images/19012025/14/43/image_19012025_14_43_02_320099_0001.jpg
/home/pi/Desktop/images/19012025/14/43/image_19012025_14_43_02_320099_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330049948","1330049944","1330049946","1330049949"],"photo_ids_order":["1330049944","1330049946","1330049948","1330049949"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/8439be01097c17a300f8585bb359aae3.jpg","text":"TemporaryFile(/tmp/multipartBody4012405984663285921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737294293737,"filename":"image_19012025_14_43_02_320099_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/1bd27e081de4ccb677518bc2bf9954db.jpg","text":"TemporaryFile(/tmp/multipartBody3334361754241915847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737294293737,"filename":"image_19012025_14_42_02_203129_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/9d311d60439706222a8c5b1d6907bed9.jpg","text":"TemporaryFile(/tmp/multipartBody8557596937535703103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737294293737,"filename":"image_19012025_14_43_02_320099_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/a9ed2729bd7f168c83cd0831c62f2366.jpg","text":"TemporaryFile(/tmp/multipartBody3584353480957017702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737294293737,"filename":"image_19012025_14_43_02_320099_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330049948","file1":"1330049946","file0":"1330049944","file3":"1330049949"},"map_files_photo_id_array":[{"photo_id":"1330049948","filename":"file2"},{"photo_id":"1330049946","filename":"file1"},{"photo_id":"1330049944","filename":"file0"},{"photo_id":"1330049949","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330049948":["hashtag1","hashtag2"]},{"1330049944":["hashtag1","hashtag2"]},{"1330049946":["hashtag1","hashtag2"]},{"1330049949":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330049948, 1330049944, 1330049946, 1330049949)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.87350559234619 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-19 14:44:32.408701
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/14/43/image_19012025_14_43_02_320099_0003.jpg', '/home/pi/Desktop/images/19012025/14/44/image_19012025_14_44_02_523742_0000.jpg', '/home/pi/Desktop/images/19012025/14/44/image_19012025_14_44_02_523742_0001.jpg', '/home/pi/Desktop/images/19012025/14/44/image_19012025_14_44_02_523742_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/14/43/image_19012025_14_43_02_320099_0003.jpg
/home/pi/Desktop/images/19012025/14/44/image_19012025_14_44_02_523742_0000.jpg
/home/pi/Desktop/images/19012025/14/44/image_19012025_14_44_02_523742_0001.jpg
/home/pi/Desktop/images/19012025/14/44/image_19012025_14_44_02_523742_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330049971","1330049965","1330049967","1330049969"],"photo_ids_order":["1330049965","1330049967","1330049969","1330049971"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/3187a8c2072209c3b36125aed5cbdacc.jpg","text":"TemporaryFile(/tmp/multipartBody1984242095879763053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737294343769,"filename":"image_19012025_14_44_02_523742_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/b61f9a625de161302ddae2011306cd79.jpg","text":"TemporaryFile(/tmp/multipartBody3161068251919840185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737294343769,"filename":"image_19012025_14_43_02_320099_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/809a0c283c3f1d992501c58d594a33d2.jpg","text":"TemporaryFile(/tmp/multipartBody3222297379314525081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737294343769,"filename":"image_19012025_14_44_02_523742_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/6fc0be74f18bc25447504811cdc0b7dd.jpg","text":"TemporaryFile(/tmp/multipartBody1403311038854140347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737294343769,"filename":"image_19012025_14_44_02_523742_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330049969","file1":"1330049967","file0":"1330049965","file3":"1330049971"},"map_files_photo_id_array":[{"photo_id":"1330049969","filename":"file2"},{"photo_id":"1330049967","filename":"file1"},{"photo_id":"1330049965","filename":"file0"},{"photo_id":"1330049971","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330049971":["hashtag1","hashtag2"]},{"1330049965":["hashtag1","hashtag2"]},{"1330049967":["hashtag1","hashtag2"]},{"1330049969":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330049971, 1330049965, 1330049967, 1330049969)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.64701795578003 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 14:45:22.476752
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/14/44/image_19012025_14_44_02_523742_0003.jpg', '/home/pi/Desktop/images/19012025/14/45/image_19012025_14_45_02_723740_0000.jpg', '/home/pi/Desktop/images/19012025/14/45/image_19012025_14_45_02_723740_0001.jpg', '/home/pi/Desktop/images/19012025/14/45/image_19012025_14_45_02_723740_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/14/44/image_19012025_14_44_02_523742_0003.jpg
/home/pi/Desktop/images/19012025/14/45/image_19012025_14_45_02_723740_0000.jpg
/home/pi/Desktop/images/19012025/14/45/image_19012025_14_45_02_723740_0001.jpg
/home/pi/Desktop/images/19012025/14/45/image_19012025_14_45_02_723740_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330049980","1330049982","1330049985","1330049987"],"photo_ids_order":["1330049980","1330049982","1330049985","1330049987"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/f65713bde6fcef2b6edf21aa4eeebd84.jpg","text":"TemporaryFile(/tmp/multipartBody1110273764817649020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737294394032,"filename":"image_19012025_14_44_02_523742_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/748d519587f0a5ed7ad549d875d987c5.jpg","text":"TemporaryFile(/tmp/multipartBody4429738398979525588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737294394032,"filename":"image_19012025_14_45_02_723740_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/247079c275a7b22a85c0fc4cfd268a67.jpg","text":"TemporaryFile(/tmp/multipartBody7155668996006346499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737294394032,"filename":"image_19012025_14_45_02_723740_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/5f83d9f456331f9e610856995cf6cc45.jpg","text":"TemporaryFile(/tmp/multipartBody8355737685151659807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737294394032,"filename":"image_19012025_14_45_02_723740_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330049985","file1":"1330049982","file0":"1330049980","file3":"1330049987"},"map_files_photo_id_array":[{"photo_id":"1330049985","filename":"file2"},{"photo_id":"1330049982","filename":"file1"},{"photo_id":"1330049980","filename":"file0"},{"photo_id":"1330049987","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330049980":["hashtag1","hashtag2"]},{"1330049982":["hashtag1","hashtag2"]},{"1330049985":["hashtag1","hashtag2"]},{"1330049987":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330049980, 1330049982, 1330049985, 1330049987)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.2862606048584 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 14:46:22.804971
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/14/45/image_19012025_14_45_02_723740_0003.jpg', '/home/pi/Desktop/images/19012025/14/46/image_19012025_14_46_02_878743_0000.jpg', '/home/pi/Desktop/images/19012025/14/46/image_19012025_14_46_02_878743_0001.jpg', '/home/pi/Desktop/images/19012025/14/46/image_19012025_14_46_02_878743_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/14/45/image_19012025_14_45_02_723740_0003.jpg
/home/pi/Desktop/images/19012025/14/46/image_19012025_14_46_02_878743_0000.jpg
/home/pi/Desktop/images/19012025/14/46/image_19012025_14_46_02_878743_0001.jpg
/home/pi/Desktop/images/19012025/14/46/image_19012025_14_46_02_878743_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330050003","1330050000","1330049994","1330049997"],"photo_ids_order":["1330049994","1330049997","1330050000","1330050003"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/cf81677dbab105714d72b7c3de34e261.jpg","text":"TemporaryFile(/tmp/multipartBody7004773799503642704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737294454045,"filename":"image_19012025_14_46_02_878743_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/ba73bcccea7a11454bbb13b507e22e5d.jpg","text":"TemporaryFile(/tmp/multipartBody4509884245678362563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737294454045,"filename":"image_19012025_14_46_02_878743_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/a79270716398047ed54c63b95cea6bdb.jpg","text":"TemporaryFile(/tmp/multipartBody4621440911122471459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737294454045,"filename":"image_19012025_14_45_02_723740_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/7981083a5f45b01e695cdfe405c69a3e.jpg","text":"TemporaryFile(/tmp/multipartBody2223055673644611854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737294454045,"filename":"image_19012025_14_46_02_878743_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330050000","file1":"1330049997","file0":"1330049994","file3":"1330050003"},"map_files_photo_id_array":[{"photo_id":"1330050000","filename":"file2"},{"photo_id":"1330049997","filename":"file1"},{"photo_id":"1330049994","filename":"file0"},{"photo_id":"1330050003","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330050003":["hashtag1","hashtag2"]},{"1330050000":["hashtag1","hashtag2"]},{"1330049994":["hashtag1","hashtag2"]},{"1330049997":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330050003, 1330050000, 1330049994, 1330049997)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.574928522109985 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-19 14:47:21.947545
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/14/46/image_19012025_14_46_02_878743_0003.jpg', '/home/pi/Desktop/images/19012025/14/47/image_19012025_14_47_03_087566_0000.jpg', '/home/pi/Desktop/images/19012025/14/47/image_19012025_14_47_03_087566_0001.jpg', '/home/pi/Desktop/images/19012025/14/47/image_19012025_14_47_03_087566_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/14/46/image_19012025_14_46_02_878743_0003.jpg
/home/pi/Desktop/images/19012025/14/47/image_19012025_14_47_03_087566_0000.jpg
/home/pi/Desktop/images/19012025/14/47/image_19012025_14_47_03_087566_0001.jpg
/home/pi/Desktop/images/19012025/14/47/image_19012025_14_47_03_087566_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330050134","1330050085","1330050082","1330050132"],"photo_ids_order":["1330050082","1330050085","1330050132","1330050134"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/39f690741147b2401e7c30142f96b4e7.jpg","text":"TemporaryFile(/tmp/multipartBody1369627493869380425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737294512920,"filename":"image_19012025_14_47_03_087566_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/c2f161f0344582c8fe075a199eaf3867.jpg","text":"TemporaryFile(/tmp/multipartBody4827182966569655972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737294512920,"filename":"image_19012025_14_47_03_087566_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/a7c3879662caf294ad7772761e0d11e2.jpg","text":"TemporaryFile(/tmp/multipartBody2169091335759792790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737294512920,"filename":"image_19012025_14_46_02_878743_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/afca527ca825c37b1ae436dcbfa32a0e.jpg","text":"TemporaryFile(/tmp/multipartBody1832928526703306613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737294512920,"filename":"image_19012025_14_47_03_087566_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330050132","file1":"1330050085","file0":"1330050082","file3":"1330050134"},"map_files_photo_id_array":[{"photo_id":"1330050132","filename":"file2"},{"photo_id":"1330050085","filename":"file1"},{"photo_id":"1330050082","filename":"file0"},{"photo_id":"1330050134","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330050134":["hashtag1","hashtag2"]},{"1330050085":["hashtag1","hashtag2"]},{"1330050082":["hashtag1","hashtag2"]},{"1330050132":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330050134, 1330050085, 1330050082, 1330050132)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.81248068809509 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 14:48:02.488701
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
  port_id : 19698700
  datou_current_id : 2490825
in upload_from_sqlite, uploading in 19698700
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17012025/22/34/image_17012025_22_34_02_921229_0001.jpg', '/home/pi/Desktop/images/17012025/22/34/image_17012025_22_34_02_921229_0002.jpg', '/home/pi/Desktop/images/17012025/22/34/image_17012025_22_34_02_921229_0003.jpg', '/home/pi/Desktop/images/17012025/22/35/image_17012025_22_35_03_136527_0000.jpg', '/home/pi/Desktop/images/17012025/22/35/image_17012025_22_35_03_136527_0001.jpg', '/home/pi/Desktop/images/17012025/22/35/image_17012025_22_35_03_136527_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2490825&datou=0
/home/pi/Desktop/images/17012025/22/34/image_17012025_22_34_02_921229_0001.jpg
/home/pi/Desktop/images/17012025/22/34/image_17012025_22_34_02_921229_0002.jpg
/home/pi/Desktop/images/17012025/22/34/image_17012025_22_34_02_921229_0003.jpg
/home/pi/Desktop/images/17012025/22/35/image_17012025_22_35_03_136527_0000.jpg
/home/pi/Desktop/images/17012025/22/35/image_17012025_22_35_03_136527_0001.jpg
/home/pi/Desktop/images/17012025/22/35/image_17012025_22_35_03_136527_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330050143","1330050151","1330050139","1330050150","1330050147","1330050141"],"photo_ids_order":["1330050139","1330050141","1330050143","1330050147","1330050150","1330050151"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/727234be2a8c14aa03b107b2c24ce4b4.jpg","text":"TemporaryFile(/tmp/multipartBody1112727696493128071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737294560078,"filename":"image_17012025_22_34_02_921229_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/035461e1984a019e4174671adc85edfe.jpg","text":"TemporaryFile(/tmp/multipartBody268637241856892018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737294560078,"filename":"image_17012025_22_35_03_136527_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/4918f169cd91ed23bcd8da6d05fd37d5.jpg","text":"TemporaryFile(/tmp/multipartBody7513493562999588285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737294560078,"filename":"image_17012025_22_34_02_921229_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/e98ef5f71036fbac849041b46b7d4e94.jpg","text":"TemporaryFile(/tmp/multipartBody321301047682404496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737294560078,"filename":"image_17012025_22_35_03_136527_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/37a429369dd55b544e09800b2a64c305.jpg","text":"TemporaryFile(/tmp/multipartBody5530388234363952464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737294560078,"filename":"image_17012025_22_35_03_136527_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/cc8117005fff1439157d4b9677f7dac0.jpg","text":"TemporaryFile(/tmp/multipartBody84114096067674922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737294560078,"filename":"image_17012025_22_34_02_921229_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330050143","file1":"1330050141","file0":"1330050139","file4":"1330050150","file5":"1330050151","file3":"1330050147"},"map_files_photo_id_array":[{"photo_id":"1330050151","filename":"file5"},{"photo_id":"1330050143","filename":"file2"},{"photo_id":"1330050150","filename":"file4"},{"photo_id":"1330050141","filename":"file1"},{"photo_id":"1330050139","filename":"file0"},{"photo_id":"1330050147","filename":"file3"}],"portfolio_id":19698700,"hashtag_by_photo_ids":[{"1330050143":["hashtag1","hashtag2"]},{"1330050151":["hashtag1","hashtag2"]},{"1330050139":["hashtag1","hashtag2"]},{"1330050150":["hashtag1","hashtag2"]},{"1330050147":["hashtag1","hashtag2"]},{"1330050141":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698700 used, photo_id : ArrayBuffer(1330050143, 1330050151, 1330050139, 1330050150, 1330050147, 1330050141)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 61.14735507965088 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 14:49:22.367459
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/14/47/image_19012025_14_47_03_087566_0003.jpg', '/home/pi/Desktop/images/19012025/14/48/image_19012025_14_48_02_267331_0000.jpg', '/home/pi/Desktop/images/19012025/14/48/image_19012025_14_48_02_267331_0001.jpg', '/home/pi/Desktop/images/19012025/14/48/image_19012025_14_48_02_267331_0002.jpg', '/home/pi/Desktop/images/19012025/14/48/image_19012025_14_48_02_267331_0003.jpg', '/home/pi/Desktop/images/19012025/14/49/image_19012025_14_49_02_448650_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/14/47/image_19012025_14_47_03_087566_0003.jpg
/home/pi/Desktop/images/19012025/14/48/image_19012025_14_48_02_267331_0000.jpg
/home/pi/Desktop/images/19012025/14/48/image_19012025_14_48_02_267331_0001.jpg
/home/pi/Desktop/images/19012025/14/48/image_19012025_14_48_02_267331_0002.jpg
/home/pi/Desktop/images/19012025/14/48/image_19012025_14_48_02_267331_0003.jpg
/home/pi/Desktop/images/19012025/14/49/image_19012025_14_49_02_448650_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":["1330051328","1330051037","1330051403","1330051189","1330051330","1330051326"],"photo_ids_order":["1330051037","1330051189","1330051326","1330051328","1330051330","1330051403"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/701429465f75dcfd73e1fa9cd3c1bb1f.jpg","text":"TemporaryFile(/tmp/multipartBody7910715315853597231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737294638520,"filename":"image_19012025_14_48_02_267331_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/0842968e7dbce75b55538b129867021c.jpg","text":"TemporaryFile(/tmp/multipartBody5712239407528630236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737294638520,"filename":"image_19012025_14_47_03_087566_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/7983ad58700ba26ab40118468e1dd0f8.jpg","text":"TemporaryFile(/tmp/multipartBody3249353984923261276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737294638520,"filename":"image_19012025_14_49_02_448650_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/aaa633bb909665dbd9067e838549f0b4.jpg","text":"TemporaryFile(/tmp/multipartBody2999011993224081296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737294638520,"filename":"image_19012025_14_48_02_267331_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/0f919137ae0a8e8a484bf249c20e7964.jpg","text":"TemporaryFile(/tmp/multipartBody2754562846726095109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737294638520,"filename":"image_19012025_14_48_02_267331_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/fe90b3fafb803f11c4baee668b4cf4e6.jpg","text":"TemporaryFile(/tmp/multipartBody7923455975453052142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737294638520,"filename":"image_19012025_14_48_02_267331_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330051326","file1":"1330051189","file0":"1330051037","file4":"1330051330","file5":"1330051403","file3":"1330051328"},"map_files_photo_id_array":[{"photo_id":"1330051403","filename":"file5"},{"photo_id":"1330051326","filename":"file2"},{"photo_id":"1330051330","filename":"file4"},{"photo_id":"1330051189","filename":"file1"},{"photo_id":"1330051037","filename":"file0"},{"photo_id":"1330051328","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330051328":["hashtag1","hashtag2"]},{"1330051037":["hashtag1","hashtag2"]},{"1330051403":["hashtag1","hashtag2"]},{"1330051189":["hashtag1","hashtag2"]},{"1330051330":["hashtag1","hashtag2"]},{"1330051326":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330051328, 1330051037, 1330051403, 1330051189, 1330051330, 1330051326)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.76432251930237 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 14:50:22.462280
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/14/49/image_19012025_14_49_02_448650_0001.jpg', '/home/pi/Desktop/images/19012025/14/49/image_19012025_14_49_02_448650_0002.jpg', '/home/pi/Desktop/images/19012025/14/49/image_19012025_14_49_02_448650_0003.jpg', '/home/pi/Desktop/images/19012025/14/50/image_19012025_14_50_02_622244_0000.jpg', '/home/pi/Desktop/images/19012025/14/50/image_19012025_14_50_02_622244_0001.jpg', '/home/pi/Desktop/images/19012025/14/50/image_19012025_14_50_02_622244_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/14/49/image_19012025_14_49_02_448650_0001.jpg
/home/pi/Desktop/images/19012025/14/49/image_19012025_14_49_02_448650_0002.jpg
/home/pi/Desktop/images/19012025/14/49/image_19012025_14_49_02_448650_0003.jpg
/home/pi/Desktop/images/19012025/14/50/image_19012025_14_50_02_622244_0000.jpg
/home/pi/Desktop/images/19012025/14/50/image_19012025_14_50_02_622244_0001.jpg
/home/pi/Desktop/images/19012025/14/50/image_19012025_14_50_02_622244_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330051795","1330051786","1330051797","1330051799","1330051790","1330051793"],"photo_ids_order":["1330051786","1330051790","1330051793","1330051795","1330051797","1330051799"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/27f0b45892a0188bfc97adc507930a7c.jpg","text":"TemporaryFile(/tmp/multipartBody5472099507156818743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737294699152,"filename":"image_19012025_14_50_02_622244_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/9e9b32ebdc92da4d153c0f0f561c2a31.jpg","text":"TemporaryFile(/tmp/multipartBody1715136001087494326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737294699152,"filename":"image_19012025_14_49_02_448650_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/fe39ae50680f4d095a6306b47e4b7fe9.jpg","text":"TemporaryFile(/tmp/multipartBody2828318661573306416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737294699152,"filename":"image_19012025_14_50_02_622244_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/2253394f7f063b6b86d2d8f86d95224d.jpg","text":"TemporaryFile(/tmp/multipartBody2056522958444759538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737294699152,"filename":"image_19012025_14_50_02_622244_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/2ed49ac12ea48ee88bdad98536c37bf1.jpg","text":"TemporaryFile(/tmp/multipartBody7236231598100562949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737294699152,"filename":"image_19012025_14_49_02_448650_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/7dd75037caac83d5449c73a414bceab1.jpg","text":"TemporaryFile(/tmp/multipartBody313732872458766875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737294699152,"filename":"image_19012025_14_49_02_448650_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330051793","file1":"1330051790","file0":"1330051786","file4":"1330051797","file5":"1330051799","file3":"1330051795"},"map_files_photo_id_array":[{"photo_id":"1330051799","filename":"file5"},{"photo_id":"1330051793","filename":"file2"},{"photo_id":"1330051797","filename":"file4"},{"photo_id":"1330051790","filename":"file1"},{"photo_id":"1330051786","filename":"file0"},{"photo_id":"1330051795","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330051795":["hashtag1","hashtag2"]},{"1330051786":["hashtag1","hashtag2"]},{"1330051797":["hashtag1","hashtag2"]},{"1330051799":["hashtag1","hashtag2"]},{"1330051790":["hashtag1","hashtag2"]},{"1330051793":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330051795, 1330051786, 1330051797, 1330051799, 1330051790, 1330051793)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.222025871276855 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 14:51:22.722343
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/14/50/image_19012025_14_50_02_622244_0003.jpg', '/home/pi/Desktop/images/19012025/14/51/image_19012025_14_51_02_790638_0000.jpg', '/home/pi/Desktop/images/19012025/14/51/image_19012025_14_51_02_790638_0001.jpg', '/home/pi/Desktop/images/19012025/14/51/image_19012025_14_51_02_790638_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/14/50/image_19012025_14_50_02_622244_0003.jpg
/home/pi/Desktop/images/19012025/14/51/image_19012025_14_51_02_790638_0000.jpg
/home/pi/Desktop/images/19012025/14/51/image_19012025_14_51_02_790638_0001.jpg
/home/pi/Desktop/images/19012025/14/51/image_19012025_14_51_02_790638_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330052026","1330052020","1330052023","1330052028"],"photo_ids_order":["1330052020","1330052023","1330052026","1330052028"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/0293c8721bf05d19aaa07f7cf8852bce.jpg","text":"TemporaryFile(/tmp/multipartBody605009957823080851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737294754409,"filename":"image_19012025_14_51_02_790638_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/9a60cc005d62b3ba2a7f9b064189f686.jpg","text":"TemporaryFile(/tmp/multipartBody945803525826373300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737294754409,"filename":"image_19012025_14_50_02_622244_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/29c0c5c2038c715c5acaab635244d595.jpg","text":"TemporaryFile(/tmp/multipartBody6206359053357850697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737294754409,"filename":"image_19012025_14_51_02_790638_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/13188c0c4db544278e8772472e642069.jpg","text":"TemporaryFile(/tmp/multipartBody9145330365904922642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737294754409,"filename":"image_19012025_14_51_02_790638_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330052026","file1":"1330052023","file0":"1330052020","file3":"1330052028"},"map_files_photo_id_array":[{"photo_id":"1330052026","filename":"file2"},{"photo_id":"1330052023","filename":"file1"},{"photo_id":"1330052020","filename":"file0"},{"photo_id":"1330052028","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330052026":["hashtag1","hashtag2"]},{"1330052020":["hashtag1","hashtag2"]},{"1330052023":["hashtag1","hashtag2"]},{"1330052028":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330052026, 1330052020, 1330052023, 1330052028)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.246143102645874 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 14:52:21.930809
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/14/51/image_19012025_14_51_02_790638_0003.jpg', '/home/pi/Desktop/images/19012025/14/52/image_19012025_14_52_03_054676_0000.jpg', '/home/pi/Desktop/images/19012025/14/52/image_19012025_14_52_03_054676_0001.jpg', '/home/pi/Desktop/images/19012025/14/52/image_19012025_14_52_03_054676_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/14/51/image_19012025_14_51_02_790638_0003.jpg
/home/pi/Desktop/images/19012025/14/52/image_19012025_14_52_03_054676_0000.jpg
/home/pi/Desktop/images/19012025/14/52/image_19012025_14_52_03_054676_0001.jpg
/home/pi/Desktop/images/19012025/14/52/image_19012025_14_52_03_054676_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330052079","1330052078","1330052072","1330052075"],"photo_ids_order":["1330052072","1330052075","1330052078","1330052079"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/8a27a8f4e6c41cb45a3c175a01edd512.jpg","text":"TemporaryFile(/tmp/multipartBody7632040224667947059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737294813392,"filename":"image_19012025_14_52_03_054676_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/f650a028c686cb76e9f7d3658c375512.jpg","text":"TemporaryFile(/tmp/multipartBody8078044253021920703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737294813392,"filename":"image_19012025_14_52_03_054676_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/358f1c0c1aaf138f3ae77b38032b5076.jpg","text":"TemporaryFile(/tmp/multipartBody4088235557689999040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737294813392,"filename":"image_19012025_14_51_02_790638_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/ae7409f173fdeb9debb5f90cc8fdfa7e.jpg","text":"TemporaryFile(/tmp/multipartBody1193751838058892739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737294813392,"filename":"image_19012025_14_52_03_054676_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330052078","file1":"1330052075","file0":"1330052072","file3":"1330052079"},"map_files_photo_id_array":[{"photo_id":"1330052078","filename":"file2"},{"photo_id":"1330052075","filename":"file1"},{"photo_id":"1330052072","filename":"file0"},{"photo_id":"1330052079","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330052079":["hashtag1","hashtag2"]},{"1330052078":["hashtag1","hashtag2"]},{"1330052072":["hashtag1","hashtag2"]},{"1330052075":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330052079, 1330052078, 1330052072, 1330052075)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.68888974189758 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 14:53:21.952215
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/14/52/image_19012025_14_52_03_054676_0003.jpg', '/home/pi/Desktop/images/19012025/14/53/image_19012025_14_53_02_257606_0000.jpg', '/home/pi/Desktop/images/19012025/14/53/image_19012025_14_53_02_257606_0001.jpg', '/home/pi/Desktop/images/19012025/14/53/image_19012025_14_53_02_257606_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/14/52/image_19012025_14_52_03_054676_0003.jpg
/home/pi/Desktop/images/19012025/14/53/image_19012025_14_53_02_257606_0000.jpg
/home/pi/Desktop/images/19012025/14/53/image_19012025_14_53_02_257606_0001.jpg
/home/pi/Desktop/images/19012025/14/53/image_19012025_14_53_02_257606_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330052092","1330052089","1330052098","1330052096"],"photo_ids_order":["1330052089","1330052092","1330052096","1330052098"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/0e6fcc7c9ab2af4309b536af71948521.jpg","text":"TemporaryFile(/tmp/multipartBody6573940097523618234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737294873068,"filename":"image_19012025_14_53_02_257606_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/83cacb7d55c61a30fe0d2d4a0713e8c5.jpg","text":"TemporaryFile(/tmp/multipartBody5164836385700641209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737294873068,"filename":"image_19012025_14_52_03_054676_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/ca8e24962756b63c73577d43f067c24f.jpg","text":"TemporaryFile(/tmp/multipartBody660729533809870224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737294873068,"filename":"image_19012025_14_53_02_257606_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/a1626e3933b36007da4874e75e661975.jpg","text":"TemporaryFile(/tmp/multipartBody5244636681231212622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737294873068,"filename":"image_19012025_14_53_02_257606_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330052096","file1":"1330052092","file0":"1330052089","file3":"1330052098"},"map_files_photo_id_array":[{"photo_id":"1330052096","filename":"file2"},{"photo_id":"1330052092","filename":"file1"},{"photo_id":"1330052089","filename":"file0"},{"photo_id":"1330052098","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330052092":["hashtag1","hashtag2"]},{"1330052089":["hashtag1","hashtag2"]},{"1330052098":["hashtag1","hashtag2"]},{"1330052096":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330052092, 1330052089, 1330052098, 1330052096)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.31996440887451 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 14:54:22.234834
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/14/53/image_19012025_14_53_02_257606_0003.jpg', '/home/pi/Desktop/images/19012025/14/54/image_19012025_14_54_02_317126_0000.jpg', '/home/pi/Desktop/images/19012025/14/54/image_19012025_14_54_02_317126_0001.jpg', '/home/pi/Desktop/images/19012025/14/54/image_19012025_14_54_02_317126_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/14/53/image_19012025_14_53_02_257606_0003.jpg
/home/pi/Desktop/images/19012025/14/54/image_19012025_14_54_02_317126_0000.jpg
/home/pi/Desktop/images/19012025/14/54/image_19012025_14_54_02_317126_0001.jpg
/home/pi/Desktop/images/19012025/14/54/image_19012025_14_54_02_317126_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330052110","1330052107","1330052112","1330052114"],"photo_ids_order":["1330052107","1330052110","1330052112","1330052114"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/0a3c74a3270b97b34dabd440a9704446.jpg","text":"TemporaryFile(/tmp/multipartBody7074244406842291773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737294933431,"filename":"image_19012025_14_54_02_317126_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/cdc636bb3d8dc4f7fd2fe48e0fe98589.jpg","text":"TemporaryFile(/tmp/multipartBody3109683783281655190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737294933431,"filename":"image_19012025_14_53_02_257606_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/5012c6127e681b20b207196b4d147f6f.jpg","text":"TemporaryFile(/tmp/multipartBody4547421426508643839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737294933431,"filename":"image_19012025_14_54_02_317126_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/fc995c7aa597e6aa1105cb43d60409a4.jpg","text":"TemporaryFile(/tmp/multipartBody6644740520811556834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737294933431,"filename":"image_19012025_14_54_02_317126_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330052112","file1":"1330052110","file0":"1330052107","file3":"1330052114"},"map_files_photo_id_array":[{"photo_id":"1330052112","filename":"file2"},{"photo_id":"1330052110","filename":"file1"},{"photo_id":"1330052107","filename":"file0"},{"photo_id":"1330052114","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330052110":["hashtag1","hashtag2"]},{"1330052107":["hashtag1","hashtag2"]},{"1330052112":["hashtag1","hashtag2"]},{"1330052114":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330052110, 1330052107, 1330052112, 1330052114)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.69370484352112 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 14:55:22.490440
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/14/54/image_19012025_14_54_02_317126_0003.jpg', '/home/pi/Desktop/images/19012025/14/55/image_19012025_14_55_02_637861_0000.jpg', '/home/pi/Desktop/images/19012025/14/55/image_19012025_14_55_02_637861_0001.jpg', '/home/pi/Desktop/images/19012025/14/55/image_19012025_14_55_02_637861_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/14/54/image_19012025_14_54_02_317126_0003.jpg
/home/pi/Desktop/images/19012025/14/55/image_19012025_14_55_02_637861_0000.jpg
/home/pi/Desktop/images/19012025/14/55/image_19012025_14_55_02_637861_0001.jpg
/home/pi/Desktop/images/19012025/14/55/image_19012025_14_55_02_637861_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330052172","1330052166","1330052169","1330052163"],"photo_ids_order":["1330052163","1330052166","1330052169","1330052172"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/65e885afe502cffc6dee76cdd7c5f252.jpg","text":"TemporaryFile(/tmp/multipartBody3999978896345846861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737294994010,"filename":"image_19012025_14_55_02_637861_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/47631330d941c10b642783a785478838.jpg","text":"TemporaryFile(/tmp/multipartBody1058165795387492785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737294994010,"filename":"image_19012025_14_55_02_637861_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/11aeda044b13a4e53f8e2f836be16aad.jpg","text":"TemporaryFile(/tmp/multipartBody1715481980018375645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737294994010,"filename":"image_19012025_14_55_02_637861_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/25eda6837e3543ab5f9c0b9b5fb39d48.jpg","text":"TemporaryFile(/tmp/multipartBody8096701160988890128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737294994010,"filename":"image_19012025_14_54_02_317126_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330052169","file1":"1330052166","file0":"1330052163","file3":"1330052172"},"map_files_photo_id_array":[{"photo_id":"1330052169","filename":"file2"},{"photo_id":"1330052166","filename":"file1"},{"photo_id":"1330052163","filename":"file0"},{"photo_id":"1330052172","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330052172":["hashtag1","hashtag2"]},{"1330052166":["hashtag1","hashtag2"]},{"1330052169":["hashtag1","hashtag2"]},{"1330052163":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330052172, 1330052166, 1330052169, 1330052163)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.82186007499695 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 14:56:22.590483
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/14/55/image_19012025_14_55_02_637861_0003.jpg', '/home/pi/Desktop/images/19012025/14/56/image_19012025_14_56_02_894741_0000.jpg', '/home/pi/Desktop/images/19012025/14/56/image_19012025_14_56_02_894741_0001.jpg', '/home/pi/Desktop/images/19012025/14/56/image_19012025_14_56_02_894741_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/14/55/image_19012025_14_55_02_637861_0003.jpg
/home/pi/Desktop/images/19012025/14/56/image_19012025_14_56_02_894741_0000.jpg
/home/pi/Desktop/images/19012025/14/56/image_19012025_14_56_02_894741_0001.jpg
/home/pi/Desktop/images/19012025/14/56/image_19012025_14_56_02_894741_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330052179","1330052187","1330052189","1330052183"],"photo_ids_order":["1330052179","1330052183","1330052187","1330052189"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/6c4d53e042ddf9e058429e01bf3eb670.jpg","text":"TemporaryFile(/tmp/multipartBody2471470362115655815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737295053993,"filename":"image_19012025_14_55_02_637861_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/b6bad5d8b2c19fcb5106d264682977eb.jpg","text":"TemporaryFile(/tmp/multipartBody1172884951362793903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737295053993,"filename":"image_19012025_14_56_02_894741_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/c47913afbe0a0c6e190820763ddd4d73.jpg","text":"TemporaryFile(/tmp/multipartBody6460655827060491260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737295053993,"filename":"image_19012025_14_56_02_894741_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/a41ebd52456e7d25c7d892faaee8566a.jpg","text":"TemporaryFile(/tmp/multipartBody6477457363366015699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737295053993,"filename":"image_19012025_14_56_02_894741_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330052187","file1":"1330052183","file0":"1330052179","file3":"1330052189"},"map_files_photo_id_array":[{"photo_id":"1330052187","filename":"file2"},{"photo_id":"1330052183","filename":"file1"},{"photo_id":"1330052179","filename":"file0"},{"photo_id":"1330052189","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330052179":["hashtag1","hashtag2"]},{"1330052187":["hashtag1","hashtag2"]},{"1330052189":["hashtag1","hashtag2"]},{"1330052183":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330052179, 1330052187, 1330052189, 1330052183)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.293543338775635 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 14:57:03.440868
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
  port_id : 19698700
  datou_current_id : 2490825
in upload_from_sqlite, uploading in 19698700
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17012025/22/35/image_17012025_22_35_03_136527_0003.jpg', '/home/pi/Desktop/images/17012025/22/36/image_17012025_22_36_02_336497_0000.jpg', '/home/pi/Desktop/images/17012025/22/36/image_17012025_22_36_02_336497_0001.jpg', '/home/pi/Desktop/images/17012025/22/36/image_17012025_22_36_02_336497_0002.jpg', '/home/pi/Desktop/images/17012025/22/36/image_17012025_22_36_02_336497_0003.jpg', '/home/pi/Desktop/images/17012025/22/37/image_17012025_22_37_02_397549_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2490825&datou=0
/home/pi/Desktop/images/17012025/22/35/image_17012025_22_35_03_136527_0003.jpg
/home/pi/Desktop/images/17012025/22/36/image_17012025_22_36_02_336497_0000.jpg
/home/pi/Desktop/images/17012025/22/36/image_17012025_22_36_02_336497_0001.jpg
/home/pi/Desktop/images/17012025/22/36/image_17012025_22_36_02_336497_0002.jpg
/home/pi/Desktop/images/17012025/22/36/image_17012025_22_36_02_336497_0003.jpg
/home/pi/Desktop/images/17012025/22/37/image_17012025_22_37_02_397549_0000.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 14:59:02.768545
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/14/56/image_19012025_14_56_02_894741_0003.jpg', '/home/pi/Desktop/images/19012025/14/57/image_19012025_14_57_02_990805_0000.jpg', '/home/pi/Desktop/images/19012025/14/57/image_19012025_14_57_02_990805_0001.jpg', '/home/pi/Desktop/images/19012025/14/57/image_19012025_14_57_02_990805_0002.jpg', '/home/pi/Desktop/images/19012025/14/57/image_19012025_14_57_02_990805_0003.jpg', '/home/pi/Desktop/images/19012025/14/58/image_19012025_14_58_03_091828_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/14/56/image_19012025_14_56_02_894741_0003.jpg
/home/pi/Desktop/images/19012025/14/57/image_19012025_14_57_02_990805_0000.jpg
/home/pi/Desktop/images/19012025/14/57/image_19012025_14_57_02_990805_0001.jpg
/home/pi/Desktop/images/19012025/14/57/image_19012025_14_57_02_990805_0002.jpg
/home/pi/Desktop/images/19012025/14/57/image_19012025_14_57_02_990805_0003.jpg
/home/pi/Desktop/images/19012025/14/58/image_19012025_14_58_03_091828_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":["1330052254","1330052271","1330052274","1330052268","1330052261","1330052264"],"photo_ids_order":["1330052254","1330052261","1330052264","1330052268","1330052271","1330052274"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/f5315bb174e5caf09aa8099e67d2cd80.jpg","text":"TemporaryFile(/tmp/multipartBody5291985778034739993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737295219176,"filename":"image_19012025_14_56_02_894741_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/a799921a1e357044d1bf694d16be4b0e.jpg","text":"TemporaryFile(/tmp/multipartBody1689948660456567267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737295219176,"filename":"image_19012025_14_57_02_990805_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/92a4a2fe1ac402626af853ba5432128f.jpg","text":"TemporaryFile(/tmp/multipartBody3313897234250105670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737295219176,"filename":"image_19012025_14_58_03_091828_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/23ea311f158ebd2dffc2c8b002d90515.jpg","text":"TemporaryFile(/tmp/multipartBody7544963479636876879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737295219176,"filename":"image_19012025_14_57_02_990805_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/fbef7d1bc301bb03c599af09ec5c136e.jpg","text":"TemporaryFile(/tmp/multipartBody408168688767686388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737295219176,"filename":"image_19012025_14_57_02_990805_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/e85b623fb09cd1cbe71d42bfebaabc5a.jpg","text":"TemporaryFile(/tmp/multipartBody3864431353643277587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737295219176,"filename":"image_19012025_14_57_02_990805_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330052264","file1":"1330052261","file0":"1330052254","file4":"1330052271","file5":"1330052274","file3":"1330052268"},"map_files_photo_id_array":[{"photo_id":"1330052274","filename":"file5"},{"photo_id":"1330052264","filename":"file2"},{"photo_id":"1330052271","filename":"file4"},{"photo_id":"1330052261","filename":"file1"},{"photo_id":"1330052254","filename":"file0"},{"photo_id":"1330052268","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330052254":["hashtag1","hashtag2"]},{"1330052271":["hashtag1","hashtag2"]},{"1330052274":["hashtag1","hashtag2"]},{"1330052268":["hashtag1","hashtag2"]},{"1330052261":["hashtag1","hashtag2"]},{"1330052264":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330052254, 1330052271, 1330052274, 1330052268, 1330052261, 1330052264)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.21589732170105 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 15:00:22.294157
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/14/58/image_19012025_14_58_03_091828_0001.jpg', '/home/pi/Desktop/images/19012025/14/58/image_19012025_14_58_03_091828_0002.jpg', '/home/pi/Desktop/images/19012025/14/58/image_19012025_14_58_03_091828_0003.jpg', '/home/pi/Desktop/images/19012025/14/59/image_19012025_14_59_02_270348_0000.jpg', '/home/pi/Desktop/images/19012025/14/59/image_19012025_14_59_02_270348_0001.jpg', '/home/pi/Desktop/images/19012025/14/59/image_19012025_14_59_02_270348_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/14/58/image_19012025_14_58_03_091828_0001.jpg
/home/pi/Desktop/images/19012025/14/58/image_19012025_14_58_03_091828_0002.jpg
/home/pi/Desktop/images/19012025/14/58/image_19012025_14_58_03_091828_0003.jpg
/home/pi/Desktop/images/19012025/14/59/image_19012025_14_59_02_270348_0000.jpg
/home/pi/Desktop/images/19012025/14/59/image_19012025_14_59_02_270348_0001.jpg
/home/pi/Desktop/images/19012025/14/59/image_19012025_14_59_02_270348_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330052284","1330052392","1330052608","1330052286","1330052288","1330052291"],"photo_ids_order":["1330052284","1330052286","1330052288","1330052291","1330052392","1330052608"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/8197d0976d7f1806760865bbc81c72bc.jpg","text":"TemporaryFile(/tmp/multipartBody9095701055334436557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737295298677,"filename":"image_19012025_14_58_03_091828_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/1c82c09112a7a8c5869f761020448a7f.jpg","text":"TemporaryFile(/tmp/multipartBody5898117832459838463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737295298677,"filename":"image_19012025_14_59_02_270348_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/1f337658e42cc2af28dda331a4e8f541.jpg","text":"TemporaryFile(/tmp/multipartBody9060724349969167467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737295298677,"filename":"image_19012025_14_59_02_270348_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/b8e003ecf5e183d9c432772f3a6404bd.jpg","text":"TemporaryFile(/tmp/multipartBody1164944018616025961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737295298677,"filename":"image_19012025_14_58_03_091828_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/488e15e09f7fbac024574cf508ce44bb.jpg","text":"TemporaryFile(/tmp/multipartBody8466608250252152688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737295298677,"filename":"image_19012025_14_58_03_091828_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/7cf8f0dee53bce5ff3e5beab3078f9f6.jpg","text":"TemporaryFile(/tmp/multipartBody6847444650475064924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737295298677,"filename":"image_19012025_14_59_02_270348_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330052288","file1":"1330052286","file0":"1330052284","file4":"1330052392","file5":"1330052608","file3":"1330052291"},"map_files_photo_id_array":[{"photo_id":"1330052608","filename":"file5"},{"photo_id":"1330052288","filename":"file2"},{"photo_id":"1330052392","filename":"file4"},{"photo_id":"1330052286","filename":"file1"},{"photo_id":"1330052284","filename":"file0"},{"photo_id":"1330052291","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330052284":["hashtag1","hashtag2"]},{"1330052392":["hashtag1","hashtag2"]},{"1330052608":["hashtag1","hashtag2"]},{"1330052286":["hashtag1","hashtag2"]},{"1330052288":["hashtag1","hashtag2"]},{"1330052291":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330052284, 1330052392, 1330052608, 1330052286, 1330052288, 1330052291)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.15737748146057 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 15:01:22.526691
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/14/59/image_19012025_14_59_02_270348_0003.jpg', '/home/pi/Desktop/images/19012025/15/00/image_19012025_15_00_02_485865_0000.jpg', '/home/pi/Desktop/images/19012025/15/00/image_19012025_15_00_02_485865_0001.jpg', '/home/pi/Desktop/images/19012025/15/00/image_19012025_15_00_02_485865_0002.jpg', '/home/pi/Desktop/images/19012025/15/00/image_19012025_15_00_02_485865_0003.jpg', '/home/pi/Desktop/images/19012025/15/01/image_19012025_15_01_02_680682_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/14/59/image_19012025_14_59_02_270348_0003.jpg
/home/pi/Desktop/images/19012025/15/00/image_19012025_15_00_02_485865_0000.jpg
/home/pi/Desktop/images/19012025/15/00/image_19012025_15_00_02_485865_0001.jpg
/home/pi/Desktop/images/19012025/15/00/image_19012025_15_00_02_485865_0002.jpg
/home/pi/Desktop/images/19012025/15/00/image_19012025_15_00_02_485865_0003.jpg
/home/pi/Desktop/images/19012025/15/01/image_19012025_15_01_02_680682_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":["1330053424","1330053415","1330053418","1330053426","1330053420","1330053422"],"photo_ids_order":["1330053415","1330053418","1330053420","1330053422","1330053424","1330053426"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/f2f707036a8b6c3327cd36b414d15e5e.jpg","text":"TemporaryFile(/tmp/multipartBody185112334368637750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737295359078,"filename":"image_19012025_15_00_02_485865_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/2c97870f71652a09273301a586c88c5a.jpg","text":"TemporaryFile(/tmp/multipartBody4124782533999958799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737295359078,"filename":"image_19012025_14_59_02_270348_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/a90b4827fe8154aef775ae0e0168744b.jpg","text":"TemporaryFile(/tmp/multipartBody4517838001594560294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737295359078,"filename":"image_19012025_15_00_02_485865_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/4fcbd6c2184d45082e2d61914526a41e.jpg","text":"TemporaryFile(/tmp/multipartBody7725174265560598375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737295359078,"filename":"image_19012025_15_01_02_680682_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/0548edd91ce5857b0d79af597d74aa40.jpg","text":"TemporaryFile(/tmp/multipartBody2007301632299097055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737295359078,"filename":"image_19012025_15_00_02_485865_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/d82cefb6c0e9aba2638286a313950db2.jpg","text":"TemporaryFile(/tmp/multipartBody1253468546644083342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737295359078,"filename":"image_19012025_15_00_02_485865_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330053420","file1":"1330053418","file0":"1330053415","file4":"1330053424","file5":"1330053426","file3":"1330053422"},"map_files_photo_id_array":[{"photo_id":"1330053426","filename":"file5"},{"photo_id":"1330053420","filename":"file2"},{"photo_id":"1330053424","filename":"file4"},{"photo_id":"1330053418","filename":"file1"},{"photo_id":"1330053415","filename":"file0"},{"photo_id":"1330053422","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330053424":["hashtag1","hashtag2"]},{"1330053415":["hashtag1","hashtag2"]},{"1330053418":["hashtag1","hashtag2"]},{"1330053426":["hashtag1","hashtag2"]},{"1330053420":["hashtag1","hashtag2"]},{"1330053422":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330053424, 1330053415, 1330053418, 1330053426, 1330053420, 1330053422)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.3888521194458 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 15:02:22.719801
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/15/01/image_19012025_15_01_02_680682_0001.jpg', '/home/pi/Desktop/images/19012025/15/01/image_19012025_15_01_02_680682_0002.jpg', '/home/pi/Desktop/images/19012025/15/01/image_19012025_15_01_02_680682_0003.jpg', '/home/pi/Desktop/images/19012025/15/02/image_19012025_15_02_02_820684_0000.jpg', '/home/pi/Desktop/images/19012025/15/02/image_19012025_15_02_02_820684_0001.jpg', '/home/pi/Desktop/images/19012025/15/02/image_19012025_15_02_02_820684_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/15/01/image_19012025_15_01_02_680682_0001.jpg
/home/pi/Desktop/images/19012025/15/01/image_19012025_15_01_02_680682_0002.jpg
/home/pi/Desktop/images/19012025/15/01/image_19012025_15_01_02_680682_0003.jpg
/home/pi/Desktop/images/19012025/15/02/image_19012025_15_02_02_820684_0000.jpg
/home/pi/Desktop/images/19012025/15/02/image_19012025_15_02_02_820684_0001.jpg
/home/pi/Desktop/images/19012025/15/02/image_19012025_15_02_02_820684_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330053814","1330053768","1330053816","1330053818","1330053806","1330053821"],"photo_ids_order":["1330053768","1330053806","1330053814","1330053816","1330053818","1330053821"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/57b75bbeac84cbddd99a1d1a17206589.jpg","text":"TemporaryFile(/tmp/multipartBody1399733569027386477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737295418844,"filename":"image_19012025_15_01_02_680682_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/6963d0bf8fde3a1c88b73b5a31b833cf.jpg","text":"TemporaryFile(/tmp/multipartBody4676461438217696234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737295418844,"filename":"image_19012025_15_01_02_680682_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/28c10fcc1f6a72a6fdc57e450b8213fa.jpg","text":"TemporaryFile(/tmp/multipartBody8675975731474483771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737295418844,"filename":"image_19012025_15_02_02_820684_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/4080c842d1afc4a64a3bfeeb839a8d77.jpg","text":"TemporaryFile(/tmp/multipartBody2722005752917159695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737295418844,"filename":"image_19012025_15_02_02_820684_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/9b1305ea736c65614c6ced2e79f08b36.jpg","text":"TemporaryFile(/tmp/multipartBody5016120799617253249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737295418844,"filename":"image_19012025_15_01_02_680682_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/1fa2514f47bd6ce877797449e415954e.jpg","text":"TemporaryFile(/tmp/multipartBody6788122423155623164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737295418844,"filename":"image_19012025_15_02_02_820684_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330053814","file1":"1330053806","file0":"1330053768","file4":"1330053818","file5":"1330053821","file3":"1330053816"},"map_files_photo_id_array":[{"photo_id":"1330053821","filename":"file5"},{"photo_id":"1330053814","filename":"file2"},{"photo_id":"1330053818","filename":"file4"},{"photo_id":"1330053806","filename":"file1"},{"photo_id":"1330053768","filename":"file0"},{"photo_id":"1330053816","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330053814":["hashtag1","hashtag2"]},{"1330053768":["hashtag1","hashtag2"]},{"1330053816":["hashtag1","hashtag2"]},{"1330053818":["hashtag1","hashtag2"]},{"1330053806":["hashtag1","hashtag2"]},{"1330053821":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330053814, 1330053768, 1330053816, 1330053818, 1330053806, 1330053821)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.33661079406738 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 15:03:22.031580
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/15/02/image_19012025_15_02_02_820684_0003.jpg', '/home/pi/Desktop/images/19012025/15/03/image_19012025_15_03_03_038664_0000.jpg', '/home/pi/Desktop/images/19012025/15/03/image_19012025_15_03_03_038664_0001.jpg', '/home/pi/Desktop/images/19012025/15/03/image_19012025_15_03_03_038664_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/15/02/image_19012025_15_02_02_820684_0003.jpg
/home/pi/Desktop/images/19012025/15/03/image_19012025_15_03_03_038664_0000.jpg
/home/pi/Desktop/images/19012025/15/03/image_19012025_15_03_03_038664_0001.jpg
/home/pi/Desktop/images/19012025/15/03/image_19012025_15_03_03_038664_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330054668","1330054116","1330054232","1330054579"],"photo_ids_order":["1330054116","1330054232","1330054579","1330054668"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/2e404f3da6df6b67546749b514fb420f.jpg","text":"TemporaryFile(/tmp/multipartBody3175712999008833523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737295473293,"filename":"image_19012025_15_03_03_038664_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/50974eeb4b7dffcde382b8edc47059e4.jpg","text":"TemporaryFile(/tmp/multipartBody2807595244581444474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737295473293,"filename":"image_19012025_15_02_02_820684_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/996e72e35c6c70f508bc13fc6138d1f6.jpg","text":"TemporaryFile(/tmp/multipartBody3942139790857696080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737295473293,"filename":"image_19012025_15_03_03_038664_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/b2bfb30b45d0b5709303401b58e1e416.jpg","text":"TemporaryFile(/tmp/multipartBody4023160591921793618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737295473293,"filename":"image_19012025_15_03_03_038664_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330054579","file1":"1330054232","file0":"1330054116","file3":"1330054668"},"map_files_photo_id_array":[{"photo_id":"1330054579","filename":"file2"},{"photo_id":"1330054232","filename":"file1"},{"photo_id":"1330054116","filename":"file0"},{"photo_id":"1330054668","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330054668":["hashtag1","hashtag2"]},{"1330054116":["hashtag1","hashtag2"]},{"1330054232":["hashtag1","hashtag2"]},{"1330054579":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330054668, 1330054116, 1330054232, 1330054579)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.77665662765503 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 15:04:02.442078
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
  port_id : 19698700
  datou_current_id : 2490825
in upload_from_sqlite, uploading in 19698700
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17012025/22/35/image_17012025_22_35_03_136527_0003.jpg', '/home/pi/Desktop/images/17012025/22/36/image_17012025_22_36_02_336497_0000.jpg', '/home/pi/Desktop/images/17012025/22/36/image_17012025_22_36_02_336497_0001.jpg', '/home/pi/Desktop/images/17012025/22/36/image_17012025_22_36_02_336497_0002.jpg', '/home/pi/Desktop/images/17012025/22/36/image_17012025_22_36_02_336497_0003.jpg', '/home/pi/Desktop/images/17012025/22/37/image_17012025_22_37_02_397549_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2490825&datou=0
/home/pi/Desktop/images/17012025/22/35/image_17012025_22_35_03_136527_0003.jpg
/home/pi/Desktop/images/17012025/22/36/image_17012025_22_36_02_336497_0000.jpg
/home/pi/Desktop/images/17012025/22/36/image_17012025_22_36_02_336497_0001.jpg
/home/pi/Desktop/images/17012025/22/36/image_17012025_22_36_02_336497_0002.jpg
/home/pi/Desktop/images/17012025/22/36/image_17012025_22_36_02_336497_0003.jpg
/home/pi/Desktop/images/17012025/22/37/image_17012025_22_37_02_397549_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":["1330054819","1330054995","1330054968","1330054935","1330054699","1330054702"],"photo_ids_order":["1330054699","1330054702","1330054819","1330054935","1330054968","1330054995"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/775731b08aa236cf9212f74405cc6ddc.jpg","text":"TemporaryFile(/tmp/multipartBody4296371255450311548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737295520072,"filename":"image_17012025_22_36_02_336497_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/c4cf9230ffaaef4fd6f19c4a794886ba.jpg","text":"TemporaryFile(/tmp/multipartBody8630292604641093932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737295520072,"filename":"image_17012025_22_37_02_397549_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/e46d3498bd026fdae86541727bc49fc3.jpg","text":"TemporaryFile(/tmp/multipartBody512992191471336494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737295520072,"filename":"image_17012025_22_36_02_336497_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/0f26b15a32e25845daa2cb5421d6e70d.jpg","text":"TemporaryFile(/tmp/multipartBody3714694013173537589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737295520072,"filename":"image_17012025_22_36_02_336497_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/a01e6b4fd7b99c3ac829f42f457e1df7.jpg","text":"TemporaryFile(/tmp/multipartBody5965200198121854345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737295520072,"filename":"image_17012025_22_35_03_136527_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/61e74509199aa15c4f10f7b641b280d7.jpg","text":"TemporaryFile(/tmp/multipartBody2253053164548301536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737295520072,"filename":"image_17012025_22_36_02_336497_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330054819","file1":"1330054702","file0":"1330054699","file4":"1330054968","file5":"1330054995","file3":"1330054935"},"map_files_photo_id_array":[{"photo_id":"1330054995","filename":"file5"},{"photo_id":"1330054819","filename":"file2"},{"photo_id":"1330054968","filename":"file4"},{"photo_id":"1330054702","filename":"file1"},{"photo_id":"1330054699","filename":"file0"},{"photo_id":"1330054935","filename":"file3"}],"portfolio_id":19698700,"hashtag_by_photo_ids":[{"1330054819":["hashtag1","hashtag2"]},{"1330054995":["hashtag1","hashtag2"]},{"1330054968":["hashtag1","hashtag2"]},{"1330054935":["hashtag1","hashtag2"]},{"1330054699":["hashtag1","hashtag2"]},{"1330054702":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698700 used, photo_id : ArrayBuffer(1330054819, 1330054995, 1330054968, 1330054935, 1330054699, 1330054702)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.906901597976685 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 15:05:02.800386
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/15/03/image_19012025_15_03_03_038664_0003.jpg', '/home/pi/Desktop/images/19012025/15/04/image_19012025_15_04_02_252794_0000.jpg', '/home/pi/Desktop/images/19012025/15/04/image_19012025_15_04_02_252794_0001.jpg', '/home/pi/Desktop/images/19012025/15/04/image_19012025_15_04_02_252794_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/15/03/image_19012025_15_03_03_038664_0003.jpg
/home/pi/Desktop/images/19012025/15/04/image_19012025_15_04_02_252794_0000.jpg
/home/pi/Desktop/images/19012025/15/04/image_19012025_15_04_02_252794_0001.jpg
/home/pi/Desktop/images/19012025/15/04/image_19012025_15_04_02_252794_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":["1330055001","1330055005","1330055008","1330055002"],"photo_ids_order":["1330055001","1330055002","1330055005","1330055008"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/3075be5b230bb589a341979e60323d65.jpg","text":"TemporaryFile(/tmp/multipartBody5989485335716738667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737295574077,"filename":"image_19012025_15_03_03_038664_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/cd4ae1ac9f1512f175601cd2c4f79bf5.jpg","text":"TemporaryFile(/tmp/multipartBody183392843555101545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737295574077,"filename":"image_19012025_15_04_02_252794_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/609d9c9fa24a063720e33d946293cef1.jpg","text":"TemporaryFile(/tmp/multipartBody5272443741957025360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737295574077,"filename":"image_19012025_15_04_02_252794_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/846386d873d989452180c3f100b67bf1.jpg","text":"TemporaryFile(/tmp/multipartBody3264027076927661768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737295574077,"filename":"image_19012025_15_04_02_252794_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330055005","file1":"1330055002","file0":"1330055001","file3":"1330055008"},"map_files_photo_id_array":[{"photo_id":"1330055005","filename":"file2"},{"photo_id":"1330055002","filename":"file1"},{"photo_id":"1330055001","filename":"file0"},{"photo_id":"1330055008","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330055001":["hashtag1","hashtag2"]},{"1330055005":["hashtag1","hashtag2"]},{"1330055008":["hashtag1","hashtag2"]},{"1330055002":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330055001, 1330055005, 1330055008, 1330055002)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.826544523239136 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-19 15:05:52.220174
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/15/04/image_19012025_15_04_02_252794_0003.jpg', '/home/pi/Desktop/images/19012025/15/05/image_19012025_15_05_02_453992_0000.jpg', '/home/pi/Desktop/images/19012025/15/05/image_19012025_15_05_02_453992_0001.jpg', '/home/pi/Desktop/images/19012025/15/05/image_19012025_15_05_02_453992_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/15/04/image_19012025_15_04_02_252794_0003.jpg
/home/pi/Desktop/images/19012025/15/05/image_19012025_15_05_02_453992_0000.jpg
/home/pi/Desktop/images/19012025/15/05/image_19012025_15_05_02_453992_0001.jpg
/home/pi/Desktop/images/19012025/15/05/image_19012025_15_05_02_453992_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330055025","1330055100","1330055023","1330055026"],"photo_ids_order":["1330055023","1330055025","1330055026","1330055100"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/02a058991482c5d7a166a1c04009b3ca.jpg","text":"TemporaryFile(/tmp/multipartBody2983778819153128315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737295623232,"filename":"image_19012025_15_05_02_453992_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/f7719783624f82c007205ca9164ce7b5.jpg","text":"TemporaryFile(/tmp/multipartBody2892581200681396859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737295623232,"filename":"image_19012025_15_05_02_453992_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/54a6a51e5542ee0bec7df1207b70beda.jpg","text":"TemporaryFile(/tmp/multipartBody4551737916438490345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737295623232,"filename":"image_19012025_15_04_02_252794_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/1bcb3511a64536615a019af912e4a824.jpg","text":"TemporaryFile(/tmp/multipartBody4384903976332069598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737295623232,"filename":"image_19012025_15_05_02_453992_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330055026","file1":"1330055025","file0":"1330055023","file3":"1330055100"},"map_files_photo_id_array":[{"photo_id":"1330055026","filename":"file2"},{"photo_id":"1330055025","filename":"file1"},{"photo_id":"1330055023","filename":"file0"},{"photo_id":"1330055100","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330055025":["hashtag1","hashtag2"]},{"1330055100":["hashtag1","hashtag2"]},{"1330055023":["hashtag1","hashtag2"]},{"1330055026":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330055025, 1330055100, 1330055023, 1330055026)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.01139688491821 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-19 15:06:42.406082
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/15/05/image_19012025_15_05_02_453992_0003.jpg', '/home/pi/Desktop/images/19012025/15/06/image_19012025_15_06_02_579493_0000.jpg', '/home/pi/Desktop/images/19012025/15/06/image_19012025_15_06_02_579493_0001.jpg', '/home/pi/Desktop/images/19012025/15/06/image_19012025_15_06_02_579493_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/15/05/image_19012025_15_05_02_453992_0003.jpg
/home/pi/Desktop/images/19012025/15/06/image_19012025_15_06_02_579493_0000.jpg
/home/pi/Desktop/images/19012025/15/06/image_19012025_15_06_02_579493_0001.jpg
/home/pi/Desktop/images/19012025/15/06/image_19012025_15_06_02_579493_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":["1330056272","1330056265","1330056268","1330056270"],"photo_ids_order":["1330056265","1330056268","1330056270","1330056272"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/7219fae267eb9a24bf957a5afcca0875.jpg","text":"TemporaryFile(/tmp/multipartBody7576496355287018520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737295673714,"filename":"image_19012025_15_06_02_579493_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/71e5c224dd3f019e4561e44706fb4731.jpg","text":"TemporaryFile(/tmp/multipartBody6155766329636264889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737295673714,"filename":"image_19012025_15_05_02_453992_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/0211bb7277c0bc0496d91f33846e6dd3.jpg","text":"TemporaryFile(/tmp/multipartBody459484306264303112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737295673714,"filename":"image_19012025_15_06_02_579493_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/22d45e8d4f401e2e3b68e5c8fc902ae4.jpg","text":"TemporaryFile(/tmp/multipartBody7604508532254892306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737295673714,"filename":"image_19012025_15_06_02_579493_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330056270","file1":"1330056268","file0":"1330056265","file3":"1330056272"},"map_files_photo_id_array":[{"photo_id":"1330056270","filename":"file2"},{"photo_id":"1330056268","filename":"file1"},{"photo_id":"1330056265","filename":"file0"},{"photo_id":"1330056272","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330056272":["hashtag1","hashtag2"]},{"1330056265":["hashtag1","hashtag2"]},{"1330056268":["hashtag1","hashtag2"]},{"1330056270":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330056272, 1330056265, 1330056268, 1330056270)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.06911110877991 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 15:07:22.582450
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/15/06/image_19012025_15_06_02_579493_0003.jpg', '/home/pi/Desktop/images/19012025/15/07/image_19012025_15_07_02_783263_0000.jpg', '/home/pi/Desktop/images/19012025/15/07/image_19012025_15_07_02_783263_0001.jpg', '/home/pi/Desktop/images/19012025/15/07/image_19012025_15_07_02_783263_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/15/06/image_19012025_15_06_02_579493_0003.jpg
/home/pi/Desktop/images/19012025/15/07/image_19012025_15_07_02_783263_0000.jpg
/home/pi/Desktop/images/19012025/15/07/image_19012025_15_07_02_783263_0001.jpg
/home/pi/Desktop/images/19012025/15/07/image_19012025_15_07_02_783263_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330056332","1330056329","1330056326","1330056305"],"photo_ids_order":["1330056305","1330056326","1330056329","1330056332"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/a9857756b924fc38fd1900ca7edca10a.jpg","text":"TemporaryFile(/tmp/multipartBody6151007591629462531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737295713824,"filename":"image_19012025_15_07_02_783263_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/f96d4b54a527b5e29178ee5ae6134f73.jpg","text":"TemporaryFile(/tmp/multipartBody551749476928340186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737295713824,"filename":"image_19012025_15_07_02_783263_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/0e68dda720c552a0dceffd596e30ab58.jpg","text":"TemporaryFile(/tmp/multipartBody4779615428060147255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737295713824,"filename":"image_19012025_15_07_02_783263_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/123364e987be83892ed9ec3578e5fdd0.jpg","text":"TemporaryFile(/tmp/multipartBody4076551865843549883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737295713824,"filename":"image_19012025_15_06_02_579493_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330056329","file1":"1330056326","file0":"1330056305","file3":"1330056332"},"map_files_photo_id_array":[{"photo_id":"1330056329","filename":"file2"},{"photo_id":"1330056326","filename":"file1"},{"photo_id":"1330056305","filename":"file0"},{"photo_id":"1330056332","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330056332":["hashtag1","hashtag2"]},{"1330056329":["hashtag1","hashtag2"]},{"1330056326":["hashtag1","hashtag2"]},{"1330056305":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330056332, 1330056329, 1330056326, 1330056305)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.052605867385864 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 15:08:21.889738
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/15/07/image_19012025_15_07_02_783263_0003.jpg', '/home/pi/Desktop/images/19012025/15/08/image_19012025_15_08_02_978226_0000.jpg', '/home/pi/Desktop/images/19012025/15/08/image_19012025_15_08_02_978226_0001.jpg', '/home/pi/Desktop/images/19012025/15/08/image_19012025_15_08_02_978226_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/15/07/image_19012025_15_07_02_783263_0003.jpg
/home/pi/Desktop/images/19012025/15/08/image_19012025_15_08_02_978226_0000.jpg
/home/pi/Desktop/images/19012025/15/08/image_19012025_15_08_02_978226_0001.jpg
/home/pi/Desktop/images/19012025/15/08/image_19012025_15_08_02_978226_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330056821","1330056845","1330056847","1330056899"],"photo_ids_order":["1330056821","1330056845","1330056847","1330056899"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/7824211ca9938a36e8ff844b9ae1daed.jpg","text":"TemporaryFile(/tmp/multipartBody2097268010590390141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737295772952,"filename":"image_19012025_15_07_02_783263_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/b09c280c3a91df1ba4b69504476aaf95.jpg","text":"TemporaryFile(/tmp/multipartBody6631792449021742855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737295772952,"filename":"image_19012025_15_08_02_978226_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/f61ec2ee7611bfc12607db4fd1401d70.jpg","text":"TemporaryFile(/tmp/multipartBody4398841890869325841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737295772952,"filename":"image_19012025_15_08_02_978226_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/ccffee1986f8464952f23dc492df1217.jpg","text":"TemporaryFile(/tmp/multipartBody4143238619717237518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737295772952,"filename":"image_19012025_15_08_02_978226_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330056847","file1":"1330056845","file0":"1330056821","file3":"1330056899"},"map_files_photo_id_array":[{"photo_id":"1330056847","filename":"file2"},{"photo_id":"1330056845","filename":"file1"},{"photo_id":"1330056821","filename":"file0"},{"photo_id":"1330056899","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330056821":["hashtag1","hashtag2"]},{"1330056845":["hashtag1","hashtag2"]},{"1330056847":["hashtag1","hashtag2"]},{"1330056899":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330056821, 1330056845, 1330056847, 1330056899)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.99094104766846 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 15:09:02.522724
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
  port_id : 19698700
  datou_current_id : 2490825
in upload_from_sqlite, uploading in 19698700
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17012025/22/37/image_17012025_22_37_02_397549_0001.jpg', '/home/pi/Desktop/images/17012025/22/37/image_17012025_22_37_02_397549_0002.jpg', '/home/pi/Desktop/images/17012025/22/37/image_17012025_22_37_02_397549_0003.jpg', '/home/pi/Desktop/images/17012025/22/38/image_17012025_22_38_02_624172_0000.jpg', '/home/pi/Desktop/images/17012025/22/38/image_17012025_22_38_02_624172_0001.jpg', '/home/pi/Desktop/images/17012025/22/38/image_17012025_22_38_02_624172_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2490825&datou=0
/home/pi/Desktop/images/17012025/22/37/image_17012025_22_37_02_397549_0001.jpg
/home/pi/Desktop/images/17012025/22/37/image_17012025_22_37_02_397549_0002.jpg
/home/pi/Desktop/images/17012025/22/37/image_17012025_22_37_02_397549_0003.jpg
/home/pi/Desktop/images/17012025/22/38/image_17012025_22_38_02_624172_0000.jpg
/home/pi/Desktop/images/17012025/22/38/image_17012025_22_38_02_624172_0001.jpg
/home/pi/Desktop/images/17012025/22/38/image_17012025_22_38_02_624172_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330057174","1330056923","1330056932","1330056926","1330056934","1330056928"],"photo_ids_order":["1330056923","1330056926","1330056928","1330056932","1330056934","1330057174"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/1623d2b82dde70ba20abb159b0ddeb5e.jpg","text":"TemporaryFile(/tmp/multipartBody511264100806943484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737295820624,"filename":"image_17012025_22_38_02_624172_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/a9e44a223810999b9b77a94b8bafe76b.jpg","text":"TemporaryFile(/tmp/multipartBody8428171940317663647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737295820624,"filename":"image_17012025_22_37_02_397549_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/ab61f2de196cbb58be1404d820bee6eb.jpg","text":"TemporaryFile(/tmp/multipartBody5003535364572624355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737295820624,"filename":"image_17012025_22_38_02_624172_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/5575ded3318ae7bd3557fe59f4f4774b.jpg","text":"TemporaryFile(/tmp/multipartBody2373223115003095744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737295820624,"filename":"image_17012025_22_37_02_397549_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/0c0dc9c5911acdbafa45228bb223abfa.jpg","text":"TemporaryFile(/tmp/multipartBody3646923216842276287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737295820624,"filename":"image_17012025_22_38_02_624172_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/71dcba585976a3cdcb8618f89c9f2015.jpg","text":"TemporaryFile(/tmp/multipartBody1715495286989190179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737295820624,"filename":"image_17012025_22_37_02_397549_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330056928","file1":"1330056926","file0":"1330056923","file4":"1330056934","file5":"1330057174","file3":"1330056932"},"map_files_photo_id_array":[{"photo_id":"1330057174","filename":"file5"},{"photo_id":"1330056928","filename":"file2"},{"photo_id":"1330056934","filename":"file4"},{"photo_id":"1330056926","filename":"file1"},{"photo_id":"1330056923","filename":"file0"},{"photo_id":"1330056932","filename":"file3"}],"portfolio_id":19698700,"hashtag_by_photo_ids":[{"1330057174":["hashtag1","hashtag2"]},{"1330056923":["hashtag1","hashtag2"]},{"1330056932":["hashtag1","hashtag2"]},{"1330056926":["hashtag1","hashtag2"]},{"1330056934":["hashtag1","hashtag2"]},{"1330056928":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698700 used, photo_id : ArrayBuffer(1330057174, 1330056923, 1330056932, 1330056926, 1330056934, 1330056928)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.54153752326965 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 15:10:02.660048
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/15/08/image_19012025_15_08_02_978226_0003.jpg', '/home/pi/Desktop/images/19012025/15/09/image_19012025_15_09_02_206100_0000.jpg', '/home/pi/Desktop/images/19012025/15/09/image_19012025_15_09_02_206100_0001.jpg', '/home/pi/Desktop/images/19012025/15/09/image_19012025_15_09_02_206100_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/15/08/image_19012025_15_08_02_978226_0003.jpg
/home/pi/Desktop/images/19012025/15/09/image_19012025_15_09_02_206100_0000.jpg
/home/pi/Desktop/images/19012025/15/09/image_19012025_15_09_02_206100_0001.jpg
/home/pi/Desktop/images/19012025/15/09/image_19012025_15_09_02_206100_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330057335","1330057317","1330057311","1330057298"],"photo_ids_order":["1330057298","1330057311","1330057317","1330057335"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/07dbb4a7704a07c42b926a840f55dc81.jpg","text":"TemporaryFile(/tmp/multipartBody3895317951354256741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737295873745,"filename":"image_19012025_15_09_02_206100_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/a938a0057cb1bd124b3d7c82102505fb.jpg","text":"TemporaryFile(/tmp/multipartBody8739093671686417053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737295873745,"filename":"image_19012025_15_09_02_206100_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/edad24a2bd1ede5bd156ad66c474bd99.jpg","text":"TemporaryFile(/tmp/multipartBody8788011095922554365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737295873745,"filename":"image_19012025_15_09_02_206100_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/9244039412e1a9d44e3dd9238b0af678.jpg","text":"TemporaryFile(/tmp/multipartBody4300728829210183507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737295873745,"filename":"image_19012025_15_08_02_978226_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330057317","file1":"1330057311","file0":"1330057298","file3":"1330057335"},"map_files_photo_id_array":[{"photo_id":"1330057317","filename":"file2"},{"photo_id":"1330057311","filename":"file1"},{"photo_id":"1330057298","filename":"file0"},{"photo_id":"1330057335","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330057335":["hashtag1","hashtag2"]},{"1330057317":["hashtag1","hashtag2"]},{"1330057311":["hashtag1","hashtag2"]},{"1330057298":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330057335, 1330057317, 1330057311, 1330057298)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.98525333404541 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-19 15:10:52.204856
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/15/09/image_19012025_15_09_02_206100_0003.jpg', '/home/pi/Desktop/images/19012025/15/10/image_19012025_15_10_02_423749_0000.jpg', '/home/pi/Desktop/images/19012025/15/10/image_19012025_15_10_02_423749_0001.jpg', '/home/pi/Desktop/images/19012025/15/10/image_19012025_15_10_02_423749_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/15/09/image_19012025_15_09_02_206100_0003.jpg
/home/pi/Desktop/images/19012025/15/10/image_19012025_15_10_02_423749_0000.jpg
/home/pi/Desktop/images/19012025/15/10/image_19012025_15_10_02_423749_0001.jpg
/home/pi/Desktop/images/19012025/15/10/image_19012025_15_10_02_423749_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330057451","1330057453","1330057455","1330057454"],"photo_ids_order":["1330057451","1330057453","1330057454","1330057455"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/c2c0b2d3e3c42775cc52f3cdd4296052.jpg","text":"TemporaryFile(/tmp/multipartBody3913308925938581200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737295923374,"filename":"image_19012025_15_09_02_206100_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/7a85c446f4400a7a470866cfd7eadfbf.jpg","text":"TemporaryFile(/tmp/multipartBody2898533483866888763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737295923374,"filename":"image_19012025_15_10_02_423749_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/92d7a84aad5f48ef12f4746eaa3e3c8c.jpg","text":"TemporaryFile(/tmp/multipartBody6431464788798990057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737295923374,"filename":"image_19012025_15_10_02_423749_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/e052539b2e046bf07ebfecb395d22884.jpg","text":"TemporaryFile(/tmp/multipartBody4045172104474894377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737295923374,"filename":"image_19012025_15_10_02_423749_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330057454","file1":"1330057453","file0":"1330057451","file3":"1330057455"},"map_files_photo_id_array":[{"photo_id":"1330057454","filename":"file2"},{"photo_id":"1330057453","filename":"file1"},{"photo_id":"1330057451","filename":"file0"},{"photo_id":"1330057455","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330057451":["hashtag1","hashtag2"]},{"1330057453":["hashtag1","hashtag2"]},{"1330057455":["hashtag1","hashtag2"]},{"1330057454":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330057451, 1330057453, 1330057455, 1330057454)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.83677434921265 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-19 15:11:42.377630
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/15/10/image_19012025_15_10_02_423749_0003.jpg', '/home/pi/Desktop/images/19012025/15/11/image_19012025_15_11_02_564048_0000.jpg', '/home/pi/Desktop/images/19012025/15/11/image_19012025_15_11_02_564048_0001.jpg', '/home/pi/Desktop/images/19012025/15/11/image_19012025_15_11_02_564048_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/15/10/image_19012025_15_10_02_423749_0003.jpg
/home/pi/Desktop/images/19012025/15/11/image_19012025_15_11_02_564048_0000.jpg
/home/pi/Desktop/images/19012025/15/11/image_19012025_15_11_02_564048_0001.jpg
/home/pi/Desktop/images/19012025/15/11/image_19012025_15_11_02_564048_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":["1330057466","1330057471","1330057468","1330057472"],"photo_ids_order":["1330057466","1330057468","1330057471","1330057472"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/a224db1bba4ab4f465a24d856c99d6dc.jpg","text":"TemporaryFile(/tmp/multipartBody1659441870847286532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737295973063,"filename":"image_19012025_15_10_02_423749_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/f83013bf18a0c861bca0c5b36ac8cc02.jpg","text":"TemporaryFile(/tmp/multipartBody7126588505953387134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737295973063,"filename":"image_19012025_15_11_02_564048_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/8b0f41c559e21165629ba41067b67968.jpg","text":"TemporaryFile(/tmp/multipartBody380296196402191266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737295973063,"filename":"image_19012025_15_11_02_564048_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/1619a9ae7571d21c9e7997029e6b63c5.jpg","text":"TemporaryFile(/tmp/multipartBody7726293402725939257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737295973063,"filename":"image_19012025_15_11_02_564048_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330057471","file1":"1330057468","file0":"1330057466","file3":"1330057472"},"map_files_photo_id_array":[{"photo_id":"1330057471","filename":"file2"},{"photo_id":"1330057468","filename":"file1"},{"photo_id":"1330057466","filename":"file0"},{"photo_id":"1330057472","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330057466":["hashtag1","hashtag2"]},{"1330057471":["hashtag1","hashtag2"]},{"1330057468":["hashtag1","hashtag2"]},{"1330057472":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330057466, 1330057471, 1330057468, 1330057472)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.29915952682495 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 15:12:22.588860
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/15/11/image_19012025_15_11_02_564048_0003.jpg', '/home/pi/Desktop/images/19012025/15/12/image_19012025_15_12_02_754067_0000.jpg', '/home/pi/Desktop/images/19012025/15/12/image_19012025_15_12_02_754067_0001.jpg', '/home/pi/Desktop/images/19012025/15/12/image_19012025_15_12_02_754067_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/15/11/image_19012025_15_11_02_564048_0003.jpg
/home/pi/Desktop/images/19012025/15/12/image_19012025_15_12_02_754067_0000.jpg
/home/pi/Desktop/images/19012025/15/12/image_19012025_15_12_02_754067_0001.jpg
/home/pi/Desktop/images/19012025/15/12/image_19012025_15_12_02_754067_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330057502","1330057481","1330057484","1330057478"],"photo_ids_order":["1330057478","1330057481","1330057484","1330057502"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/36bc49fc380719c18903d51f5c30f804.jpg","text":"TemporaryFile(/tmp/multipartBody4812619003083217287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737296013705,"filename":"image_19012025_15_12_02_754067_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/570744c45702ff0676dd975b240f6c6b.jpg","text":"TemporaryFile(/tmp/multipartBody1428172059084835906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737296013705,"filename":"image_19012025_15_12_02_754067_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/0870576558aee69292919bd88e520bbf.jpg","text":"TemporaryFile(/tmp/multipartBody3692410465014957220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737296013705,"filename":"image_19012025_15_12_02_754067_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/6e15891fe4990b82d74b19efc6f4005b.jpg","text":"TemporaryFile(/tmp/multipartBody4773833852428490063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737296013705,"filename":"image_19012025_15_11_02_564048_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330057484","file1":"1330057481","file0":"1330057478","file3":"1330057502"},"map_files_photo_id_array":[{"photo_id":"1330057484","filename":"file2"},{"photo_id":"1330057481","filename":"file1"},{"photo_id":"1330057478","filename":"file0"},{"photo_id":"1330057502","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330057502":["hashtag1","hashtag2"]},{"1330057481":["hashtag1","hashtag2"]},{"1330057484":["hashtag1","hashtag2"]},{"1330057478":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330057502, 1330057481, 1330057484, 1330057478)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.821303367614746 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 15:13:03.419004
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
  port_id : 19698700
  datou_current_id : 2490825
in upload_from_sqlite, uploading in 19698700
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17012025/22/38/image_17012025_22_38_02_624172_0003.jpg', '/home/pi/Desktop/images/17012025/22/39/image_17012025_22_39_02_782600_0000.jpg', '/home/pi/Desktop/images/17012025/22/39/image_17012025_22_39_02_782600_0001.jpg', '/home/pi/Desktop/images/17012025/22/39/image_17012025_22_39_02_782600_0002.jpg', '/home/pi/Desktop/images/17012025/22/39/image_17012025_22_39_02_782600_0003.jpg', '/home/pi/Desktop/images/17012025/22/40/image_17012025_22_40_03_021622_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2490825&datou=0
/home/pi/Desktop/images/17012025/22/38/image_17012025_22_38_02_624172_0003.jpg
/home/pi/Desktop/images/17012025/22/39/image_17012025_22_39_02_782600_0000.jpg
/home/pi/Desktop/images/17012025/22/39/image_17012025_22_39_02_782600_0001.jpg
/home/pi/Desktop/images/17012025/22/39/image_17012025_22_39_02_782600_0002.jpg
/home/pi/Desktop/images/17012025/22/39/image_17012025_22_39_02_782600_0003.jpg
/home/pi/Desktop/images/17012025/22/40/image_17012025_22_40_03_021622_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":["1330057523","1330057517","1330057526","1330057520","1330057514","1330057528"],"photo_ids_order":["1330057514","1330057517","1330057520","1330057523","1330057526","1330057528"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/68f4ef559ab4f2ae1dc7642f6d9d5054.jpg","text":"TemporaryFile(/tmp/multipartBody2848320512978448662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737296061008,"filename":"image_17012025_22_39_02_782600_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/6a59bb184fb78a17a20b1480f94aab63.jpg","text":"TemporaryFile(/tmp/multipartBody3871939046317504471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737296061008,"filename":"image_17012025_22_39_02_782600_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/b48b9366903c002dc337f5618723cd07.jpg","text":"TemporaryFile(/tmp/multipartBody4240198999811964619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737296061008,"filename":"image_17012025_22_39_02_782600_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/c390e3adab19f48d6570f8d426eb49ea.jpg","text":"TemporaryFile(/tmp/multipartBody6106049914224069580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737296061008,"filename":"image_17012025_22_39_02_782600_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/a9fba4dbd06d34905489f2da22db8a3c.jpg","text":"TemporaryFile(/tmp/multipartBody6115333039150704038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737296061008,"filename":"image_17012025_22_38_02_624172_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/ea8a10a4896fc7166161c94c9137643e.jpg","text":"TemporaryFile(/tmp/multipartBody2516076314712159195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737296061008,"filename":"image_17012025_22_40_03_021622_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330057520","file1":"1330057517","file0":"1330057514","file4":"1330057526","file5":"1330057528","file3":"1330057523"},"map_files_photo_id_array":[{"photo_id":"1330057528","filename":"file5"},{"photo_id":"1330057520","filename":"file2"},{"photo_id":"1330057526","filename":"file4"},{"photo_id":"1330057517","filename":"file1"},{"photo_id":"1330057514","filename":"file0"},{"photo_id":"1330057523","filename":"file3"}],"portfolio_id":19698700,"hashtag_by_photo_ids":[{"1330057523":["hashtag1","hashtag2"]},{"1330057517":["hashtag1","hashtag2"]},{"1330057526":["hashtag1","hashtag2"]},{"1330057520":["hashtag1","hashtag2"]},{"1330057514":["hashtag1","hashtag2"]},{"1330057528":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698700 used, photo_id : ArrayBuffer(1330057523, 1330057517, 1330057526, 1330057520, 1330057514, 1330057528)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.56703424453735 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 15:14:02.279608
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/15/12/image_19012025_15_12_02_754067_0003.jpg', '/home/pi/Desktop/images/19012025/15/13/image_19012025_15_13_02_931506_0000.jpg', '/home/pi/Desktop/images/19012025/15/13/image_19012025_15_13_02_931506_0001.jpg', '/home/pi/Desktop/images/19012025/15/13/image_19012025_15_13_02_931506_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/15/12/image_19012025_15_12_02_754067_0003.jpg
/home/pi/Desktop/images/19012025/15/13/image_19012025_15_13_02_931506_0000.jpg
/home/pi/Desktop/images/19012025/15/13/image_19012025_15_13_02_931506_0001.jpg
/home/pi/Desktop/images/19012025/15/13/image_19012025_15_13_02_931506_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330057544","1330057534","1330057539","1330057535"],"photo_ids_order":["1330057534","1330057535","1330057539","1330057544"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/f47470c02254c2602167a6ac2975bd49.jpg","text":"TemporaryFile(/tmp/multipartBody4940847888022749901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737296113383,"filename":"image_19012025_15_13_02_931506_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/299fa46fd127dc3e8856c1090865bb38.jpg","text":"TemporaryFile(/tmp/multipartBody3792134897736091602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737296113383,"filename":"image_19012025_15_12_02_754067_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/0c459164a3fdb6a79eb0eff414aa965e.jpg","text":"TemporaryFile(/tmp/multipartBody634834730353343773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737296113383,"filename":"image_19012025_15_13_02_931506_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/311f1f675fddfaea04474937677ff82a.jpg","text":"TemporaryFile(/tmp/multipartBody8949931320197338467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737296113383,"filename":"image_19012025_15_13_02_931506_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330057539","file1":"1330057535","file0":"1330057534","file3":"1330057544"},"map_files_photo_id_array":[{"photo_id":"1330057539","filename":"file2"},{"photo_id":"1330057535","filename":"file1"},{"photo_id":"1330057534","filename":"file0"},{"photo_id":"1330057544","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330057544":["hashtag1","hashtag2"]},{"1330057534":["hashtag1","hashtag2"]},{"1330057539":["hashtag1","hashtag2"]},{"1330057535":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330057544, 1330057534, 1330057539, 1330057535)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.78214931488037 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-19 15:14:51.828877
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/15/13/image_19012025_15_13_02_931506_0003.jpg', '/home/pi/Desktop/images/19012025/15/14/image_19012025_15_14_03_076947_0000.jpg', '/home/pi/Desktop/images/19012025/15/14/image_19012025_15_14_03_076947_0001.jpg', '/home/pi/Desktop/images/19012025/15/14/image_19012025_15_14_03_076947_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/15/13/image_19012025_15_13_02_931506_0003.jpg
/home/pi/Desktop/images/19012025/15/14/image_19012025_15_14_03_076947_0000.jpg
/home/pi/Desktop/images/19012025/15/14/image_19012025_15_14_03_076947_0001.jpg
/home/pi/Desktop/images/19012025/15/14/image_19012025_15_14_03_076947_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":["1330057663","1330057726","1330057725","1330057697"],"photo_ids_order":["1330057663","1330057697","1330057725","1330057726"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/da1f40d59caa72492dd7cbb57a159b1c.jpg","text":"TemporaryFile(/tmp/multipartBody7959912645886478612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737296162789,"filename":"image_19012025_15_13_02_931506_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/8837d50e22e74e415efa8432438b8c47.jpg","text":"TemporaryFile(/tmp/multipartBody6039256074949731801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737296162789,"filename":"image_19012025_15_14_03_076947_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/bf99baf0ee231f783a80a49dd55a491f.jpg","text":"TemporaryFile(/tmp/multipartBody6991886305672537193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737296162789,"filename":"image_19012025_15_14_03_076947_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/e3412a9292d9ba952dd12d10d3a9d34f.jpg","text":"TemporaryFile(/tmp/multipartBody5775858928602552203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737296162789,"filename":"image_19012025_15_14_03_076947_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330057725","file1":"1330057697","file0":"1330057663","file3":"1330057726"},"map_files_photo_id_array":[{"photo_id":"1330057725","filename":"file2"},{"photo_id":"1330057697","filename":"file1"},{"photo_id":"1330057663","filename":"file0"},{"photo_id":"1330057726","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330057663":["hashtag1","hashtag2"]},{"1330057726":["hashtag1","hashtag2"]},{"1330057725":["hashtag1","hashtag2"]},{"1330057697":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330057663, 1330057726, 1330057725, 1330057697)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.34406566619873 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-19 15:15:32.008549
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/15/14/image_19012025_15_14_03_076947_0003.jpg', '/home/pi/Desktop/images/19012025/15/15/image_19012025_15_15_02_233983_0000.jpg', '/home/pi/Desktop/images/19012025/15/15/image_19012025_15_15_02_233983_0001.jpg', '/home/pi/Desktop/images/19012025/15/15/image_19012025_15_15_02_233983_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/15/14/image_19012025_15_14_03_076947_0003.jpg
/home/pi/Desktop/images/19012025/15/15/image_19012025_15_15_02_233983_0000.jpg
/home/pi/Desktop/images/19012025/15/15/image_19012025_15_15_02_233983_0001.jpg
/home/pi/Desktop/images/19012025/15/15/image_19012025_15_15_02_233983_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330057742","1330057744","1330057740","1330057737"],"photo_ids_order":["1330057737","1330057740","1330057742","1330057744"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/0e1abbd4519209964ee748247204c123.jpg","text":"TemporaryFile(/tmp/multipartBody4655072207356155334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737296203096,"filename":"image_19012025_15_15_02_233983_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/717598998793bf471cf39e381db12cf3.jpg","text":"TemporaryFile(/tmp/multipartBody5777201341693725846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737296203096,"filename":"image_19012025_15_15_02_233983_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/944917e76db2bc8969008b3fb7bb955f.jpg","text":"TemporaryFile(/tmp/multipartBody8842436735840125778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737296203096,"filename":"image_19012025_15_15_02_233983_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/b72102eb798e37e2012a17b4ed061d68.jpg","text":"TemporaryFile(/tmp/multipartBody8428360246161346252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737296203096,"filename":"image_19012025_15_14_03_076947_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330057742","file1":"1330057740","file0":"1330057737","file3":"1330057744"},"map_files_photo_id_array":[{"photo_id":"1330057742","filename":"file2"},{"photo_id":"1330057740","filename":"file1"},{"photo_id":"1330057737","filename":"file0"},{"photo_id":"1330057744","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330057742":["hashtag1","hashtag2"]},{"1330057744":["hashtag1","hashtag2"]},{"1330057740":["hashtag1","hashtag2"]},{"1330057737":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330057742, 1330057744, 1330057740, 1330057737)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.654446840286255 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 15:16:22.231293
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/15/15/image_19012025_15_15_02_233983_0003.jpg', '/home/pi/Desktop/images/19012025/15/16/image_19012025_15_16_02_469683_0000.jpg', '/home/pi/Desktop/images/19012025/15/16/image_19012025_15_16_02_469683_0001.jpg', '/home/pi/Desktop/images/19012025/15/16/image_19012025_15_16_02_469683_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/15/15/image_19012025_15_15_02_233983_0003.jpg
/home/pi/Desktop/images/19012025/15/16/image_19012025_15_16_02_469683_0000.jpg
/home/pi/Desktop/images/19012025/15/16/image_19012025_15_16_02_469683_0001.jpg
/home/pi/Desktop/images/19012025/15/16/image_19012025_15_16_02_469683_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330057834","1330057801","1330057797","1330057781"],"photo_ids_order":["1330057781","1330057797","1330057801","1330057834"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/5a6c72199dbb207ea87d71e9426306a6.jpg","text":"TemporaryFile(/tmp/multipartBody1354162546457757145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737296254363,"filename":"image_19012025_15_16_02_469683_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/3ec7a3cc5a018f6138c39705efa3e468.jpg","text":"TemporaryFile(/tmp/multipartBody2153947160699854984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737296254363,"filename":"image_19012025_15_16_02_469683_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/f0c84f6f35d7300c1eb9c77acb2e25f1.jpg","text":"TemporaryFile(/tmp/multipartBody9187179299532378820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737296254363,"filename":"image_19012025_15_16_02_469683_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/de7842da85a5d81076f3c289065d84a6.jpg","text":"TemporaryFile(/tmp/multipartBody1831298943081169695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737296254363,"filename":"image_19012025_15_15_02_233983_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330057801","file1":"1330057797","file0":"1330057781","file3":"1330057834"},"map_files_photo_id_array":[{"photo_id":"1330057801","filename":"file2"},{"photo_id":"1330057797","filename":"file1"},{"photo_id":"1330057781","filename":"file0"},{"photo_id":"1330057834","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330057834":["hashtag1","hashtag2"]},{"1330057801":["hashtag1","hashtag2"]},{"1330057797":["hashtag1","hashtag2"]},{"1330057781":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330057834, 1330057801, 1330057797, 1330057781)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.73362851142883 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 15:17:22.502555
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/15/16/image_19012025_15_16_02_469683_0003.jpg', '/home/pi/Desktop/images/19012025/15/17/image_19012025_15_17_02_567531_0000.jpg', '/home/pi/Desktop/images/19012025/15/17/image_19012025_15_17_02_567531_0001.jpg', '/home/pi/Desktop/images/19012025/15/17/image_19012025_15_17_02_567531_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/15/16/image_19012025_15_16_02_469683_0003.jpg
/home/pi/Desktop/images/19012025/15/17/image_19012025_15_17_02_567531_0000.jpg
/home/pi/Desktop/images/19012025/15/17/image_19012025_15_17_02_567531_0001.jpg
/home/pi/Desktop/images/19012025/15/17/image_19012025_15_17_02_567531_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330057993","1330057983","1330057986","1330057989"],"photo_ids_order":["1330057983","1330057986","1330057989","1330057993"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/34530ee65d308f437bd454b37237d8b3.jpg","text":"TemporaryFile(/tmp/multipartBody1486165298125360629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737296314145,"filename":"image_19012025_15_17_02_567531_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/964f6fede33db28fee5cf4e3fd31ed88.jpg","text":"TemporaryFile(/tmp/multipartBody6086062629696903665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737296314145,"filename":"image_19012025_15_16_02_469683_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/1731568569fb226bc55c387a3a04bcbc.jpg","text":"TemporaryFile(/tmp/multipartBody8429172236229687178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737296314145,"filename":"image_19012025_15_17_02_567531_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/86b4fb1cbcff98508779c618ef32ae06.jpg","text":"TemporaryFile(/tmp/multipartBody8026045553175497558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737296314145,"filename":"image_19012025_15_17_02_567531_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330057989","file1":"1330057986","file0":"1330057983","file3":"1330057993"},"map_files_photo_id_array":[{"photo_id":"1330057989","filename":"file2"},{"photo_id":"1330057986","filename":"file1"},{"photo_id":"1330057983","filename":"file0"},{"photo_id":"1330057993","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330057993":["hashtag1","hashtag2"]},{"1330057983":["hashtag1","hashtag2"]},{"1330057986":["hashtag1","hashtag2"]},{"1330057989":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330057993, 1330057983, 1330057986, 1330057989)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.083609104156494 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 15:18:22.593753
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/15/17/image_19012025_15_17_02_567531_0003.jpg', '/home/pi/Desktop/images/19012025/15/18/image_19012025_15_18_02_778148_0000.jpg', '/home/pi/Desktop/images/19012025/15/18/image_19012025_15_18_02_778148_0001.jpg', '/home/pi/Desktop/images/19012025/15/18/image_19012025_15_18_02_778148_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/15/17/image_19012025_15_17_02_567531_0003.jpg
/home/pi/Desktop/images/19012025/15/18/image_19012025_15_18_02_778148_0000.jpg
/home/pi/Desktop/images/19012025/15/18/image_19012025_15_18_02_778148_0001.jpg
/home/pi/Desktop/images/19012025/15/18/image_19012025_15_18_02_778148_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330058008","1330058010","1330058004","1330058012"],"photo_ids_order":["1330058004","1330058008","1330058010","1330058012"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/5cae73d1388f3aa127e721a6969d95fd.jpg","text":"TemporaryFile(/tmp/multipartBody4559331650236716307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737296373733,"filename":"image_19012025_15_18_02_778148_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/60936a5f98df556d4f1e9700ddef8b26.jpg","text":"TemporaryFile(/tmp/multipartBody6688983457177670562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737296373733,"filename":"image_19012025_15_18_02_778148_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/a2839dfacaf6f665807b135e669c72c2.jpg","text":"TemporaryFile(/tmp/multipartBody1389319721395757413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737296373733,"filename":"image_19012025_15_17_02_567531_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/de4d7adf614526cea549959fa8b044b0.jpg","text":"TemporaryFile(/tmp/multipartBody3650901153081892702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737296373733,"filename":"image_19012025_15_18_02_778148_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330058010","file1":"1330058008","file0":"1330058004","file3":"1330058012"},"map_files_photo_id_array":[{"photo_id":"1330058010","filename":"file2"},{"photo_id":"1330058008","filename":"file1"},{"photo_id":"1330058004","filename":"file0"},{"photo_id":"1330058012","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330058008":["hashtag1","hashtag2"]},{"1330058010":["hashtag1","hashtag2"]},{"1330058004":["hashtag1","hashtag2"]},{"1330058012":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330058008, 1330058010, 1330058004, 1330058012)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.11106038093567 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 15:19:21.763861
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/15/18/image_19012025_15_18_02_778148_0003.jpg', '/home/pi/Desktop/images/19012025/15/19/image_19012025_15_19_02_942621_0000.jpg', '/home/pi/Desktop/images/19012025/15/19/image_19012025_15_19_02_942621_0001.jpg', '/home/pi/Desktop/images/19012025/15/19/image_19012025_15_19_02_942621_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/15/18/image_19012025_15_18_02_778148_0003.jpg
/home/pi/Desktop/images/19012025/15/19/image_19012025_15_19_02_942621_0000.jpg
/home/pi/Desktop/images/19012025/15/19/image_19012025_15_19_02_942621_0001.jpg
/home/pi/Desktop/images/19012025/15/19/image_19012025_15_19_02_942621_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330058064","1330058075","1330058069","1330058072"],"photo_ids_order":["1330058064","1330058069","1330058072","1330058075"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/64d05dfa66b5826fe8d7c9a97abde73b.jpg","text":"TemporaryFile(/tmp/multipartBody8491454565164613765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737296433128,"filename":"image_19012025_15_18_02_778148_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/f4f7329bf644980f71bcd11cb9746ad7.jpg","text":"TemporaryFile(/tmp/multipartBody8927062213607696319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737296433128,"filename":"image_19012025_15_19_02_942621_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/a2c374eaab2c64dd7a264c4be58278a7.jpg","text":"TemporaryFile(/tmp/multipartBody5387007767698246713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737296433128,"filename":"image_19012025_15_19_02_942621_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/86b1e7c9f7d6069dc475c55cd05415ea.jpg","text":"TemporaryFile(/tmp/multipartBody6823429786228697956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737296433128,"filename":"image_19012025_15_19_02_942621_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330058072","file1":"1330058069","file0":"1330058064","file3":"1330058075"},"map_files_photo_id_array":[{"photo_id":"1330058072","filename":"file2"},{"photo_id":"1330058069","filename":"file1"},{"photo_id":"1330058064","filename":"file0"},{"photo_id":"1330058075","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330058064":["hashtag1","hashtag2"]},{"1330058075":["hashtag1","hashtag2"]},{"1330058069":["hashtag1","hashtag2"]},{"1330058072":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330058064, 1330058075, 1330058069, 1330058072)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.83704161643982 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 15:20:22.050260
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/15/19/image_19012025_15_19_02_942621_0003.jpg', '/home/pi/Desktop/images/19012025/15/20/image_19012025_15_20_02_128129_0000.jpg', '/home/pi/Desktop/images/19012025/15/20/image_19012025_15_20_02_128129_0001.jpg', '/home/pi/Desktop/images/19012025/15/20/image_19012025_15_20_02_128129_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/15/19/image_19012025_15_19_02_942621_0003.jpg
/home/pi/Desktop/images/19012025/15/20/image_19012025_15_20_02_128129_0000.jpg
/home/pi/Desktop/images/19012025/15/20/image_19012025_15_20_02_128129_0001.jpg
/home/pi/Desktop/images/19012025/15/20/image_19012025_15_20_02_128129_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330058093","1330058087","1330058090","1330058084"],"photo_ids_order":["1330058084","1330058087","1330058090","1330058093"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/61fc378f82dbb59a83079709913f5b63.jpg","text":"TemporaryFile(/tmp/multipartBody850023058363521264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737296493181,"filename":"image_19012025_15_20_02_128129_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/6f3a5801c5a97f00c4e8871316348639.jpg","text":"TemporaryFile(/tmp/multipartBody1921537690577854358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737296493181,"filename":"image_19012025_15_20_02_128129_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/65b4ad4ab28bfb6547f289a98bd6a1cb.jpg","text":"TemporaryFile(/tmp/multipartBody1642799057445451780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737296493181,"filename":"image_19012025_15_20_02_128129_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/66760de36a7a00b8632bbc8e279f15cf.jpg","text":"TemporaryFile(/tmp/multipartBody5944086084503274559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737296493181,"filename":"image_19012025_15_19_02_942621_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330058090","file1":"1330058087","file0":"1330058084","file3":"1330058093"},"map_files_photo_id_array":[{"photo_id":"1330058090","filename":"file2"},{"photo_id":"1330058087","filename":"file1"},{"photo_id":"1330058084","filename":"file0"},{"photo_id":"1330058093","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330058093":["hashtag1","hashtag2"]},{"1330058087":["hashtag1","hashtag2"]},{"1330058090":["hashtag1","hashtag2"]},{"1330058084":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330058093, 1330058087, 1330058090, 1330058084)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.62390971183777 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 15:21:02.944429
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
  port_id : 19698700
  datou_current_id : 2490825
in upload_from_sqlite, uploading in 19698700
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17012025/22/40/image_17012025_22_40_03_021622_0001.jpg', '/home/pi/Desktop/images/17012025/22/40/image_17012025_22_40_03_021622_0002.jpg', '/home/pi/Desktop/images/17012025/22/40/image_17012025_22_40_03_021622_0003.jpg', '/home/pi/Desktop/images/17012025/22/41/image_17012025_22_41_02_154570_0000.jpg', '/home/pi/Desktop/images/17012025/22/41/image_17012025_22_41_02_154570_0001.jpg', '/home/pi/Desktop/images/17012025/22/41/image_17012025_22_41_02_154570_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2490825&datou=0
/home/pi/Desktop/images/17012025/22/40/image_17012025_22_40_03_021622_0001.jpg
/home/pi/Desktop/images/17012025/22/40/image_17012025_22_40_03_021622_0002.jpg
/home/pi/Desktop/images/17012025/22/40/image_17012025_22_40_03_021622_0003.jpg
/home/pi/Desktop/images/17012025/22/41/image_17012025_22_41_02_154570_0000.jpg
/home/pi/Desktop/images/17012025/22/41/image_17012025_22_41_02_154570_0001.jpg
/home/pi/Desktop/images/17012025/22/41/image_17012025_22_41_02_154570_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330058105","1330058110","1330058101","1330058118","1330058114","1330058098"],"photo_ids_order":["1330058098","1330058101","1330058105","1330058110","1330058114","1330058118"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/263a77244e29727354e09b526282dda0.jpg","text":"TemporaryFile(/tmp/multipartBody6381673549552742958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737296540566,"filename":"image_17012025_22_40_03_021622_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/27d4cb93469f6c93ad0fd0babfa95a30.jpg","text":"TemporaryFile(/tmp/multipartBody2104217215685253388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737296540566,"filename":"image_17012025_22_41_02_154570_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/7f662ae2f222679e61bdf344065f0528.jpg","text":"TemporaryFile(/tmp/multipartBody4307367367684931505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737296540566,"filename":"image_17012025_22_40_03_021622_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/59ec3448ae5daf431dd78f496e96e3ad.jpg","text":"TemporaryFile(/tmp/multipartBody8716322188169954332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737296540566,"filename":"image_17012025_22_41_02_154570_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/b93205571407b21b4985f6475640177a.jpg","text":"TemporaryFile(/tmp/multipartBody7350619720694934009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737296540566,"filename":"image_17012025_22_41_02_154570_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/4ca950cd1f4e1583602662755ad0ee1f.jpg","text":"TemporaryFile(/tmp/multipartBody5135529532433383454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737296540566,"filename":"image_17012025_22_40_03_021622_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330058105","file1":"1330058101","file0":"1330058098","file4":"1330058114","file5":"1330058118","file3":"1330058110"},"map_files_photo_id_array":[{"photo_id":"1330058118","filename":"file5"},{"photo_id":"1330058105","filename":"file2"},{"photo_id":"1330058114","filename":"file4"},{"photo_id":"1330058101","filename":"file1"},{"photo_id":"1330058098","filename":"file0"},{"photo_id":"1330058110","filename":"file3"}],"portfolio_id":19698700,"hashtag_by_photo_ids":[{"1330058105":["hashtag1","hashtag2"]},{"1330058110":["hashtag1","hashtag2"]},{"1330058101":["hashtag1","hashtag2"]},{"1330058118":["hashtag1","hashtag2"]},{"1330058114":["hashtag1","hashtag2"]},{"1330058098":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698700 used, photo_id : ArrayBuffer(1330058105, 1330058110, 1330058101, 1330058118, 1330058114, 1330058098)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.667378664016724 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 15:22:02.773255
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/15/20/image_19012025_15_20_02_128129_0003.jpg', '/home/pi/Desktop/images/19012025/15/21/image_19012025_15_21_02_303501_0000.jpg', '/home/pi/Desktop/images/19012025/15/21/image_19012025_15_21_02_303501_0001.jpg', '/home/pi/Desktop/images/19012025/15/21/image_19012025_15_21_02_303501_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/15/20/image_19012025_15_20_02_128129_0003.jpg
/home/pi/Desktop/images/19012025/15/21/image_19012025_15_21_02_303501_0000.jpg
/home/pi/Desktop/images/19012025/15/21/image_19012025_15_21_02_303501_0001.jpg
/home/pi/Desktop/images/19012025/15/21/image_19012025_15_21_02_303501_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330058160","1330058154","1330058157","1330058153"],"photo_ids_order":["1330058153","1330058154","1330058157","1330058160"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/2203d5ba9b828f2dca681d7543061e89.jpg","text":"TemporaryFile(/tmp/multipartBody5865822023873236352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737296594317,"filename":"image_19012025_15_21_02_303501_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/f000de42cfea35dc931ca921e4a02c18.jpg","text":"TemporaryFile(/tmp/multipartBody23066554294932330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737296594317,"filename":"image_19012025_15_21_02_303501_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/304d0af2a528942d18786c557381ac75.jpg","text":"TemporaryFile(/tmp/multipartBody5191909034701270853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737296594317,"filename":"image_19012025_15_21_02_303501_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/65710b406102fc63cd453b667b5cd6d3.jpg","text":"TemporaryFile(/tmp/multipartBody1962969090027736152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737296594317,"filename":"image_19012025_15_20_02_128129_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330058157","file1":"1330058154","file0":"1330058153","file3":"1330058160"},"map_files_photo_id_array":[{"photo_id":"1330058157","filename":"file2"},{"photo_id":"1330058154","filename":"file1"},{"photo_id":"1330058153","filename":"file0"},{"photo_id":"1330058160","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330058160":["hashtag1","hashtag2"]},{"1330058154":["hashtag1","hashtag2"]},{"1330058157":["hashtag1","hashtag2"]},{"1330058153":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330058160, 1330058154, 1330058157, 1330058153)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.3663489818573 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-19 15:22:52.269051
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/15/21/image_19012025_15_21_02_303501_0003.jpg', '/home/pi/Desktop/images/19012025/15/22/image_19012025_15_22_02_452666_0000.jpg', '/home/pi/Desktop/images/19012025/15/22/image_19012025_15_22_02_452666_0001.jpg', '/home/pi/Desktop/images/19012025/15/22/image_19012025_15_22_02_452666_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/15/21/image_19012025_15_21_02_303501_0003.jpg
/home/pi/Desktop/images/19012025/15/22/image_19012025_15_22_02_452666_0000.jpg
/home/pi/Desktop/images/19012025/15/22/image_19012025_15_22_02_452666_0001.jpg
/home/pi/Desktop/images/19012025/15/22/image_19012025_15_22_02_452666_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330058179","1330058182","1330058176","1330058181"],"photo_ids_order":["1330058176","1330058179","1330058181","1330058182"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/8d8767113ef85918869217bcf89d8bc6.jpg","text":"TemporaryFile(/tmp/multipartBody8036916931407367767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737296643778,"filename":"image_19012025_15_22_02_452666_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/c154be02cade5d24daa5a050c0dea3a1.jpg","text":"TemporaryFile(/tmp/multipartBody2206990179984303571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737296643778,"filename":"image_19012025_15_22_02_452666_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/8922d102d5f808bb3126d9502c3f6cbd.jpg","text":"TemporaryFile(/tmp/multipartBody7652298169853017775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737296643778,"filename":"image_19012025_15_21_02_303501_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/010a7b3dd2cf7b62f77960deb55b4a3b.jpg","text":"TemporaryFile(/tmp/multipartBody3997390490358517881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737296643778,"filename":"image_19012025_15_22_02_452666_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330058181","file1":"1330058179","file0":"1330058176","file3":"1330058182"},"map_files_photo_id_array":[{"photo_id":"1330058181","filename":"file2"},{"photo_id":"1330058179","filename":"file1"},{"photo_id":"1330058176","filename":"file0"},{"photo_id":"1330058182","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330058179":["hashtag1","hashtag2"]},{"1330058182":["hashtag1","hashtag2"]},{"1330058176":["hashtag1","hashtag2"]},{"1330058181":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330058179, 1330058182, 1330058176, 1330058181)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.58437657356262 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-19 15:23:42.480450
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/15/22/image_19012025_15_22_02_452666_0003.jpg', '/home/pi/Desktop/images/19012025/15/23/image_19012025_15_23_02_673279_0000.jpg', '/home/pi/Desktop/images/19012025/15/23/image_19012025_15_23_02_673279_0001.jpg', '/home/pi/Desktop/images/19012025/15/23/image_19012025_15_23_02_673279_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/15/22/image_19012025_15_22_02_452666_0003.jpg
/home/pi/Desktop/images/19012025/15/23/image_19012025_15_23_02_673279_0000.jpg
/home/pi/Desktop/images/19012025/15/23/image_19012025_15_23_02_673279_0001.jpg
/home/pi/Desktop/images/19012025/15/23/image_19012025_15_23_02_673279_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":["1330058203","1330058200","1330058205","1330058198"],"photo_ids_order":["1330058198","1330058200","1330058203","1330058205"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/7fa914bba5e06ff1452726e71946362f.jpg","text":"TemporaryFile(/tmp/multipartBody5628939668767442335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737296694069,"filename":"image_19012025_15_23_02_673279_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/a7cb40ed5b0cd1481b2e5b64dc88bfda.jpg","text":"TemporaryFile(/tmp/multipartBody1894510800284640381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737296694069,"filename":"image_19012025_15_23_02_673279_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/df0936565eff349469d7059ff0dabe52.jpg","text":"TemporaryFile(/tmp/multipartBody3539306406182916247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737296694069,"filename":"image_19012025_15_23_02_673279_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/3f90aaf2607a1cc2cbe76739755cfb7c.jpg","text":"TemporaryFile(/tmp/multipartBody2466743498879018624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737296694069,"filename":"image_19012025_15_22_02_452666_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330058203","file1":"1330058200","file0":"1330058198","file3":"1330058205"},"map_files_photo_id_array":[{"photo_id":"1330058203","filename":"file2"},{"photo_id":"1330058200","filename":"file1"},{"photo_id":"1330058198","filename":"file0"},{"photo_id":"1330058205","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330058203":["hashtag1","hashtag2"]},{"1330058200":["hashtag1","hashtag2"]},{"1330058205":["hashtag1","hashtag2"]},{"1330058198":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330058203, 1330058200, 1330058205, 1330058198)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.208319664001465 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 15:24:22.603953
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/15/23/image_19012025_15_23_02_673279_0003.jpg', '/home/pi/Desktop/images/19012025/15/24/image_19012025_15_24_02_836076_0000.jpg', '/home/pi/Desktop/images/19012025/15/24/image_19012025_15_24_02_836076_0001.jpg', '/home/pi/Desktop/images/19012025/15/24/image_19012025_15_24_02_836076_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/15/23/image_19012025_15_23_02_673279_0003.jpg
/home/pi/Desktop/images/19012025/15/24/image_19012025_15_24_02_836076_0000.jpg
/home/pi/Desktop/images/19012025/15/24/image_19012025_15_24_02_836076_0001.jpg
/home/pi/Desktop/images/19012025/15/24/image_19012025_15_24_02_836076_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330058238","1330058235","1330058231","1330058228"],"photo_ids_order":["1330058228","1330058231","1330058235","1330058238"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/eaf167504449fadb3037cc293ac0bd45.jpg","text":"TemporaryFile(/tmp/multipartBody2702719848853238642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737296733912,"filename":"image_19012025_15_24_02_836076_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/a67cc366bca1f8bd0086f3e1f9e858fe.jpg","text":"TemporaryFile(/tmp/multipartBody8417052830978516498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737296733912,"filename":"image_19012025_15_24_02_836076_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/0d49d501c28acf1a5b03c6830147f50f.jpg","text":"TemporaryFile(/tmp/multipartBody8787325991863260307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737296733912,"filename":"image_19012025_15_24_02_836076_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/970c239b8bbef4c3a38147504113f7d8.jpg","text":"TemporaryFile(/tmp/multipartBody6453035694333437986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737296733912,"filename":"image_19012025_15_23_02_673279_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330058235","file1":"1330058231","file0":"1330058228","file3":"1330058238"},"map_files_photo_id_array":[{"photo_id":"1330058235","filename":"file2"},{"photo_id":"1330058231","filename":"file1"},{"photo_id":"1330058228","filename":"file0"},{"photo_id":"1330058238","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330058238":["hashtag1","hashtag2"]},{"1330058235":["hashtag1","hashtag2"]},{"1330058231":["hashtag1","hashtag2"]},{"1330058228":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330058238, 1330058235, 1330058231, 1330058228)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.937236070632935 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 15:25:21.913936
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/15/24/image_19012025_15_24_02_836076_0003.jpg', '/home/pi/Desktop/images/19012025/15/25/image_19012025_15_25_03_005538_0000.jpg', '/home/pi/Desktop/images/19012025/15/25/image_19012025_15_25_03_005538_0001.jpg', '/home/pi/Desktop/images/19012025/15/25/image_19012025_15_25_03_005538_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/15/24/image_19012025_15_24_02_836076_0003.jpg
/home/pi/Desktop/images/19012025/15/25/image_19012025_15_25_03_005538_0000.jpg
/home/pi/Desktop/images/19012025/15/25/image_19012025_15_25_03_005538_0001.jpg
/home/pi/Desktop/images/19012025/15/25/image_19012025_15_25_03_005538_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330058551","1330058281","1330058553","1330058372"],"photo_ids_order":["1330058281","1330058372","1330058551","1330058553"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/01456f32d71c94174963d4025d2a2eb2.jpg","text":"TemporaryFile(/tmp/multipartBody7936384300681613490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737296793202,"filename":"image_19012025_15_25_03_005538_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/2468e06e86c0bdbbabce7ef21fc7407d.jpg","text":"TemporaryFile(/tmp/multipartBody5507687838720591669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737296793202,"filename":"image_19012025_15_24_02_836076_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/6097982b46830cadf475bc98a49cd290.jpg","text":"TemporaryFile(/tmp/multipartBody2934384563502795614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737296793202,"filename":"image_19012025_15_25_03_005538_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/faef1b898ff46e3f20ec2305a21419f6.jpg","text":"TemporaryFile(/tmp/multipartBody2368360278860629296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737296793202,"filename":"image_19012025_15_25_03_005538_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330058551","file1":"1330058372","file0":"1330058281","file3":"1330058553"},"map_files_photo_id_array":[{"photo_id":"1330058551","filename":"file2"},{"photo_id":"1330058372","filename":"file1"},{"photo_id":"1330058281","filename":"file0"},{"photo_id":"1330058553","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330058551":["hashtag1","hashtag2"]},{"1330058281":["hashtag1","hashtag2"]},{"1330058553":["hashtag1","hashtag2"]},{"1330058372":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330058551, 1330058281, 1330058553, 1330058372)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.54058122634888 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 15:26:22.042727
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/15/25/image_19012025_15_25_03_005538_0003.jpg', '/home/pi/Desktop/images/19012025/15/26/image_19012025_15_26_02_272916_0000.jpg', '/home/pi/Desktop/images/19012025/15/26/image_19012025_15_26_02_272916_0001.jpg', '/home/pi/Desktop/images/19012025/15/26/image_19012025_15_26_02_272916_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/15/25/image_19012025_15_25_03_005538_0003.jpg
/home/pi/Desktop/images/19012025/15/26/image_19012025_15_26_02_272916_0000.jpg
/home/pi/Desktop/images/19012025/15/26/image_19012025_15_26_02_272916_0001.jpg
/home/pi/Desktop/images/19012025/15/26/image_19012025_15_26_02_272916_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330058713","1330058716","1330058706","1330058709"],"photo_ids_order":["1330058706","1330058709","1330058713","1330058716"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/4f301c13b9a5bc0ca444a80a0d825d92.jpg","text":"TemporaryFile(/tmp/multipartBody4096815931262935187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737296853474,"filename":"image_19012025_15_26_02_272916_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/6abb1275c5112abb6422c86e30dc2984.jpg","text":"TemporaryFile(/tmp/multipartBody9007298515003652570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737296853474,"filename":"image_19012025_15_26_02_272916_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/6f132630830a84d371fa5237ea3c7263.jpg","text":"TemporaryFile(/tmp/multipartBody8766642397616555870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737296853474,"filename":"image_19012025_15_25_03_005538_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/a7bb88f19b0492dca3853b7742edfefa.jpg","text":"TemporaryFile(/tmp/multipartBody7033094895459285891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737296853474,"filename":"image_19012025_15_26_02_272916_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330058713","file1":"1330058709","file0":"1330058706","file3":"1330058716"},"map_files_photo_id_array":[{"photo_id":"1330058713","filename":"file2"},{"photo_id":"1330058709","filename":"file1"},{"photo_id":"1330058706","filename":"file0"},{"photo_id":"1330058716","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330058713":["hashtag1","hashtag2"]},{"1330058716":["hashtag1","hashtag2"]},{"1330058706":["hashtag1","hashtag2"]},{"1330058709":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330058713, 1330058716, 1330058706, 1330058709)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.32169485092163 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 15:27:02.734203
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
  port_id : 19698700
  datou_current_id : 2490825
in upload_from_sqlite, uploading in 19698700
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17012025/22/41/image_17012025_22_41_02_154570_0003.jpg', '/home/pi/Desktop/images/17012025/22/42/image_17012025_22_42_02_373326_0000.jpg', '/home/pi/Desktop/images/17012025/22/42/image_17012025_22_42_02_373326_0001.jpg', '/home/pi/Desktop/images/17012025/22/42/image_17012025_22_42_02_373326_0002.jpg', '/home/pi/Desktop/images/17012025/22/42/image_17012025_22_42_02_373326_0003.jpg', '/home/pi/Desktop/images/17012025/22/43/image_17012025_22_43_02_494629_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2490825&datou=0
/home/pi/Desktop/images/17012025/22/41/image_17012025_22_41_02_154570_0003.jpg
/home/pi/Desktop/images/17012025/22/42/image_17012025_22_42_02_373326_0000.jpg
/home/pi/Desktop/images/17012025/22/42/image_17012025_22_42_02_373326_0001.jpg
/home/pi/Desktop/images/17012025/22/42/image_17012025_22_42_02_373326_0002.jpg
/home/pi/Desktop/images/17012025/22/42/image_17012025_22_42_02_373326_0003.jpg
/home/pi/Desktop/images/17012025/22/43/image_17012025_22_43_02_494629_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":["1330058794","1330058797","1330058815","1330058784","1330058742","1330058745"],"photo_ids_order":["1330058742","1330058745","1330058784","1330058794","1330058797","1330058815"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/ed5798255c6a45acee4242fefdb3582b.jpg","text":"TemporaryFile(/tmp/multipartBody4971771923289887581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737296900248,"filename":"image_17012025_22_42_02_373326_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/1365e6dbddb3b1b006c9b105c3e72fcf.jpg","text":"TemporaryFile(/tmp/multipartBody5204477817606348744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737296900248,"filename":"image_17012025_22_42_02_373326_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/1fcfeca16ed4bcb6d4b9bbb4f81b0dd9.jpg","text":"TemporaryFile(/tmp/multipartBody1672621879646164277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737296900248,"filename":"image_17012025_22_43_02_494629_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/84886e255577eab2026a97636af0e96d.jpg","text":"TemporaryFile(/tmp/multipartBody8369682487942538899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737296900248,"filename":"image_17012025_22_42_02_373326_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/d01a92f7b5bc690493605cf7345a122b.jpg","text":"TemporaryFile(/tmp/multipartBody2192419005178560329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737296900248,"filename":"image_17012025_22_41_02_154570_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/d41166dcb6d78efb987ccdae2f295476.jpg","text":"TemporaryFile(/tmp/multipartBody4339801126679242509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737296900248,"filename":"image_17012025_22_42_02_373326_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330058784","file1":"1330058745","file0":"1330058742","file4":"1330058797","file5":"1330058815","file3":"1330058794"},"map_files_photo_id_array":[{"photo_id":"1330058815","filename":"file5"},{"photo_id":"1330058784","filename":"file2"},{"photo_id":"1330058797","filename":"file4"},{"photo_id":"1330058745","filename":"file1"},{"photo_id":"1330058742","filename":"file0"},{"photo_id":"1330058794","filename":"file3"}],"portfolio_id":19698700,"hashtag_by_photo_ids":[{"1330058794":["hashtag1","hashtag2"]},{"1330058797":["hashtag1","hashtag2"]},{"1330058815":["hashtag1","hashtag2"]},{"1330058784":["hashtag1","hashtag2"]},{"1330058742":["hashtag1","hashtag2"]},{"1330058745":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698700 used, photo_id : ArrayBuffer(1330058794, 1330058797, 1330058815, 1330058784, 1330058742, 1330058745)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 61.56633520126343 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 15:28:22.452121
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/15/26/image_19012025_15_26_02_272916_0003.jpg', '/home/pi/Desktop/images/19012025/15/27/image_19012025_15_27_02_481516_0000.jpg', '/home/pi/Desktop/images/19012025/15/27/image_19012025_15_27_02_481516_0001.jpg', '/home/pi/Desktop/images/19012025/15/27/image_19012025_15_27_02_481516_0002.jpg', '/home/pi/Desktop/images/19012025/15/27/image_19012025_15_27_02_481516_0003.jpg', '/home/pi/Desktop/images/19012025/15/28/image_19012025_15_28_02_536937_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/15/26/image_19012025_15_26_02_272916_0003.jpg
/home/pi/Desktop/images/19012025/15/27/image_19012025_15_27_02_481516_0000.jpg
/home/pi/Desktop/images/19012025/15/27/image_19012025_15_27_02_481516_0001.jpg
/home/pi/Desktop/images/19012025/15/27/image_19012025_15_27_02_481516_0002.jpg
/home/pi/Desktop/images/19012025/15/27/image_19012025_15_27_02_481516_0003.jpg
/home/pi/Desktop/images/19012025/15/28/image_19012025_15_28_02_536937_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":["1330058941","1330058943","1330058934","1330058937","1330058945","1330058939"],"photo_ids_order":["1330058934","1330058937","1330058939","1330058941","1330058943","1330058945"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/a5555eaf28ab8dec0e4a77218a9294b4.jpg","text":"TemporaryFile(/tmp/multipartBody2499050956332695726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737296979634,"filename":"image_19012025_15_27_02_481516_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/6a075a17bcd0b31918202b58c13e1355.jpg","text":"TemporaryFile(/tmp/multipartBody4678754967299831224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737296979634,"filename":"image_19012025_15_27_02_481516_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/8570ca571da479cf193a293325d9fc9b.jpg","text":"TemporaryFile(/tmp/multipartBody6512208641391055740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737296979634,"filename":"image_19012025_15_26_02_272916_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/fc3ab82f65ad40985cbd58b464a05cdc.jpg","text":"TemporaryFile(/tmp/multipartBody3098225360581503323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737296979634,"filename":"image_19012025_15_27_02_481516_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/8d7573610908cf3fd27cf1ee761dfcf7.jpg","text":"TemporaryFile(/tmp/multipartBody5592107224125157330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737296979634,"filename":"image_19012025_15_28_02_536937_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/e24b88111eb88cb07eee5075a7b0317b.jpg","text":"TemporaryFile(/tmp/multipartBody7859760320341953781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737296979634,"filename":"image_19012025_15_27_02_481516_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330058939","file1":"1330058937","file0":"1330058934","file4":"1330058943","file5":"1330058945","file3":"1330058941"},"map_files_photo_id_array":[{"photo_id":"1330058945","filename":"file5"},{"photo_id":"1330058939","filename":"file2"},{"photo_id":"1330058943","filename":"file4"},{"photo_id":"1330058937","filename":"file1"},{"photo_id":"1330058934","filename":"file0"},{"photo_id":"1330058941","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330058941":["hashtag1","hashtag2"]},{"1330058943":["hashtag1","hashtag2"]},{"1330058934":["hashtag1","hashtag2"]},{"1330058937":["hashtag1","hashtag2"]},{"1330058945":["hashtag1","hashtag2"]},{"1330058939":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330058941, 1330058943, 1330058934, 1330058937, 1330058945, 1330058939)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.33811926841736 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 15:29:22.563493
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/15/28/image_19012025_15_28_02_536937_0001.jpg', '/home/pi/Desktop/images/19012025/15/28/image_19012025_15_28_02_536937_0002.jpg', '/home/pi/Desktop/images/19012025/15/28/image_19012025_15_28_02_536937_0003.jpg', '/home/pi/Desktop/images/19012025/15/29/image_19012025_15_29_02_731182_0000.jpg', '/home/pi/Desktop/images/19012025/15/29/image_19012025_15_29_02_731182_0001.jpg', '/home/pi/Desktop/images/19012025/15/29/image_19012025_15_29_02_731182_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/15/28/image_19012025_15_28_02_536937_0001.jpg
/home/pi/Desktop/images/19012025/15/28/image_19012025_15_28_02_536937_0002.jpg
/home/pi/Desktop/images/19012025/15/28/image_19012025_15_28_02_536937_0003.jpg
/home/pi/Desktop/images/19012025/15/29/image_19012025_15_29_02_731182_0000.jpg
/home/pi/Desktop/images/19012025/15/29/image_19012025_15_29_02_731182_0001.jpg
/home/pi/Desktop/images/19012025/15/29/image_19012025_15_29_02_731182_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330058959","1330059112","1330059090","1330058961","1330059056","1330058957"],"photo_ids_order":["1330058957","1330058959","1330058961","1330059056","1330059090","1330059112"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/fa16e91f518a276bcf185be22846a31b.jpg","text":"TemporaryFile(/tmp/multipartBody6372845563031332529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737297039150,"filename":"image_19012025_15_28_02_536937_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/51d735b796557fc93ecbf74173e700e6.jpg","text":"TemporaryFile(/tmp/multipartBody4775893906493762255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737297039150,"filename":"image_19012025_15_29_02_731182_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/315ee850cc445a54f3170c24ff03c720.jpg","text":"TemporaryFile(/tmp/multipartBody2069094851094318509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737297039150,"filename":"image_19012025_15_29_02_731182_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/619c68a0b9bdb1b668cf6dfa3e9d8890.jpg","text":"TemporaryFile(/tmp/multipartBody9159796224983044077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737297039150,"filename":"image_19012025_15_28_02_536937_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/074050bb333dcb7c710888c5463723e0.jpg","text":"TemporaryFile(/tmp/multipartBody8226936239926581954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737297039150,"filename":"image_19012025_15_29_02_731182_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/b3ec6be7ea3f1cad9067c0b4a486d18f.jpg","text":"TemporaryFile(/tmp/multipartBody1895315458522672032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737297039150,"filename":"image_19012025_15_28_02_536937_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330058961","file1":"1330058959","file0":"1330058957","file4":"1330059090","file5":"1330059112","file3":"1330059056"},"map_files_photo_id_array":[{"photo_id":"1330059112","filename":"file5"},{"photo_id":"1330058961","filename":"file2"},{"photo_id":"1330059090","filename":"file4"},{"photo_id":"1330058959","filename":"file1"},{"photo_id":"1330058957","filename":"file0"},{"photo_id":"1330059056","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330058959":["hashtag1","hashtag2"]},{"1330059112":["hashtag1","hashtag2"]},{"1330059090":["hashtag1","hashtag2"]},{"1330058961":["hashtag1","hashtag2"]},{"1330059056":["hashtag1","hashtag2"]},{"1330058957":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330058959, 1330059112, 1330059090, 1330058961, 1330059056, 1330058957)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.193135499954224 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 15:30:22.779557
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/15/29/image_19012025_15_29_02_731182_0003.jpg', '/home/pi/Desktop/images/19012025/15/30/image_19012025_15_30_03_000399_0000.jpg', '/home/pi/Desktop/images/19012025/15/30/image_19012025_15_30_03_000399_0001.jpg', '/home/pi/Desktop/images/19012025/15/30/image_19012025_15_30_03_000399_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/15/29/image_19012025_15_29_02_731182_0003.jpg
/home/pi/Desktop/images/19012025/15/30/image_19012025_15_30_03_000399_0000.jpg
/home/pi/Desktop/images/19012025/15/30/image_19012025_15_30_03_000399_0001.jpg
/home/pi/Desktop/images/19012025/15/30/image_19012025_15_30_03_000399_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 11.183746576309204 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-19 15:30:42.715097
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/15/29/image_19012025_15_29_02_731182_0003.jpg', '/home/pi/Desktop/images/19012025/15/30/image_19012025_15_30_03_000399_0000.jpg', '/home/pi/Desktop/images/19012025/15/30/image_19012025_15_30_03_000399_0001.jpg', '/home/pi/Desktop/images/19012025/15/30/image_19012025_15_30_03_000399_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/15/29/image_19012025_15_29_02_731182_0003.jpg
/home/pi/Desktop/images/19012025/15/30/image_19012025_15_30_03_000399_0000.jpg
/home/pi/Desktop/images/19012025/15/30/image_19012025_15_30_03_000399_0001.jpg
/home/pi/Desktop/images/19012025/15/30/image_19012025_15_30_03_000399_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330059133","1330059130","1330059132","1330059128"],"photo_ids_order":["1330059128","1330059130","1330059132","1330059133"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/ef13170c31af67c0520466dff55990db.jpg","text":"TemporaryFile(/tmp/multipartBody9177966337950491139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737297114291,"filename":"image_19012025_15_30_03_000399_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/a16d743668884582434d11c6228df365.jpg","text":"TemporaryFile(/tmp/multipartBody8610038461651447755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737297114291,"filename":"image_19012025_15_30_03_000399_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/b9e8b6cb7b45453b52cf527dcc8e203f.jpg","text":"TemporaryFile(/tmp/multipartBody4653553226831697017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737297114291,"filename":"image_19012025_15_30_03_000399_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/b5573bfbe09008127adaf2f2f567353f.jpg","text":"TemporaryFile(/tmp/multipartBody757200237902458635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737297114291,"filename":"image_19012025_15_29_02_731182_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330059132","file1":"1330059130","file0":"1330059128","file3":"1330059133"},"map_files_photo_id_array":[{"photo_id":"1330059132","filename":"file2"},{"photo_id":"1330059130","filename":"file1"},{"photo_id":"1330059128","filename":"file0"},{"photo_id":"1330059133","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330059133":["hashtag1","hashtag2"]},{"1330059130":["hashtag1","hashtag2"]},{"1330059132":["hashtag1","hashtag2"]},{"1330059128":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330059133, 1330059130, 1330059132, 1330059128)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.299649477005005 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-19 15:31:31.929372
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/15/30/image_19012025_15_30_03_000399_0003.jpg', '/home/pi/Desktop/images/19012025/15/31/image_19012025_15_31_03_086725_0000.jpg', '/home/pi/Desktop/images/19012025/15/31/image_19012025_15_31_03_086725_0001.jpg', '/home/pi/Desktop/images/19012025/15/31/image_19012025_15_31_03_086725_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/15/30/image_19012025_15_30_03_000399_0003.jpg
/home/pi/Desktop/images/19012025/15/31/image_19012025_15_31_03_086725_0000.jpg
/home/pi/Desktop/images/19012025/15/31/image_19012025_15_31_03_086725_0001.jpg
/home/pi/Desktop/images/19012025/15/31/image_19012025_15_31_03_086725_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330059148","1330059142","1330059150","1330059146"],"photo_ids_order":["1330059142","1330059146","1330059148","1330059150"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/9373a09da41f38a075e1551de9177261.jpg","text":"TemporaryFile(/tmp/multipartBody8107419405337814018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737297163294,"filename":"image_19012025_15_31_03_086725_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/a194af7df14f7e9828959259e756d200.jpg","text":"TemporaryFile(/tmp/multipartBody1225528929859373003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737297163294,"filename":"image_19012025_15_30_03_000399_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/811402314beb83daa9399c3917537cf8.jpg","text":"TemporaryFile(/tmp/multipartBody4460051347605633745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737297163294,"filename":"image_19012025_15_31_03_086725_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/3721e1fcd3113d817df12cce7c849410.jpg","text":"TemporaryFile(/tmp/multipartBody694063112916957401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737297163294,"filename":"image_19012025_15_31_03_086725_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330059148","file1":"1330059146","file0":"1330059142","file3":"1330059150"},"map_files_photo_id_array":[{"photo_id":"1330059148","filename":"file2"},{"photo_id":"1330059146","filename":"file1"},{"photo_id":"1330059142","filename":"file0"},{"photo_id":"1330059150","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330059148":["hashtag1","hashtag2"]},{"1330059142":["hashtag1","hashtag2"]},{"1330059150":["hashtag1","hashtag2"]},{"1330059146":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330059148, 1330059142, 1330059150, 1330059146)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.81415033340454 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 15:32:22.140237
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/15/31/image_19012025_15_31_03_086725_0003.jpg', '/home/pi/Desktop/images/19012025/15/32/image_19012025_15_32_02_269744_0000.jpg', '/home/pi/Desktop/images/19012025/15/32/image_19012025_15_32_02_269744_0001.jpg', '/home/pi/Desktop/images/19012025/15/32/image_19012025_15_32_02_269744_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/15/31/image_19012025_15_31_03_086725_0003.jpg
/home/pi/Desktop/images/19012025/15/32/image_19012025_15_32_02_269744_0000.jpg
/home/pi/Desktop/images/19012025/15/32/image_19012025_15_32_02_269744_0001.jpg
/home/pi/Desktop/images/19012025/15/32/image_19012025_15_32_02_269744_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330059160","1330059163","1330059157","1330059166"],"photo_ids_order":["1330059157","1330059160","1330059163","1330059166"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/df3f91fbcef493f5747e60aa8559923e.jpg","text":"TemporaryFile(/tmp/multipartBody7875892897181594468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737297213561,"filename":"image_19012025_15_32_02_269744_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/b78af2c3869f233243ac0a00f101dd99.jpg","text":"TemporaryFile(/tmp/multipartBody4823032066769882425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737297213561,"filename":"image_19012025_15_32_02_269744_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/51a1062c89a463112d8bc2336cf6ad94.jpg","text":"TemporaryFile(/tmp/multipartBody3884942454953984941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737297213561,"filename":"image_19012025_15_31_03_086725_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/557bc5da6c73ac2cc1a7852d87ab45cc.jpg","text":"TemporaryFile(/tmp/multipartBody7280666607749841395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737297213561,"filename":"image_19012025_15_32_02_269744_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330059163","file1":"1330059160","file0":"1330059157","file3":"1330059166"},"map_files_photo_id_array":[{"photo_id":"1330059163","filename":"file2"},{"photo_id":"1330059160","filename":"file1"},{"photo_id":"1330059157","filename":"file0"},{"photo_id":"1330059166","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330059160":["hashtag1","hashtag2"]},{"1330059163":["hashtag1","hashtag2"]},{"1330059157":["hashtag1","hashtag2"]},{"1330059166":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330059160, 1330059163, 1330059157, 1330059166)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.48673462867737 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 15:33:02.983330
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
  port_id : 19698700
  datou_current_id : 2490825
in upload_from_sqlite, uploading in 19698700
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17012025/22/43/image_17012025_22_43_02_494629_0001.jpg', '/home/pi/Desktop/images/17012025/22/43/image_17012025_22_43_02_494629_0002.jpg', '/home/pi/Desktop/images/17012025/22/43/image_17012025_22_43_02_494629_0003.jpg', '/home/pi/Desktop/images/17012025/22/44/image_17012025_22_44_02_708989_0000.jpg', '/home/pi/Desktop/images/17012025/22/44/image_17012025_22_44_02_708989_0001.jpg', '/home/pi/Desktop/images/17012025/22/44/image_17012025_22_44_02_708989_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2490825&datou=0
/home/pi/Desktop/images/17012025/22/43/image_17012025_22_43_02_494629_0001.jpg
/home/pi/Desktop/images/17012025/22/43/image_17012025_22_43_02_494629_0002.jpg
/home/pi/Desktop/images/17012025/22/43/image_17012025_22_43_02_494629_0003.jpg
/home/pi/Desktop/images/17012025/22/44/image_17012025_22_44_02_708989_0000.jpg
/home/pi/Desktop/images/17012025/22/44/image_17012025_22_44_02_708989_0001.jpg
/home/pi/Desktop/images/17012025/22/44/image_17012025_22_44_02_708989_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330059179","1330059170","1330059182","1330059176","1330059184","1330059172"],"photo_ids_order":["1330059170","1330059172","1330059176","1330059179","1330059182","1330059184"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/31464ef7f87b2ed18c399b02be0ab57a.jpg","text":"TemporaryFile(/tmp/multipartBody7787247409656136486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737297260339,"filename":"image_17012025_22_44_02_708989_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/df506f26177d76785e3e47d5783c920a.jpg","text":"TemporaryFile(/tmp/multipartBody2195562146349613500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737297260339,"filename":"image_17012025_22_43_02_494629_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/693e05e59bfba7f7f2d2d6ead533de99.jpg","text":"TemporaryFile(/tmp/multipartBody5552766858005367394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737297260339,"filename":"image_17012025_22_44_02_708989_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/f71034ca2e4dfc2977ee7c667a146587.jpg","text":"TemporaryFile(/tmp/multipartBody27602397602860217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737297260339,"filename":"image_17012025_22_43_02_494629_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/8fa6705d0a195a93c650254c3f83ff39.jpg","text":"TemporaryFile(/tmp/multipartBody3694869731178521816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737297260339,"filename":"image_17012025_22_44_02_708989_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/b87aac7c3cd4cb40cd34db54421951dc.jpg","text":"TemporaryFile(/tmp/multipartBody8399690623584317404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737297260339,"filename":"image_17012025_22_43_02_494629_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330059176","file1":"1330059172","file0":"1330059170","file4":"1330059182","file5":"1330059184","file3":"1330059179"},"map_files_photo_id_array":[{"photo_id":"1330059184","filename":"file5"},{"photo_id":"1330059176","filename":"file2"},{"photo_id":"1330059182","filename":"file4"},{"photo_id":"1330059172","filename":"file1"},{"photo_id":"1330059170","filename":"file0"},{"photo_id":"1330059179","filename":"file3"}],"portfolio_id":19698700,"hashtag_by_photo_ids":[{"1330059179":["hashtag1","hashtag2"]},{"1330059170":["hashtag1","hashtag2"]},{"1330059182":["hashtag1","hashtag2"]},{"1330059176":["hashtag1","hashtag2"]},{"1330059184":["hashtag1","hashtag2"]},{"1330059172":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698700 used, photo_id : ArrayBuffer(1330059179, 1330059170, 1330059182, 1330059176, 1330059184, 1330059172)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.8427894115448 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 15:34:02.906239
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/15/32/image_19012025_15_32_02_269744_0003.jpg', '/home/pi/Desktop/images/19012025/15/33/image_19012025_15_33_02_508000_0000.jpg', '/home/pi/Desktop/images/19012025/15/33/image_19012025_15_33_02_508000_0001.jpg', '/home/pi/Desktop/images/19012025/15/33/image_19012025_15_33_02_508000_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/15/32/image_19012025_15_32_02_269744_0003.jpg
/home/pi/Desktop/images/19012025/15/33/image_19012025_15_33_02_508000_0000.jpg
/home/pi/Desktop/images/19012025/15/33/image_19012025_15_33_02_508000_0001.jpg
/home/pi/Desktop/images/19012025/15/33/image_19012025_15_33_02_508000_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330059220","1330059205","1330059201","1330059224"],"photo_ids_order":["1330059201","1330059205","1330059220","1330059224"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/23e334f75e049c3923caea03e044133d.jpg","text":"TemporaryFile(/tmp/multipartBody6268833833772827960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737297314038,"filename":"image_19012025_15_33_02_508000_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/89d30f73556129d555d2c19f6b12a3b4.jpg","text":"TemporaryFile(/tmp/multipartBody8683406066822515255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737297314038,"filename":"image_19012025_15_33_02_508000_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/fc2002d038200f17132bf76684bf018f.jpg","text":"TemporaryFile(/tmp/multipartBody719815317152380867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737297314038,"filename":"image_19012025_15_32_02_269744_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/33373775530ba29eae74341b51cfbc59.jpg","text":"TemporaryFile(/tmp/multipartBody9019834859455053153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737297314038,"filename":"image_19012025_15_33_02_508000_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330059220","file1":"1330059205","file0":"1330059201","file3":"1330059224"},"map_files_photo_id_array":[{"photo_id":"1330059220","filename":"file2"},{"photo_id":"1330059205","filename":"file1"},{"photo_id":"1330059201","filename":"file0"},{"photo_id":"1330059224","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330059220":["hashtag1","hashtag2"]},{"1330059205":["hashtag1","hashtag2"]},{"1330059201":["hashtag1","hashtag2"]},{"1330059224":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330059220, 1330059205, 1330059201, 1330059224)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.256627559661865 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-19 15:34:52.413776
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/15/33/image_19012025_15_33_02_508000_0003.jpg', '/home/pi/Desktop/images/19012025/15/34/image_19012025_15_34_02_729252_0000.jpg', '/home/pi/Desktop/images/19012025/15/34/image_19012025_15_34_02_729252_0001.jpg', '/home/pi/Desktop/images/19012025/15/34/image_19012025_15_34_02_729252_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/15/33/image_19012025_15_33_02_508000_0003.jpg
/home/pi/Desktop/images/19012025/15/34/image_19012025_15_34_02_729252_0000.jpg
/home/pi/Desktop/images/19012025/15/34/image_19012025_15_34_02_729252_0001.jpg
/home/pi/Desktop/images/19012025/15/34/image_19012025_15_34_02_729252_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.780380725860596 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 15:35:22.591924
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/15/33/image_19012025_15_33_02_508000_0003.jpg', '/home/pi/Desktop/images/19012025/15/34/image_19012025_15_34_02_729252_0000.jpg', '/home/pi/Desktop/images/19012025/15/34/image_19012025_15_34_02_729252_0001.jpg', '/home/pi/Desktop/images/19012025/15/34/image_19012025_15_34_02_729252_0002.jpg', '/home/pi/Desktop/images/19012025/15/34/image_19012025_15_34_02_729252_0003.jpg', '/home/pi/Desktop/images/19012025/15/35/image_19012025_15_35_02_759637_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/15/33/image_19012025_15_33_02_508000_0003.jpg
/home/pi/Desktop/images/19012025/15/34/image_19012025_15_34_02_729252_0000.jpg
/home/pi/Desktop/images/19012025/15/34/image_19012025_15_34_02_729252_0001.jpg
/home/pi/Desktop/images/19012025/15/34/image_19012025_15_34_02_729252_0002.jpg
/home/pi/Desktop/images/19012025/15/34/image_19012025_15_34_02_729252_0003.jpg
/home/pi/Desktop/images/19012025/15/35/image_19012025_15_35_02_759637_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":["1330059937","1330059972","1330059846","1330059974","1330059935","1330059764"],"photo_ids_order":["1330059764","1330059846","1330059935","1330059937","1330059972","1330059974"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/0fb0bf9fc4cc2a0bab680986cc0ac8a2.jpg","text":"TemporaryFile(/tmp/multipartBody2154940106828422563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737297398742,"filename":"image_19012025_15_34_02_729252_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/781f934e7bf487ca7cec9cd6505a969a.jpg","text":"TemporaryFile(/tmp/multipartBody2320019253683387385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737297398742,"filename":"image_19012025_15_34_02_729252_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/a57c1801b5d0c75e7449413c190a8caa.jpg","text":"TemporaryFile(/tmp/multipartBody6746201576919678199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737297398742,"filename":"image_19012025_15_34_02_729252_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/6e334ac92fba4a6aef4356c5ae5d553c.jpg","text":"TemporaryFile(/tmp/multipartBody8939844804546494427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737297398742,"filename":"image_19012025_15_35_02_759637_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/52f9d610906bc80c45149a170fd88e26.jpg","text":"TemporaryFile(/tmp/multipartBody5339465306690575298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737297398742,"filename":"image_19012025_15_34_02_729252_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/00654657c40e2f93457951cb2a4cc029.jpg","text":"TemporaryFile(/tmp/multipartBody7094097323206952935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737297398742,"filename":"image_19012025_15_33_02_508000_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330059935","file1":"1330059846","file0":"1330059764","file4":"1330059972","file5":"1330059974","file3":"1330059937"},"map_files_photo_id_array":[{"photo_id":"1330059974","filename":"file5"},{"photo_id":"1330059935","filename":"file2"},{"photo_id":"1330059972","filename":"file4"},{"photo_id":"1330059846","filename":"file1"},{"photo_id":"1330059764","filename":"file0"},{"photo_id":"1330059937","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330059937":["hashtag1","hashtag2"]},{"1330059972":["hashtag1","hashtag2"]},{"1330059846":["hashtag1","hashtag2"]},{"1330059974":["hashtag1","hashtag2"]},{"1330059935":["hashtag1","hashtag2"]},{"1330059764":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330059937, 1330059972, 1330059846, 1330059974, 1330059935, 1330059764)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.53493809700012 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 15:36:21.944934
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/15/35/image_19012025_15_35_02_759637_0001.jpg', '/home/pi/Desktop/images/19012025/15/35/image_19012025_15_35_02_759637_0002.jpg', '/home/pi/Desktop/images/19012025/15/35/image_19012025_15_35_02_759637_0003.jpg', '/home/pi/Desktop/images/19012025/15/36/image_19012025_15_36_02_998056_0000.jpg', '/home/pi/Desktop/images/19012025/15/36/image_19012025_15_36_02_998056_0001.jpg', '/home/pi/Desktop/images/19012025/15/36/image_19012025_15_36_02_998056_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/15/35/image_19012025_15_35_02_759637_0001.jpg
/home/pi/Desktop/images/19012025/15/35/image_19012025_15_35_02_759637_0002.jpg
/home/pi/Desktop/images/19012025/15/35/image_19012025_15_35_02_759637_0003.jpg
/home/pi/Desktop/images/19012025/15/36/image_19012025_15_36_02_998056_0000.jpg
/home/pi/Desktop/images/19012025/15/36/image_19012025_15_36_02_998056_0001.jpg
/home/pi/Desktop/images/19012025/15/36/image_19012025_15_36_02_998056_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330060156","1330060152","1330060248","1330060149","1330060146","1330060154"],"photo_ids_order":["1330060146","1330060149","1330060152","1330060154","1330060156","1330060248"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/2211d846b8c0a5630219c4428af9b35c.jpg","text":"TemporaryFile(/tmp/multipartBody535580847050981126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737297457397,"filename":"image_19012025_15_36_02_998056_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/8d065c2ba0ebb21ee79ffa47f5b68068.jpg","text":"TemporaryFile(/tmp/multipartBody1549376213454367308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737297457397,"filename":"image_19012025_15_35_02_759637_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/affbd20b4022bdd6f9183c5b7a08a00b.jpg","text":"TemporaryFile(/tmp/multipartBody9187334741999179338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737297457397,"filename":"image_19012025_15_36_02_998056_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/3e950d6ff848c9c5afbfeeb109c79b01.jpg","text":"TemporaryFile(/tmp/multipartBody98233227088404408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737297457397,"filename":"image_19012025_15_35_02_759637_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/3bf39fe36ca8e5167fce64f7788594c3.jpg","text":"TemporaryFile(/tmp/multipartBody4753208913470326135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737297457397,"filename":"image_19012025_15_35_02_759637_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/5556eda86069a063b197abf6a5340413.jpg","text":"TemporaryFile(/tmp/multipartBody4499649700682783235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737297457397,"filename":"image_19012025_15_36_02_998056_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330060152","file1":"1330060149","file0":"1330060146","file4":"1330060156","file5":"1330060248","file3":"1330060154"},"map_files_photo_id_array":[{"photo_id":"1330060248","filename":"file5"},{"photo_id":"1330060152","filename":"file2"},{"photo_id":"1330060156","filename":"file4"},{"photo_id":"1330060149","filename":"file1"},{"photo_id":"1330060146","filename":"file0"},{"photo_id":"1330060154","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330060156":["hashtag1","hashtag2"]},{"1330060152":["hashtag1","hashtag2"]},{"1330060248":["hashtag1","hashtag2"]},{"1330060149":["hashtag1","hashtag2"]},{"1330060146":["hashtag1","hashtag2"]},{"1330060154":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330060156, 1330060152, 1330060248, 1330060149, 1330060146, 1330060154)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.80582141876221 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 15:37:21.991926
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/15/36/image_19012025_15_36_02_998056_0003.jpg', '/home/pi/Desktop/images/19012025/15/37/image_19012025_15_37_02_207364_0000.jpg', '/home/pi/Desktop/images/19012025/15/37/image_19012025_15_37_02_207364_0001.jpg', '/home/pi/Desktop/images/19012025/15/37/image_19012025_15_37_02_207364_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/15/36/image_19012025_15_36_02_998056_0003.jpg
/home/pi/Desktop/images/19012025/15/37/image_19012025_15_37_02_207364_0000.jpg
/home/pi/Desktop/images/19012025/15/37/image_19012025_15_37_02_207364_0001.jpg
/home/pi/Desktop/images/19012025/15/37/image_19012025_15_37_02_207364_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330060387","1330060381","1330060392","1330060384"],"photo_ids_order":["1330060381","1330060384","1330060387","1330060392"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/1c95d853d8f788741962f04ee69264de.jpg","text":"TemporaryFile(/tmp/multipartBody8771557369742460824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737297512415,"filename":"image_19012025_15_37_02_207364_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/e2474e4c6127f63ea2ecad6e723e30f8.jpg","text":"TemporaryFile(/tmp/multipartBody2934434947116629511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737297512415,"filename":"image_19012025_15_36_02_998056_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/02a6cb3df01e9dbda1cb5bb562f40ca9.jpg","text":"TemporaryFile(/tmp/multipartBody6986246505412148387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737297512415,"filename":"image_19012025_15_37_02_207364_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/ad3968222c16bc1e187e7525a91e1484.jpg","text":"TemporaryFile(/tmp/multipartBody1772518048004013750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737297512415,"filename":"image_19012025_15_37_02_207364_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330060387","file1":"1330060384","file0":"1330060381","file3":"1330060392"},"map_files_photo_id_array":[{"photo_id":"1330060387","filename":"file2"},{"photo_id":"1330060384","filename":"file1"},{"photo_id":"1330060381","filename":"file0"},{"photo_id":"1330060392","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330060387":["hashtag1","hashtag2"]},{"1330060381":["hashtag1","hashtag2"]},{"1330060392":["hashtag1","hashtag2"]},{"1330060384":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330060387, 1330060381, 1330060392, 1330060384)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.80822443962097 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 15:38:02.555454
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
  port_id : 19698700
  datou_current_id : 2490825
in upload_from_sqlite, uploading in 19698700
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17012025/22/44/image_17012025_22_44_02_708989_0003.jpg', '/home/pi/Desktop/images/17012025/22/45/image_17012025_22_45_02_879529_0000.jpg', '/home/pi/Desktop/images/17012025/22/45/image_17012025_22_45_02_879529_0001.jpg', '/home/pi/Desktop/images/17012025/22/45/image_17012025_22_45_02_879529_0002.jpg', '/home/pi/Desktop/images/17012025/22/45/image_17012025_22_45_02_879529_0003.jpg', '/home/pi/Desktop/images/17012025/22/46/image_17012025_22_46_03_113256_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2490825&datou=0
/home/pi/Desktop/images/17012025/22/44/image_17012025_22_44_02_708989_0003.jpg
/home/pi/Desktop/images/17012025/22/45/image_17012025_22_45_02_879529_0000.jpg
/home/pi/Desktop/images/17012025/22/45/image_17012025_22_45_02_879529_0001.jpg
/home/pi/Desktop/images/17012025/22/45/image_17012025_22_45_02_879529_0002.jpg
/home/pi/Desktop/images/17012025/22/45/image_17012025_22_45_02_879529_0003.jpg
/home/pi/Desktop/images/17012025/22/46/image_17012025_22_46_03_113256_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":["1330060403","1330060411","1330060397","1330060406","1330060409","1330060400"],"photo_ids_order":["1330060397","1330060400","1330060403","1330060406","1330060409","1330060411"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/9d30fdf932d9a994c5f254725d50e2dc.jpg","text":"TemporaryFile(/tmp/multipartBody6816407918513499864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737297560422,"filename":"image_17012025_22_45_02_879529_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/e17aec3be7c6de77141291afed99f565.jpg","text":"TemporaryFile(/tmp/multipartBody8445589769327146325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737297560422,"filename":"image_17012025_22_46_03_113256_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/d0a9bb00d67541d832e5bf49bf492ff3.jpg","text":"TemporaryFile(/tmp/multipartBody1941176053658630537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737297560422,"filename":"image_17012025_22_44_02_708989_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/37b1eff5eaddd1bf6e3c7b054ebeec49.jpg","text":"TemporaryFile(/tmp/multipartBody2744891657685775487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737297560422,"filename":"image_17012025_22_45_02_879529_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/4164037b17abbe8843b8f9c8c5187bda.jpg","text":"TemporaryFile(/tmp/multipartBody5534785547132896288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737297560422,"filename":"image_17012025_22_45_02_879529_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/28d1f8d9685044b9cb367b69ba128300.jpg","text":"TemporaryFile(/tmp/multipartBody825294510277072569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737297560422,"filename":"image_17012025_22_45_02_879529_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330060403","file1":"1330060400","file0":"1330060397","file4":"1330060409","file5":"1330060411","file3":"1330060406"},"map_files_photo_id_array":[{"photo_id":"1330060411","filename":"file5"},{"photo_id":"1330060403","filename":"file2"},{"photo_id":"1330060409","filename":"file4"},{"photo_id":"1330060400","filename":"file1"},{"photo_id":"1330060397","filename":"file0"},{"photo_id":"1330060406","filename":"file3"}],"portfolio_id":19698700,"hashtag_by_photo_ids":[{"1330060403":["hashtag1","hashtag2"]},{"1330060411":["hashtag1","hashtag2"]},{"1330060397":["hashtag1","hashtag2"]},{"1330060406":["hashtag1","hashtag2"]},{"1330060409":["hashtag1","hashtag2"]},{"1330060400":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698700 used, photo_id : ArrayBuffer(1330060403, 1330060411, 1330060397, 1330060406, 1330060409, 1330060400)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.70212745666504 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 15:39:02.970641
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/15/37/image_19012025_15_37_02_207364_0003.jpg', '/home/pi/Desktop/images/19012025/15/38/image_19012025_15_38_02_355592_0000.jpg', '/home/pi/Desktop/images/19012025/15/38/image_19012025_15_38_02_355592_0001.jpg', '/home/pi/Desktop/images/19012025/15/38/image_19012025_15_38_02_355592_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/15/37/image_19012025_15_37_02_207364_0003.jpg
/home/pi/Desktop/images/19012025/15/38/image_19012025_15_38_02_355592_0000.jpg
/home/pi/Desktop/images/19012025/15/38/image_19012025_15_38_02_355592_0001.jpg
/home/pi/Desktop/images/19012025/15/38/image_19012025_15_38_02_355592_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330060418","1330060444","1330060452","1330060455"],"photo_ids_order":["1330060418","1330060444","1330060452","1330060455"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/811e32277f04824a8765035f2db3fd7d.jpg","text":"TemporaryFile(/tmp/multipartBody878038817222245093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737297613444,"filename":"image_19012025_15_37_02_207364_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/8c66060dbb0b1e6c77e1ce97565eef9a.jpg","text":"TemporaryFile(/tmp/multipartBody5244090743462310933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737297613444,"filename":"image_19012025_15_38_02_355592_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/51cd7d9687ed1e0a12540971fd8c8af5.jpg","text":"TemporaryFile(/tmp/multipartBody2404973208553142989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737297613444,"filename":"image_19012025_15_38_02_355592_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/f25d8badfac9d5d333a212987bd8710b.jpg","text":"TemporaryFile(/tmp/multipartBody5158937485000165563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737297613444,"filename":"image_19012025_15_38_02_355592_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330060452","file1":"1330060444","file0":"1330060418","file3":"1330060455"},"map_files_photo_id_array":[{"photo_id":"1330060452","filename":"file2"},{"photo_id":"1330060444","filename":"file1"},{"photo_id":"1330060418","filename":"file0"},{"photo_id":"1330060455","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330060418":["hashtag1","hashtag2"]},{"1330060444":["hashtag1","hashtag2"]},{"1330060452":["hashtag1","hashtag2"]},{"1330060455":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330060418, 1330060444, 1330060452, 1330060455)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.845613956451416 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-19 15:39:52.286538
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/15/38/image_19012025_15_38_02_355592_0003.jpg', '/home/pi/Desktop/images/19012025/15/39/image_19012025_15_39_02_436685_0000.jpg', '/home/pi/Desktop/images/19012025/15/39/image_19012025_15_39_02_436685_0001.jpg', '/home/pi/Desktop/images/19012025/15/39/image_19012025_15_39_02_436685_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/15/38/image_19012025_15_38_02_355592_0003.jpg
/home/pi/Desktop/images/19012025/15/39/image_19012025_15_39_02_436685_0000.jpg
/home/pi/Desktop/images/19012025/15/39/image_19012025_15_39_02_436685_0001.jpg
/home/pi/Desktop/images/19012025/15/39/image_19012025_15_39_02_436685_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":["1330060510","1330060536","1330060524","1330060535"],"photo_ids_order":["1330060510","1330060524","1330060535","1330060536"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/65e3cce5fbd71b94e6f8ec1395b8d663.jpg","text":"TemporaryFile(/tmp/multipartBody5409327354146638720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737297663244,"filename":"image_19012025_15_38_02_355592_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/6b5f1fd4c06eacc95db6d2147827802e.jpg","text":"TemporaryFile(/tmp/multipartBody1404206069666519115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737297663244,"filename":"image_19012025_15_39_02_436685_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/e2bd8797942d3d6360cd2cfc0eac05bc.jpg","text":"TemporaryFile(/tmp/multipartBody4160300827058383849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737297663244,"filename":"image_19012025_15_39_02_436685_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/97690f918ae02d40eee3453ea1673c8a.jpg","text":"TemporaryFile(/tmp/multipartBody5224176829553217332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737297663244,"filename":"image_19012025_15_39_02_436685_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330060535","file1":"1330060524","file0":"1330060510","file3":"1330060536"},"map_files_photo_id_array":[{"photo_id":"1330060535","filename":"file2"},{"photo_id":"1330060524","filename":"file1"},{"photo_id":"1330060510","filename":"file0"},{"photo_id":"1330060536","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330060510":["hashtag1","hashtag2"]},{"1330060536":["hashtag1","hashtag2"]},{"1330060524":["hashtag1","hashtag2"]},{"1330060535":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330060510, 1330060536, 1330060524, 1330060535)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.15813326835632 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-19 15:40:32.408217
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/15/39/image_19012025_15_39_02_436685_0003.jpg', '/home/pi/Desktop/images/19012025/15/40/image_19012025_15_40_02_648726_0000.jpg', '/home/pi/Desktop/images/19012025/15/40/image_19012025_15_40_02_648726_0001.jpg', '/home/pi/Desktop/images/19012025/15/40/image_19012025_15_40_02_648726_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/15/39/image_19012025_15_39_02_436685_0003.jpg
/home/pi/Desktop/images/19012025/15/40/image_19012025_15_40_02_648726_0000.jpg
/home/pi/Desktop/images/19012025/15/40/image_19012025_15_40_02_648726_0001.jpg
/home/pi/Desktop/images/19012025/15/40/image_19012025_15_40_02_648726_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330060555","1330060551","1330060553","1330060547"],"photo_ids_order":["1330060547","1330060551","1330060553","1330060555"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/ce1b345d089e786352ce34af6c736824.jpg","text":"TemporaryFile(/tmp/multipartBody629862460222983227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737297703675,"filename":"image_19012025_15_40_02_648726_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/21895441d7ac2e08283a958f2028447c.jpg","text":"TemporaryFile(/tmp/multipartBody3436488519217046421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737297703675,"filename":"image_19012025_15_40_02_648726_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/af93cd841c044deb8531ec6ee8125443.jpg","text":"TemporaryFile(/tmp/multipartBody7142954137303846410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737297703675,"filename":"image_19012025_15_40_02_648726_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/9076c73be8e828e4646ac3f5e32d4dec.jpg","text":"TemporaryFile(/tmp/multipartBody4669402076591549927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737297703675,"filename":"image_19012025_15_39_02_436685_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330060553","file1":"1330060551","file0":"1330060547","file3":"1330060555"},"map_files_photo_id_array":[{"photo_id":"1330060553","filename":"file2"},{"photo_id":"1330060551","filename":"file1"},{"photo_id":"1330060547","filename":"file0"},{"photo_id":"1330060555","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330060555":["hashtag1","hashtag2"]},{"1330060551":["hashtag1","hashtag2"]},{"1330060553":["hashtag1","hashtag2"]},{"1330060547":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330060555, 1330060551, 1330060553, 1330060547)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.06028485298157 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 15:41:22.733977
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/15/40/image_19012025_15_40_02_648726_0003.jpg', '/home/pi/Desktop/images/19012025/15/41/image_19012025_15_41_02_814632_0000.jpg', '/home/pi/Desktop/images/19012025/15/41/image_19012025_15_41_02_814632_0001.jpg', '/home/pi/Desktop/images/19012025/15/41/image_19012025_15_41_02_814632_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/15/40/image_19012025_15_40_02_648726_0003.jpg
/home/pi/Desktop/images/19012025/15/41/image_19012025_15_41_02_814632_0000.jpg
/home/pi/Desktop/images/19012025/15/41/image_19012025_15_41_02_814632_0001.jpg
/home/pi/Desktop/images/19012025/15/41/image_19012025_15_41_02_814632_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330060567","1330060563","1330060845","1330060676"],"photo_ids_order":["1330060563","1330060567","1330060676","1330060845"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/bcad22d512b4312fae0087e2071748ed.jpg","text":"TemporaryFile(/tmp/multipartBody7562853331295508424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737297753923,"filename":"image_19012025_15_41_02_814632_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/c006141d9f19c72034015637577afe82.jpg","text":"TemporaryFile(/tmp/multipartBody428632849441699309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737297753923,"filename":"image_19012025_15_40_02_648726_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/83bb5354d7cf3c57afd0c8a2d2d358f9.jpg","text":"TemporaryFile(/tmp/multipartBody3546646589844970119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737297753923,"filename":"image_19012025_15_41_02_814632_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/3c1ef91dd36c5c40e6c1267c21631cc2.jpg","text":"TemporaryFile(/tmp/multipartBody5488247571319030383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737297753923,"filename":"image_19012025_15_41_02_814632_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330060676","file1":"1330060567","file0":"1330060563","file3":"1330060845"},"map_files_photo_id_array":[{"photo_id":"1330060676","filename":"file2"},{"photo_id":"1330060567","filename":"file1"},{"photo_id":"1330060563","filename":"file0"},{"photo_id":"1330060845","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330060567":["hashtag1","hashtag2"]},{"1330060563":["hashtag1","hashtag2"]},{"1330060845":["hashtag1","hashtag2"]},{"1330060676":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330060567, 1330060563, 1330060845, 1330060676)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.475750207901 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-19 15:42:21.782304
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/15/41/image_19012025_15_41_02_814632_0003.jpg', '/home/pi/Desktop/images/19012025/15/42/image_19012025_15_42_03_018493_0000.jpg', '/home/pi/Desktop/images/19012025/15/42/image_19012025_15_42_03_018493_0001.jpg', '/home/pi/Desktop/images/19012025/15/42/image_19012025_15_42_03_018493_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/15/41/image_19012025_15_41_02_814632_0003.jpg
/home/pi/Desktop/images/19012025/15/42/image_19012025_15_42_03_018493_0000.jpg
/home/pi/Desktop/images/19012025/15/42/image_19012025_15_42_03_018493_0001.jpg
/home/pi/Desktop/images/19012025/15/42/image_19012025_15_42_03_018493_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330061085","1330060989","1330061080","1330061083"],"photo_ids_order":["1330060989","1330061080","1330061083","1330061085"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/796bfbc8b3cf9bb6a37443028e735c60.jpg","text":"TemporaryFile(/tmp/multipartBody3406894054634780929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737297813201,"filename":"image_19012025_15_42_03_018493_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/dc1e9d2f58aefe88db60398fe0a73c47.jpg","text":"TemporaryFile(/tmp/multipartBody4942839073675244222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737297813201,"filename":"image_19012025_15_41_02_814632_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/1da8041d23d0859030228663eb2bebbe.jpg","text":"TemporaryFile(/tmp/multipartBody5719035089089409479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737297813201,"filename":"image_19012025_15_42_03_018493_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/25eacf93613a458878cde6438b8c1340.jpg","text":"TemporaryFile(/tmp/multipartBody6547240328937762164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737297813201,"filename":"image_19012025_15_42_03_018493_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330061083","file1":"1330061080","file0":"1330060989","file3":"1330061085"},"map_files_photo_id_array":[{"photo_id":"1330061083","filename":"file2"},{"photo_id":"1330061080","filename":"file1"},{"photo_id":"1330060989","filename":"file0"},{"photo_id":"1330061085","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330061085":["hashtag1","hashtag2"]},{"1330060989":["hashtag1","hashtag2"]},{"1330061080":["hashtag1","hashtag2"]},{"1330061083":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330061085, 1330060989, 1330061080, 1330061083)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.90212845802307 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 15:43:22.039190
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/15/42/image_19012025_15_42_03_018493_0003.jpg', '/home/pi/Desktop/images/19012025/15/43/image_19012025_15_43_02_181641_0000.jpg', '/home/pi/Desktop/images/19012025/15/43/image_19012025_15_43_02_181641_0001.jpg', '/home/pi/Desktop/images/19012025/15/43/image_19012025_15_43_02_181641_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/15/42/image_19012025_15_42_03_018493_0003.jpg
/home/pi/Desktop/images/19012025/15/43/image_19012025_15_43_02_181641_0000.jpg
/home/pi/Desktop/images/19012025/15/43/image_19012025_15_43_02_181641_0001.jpg
/home/pi/Desktop/images/19012025/15/43/image_19012025_15_43_02_181641_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330061094","1330061129","1330061120","1330061102"],"photo_ids_order":["1330061094","1330061102","1330061120","1330061129"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/cd9cf58eb526e8ea827fd14fbef7fb22.jpg","text":"TemporaryFile(/tmp/multipartBody7264799520905692049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737297873601,"filename":"image_19012025_15_42_03_018493_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/9ca131989ba800e5a7c5b0e8eaf207de.jpg","text":"TemporaryFile(/tmp/multipartBody7109660960505669630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737297873601,"filename":"image_19012025_15_43_02_181641_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/28933de06c0e1e749ae42de16db36075.jpg","text":"TemporaryFile(/tmp/multipartBody3332405390742793516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737297873601,"filename":"image_19012025_15_43_02_181641_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/5352cb8fba23825d8675162dcb9bd7d1.jpg","text":"TemporaryFile(/tmp/multipartBody1945650639444502842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737297873601,"filename":"image_19012025_15_43_02_181641_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330061120","file1":"1330061102","file0":"1330061094","file3":"1330061129"},"map_files_photo_id_array":[{"photo_id":"1330061120","filename":"file2"},{"photo_id":"1330061102","filename":"file1"},{"photo_id":"1330061094","filename":"file0"},{"photo_id":"1330061129","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330061094":["hashtag1","hashtag2"]},{"1330061129":["hashtag1","hashtag2"]},{"1330061120":["hashtag1","hashtag2"]},{"1330061102":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330061094, 1330061129, 1330061120, 1330061102)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.500603437423706 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 15:44:02.811764
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
  port_id : 19698700
  datou_current_id : 2490825
in upload_from_sqlite, uploading in 19698700
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17012025/22/46/image_17012025_22_46_03_113256_0001.jpg', '/home/pi/Desktop/images/17012025/22/46/image_17012025_22_46_03_113256_0002.jpg', '/home/pi/Desktop/images/17012025/22/46/image_17012025_22_46_03_113256_0003.jpg', '/home/pi/Desktop/images/17012025/22/47/image_17012025_22_47_02_370589_0000.jpg', '/home/pi/Desktop/images/17012025/22/47/image_17012025_22_47_02_370589_0001.jpg', '/home/pi/Desktop/images/17012025/22/47/image_17012025_22_47_02_370589_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2490825&datou=0
/home/pi/Desktop/images/17012025/22/46/image_17012025_22_46_03_113256_0001.jpg
/home/pi/Desktop/images/17012025/22/46/image_17012025_22_46_03_113256_0002.jpg
/home/pi/Desktop/images/17012025/22/46/image_17012025_22_46_03_113256_0003.jpg
/home/pi/Desktop/images/17012025/22/47/image_17012025_22_47_02_370589_0000.jpg
/home/pi/Desktop/images/17012025/22/47/image_17012025_22_47_02_370589_0001.jpg
/home/pi/Desktop/images/17012025/22/47/image_17012025_22_47_02_370589_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330061148","1330061157","1330061144","1330061138","1330061135","1330061152"],"photo_ids_order":["1330061135","1330061138","1330061144","1330061148","1330061152","1330061157"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/3356e36ab81d6dd797f53d23d8f8b12c.jpg","text":"TemporaryFile(/tmp/multipartBody5762999703327858864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737297920479,"filename":"image_17012025_22_47_02_370589_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/ec96e8da60f9e7393c1987bc45673968.jpg","text":"TemporaryFile(/tmp/multipartBody9016135363884567894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737297920479,"filename":"image_17012025_22_47_02_370589_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/5251b6e2d9f2fcf0b11098b2042f720d.jpg","text":"TemporaryFile(/tmp/multipartBody5233086536539807780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737297920479,"filename":"image_17012025_22_46_03_113256_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/c960a887d9120695e78ec1a8781ecd88.jpg","text":"TemporaryFile(/tmp/multipartBody5991084072612245313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737297920479,"filename":"image_17012025_22_46_03_113256_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/b184d4cf00edd480ba3bf26599950a5c.jpg","text":"TemporaryFile(/tmp/multipartBody8537451910362938653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737297920479,"filename":"image_17012025_22_46_03_113256_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/a88c535723f0cb58974b0bcceeca947a.jpg","text":"TemporaryFile(/tmp/multipartBody145968310228114936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737297920479,"filename":"image_17012025_22_47_02_370589_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330061144","file1":"1330061138","file0":"1330061135","file4":"1330061152","file5":"1330061157","file3":"1330061148"},"map_files_photo_id_array":[{"photo_id":"1330061157","filename":"file5"},{"photo_id":"1330061144","filename":"file2"},{"photo_id":"1330061152","filename":"file4"},{"photo_id":"1330061138","filename":"file1"},{"photo_id":"1330061135","filename":"file0"},{"photo_id":"1330061148","filename":"file3"}],"portfolio_id":19698700,"hashtag_by_photo_ids":[{"1330061148":["hashtag1","hashtag2"]},{"1330061157":["hashtag1","hashtag2"]},{"1330061144":["hashtag1","hashtag2"]},{"1330061138":["hashtag1","hashtag2"]},{"1330061135":["hashtag1","hashtag2"]},{"1330061152":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698700 used, photo_id : ArrayBuffer(1330061148, 1330061157, 1330061144, 1330061138, 1330061135, 1330061152)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.86381721496582 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 15:45:22.594339
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/15/43/image_19012025_15_43_02_181641_0003.jpg', '/home/pi/Desktop/images/19012025/15/44/image_19012025_15_44_02_439067_0000.jpg', '/home/pi/Desktop/images/19012025/15/44/image_19012025_15_44_02_439067_0001.jpg', '/home/pi/Desktop/images/19012025/15/44/image_19012025_15_44_02_439067_0002.jpg', '/home/pi/Desktop/images/19012025/15/44/image_19012025_15_44_02_439067_0003.jpg', '/home/pi/Desktop/images/19012025/15/45/image_19012025_15_45_02_662679_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/15/43/image_19012025_15_43_02_181641_0003.jpg
/home/pi/Desktop/images/19012025/15/44/image_19012025_15_44_02_439067_0000.jpg
/home/pi/Desktop/images/19012025/15/44/image_19012025_15_44_02_439067_0001.jpg
/home/pi/Desktop/images/19012025/15/44/image_19012025_15_44_02_439067_0002.jpg
/home/pi/Desktop/images/19012025/15/44/image_19012025_15_44_02_439067_0003.jpg
/home/pi/Desktop/images/19012025/15/45/image_19012025_15_45_02_662679_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":["1330061413","1330061430","1330061406","1330061409","1330061403","1330061411"],"photo_ids_order":["1330061403","1330061406","1330061409","1330061411","1330061413","1330061430"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/6eaf745c99ec2eb6910f21dec08fbe6b.jpg","text":"TemporaryFile(/tmp/multipartBody5715536687993652073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737297998928,"filename":"image_19012025_15_44_02_439067_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/fe3cae16b918c02d073101e5bd47e459.jpg","text":"TemporaryFile(/tmp/multipartBody6267041223764560541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737297998928,"filename":"image_19012025_15_45_02_662679_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/056469c4d82bfb29eb61c70afd2c9530.jpg","text":"TemporaryFile(/tmp/multipartBody4790880875612403723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737297998928,"filename":"image_19012025_15_44_02_439067_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/e42826a60ab684fd4724732a926dd250.jpg","text":"TemporaryFile(/tmp/multipartBody2858320670019113170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737297998928,"filename":"image_19012025_15_44_02_439067_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/1222c47305389ee57d76fd89122f3fee.jpg","text":"TemporaryFile(/tmp/multipartBody1822957468144959367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737297998928,"filename":"image_19012025_15_43_02_181641_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/b93f2b1b1bea06e7008730843b6b1533.jpg","text":"TemporaryFile(/tmp/multipartBody8279548466718655513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737297998928,"filename":"image_19012025_15_44_02_439067_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330061409","file1":"1330061406","file0":"1330061403","file4":"1330061413","file5":"1330061430","file3":"1330061411"},"map_files_photo_id_array":[{"photo_id":"1330061430","filename":"file5"},{"photo_id":"1330061409","filename":"file2"},{"photo_id":"1330061413","filename":"file4"},{"photo_id":"1330061406","filename":"file1"},{"photo_id":"1330061403","filename":"file0"},{"photo_id":"1330061411","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330061413":["hashtag1","hashtag2"]},{"1330061430":["hashtag1","hashtag2"]},{"1330061406":["hashtag1","hashtag2"]},{"1330061409":["hashtag1","hashtag2"]},{"1330061403":["hashtag1","hashtag2"]},{"1330061411":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330061413, 1330061430, 1330061406, 1330061409, 1330061403, 1330061411)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.67698860168457 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 15:46:22.842032
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/15/45/image_19012025_15_45_02_662679_0001.jpg', '/home/pi/Desktop/images/19012025/15/45/image_19012025_15_45_02_662679_0002.jpg', '/home/pi/Desktop/images/19012025/15/45/image_19012025_15_45_02_662679_0003.jpg', '/home/pi/Desktop/images/19012025/15/46/image_19012025_15_46_03_036646_0000.jpg', '/home/pi/Desktop/images/19012025/15/46/image_19012025_15_46_03_036646_0001.jpg', '/home/pi/Desktop/images/19012025/15/46/image_19012025_15_46_03_036646_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/15/45/image_19012025_15_45_02_662679_0001.jpg
/home/pi/Desktop/images/19012025/15/45/image_19012025_15_45_02_662679_0002.jpg
/home/pi/Desktop/images/19012025/15/45/image_19012025_15_45_02_662679_0003.jpg
/home/pi/Desktop/images/19012025/15/46/image_19012025_15_46_03_036646_0000.jpg
/home/pi/Desktop/images/19012025/15/46/image_19012025_15_46_03_036646_0001.jpg
/home/pi/Desktop/images/19012025/15/46/image_19012025_15_46_03_036646_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330061524","1330061517","1330061526","1330061529","1330061520","1330061528"],"photo_ids_order":["1330061517","1330061520","1330061524","1330061526","1330061528","1330061529"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/ae284f3c5a28460a37da2b403b139ed6.jpg","text":"TemporaryFile(/tmp/multipartBody3037016381101649066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737298059374,"filename":"image_19012025_15_45_02_662679_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/3d7a622a3f486ee998f7850076382ec9.jpg","text":"TemporaryFile(/tmp/multipartBody257096959934865442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737298059374,"filename":"image_19012025_15_45_02_662679_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/82c1ecfcabc56003f96e7f22e146f824.jpg","text":"TemporaryFile(/tmp/multipartBody3167995083630538939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737298059374,"filename":"image_19012025_15_46_03_036646_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/3759be451b044cf708ddd184196a5fed.jpg","text":"TemporaryFile(/tmp/multipartBody7375911001401848349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737298059374,"filename":"image_19012025_15_46_03_036646_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/804d56d45a3d045ebd4f7a97566bc5f3.jpg","text":"TemporaryFile(/tmp/multipartBody3186320039234670918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737298059374,"filename":"image_19012025_15_45_02_662679_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/55f75fb3676a0338f1eefd35dbb81da7.jpg","text":"TemporaryFile(/tmp/multipartBody2482607515989554741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737298059374,"filename":"image_19012025_15_46_03_036646_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330061524","file1":"1330061520","file0":"1330061517","file4":"1330061528","file5":"1330061529","file3":"1330061526"},"map_files_photo_id_array":[{"photo_id":"1330061529","filename":"file5"},{"photo_id":"1330061524","filename":"file2"},{"photo_id":"1330061528","filename":"file4"},{"photo_id":"1330061520","filename":"file1"},{"photo_id":"1330061517","filename":"file0"},{"photo_id":"1330061526","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330061524":["hashtag1","hashtag2"]},{"1330061517":["hashtag1","hashtag2"]},{"1330061526":["hashtag1","hashtag2"]},{"1330061529":["hashtag1","hashtag2"]},{"1330061520":["hashtag1","hashtag2"]},{"1330061528":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330061524, 1330061517, 1330061526, 1330061529, 1330061520, 1330061528)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.95827794075012 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 15:47:21.886116
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/15/46/image_19012025_15_46_03_036646_0003.jpg', '/home/pi/Desktop/images/19012025/15/47/image_19012025_15_47_03_073343_0000.jpg', '/home/pi/Desktop/images/19012025/15/47/image_19012025_15_47_03_073343_0001.jpg', '/home/pi/Desktop/images/19012025/15/47/image_19012025_15_47_03_073343_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/15/46/image_19012025_15_46_03_036646_0003.jpg
/home/pi/Desktop/images/19012025/15/47/image_19012025_15_47_03_073343_0000.jpg
/home/pi/Desktop/images/19012025/15/47/image_19012025_15_47_03_073343_0001.jpg
/home/pi/Desktop/images/19012025/15/47/image_19012025_15_47_03_073343_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330061541","1330061535","1330061538","1330061543"],"photo_ids_order":["1330061535","1330061538","1330061541","1330061543"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/69395e2b810163ded71b359d6c647f0b.jpg","text":"TemporaryFile(/tmp/multipartBody8919714644325906403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737298113447,"filename":"image_19012025_15_47_03_073343_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/aa7654e7215f0eec507629844fb839a9.jpg","text":"TemporaryFile(/tmp/multipartBody2912569133238599848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737298113447,"filename":"image_19012025_15_46_03_036646_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/fa63048cb2785f2a811f3768fdb1ffbe.jpg","text":"TemporaryFile(/tmp/multipartBody3316984476906753564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737298113447,"filename":"image_19012025_15_47_03_073343_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/7cc35e31df6ef13a43b556696d489f92.jpg","text":"TemporaryFile(/tmp/multipartBody1321145827451509689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737298113447,"filename":"image_19012025_15_47_03_073343_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330061541","file1":"1330061538","file0":"1330061535","file3":"1330061543"},"map_files_photo_id_array":[{"photo_id":"1330061541","filename":"file2"},{"photo_id":"1330061538","filename":"file1"},{"photo_id":"1330061535","filename":"file0"},{"photo_id":"1330061543","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330061541":["hashtag1","hashtag2"]},{"1330061535":["hashtag1","hashtag2"]},{"1330061538":["hashtag1","hashtag2"]},{"1330061543":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330061541, 1330061535, 1330061538, 1330061543)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.33204889297485 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 15:48:02.365287
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
  port_id : 19698700
  datou_current_id : 2490825
in upload_from_sqlite, uploading in 19698700
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17012025/22/47/image_17012025_22_47_02_370589_0003.jpg', '/home/pi/Desktop/images/17012025/22/48/image_17012025_22_48_02_523162_0000.jpg', '/home/pi/Desktop/images/17012025/22/48/image_17012025_22_48_02_523162_0001.jpg', '/home/pi/Desktop/images/17012025/22/48/image_17012025_22_48_02_523162_0002.jpg', '/home/pi/Desktop/images/17012025/22/48/image_17012025_22_48_02_523162_0003.jpg', '/home/pi/Desktop/images/17012025/22/49/image_17012025_22_49_02_805844_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2490825&datou=0
/home/pi/Desktop/images/17012025/22/47/image_17012025_22_47_02_370589_0003.jpg
/home/pi/Desktop/images/17012025/22/48/image_17012025_22_48_02_523162_0000.jpg
/home/pi/Desktop/images/17012025/22/48/image_17012025_22_48_02_523162_0001.jpg
/home/pi/Desktop/images/17012025/22/48/image_17012025_22_48_02_523162_0002.jpg
/home/pi/Desktop/images/17012025/22/48/image_17012025_22_48_02_523162_0003.jpg
/home/pi/Desktop/images/17012025/22/49/image_17012025_22_49_02_805844_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":["1330061560","1330061553","1330061562","1330061550","1330061547","1330061557"],"photo_ids_order":["1330061547","1330061550","1330061553","1330061557","1330061560","1330061562"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/b16f94b51dd00094890c36291c549b56.jpg","text":"TemporaryFile(/tmp/multipartBody8490017556762720797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737298160370,"filename":"image_17012025_22_48_02_523162_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/62fee787171b2df39f2322307d05607f.jpg","text":"TemporaryFile(/tmp/multipartBody9215928969798168539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737298160370,"filename":"image_17012025_22_48_02_523162_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/72791dec0d0ffd5a82b18faf5975c44c.jpg","text":"TemporaryFile(/tmp/multipartBody351514699598435622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737298160370,"filename":"image_17012025_22_49_02_805844_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/1088fd5951d457d6a5d805ee27b33a31.jpg","text":"TemporaryFile(/tmp/multipartBody5617098753218719274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737298160370,"filename":"image_17012025_22_48_02_523162_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/41973b923870bb6dee3482ca21a41748.jpg","text":"TemporaryFile(/tmp/multipartBody6134326279134771007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737298160370,"filename":"image_17012025_22_47_02_370589_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/e7d54def808d784ce24d82933b2113c1.jpg","text":"TemporaryFile(/tmp/multipartBody1476353989040229979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737298160370,"filename":"image_17012025_22_48_02_523162_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330061553","file1":"1330061550","file0":"1330061547","file4":"1330061560","file5":"1330061562","file3":"1330061557"},"map_files_photo_id_array":[{"photo_id":"1330061562","filename":"file5"},{"photo_id":"1330061553","filename":"file2"},{"photo_id":"1330061560","filename":"file4"},{"photo_id":"1330061550","filename":"file1"},{"photo_id":"1330061547","filename":"file0"},{"photo_id":"1330061557","filename":"file3"}],"portfolio_id":19698700,"hashtag_by_photo_ids":[{"1330061560":["hashtag1","hashtag2"]},{"1330061553":["hashtag1","hashtag2"]},{"1330061562":["hashtag1","hashtag2"]},{"1330061550":["hashtag1","hashtag2"]},{"1330061547":["hashtag1","hashtag2"]},{"1330061557":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698700 used, photo_id : ArrayBuffer(1330061560, 1330061553, 1330061562, 1330061550, 1330061547, 1330061557)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.098864793777466 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 15:49:02.883194
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/15/47/image_19012025_15_47_03_073343_0003.jpg', '/home/pi/Desktop/images/19012025/15/48/image_19012025_15_48_02_246516_0000.jpg', '/home/pi/Desktop/images/19012025/15/48/image_19012025_15_48_02_246516_0001.jpg', '/home/pi/Desktop/images/19012025/15/48/image_19012025_15_48_02_246516_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/15/47/image_19012025_15_47_03_073343_0003.jpg
/home/pi/Desktop/images/19012025/15/48/image_19012025_15_48_02_246516_0000.jpg
/home/pi/Desktop/images/19012025/15/48/image_19012025_15_48_02_246516_0001.jpg
/home/pi/Desktop/images/19012025/15/48/image_19012025_15_48_02_246516_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330061809","1330061738","1330061828","1330061758"],"photo_ids_order":["1330061738","1330061758","1330061809","1330061828"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/2feb171df83162fda1b8eb30781c34dd.jpg","text":"TemporaryFile(/tmp/multipartBody2068844587434602628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737298214390,"filename":"image_19012025_15_48_02_246516_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/abc19f28d6563ed90615b858a41d79d8.jpg","text":"TemporaryFile(/tmp/multipartBody649135012178896772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737298214390,"filename":"image_19012025_15_47_03_073343_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/f3a585bee19c776ab0779cf68b60e723.jpg","text":"TemporaryFile(/tmp/multipartBody6223654281978931528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737298214390,"filename":"image_19012025_15_48_02_246516_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/afdcfa44054379ec47f0d54ffb8a7eb1.jpg","text":"TemporaryFile(/tmp/multipartBody1904634706182776964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737298214390,"filename":"image_19012025_15_48_02_246516_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330061809","file1":"1330061758","file0":"1330061738","file3":"1330061828"},"map_files_photo_id_array":[{"photo_id":"1330061809","filename":"file2"},{"photo_id":"1330061758","filename":"file1"},{"photo_id":"1330061738","filename":"file0"},{"photo_id":"1330061828","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330061809":["hashtag1","hashtag2"]},{"1330061738":["hashtag1","hashtag2"]},{"1330061828":["hashtag1","hashtag2"]},{"1330061758":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330061809, 1330061738, 1330061828, 1330061758)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.13940405845642 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-19 15:49:52.259233
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/15/48/image_19012025_15_48_02_246516_0003.jpg', '/home/pi/Desktop/images/19012025/15/49/image_19012025_15_49_02_441679_0000.jpg', '/home/pi/Desktop/images/19012025/15/49/image_19012025_15_49_02_441679_0001.jpg', '/home/pi/Desktop/images/19012025/15/49/image_19012025_15_49_02_441679_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/15/48/image_19012025_15_48_02_246516_0003.jpg
/home/pi/Desktop/images/19012025/15/49/image_19012025_15_49_02_441679_0000.jpg
/home/pi/Desktop/images/19012025/15/49/image_19012025_15_49_02_441679_0001.jpg
/home/pi/Desktop/images/19012025/15/49/image_19012025_15_49_02_441679_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330061839","1330061843","1330061837","1330061840"],"photo_ids_order":["1330061837","1330061839","1330061840","1330061843"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/bdf030810411c35356e2e8150f98c5a7.jpg","text":"TemporaryFile(/tmp/multipartBody8482185481336501574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737298263217,"filename":"image_19012025_15_49_02_441679_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/4c72ddd8b74827a796ef78182bdf0ecc.jpg","text":"TemporaryFile(/tmp/multipartBody2360964343866363475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737298263217,"filename":"image_19012025_15_49_02_441679_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/1e829219efc3423d45a8124cabf699d7.jpg","text":"TemporaryFile(/tmp/multipartBody5120547158802512870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737298263217,"filename":"image_19012025_15_48_02_246516_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/c5a1a9f1fc07200033cd1f83ceee5c57.jpg","text":"TemporaryFile(/tmp/multipartBody6165361977786025511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737298263217,"filename":"image_19012025_15_49_02_441679_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330061840","file1":"1330061839","file0":"1330061837","file3":"1330061843"},"map_files_photo_id_array":[{"photo_id":"1330061840","filename":"file2"},{"photo_id":"1330061839","filename":"file1"},{"photo_id":"1330061837","filename":"file0"},{"photo_id":"1330061843","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330061839":["hashtag1","hashtag2"]},{"1330061843":["hashtag1","hashtag2"]},{"1330061837":["hashtag1","hashtag2"]},{"1330061840":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330061839, 1330061843, 1330061837, 1330061840)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.99057984352112 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-19 15:50:42.404097
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/15/49/image_19012025_15_49_02_441679_0003.jpg', '/home/pi/Desktop/images/19012025/15/50/image_19012025_15_50_02_694543_0000.jpg', '/home/pi/Desktop/images/19012025/15/50/image_19012025_15_50_02_694543_0001.jpg', '/home/pi/Desktop/images/19012025/15/50/image_19012025_15_50_02_694543_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/15/49/image_19012025_15_49_02_441679_0003.jpg
/home/pi/Desktop/images/19012025/15/50/image_19012025_15_50_02_694543_0000.jpg
/home/pi/Desktop/images/19012025/15/50/image_19012025_15_50_02_694543_0001.jpg
/home/pi/Desktop/images/19012025/15/50/image_19012025_15_50_02_694543_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330061856","1330061861","1330061858","1330061860"],"photo_ids_order":["1330061856","1330061858","1330061860","1330061861"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/462e8f074c9df7456db1d4f1d328b7d9.jpg","text":"TemporaryFile(/tmp/multipartBody5340012328418591269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737298313639,"filename":"image_19012025_15_49_02_441679_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/704db7f620b5eaad1524b8e0564edab9.jpg","text":"TemporaryFile(/tmp/multipartBody55797551942789390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737298313639,"filename":"image_19012025_15_50_02_694543_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/4a2886abb8f23903261c2cc3f3a9fba7.jpg","text":"TemporaryFile(/tmp/multipartBody1178770074153131047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737298313639,"filename":"image_19012025_15_50_02_694543_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/01e593d6a96f3132a0390560f0ff052a.jpg","text":"TemporaryFile(/tmp/multipartBody432747988321865293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737298313639,"filename":"image_19012025_15_50_02_694543_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330061860","file1":"1330061858","file0":"1330061856","file3":"1330061861"},"map_files_photo_id_array":[{"photo_id":"1330061860","filename":"file2"},{"photo_id":"1330061858","filename":"file1"},{"photo_id":"1330061856","filename":"file0"},{"photo_id":"1330061861","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330061856":["hashtag1","hashtag2"]},{"1330061861":["hashtag1","hashtag2"]},{"1330061858":["hashtag1","hashtag2"]},{"1330061860":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330061856, 1330061861, 1330061858, 1330061860)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.26335167884827 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-19 15:51:32.656555
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/15/50/image_19012025_15_50_02_694543_0003.jpg', '/home/pi/Desktop/images/19012025/15/51/image_19012025_15_51_02_820024_0000.jpg', '/home/pi/Desktop/images/19012025/15/51/image_19012025_15_51_02_820024_0001.jpg', '/home/pi/Desktop/images/19012025/15/51/image_19012025_15_51_02_820024_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/15/50/image_19012025_15_50_02_694543_0003.jpg
/home/pi/Desktop/images/19012025/15/51/image_19012025_15_51_02_820024_0000.jpg
/home/pi/Desktop/images/19012025/15/51/image_19012025_15_51_02_820024_0001.jpg
/home/pi/Desktop/images/19012025/15/51/image_19012025_15_51_02_820024_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330061874","1330061876","1330061870","1330061872"],"photo_ids_order":["1330061870","1330061872","1330061874","1330061876"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/eb362b88f08cfbd722c8ecebb8514212.jpg","text":"TemporaryFile(/tmp/multipartBody1911354606764430447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737298363703,"filename":"image_19012025_15_51_02_820024_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/c23a4c9c15a8d549906468abd128d213.jpg","text":"TemporaryFile(/tmp/multipartBody394082874861736007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737298363703,"filename":"image_19012025_15_51_02_820024_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/8754311872f2ed339f1578600fc56a3b.jpg","text":"TemporaryFile(/tmp/multipartBody5221021832121257406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737298363703,"filename":"image_19012025_15_50_02_694543_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/7e8b478548bc0ceec45af40c03aef906.jpg","text":"TemporaryFile(/tmp/multipartBody6264345553574933214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737298363703,"filename":"image_19012025_15_51_02_820024_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330061874","file1":"1330061872","file0":"1330061870","file3":"1330061876"},"map_files_photo_id_array":[{"photo_id":"1330061874","filename":"file2"},{"photo_id":"1330061872","filename":"file1"},{"photo_id":"1330061870","filename":"file0"},{"photo_id":"1330061876","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330061874":["hashtag1","hashtag2"]},{"1330061876":["hashtag1","hashtag2"]},{"1330061870":["hashtag1","hashtag2"]},{"1330061872":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330061874, 1330061876, 1330061870, 1330061872)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.7665638923645 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 15:52:21.870087
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/15/51/image_19012025_15_51_02_820024_0003.jpg', '/home/pi/Desktop/images/19012025/15/52/image_19012025_15_52_03_040560_0000.jpg', '/home/pi/Desktop/images/19012025/15/52/image_19012025_15_52_03_040560_0001.jpg', '/home/pi/Desktop/images/19012025/15/52/image_19012025_15_52_03_040560_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/15/51/image_19012025_15_51_02_820024_0003.jpg
/home/pi/Desktop/images/19012025/15/52/image_19012025_15_52_03_040560_0000.jpg
/home/pi/Desktop/images/19012025/15/52/image_19012025_15_52_03_040560_0001.jpg
/home/pi/Desktop/images/19012025/15/52/image_19012025_15_52_03_040560_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330061911","1330061916","1330061918","1330061920"],"photo_ids_order":["1330061911","1330061916","1330061918","1330061920"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/759c85df33aef17805b55fffd9cb906b.jpg","text":"TemporaryFile(/tmp/multipartBody3543436198012451557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737298412624,"filename":"image_19012025_15_51_02_820024_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/b875238f9966dac88acde4650d7760c7.jpg","text":"TemporaryFile(/tmp/multipartBody640024776329642761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737298412624,"filename":"image_19012025_15_52_03_040560_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/cf9f905be727b6aacf1976987cc6028b.jpg","text":"TemporaryFile(/tmp/multipartBody4513897376915419327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737298412624,"filename":"image_19012025_15_52_03_040560_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/a0fdd2f1be0b03cb816f71f56519ecaf.jpg","text":"TemporaryFile(/tmp/multipartBody1682831185435493773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737298412624,"filename":"image_19012025_15_52_03_040560_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330061918","file1":"1330061916","file0":"1330061911","file3":"1330061920"},"map_files_photo_id_array":[{"photo_id":"1330061918","filename":"file2"},{"photo_id":"1330061916","filename":"file1"},{"photo_id":"1330061911","filename":"file0"},{"photo_id":"1330061920","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330061911":["hashtag1","hashtag2"]},{"1330061916":["hashtag1","hashtag2"]},{"1330061918":["hashtag1","hashtag2"]},{"1330061920":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330061911, 1330061916, 1330061918, 1330061920)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.39400243759155 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 15:53:22.058416
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/15/52/image_19012025_15_52_03_040560_0003.jpg', '/home/pi/Desktop/images/19012025/15/53/image_19012025_15_53_02_203961_0000.jpg', '/home/pi/Desktop/images/19012025/15/53/image_19012025_15_53_02_203961_0001.jpg', '/home/pi/Desktop/images/19012025/15/53/image_19012025_15_53_02_203961_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/15/52/image_19012025_15_52_03_040560_0003.jpg
/home/pi/Desktop/images/19012025/15/53/image_19012025_15_53_02_203961_0000.jpg
/home/pi/Desktop/images/19012025/15/53/image_19012025_15_53_02_203961_0001.jpg
/home/pi/Desktop/images/19012025/15/53/image_19012025_15_53_02_203961_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330061932","1330061937","1330061935","1330061929"],"photo_ids_order":["1330061929","1330061932","1330061935","1330061937"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/fc8ae1c880a125d499dfe69d994503ed.jpg","text":"TemporaryFile(/tmp/multipartBody5130814810727612150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737298473273,"filename":"image_19012025_15_53_02_203961_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/bf911fc37e095149163bfdbd3233ab74.jpg","text":"TemporaryFile(/tmp/multipartBody2119429277614506239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737298473273,"filename":"image_19012025_15_53_02_203961_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/9a63af8dbd1b6ef897f154aa10906297.jpg","text":"TemporaryFile(/tmp/multipartBody9069582373215269363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737298473273,"filename":"image_19012025_15_53_02_203961_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/eea41d552edf50ce9c1836b4733ce3d0.jpg","text":"TemporaryFile(/tmp/multipartBody7310723175394497231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737298473273,"filename":"image_19012025_15_52_03_040560_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330061935","file1":"1330061932","file0":"1330061929","file3":"1330061937"},"map_files_photo_id_array":[{"photo_id":"1330061935","filename":"file2"},{"photo_id":"1330061932","filename":"file1"},{"photo_id":"1330061929","filename":"file0"},{"photo_id":"1330061937","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330061932":["hashtag1","hashtag2"]},{"1330061937":["hashtag1","hashtag2"]},{"1330061935":["hashtag1","hashtag2"]},{"1330061929":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330061932, 1330061937, 1330061935, 1330061929)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.712411880493164 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 15:54:02.708100
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
  port_id : 19698700
  datou_current_id : 2490825
in upload_from_sqlite, uploading in 19698700
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17012025/22/49/image_17012025_22_49_02_805844_0001.jpg', '/home/pi/Desktop/images/17012025/22/49/image_17012025_22_49_02_805844_0002.jpg', '/home/pi/Desktop/images/17012025/22/49/image_17012025_22_49_02_805844_0003.jpg', '/home/pi/Desktop/images/17012025/22/50/image_17012025_22_50_03_022061_0000.jpg', '/home/pi/Desktop/images/17012025/22/50/image_17012025_22_50_03_022061_0001.jpg', '/home/pi/Desktop/images/17012025/22/50/image_17012025_22_50_03_022061_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2490825&datou=0
/home/pi/Desktop/images/17012025/22/49/image_17012025_22_49_02_805844_0001.jpg
/home/pi/Desktop/images/17012025/22/49/image_17012025_22_49_02_805844_0002.jpg
/home/pi/Desktop/images/17012025/22/49/image_17012025_22_49_02_805844_0003.jpg
/home/pi/Desktop/images/17012025/22/50/image_17012025_22_50_03_022061_0000.jpg
/home/pi/Desktop/images/17012025/22/50/image_17012025_22_50_03_022061_0001.jpg
/home/pi/Desktop/images/17012025/22/50/image_17012025_22_50_03_022061_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330061954","1330061951","1330061945","1330061948","1330061956","1330061941"],"photo_ids_order":["1330061941","1330061945","1330061948","1330061951","1330061954","1330061956"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/27a941b8856c86e6bd99742e16524543.jpg","text":"TemporaryFile(/tmp/multipartBody7978584244106078316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737298520996,"filename":"image_17012025_22_50_03_022061_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/4363481982ee466fe5647aa8e96b41b6.jpg","text":"TemporaryFile(/tmp/multipartBody2067964297273502420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737298520996,"filename":"image_17012025_22_50_03_022061_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/d63f28d8a040077e7372e82bfa872766.jpg","text":"TemporaryFile(/tmp/multipartBody45295685864826319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737298520996,"filename":"image_17012025_22_49_02_805844_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/c057fde94e3b4e8fdf7831ca56ff50db.jpg","text":"TemporaryFile(/tmp/multipartBody5458334367318666718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737298520996,"filename":"image_17012025_22_49_02_805844_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/fda2053acc89fdd33960dfd242d25200.jpg","text":"TemporaryFile(/tmp/multipartBody3262527955024461817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737298520996,"filename":"image_17012025_22_50_03_022061_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/c15c51e1dc0274e1e4bbb7d8199f3ce2.jpg","text":"TemporaryFile(/tmp/multipartBody7647619610548528254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737298520996,"filename":"image_17012025_22_49_02_805844_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330061948","file1":"1330061945","file0":"1330061941","file4":"1330061954","file5":"1330061956","file3":"1330061951"},"map_files_photo_id_array":[{"photo_id":"1330061956","filename":"file5"},{"photo_id":"1330061948","filename":"file2"},{"photo_id":"1330061954","filename":"file4"},{"photo_id":"1330061945","filename":"file1"},{"photo_id":"1330061941","filename":"file0"},{"photo_id":"1330061951","filename":"file3"}],"portfolio_id":19698700,"hashtag_by_photo_ids":[{"1330061954":["hashtag1","hashtag2"]},{"1330061951":["hashtag1","hashtag2"]},{"1330061945":["hashtag1","hashtag2"]},{"1330061948":["hashtag1","hashtag2"]},{"1330061956":["hashtag1","hashtag2"]},{"1330061941":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698700 used, photo_id : ArrayBuffer(1330061954, 1330061951, 1330061945, 1330061948, 1330061956, 1330061941)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.386635303497314 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 15:55:22.411555
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/15/53/image_19012025_15_53_02_203961_0003.jpg', '/home/pi/Desktop/images/19012025/15/54/image_19012025_15_54_02_440589_0000.jpg', '/home/pi/Desktop/images/19012025/15/54/image_19012025_15_54_02_440589_0001.jpg', '/home/pi/Desktop/images/19012025/15/54/image_19012025_15_54_02_440589_0002.jpg', '/home/pi/Desktop/images/19012025/15/54/image_19012025_15_54_02_440589_0003.jpg', '/home/pi/Desktop/images/19012025/15/55/image_19012025_15_55_02_681583_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/15/53/image_19012025_15_53_02_203961_0003.jpg
/home/pi/Desktop/images/19012025/15/54/image_19012025_15_54_02_440589_0000.jpg
/home/pi/Desktop/images/19012025/15/54/image_19012025_15_54_02_440589_0001.jpg
/home/pi/Desktop/images/19012025/15/54/image_19012025_15_54_02_440589_0002.jpg
/home/pi/Desktop/images/19012025/15/54/image_19012025_15_54_02_440589_0003.jpg
/home/pi/Desktop/images/19012025/15/55/image_19012025_15_55_02_681583_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":["1330062045","1330062012","1330062042","1330062015","1330062018","1330062046"],"photo_ids_order":["1330062012","1330062015","1330062018","1330062042","1330062045","1330062046"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/bffed14889381a142fd34850e7f52440.jpg","text":"TemporaryFile(/tmp/multipartBody9046352828066242904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737298598694,"filename":"image_19012025_15_54_02_440589_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/40b8bdffaf0855d9204707e6d9683c80.jpg","text":"TemporaryFile(/tmp/multipartBody4604469391526745989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737298598694,"filename":"image_19012025_15_53_02_203961_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/3fbf1cc6d022d5e7c4a3f2f86d76270e.jpg","text":"TemporaryFile(/tmp/multipartBody7638003231948079881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737298598694,"filename":"image_19012025_15_54_02_440589_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/1d7ada28ac8149ff374f5f2efb8e300d.jpg","text":"TemporaryFile(/tmp/multipartBody330245023670261358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737298598694,"filename":"image_19012025_15_54_02_440589_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/2ce84cd167ffd76035ed8a0be754aa41.jpg","text":"TemporaryFile(/tmp/multipartBody9164390557414332220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737298598694,"filename":"image_19012025_15_54_02_440589_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/fb4c8a8b4201f856e3b7de13428820e4.jpg","text":"TemporaryFile(/tmp/multipartBody4411450900128769262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737298598694,"filename":"image_19012025_15_55_02_681583_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330062018","file1":"1330062015","file0":"1330062012","file4":"1330062045","file5":"1330062046","file3":"1330062042"},"map_files_photo_id_array":[{"photo_id":"1330062046","filename":"file5"},{"photo_id":"1330062018","filename":"file2"},{"photo_id":"1330062045","filename":"file4"},{"photo_id":"1330062015","filename":"file1"},{"photo_id":"1330062012","filename":"file0"},{"photo_id":"1330062042","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330062045":["hashtag1","hashtag2"]},{"1330062012":["hashtag1","hashtag2"]},{"1330062042":["hashtag1","hashtag2"]},{"1330062015":["hashtag1","hashtag2"]},{"1330062018":["hashtag1","hashtag2"]},{"1330062046":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330062045, 1330062012, 1330062042, 1330062015, 1330062018, 1330062046)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.054492712020874 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 15:56:22.643506
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/15/55/image_19012025_15_55_02_681583_0001.jpg', '/home/pi/Desktop/images/19012025/15/55/image_19012025_15_55_02_681583_0002.jpg', '/home/pi/Desktop/images/19012025/15/55/image_19012025_15_55_02_681583_0003.jpg', '/home/pi/Desktop/images/19012025/15/56/image_19012025_15_56_02_745729_0000.jpg', '/home/pi/Desktop/images/19012025/15/56/image_19012025_15_56_02_745729_0001.jpg', '/home/pi/Desktop/images/19012025/15/56/image_19012025_15_56_02_745729_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/15/55/image_19012025_15_55_02_681583_0001.jpg
/home/pi/Desktop/images/19012025/15/55/image_19012025_15_55_02_681583_0002.jpg
/home/pi/Desktop/images/19012025/15/55/image_19012025_15_55_02_681583_0003.jpg
/home/pi/Desktop/images/19012025/15/56/image_19012025_15_56_02_745729_0000.jpg
/home/pi/Desktop/images/19012025/15/56/image_19012025_15_56_02_745729_0001.jpg
/home/pi/Desktop/images/19012025/15/56/image_19012025_15_56_02_745729_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330062147","1330062129","1330062140","1330062143","1330062137","1330062145"],"photo_ids_order":["1330062129","1330062137","1330062140","1330062143","1330062145","1330062147"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/a9c77e2f5c78cb478a2b22f49a9fbea3.jpg","text":"TemporaryFile(/tmp/multipartBody6479751759700186604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737298658728,"filename":"image_19012025_15_56_02_745729_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/56980b04b6fe14ae4986793752b88b47.jpg","text":"TemporaryFile(/tmp/multipartBody4425946369721241838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737298658728,"filename":"image_19012025_15_55_02_681583_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/808a8e5d23b46c9fdf40e7e68f5521af.jpg","text":"TemporaryFile(/tmp/multipartBody8382895433515633419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737298658728,"filename":"image_19012025_15_55_02_681583_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/9e534fcc682b391f5a92435041f5b488.jpg","text":"TemporaryFile(/tmp/multipartBody2357621486700598654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737298658728,"filename":"image_19012025_15_56_02_745729_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/4c5073bc7a678dec8b6c9a872e631741.jpg","text":"TemporaryFile(/tmp/multipartBody6156567757179235274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737298658728,"filename":"image_19012025_15_55_02_681583_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/66ea37783ad17d13884cdb6d0df4a4db.jpg","text":"TemporaryFile(/tmp/multipartBody3172386540659962890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737298658728,"filename":"image_19012025_15_56_02_745729_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330062140","file1":"1330062137","file0":"1330062129","file4":"1330062145","file5":"1330062147","file3":"1330062143"},"map_files_photo_id_array":[{"photo_id":"1330062147","filename":"file5"},{"photo_id":"1330062140","filename":"file2"},{"photo_id":"1330062145","filename":"file4"},{"photo_id":"1330062137","filename":"file1"},{"photo_id":"1330062129","filename":"file0"},{"photo_id":"1330062143","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330062147":["hashtag1","hashtag2"]},{"1330062129":["hashtag1","hashtag2"]},{"1330062140":["hashtag1","hashtag2"]},{"1330062143":["hashtag1","hashtag2"]},{"1330062137":["hashtag1","hashtag2"]},{"1330062145":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330062147, 1330062129, 1330062140, 1330062143, 1330062137, 1330062145)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.278247594833374 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 15:57:21.884165
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/15/56/image_19012025_15_56_02_745729_0003.jpg', '/home/pi/Desktop/images/19012025/15/57/image_19012025_15_57_02_992656_0000.jpg', '/home/pi/Desktop/images/19012025/15/57/image_19012025_15_57_02_992656_0001.jpg', '/home/pi/Desktop/images/19012025/15/57/image_19012025_15_57_02_992656_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/15/56/image_19012025_15_56_02_745729_0003.jpg
/home/pi/Desktop/images/19012025/15/57/image_19012025_15_57_02_992656_0000.jpg
/home/pi/Desktop/images/19012025/15/57/image_19012025_15_57_02_992656_0001.jpg
/home/pi/Desktop/images/19012025/15/57/image_19012025_15_57_02_992656_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330062231","1330062234","1330062236","1330062238"],"photo_ids_order":["1330062231","1330062234","1330062236","1330062238"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/19e20c57472e486ab66293bff27137d7.jpg","text":"TemporaryFile(/tmp/multipartBody1738733460275386257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737298712707,"filename":"image_19012025_15_56_02_745729_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/8ece2547a75a1c7049fe7db78eff6a47.jpg","text":"TemporaryFile(/tmp/multipartBody2723827454555292548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737298712707,"filename":"image_19012025_15_57_02_992656_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/56f256904cf150dcde7580f482cf5411.jpg","text":"TemporaryFile(/tmp/multipartBody514667363592251584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737298712707,"filename":"image_19012025_15_57_02_992656_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/d52eb4b7681169fc26edb11046ceed81.jpg","text":"TemporaryFile(/tmp/multipartBody553770289437311101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737298712707,"filename":"image_19012025_15_57_02_992656_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330062236","file1":"1330062234","file0":"1330062231","file3":"1330062238"},"map_files_photo_id_array":[{"photo_id":"1330062236","filename":"file2"},{"photo_id":"1330062234","filename":"file1"},{"photo_id":"1330062231","filename":"file0"},{"photo_id":"1330062238","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330062231":["hashtag1","hashtag2"]},{"1330062234":["hashtag1","hashtag2"]},{"1330062236":["hashtag1","hashtag2"]},{"1330062238":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330062231, 1330062234, 1330062236, 1330062238)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.732625246047974 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 15:59:02.714369
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
  port_id : 19698700
  datou_current_id : 2490825
in upload_from_sqlite, uploading in 19698700
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17012025/22/50/image_17012025_22_50_03_022061_0003.jpg', '/home/pi/Desktop/images/17012025/22/51/image_17012025_22_51_02_173784_0000.jpg', '/home/pi/Desktop/images/17012025/22/51/image_17012025_22_51_02_173784_0001.jpg', '/home/pi/Desktop/images/17012025/22/51/image_17012025_22_51_02_173784_0002.jpg', '/home/pi/Desktop/images/17012025/22/51/image_17012025_22_51_02_173784_0003.jpg', '/home/pi/Desktop/images/17012025/22/52/image_17012025_22_52_02_353345_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2490825&datou=0
/home/pi/Desktop/images/17012025/22/50/image_17012025_22_50_03_022061_0003.jpg
/home/pi/Desktop/images/17012025/22/51/image_17012025_22_51_02_173784_0000.jpg
/home/pi/Desktop/images/17012025/22/51/image_17012025_22_51_02_173784_0001.jpg
/home/pi/Desktop/images/17012025/22/51/image_17012025_22_51_02_173784_0002.jpg
/home/pi/Desktop/images/17012025/22/51/image_17012025_22_51_02_173784_0003.jpg
/home/pi/Desktop/images/17012025/22/52/image_17012025_22_52_02_353345_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":["1330062264","1330062450","1330062272","1330062259","1330062346","1330062268"],"photo_ids_order":["1330062259","1330062264","1330062268","1330062272","1330062346","1330062450"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/5fc7d617e21f7764c3868746385b8280.jpg","text":"TemporaryFile(/tmp/multipartBody6722232632557025790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737298820677,"filename":"image_17012025_22_51_02_173784_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/4203e927ab77fd6d938399562016d35a.jpg","text":"TemporaryFile(/tmp/multipartBody2928298197273379762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737298820677,"filename":"image_17012025_22_52_02_353345_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/e2bf72a7f9269de72714ecbbcda47d82.jpg","text":"TemporaryFile(/tmp/multipartBody8210855791992313763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737298820677,"filename":"image_17012025_22_51_02_173784_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/27569e45417c1bc17ad8146613e02782.jpg","text":"TemporaryFile(/tmp/multipartBody871176127259255073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737298820677,"filename":"image_17012025_22_50_03_022061_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/5f8671dd731c811518fbcfc2d1df93dd.jpg","text":"TemporaryFile(/tmp/multipartBody8998551362100630911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737298820677,"filename":"image_17012025_22_51_02_173784_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/c37eaffb1a052c1ba3a48eef624d75ee.jpg","text":"TemporaryFile(/tmp/multipartBody7271940310862397049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737298820677,"filename":"image_17012025_22_51_02_173784_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330062268","file1":"1330062264","file0":"1330062259","file4":"1330062346","file5":"1330062450","file3":"1330062272"},"map_files_photo_id_array":[{"photo_id":"1330062450","filename":"file5"},{"photo_id":"1330062268","filename":"file2"},{"photo_id":"1330062346","filename":"file4"},{"photo_id":"1330062264","filename":"file1"},{"photo_id":"1330062259","filename":"file0"},{"photo_id":"1330062272","filename":"file3"}],"portfolio_id":19698700,"hashtag_by_photo_ids":[{"1330062264":["hashtag1","hashtag2"]},{"1330062450":["hashtag1","hashtag2"]},{"1330062272":["hashtag1","hashtag2"]},{"1330062259":["hashtag1","hashtag2"]},{"1330062346":["hashtag1","hashtag2"]},{"1330062268":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698700 used, photo_id : ArrayBuffer(1330062264, 1330062450, 1330062272, 1330062259, 1330062346, 1330062268)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 64.60561299324036 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 16:00:22.457372
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/15/57/image_19012025_15_57_02_992656_0003.jpg', '/home/pi/Desktop/images/19012025/15/58/image_19012025_15_58_02_150080_0000.jpg', '/home/pi/Desktop/images/19012025/15/58/image_19012025_15_58_02_150080_0001.jpg', '/home/pi/Desktop/images/19012025/15/58/image_19012025_15_58_02_150080_0002.jpg', '/home/pi/Desktop/images/19012025/15/58/image_19012025_15_58_02_150080_0003.jpg', '/home/pi/Desktop/images/19012025/15/59/image_19012025_15_59_02_369238_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/15/57/image_19012025_15_57_02_992656_0003.jpg
/home/pi/Desktop/images/19012025/15/58/image_19012025_15_58_02_150080_0000.jpg
/home/pi/Desktop/images/19012025/15/58/image_19012025_15_58_02_150080_0001.jpg
/home/pi/Desktop/images/19012025/15/58/image_19012025_15_58_02_150080_0002.jpg
/home/pi/Desktop/images/19012025/15/58/image_19012025_15_58_02_150080_0003.jpg
/home/pi/Desktop/images/19012025/15/59/image_19012025_15_59_02_369238_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":["1330063265","1330063081","1330063084","1330063170","1330063086","1330063083"],"photo_ids_order":["1330063081","1330063083","1330063084","1330063086","1330063170","1330063265"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/c6a745b6057cf26ab115916e15a767c4.jpg","text":"TemporaryFile(/tmp/multipartBody8668645033608025603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737298898921,"filename":"image_19012025_15_59_02_369238_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/5134102af4289a0b36ee6b6bd58b734a.jpg","text":"TemporaryFile(/tmp/multipartBody3802907370435413853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737298898921,"filename":"image_19012025_15_57_02_992656_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/54dc0084d2e01735a42d4d7b0a53fb77.jpg","text":"TemporaryFile(/tmp/multipartBody6123997655409938076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737298898921,"filename":"image_19012025_15_58_02_150080_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/223a4b67dcf3d46612bee21ef6858bc7.jpg","text":"TemporaryFile(/tmp/multipartBody7763278150918766182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737298898921,"filename":"image_19012025_15_58_02_150080_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/945c14697dc1c1f1bfa833c390f57d06.jpg","text":"TemporaryFile(/tmp/multipartBody7344684353350570200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737298898921,"filename":"image_19012025_15_58_02_150080_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/f76d3a6d16ae85c59a6e22a94ca37db9.jpg","text":"TemporaryFile(/tmp/multipartBody3350918044980758491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737298898921,"filename":"image_19012025_15_58_02_150080_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330063084","file1":"1330063083","file0":"1330063081","file4":"1330063170","file5":"1330063265","file3":"1330063086"},"map_files_photo_id_array":[{"photo_id":"1330063265","filename":"file5"},{"photo_id":"1330063084","filename":"file2"},{"photo_id":"1330063170","filename":"file4"},{"photo_id":"1330063083","filename":"file1"},{"photo_id":"1330063081","filename":"file0"},{"photo_id":"1330063086","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330063265":["hashtag1","hashtag2"]},{"1330063081":["hashtag1","hashtag2"]},{"1330063084":["hashtag1","hashtag2"]},{"1330063170":["hashtag1","hashtag2"]},{"1330063086":["hashtag1","hashtag2"]},{"1330063083":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330063265, 1330063081, 1330063084, 1330063170, 1330063086, 1330063083)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.20184898376465 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 16:01:22.701549
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/15/59/image_19012025_15_59_02_369238_0001.jpg', '/home/pi/Desktop/images/19012025/15/59/image_19012025_15_59_02_369238_0002.jpg', '/home/pi/Desktop/images/19012025/15/59/image_19012025_15_59_02_369238_0003.jpg', '/home/pi/Desktop/images/19012025/16/00/image_19012025_16_00_02_545712_0000.jpg', '/home/pi/Desktop/images/19012025/16/00/image_19012025_16_00_02_545712_0001.jpg', '/home/pi/Desktop/images/19012025/16/00/image_19012025_16_00_02_545712_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/15/59/image_19012025_15_59_02_369238_0001.jpg
/home/pi/Desktop/images/19012025/15/59/image_19012025_15_59_02_369238_0002.jpg
/home/pi/Desktop/images/19012025/15/59/image_19012025_15_59_02_369238_0003.jpg
/home/pi/Desktop/images/19012025/16/00/image_19012025_16_00_02_545712_0000.jpg
/home/pi/Desktop/images/19012025/16/00/image_19012025_16_00_02_545712_0001.jpg
/home/pi/Desktop/images/19012025/16/00/image_19012025_16_00_02_545712_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330063329","1330063355","1330063334","1330063342","1330063353","1330063332"],"photo_ids_order":["1330063329","1330063332","1330063334","1330063342","1330063353","1330063355"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/8dd24d137c596eeb2171a2bd3516be55.jpg","text":"TemporaryFile(/tmp/multipartBody4035193650664794374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737298959170,"filename":"image_19012025_15_59_02_369238_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/61caff1fc24ed83e11f4793b07c6e226.jpg","text":"TemporaryFile(/tmp/multipartBody5443812573617848507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737298959170,"filename":"image_19012025_16_00_02_545712_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/15306ed518bcb66ae029d480d2f3880c.jpg","text":"TemporaryFile(/tmp/multipartBody2497076064925194547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737298959170,"filename":"image_19012025_15_59_02_369238_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/3c09ccb20b8740a2b57fd6c1fc9c79bd.jpg","text":"TemporaryFile(/tmp/multipartBody3072520626707518727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737298959170,"filename":"image_19012025_16_00_02_545712_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/27c033058d4de87fda3095de229d8f64.jpg","text":"TemporaryFile(/tmp/multipartBody555143090424344159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737298959170,"filename":"image_19012025_16_00_02_545712_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/9e1ca1e3b47d2a44f6f8dd9a2f7858be.jpg","text":"TemporaryFile(/tmp/multipartBody2304080310157376628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737298959170,"filename":"image_19012025_15_59_02_369238_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330063334","file1":"1330063332","file0":"1330063329","file4":"1330063353","file5":"1330063355","file3":"1330063342"},"map_files_photo_id_array":[{"photo_id":"1330063355","filename":"file5"},{"photo_id":"1330063334","filename":"file2"},{"photo_id":"1330063353","filename":"file4"},{"photo_id":"1330063332","filename":"file1"},{"photo_id":"1330063329","filename":"file0"},{"photo_id":"1330063342","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330063329":["hashtag1","hashtag2"]},{"1330063355":["hashtag1","hashtag2"]},{"1330063334":["hashtag1","hashtag2"]},{"1330063342":["hashtag1","hashtag2"]},{"1330063353":["hashtag1","hashtag2"]},{"1330063332":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330063329, 1330063355, 1330063334, 1330063342, 1330063353, 1330063332)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.744598388671875 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 16:02:21.820964
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/16/00/image_19012025_16_00_02_545712_0003.jpg', '/home/pi/Desktop/images/19012025/16/01/image_19012025_16_01_02_742707_0000.jpg', '/home/pi/Desktop/images/19012025/16/01/image_19012025_16_01_02_742707_0001.jpg', '/home/pi/Desktop/images/19012025/16/01/image_19012025_16_01_02_742707_0002.jpg', '/home/pi/Desktop/images/19012025/16/01/image_19012025_16_01_02_742707_0003.jpg', '/home/pi/Desktop/images/19012025/16/02/image_19012025_16_02_03_077484_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/16/00/image_19012025_16_00_02_545712_0003.jpg
/home/pi/Desktop/images/19012025/16/01/image_19012025_16_01_02_742707_0000.jpg
/home/pi/Desktop/images/19012025/16/01/image_19012025_16_01_02_742707_0001.jpg
/home/pi/Desktop/images/19012025/16/01/image_19012025_16_01_02_742707_0002.jpg
/home/pi/Desktop/images/19012025/16/01/image_19012025_16_01_02_742707_0003.jpg
/home/pi/Desktop/images/19012025/16/02/image_19012025_16_02_03_077484_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":["1330063512","1330063472","1330063478","1330063480","1330063453","1330063476"],"photo_ids_order":["1330063453","1330063472","1330063476","1330063478","1330063480","1330063512"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/68ec56d6af87030c560284b80d9a2ee5.jpg","text":"TemporaryFile(/tmp/multipartBody9021424731537554994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737299018824,"filename":"image_19012025_16_02_03_077484_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/e1f0883067ead4a286607868bcd3f849.jpg","text":"TemporaryFile(/tmp/multipartBody7473486082408002603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737299018824,"filename":"image_19012025_16_01_02_742707_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/69f796cfbd7ad88d467ab6793e0849d6.jpg","text":"TemporaryFile(/tmp/multipartBody2247902268289855021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737299018824,"filename":"image_19012025_16_01_02_742707_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/7b87053b7bf1e739ad12970f03a070f8.jpg","text":"TemporaryFile(/tmp/multipartBody6719621656049582964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737299018824,"filename":"image_19012025_16_01_02_742707_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/afb5044f49d350612e5ba0b51ed9e517.jpg","text":"TemporaryFile(/tmp/multipartBody3840176718556022157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737299018824,"filename":"image_19012025_16_00_02_545712_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/ac40bf360947b44a9f7b286641d967ff.jpg","text":"TemporaryFile(/tmp/multipartBody2328656368762492537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737299018824,"filename":"image_19012025_16_01_02_742707_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330063476","file1":"1330063472","file0":"1330063453","file4":"1330063480","file5":"1330063512","file3":"1330063478"},"map_files_photo_id_array":[{"photo_id":"1330063512","filename":"file5"},{"photo_id":"1330063476","filename":"file2"},{"photo_id":"1330063480","filename":"file4"},{"photo_id":"1330063472","filename":"file1"},{"photo_id":"1330063453","filename":"file0"},{"photo_id":"1330063478","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330063512":["hashtag1","hashtag2"]},{"1330063472":["hashtag1","hashtag2"]},{"1330063478":["hashtag1","hashtag2"]},{"1330063480":["hashtag1","hashtag2"]},{"1330063453":["hashtag1","hashtag2"]},{"1330063476":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330063512, 1330063472, 1330063478, 1330063480, 1330063453, 1330063476)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.44464683532715 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 16:03:22.027599
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/16/02/image_19012025_16_02_03_077484_0001.jpg', '/home/pi/Desktop/images/19012025/16/02/image_19012025_16_02_03_077484_0002.jpg', '/home/pi/Desktop/images/19012025/16/02/image_19012025_16_02_03_077484_0003.jpg', '/home/pi/Desktop/images/19012025/16/03/image_19012025_16_03_02_173940_0000.jpg', '/home/pi/Desktop/images/19012025/16/03/image_19012025_16_03_02_173940_0001.jpg', '/home/pi/Desktop/images/19012025/16/03/image_19012025_16_03_02_173940_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/16/02/image_19012025_16_02_03_077484_0001.jpg
/home/pi/Desktop/images/19012025/16/02/image_19012025_16_02_03_077484_0002.jpg
/home/pi/Desktop/images/19012025/16/02/image_19012025_16_02_03_077484_0003.jpg
/home/pi/Desktop/images/19012025/16/03/image_19012025_16_03_02_173940_0000.jpg
/home/pi/Desktop/images/19012025/16/03/image_19012025_16_03_02_173940_0001.jpg
/home/pi/Desktop/images/19012025/16/03/image_19012025_16_03_02_173940_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 16.076607704162598 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-19 16:03:41.981736
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/16/02/image_19012025_16_02_03_077484_0001.jpg', '/home/pi/Desktop/images/19012025/16/02/image_19012025_16_02_03_077484_0002.jpg', '/home/pi/Desktop/images/19012025/16/02/image_19012025_16_02_03_077484_0003.jpg', '/home/pi/Desktop/images/19012025/16/03/image_19012025_16_03_02_173940_0000.jpg', '/home/pi/Desktop/images/19012025/16/03/image_19012025_16_03_02_173940_0001.jpg', '/home/pi/Desktop/images/19012025/16/03/image_19012025_16_03_02_173940_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/16/02/image_19012025_16_02_03_077484_0001.jpg
/home/pi/Desktop/images/19012025/16/02/image_19012025_16_02_03_077484_0002.jpg
/home/pi/Desktop/images/19012025/16/02/image_19012025_16_02_03_077484_0003.jpg
/home/pi/Desktop/images/19012025/16/03/image_19012025_16_03_02_173940_0000.jpg
/home/pi/Desktop/images/19012025/16/03/image_19012025_16_03_02_173940_0001.jpg
/home/pi/Desktop/images/19012025/16/03/image_19012025_16_03_02_173940_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330063568","1330063582","1330063567","1330063590","1330063563","1330063566"],"photo_ids_order":["1330063563","1330063566","1330063567","1330063568","1330063582","1330063590"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/739b8712135127600db8d5822e9dbd98.jpg","text":"TemporaryFile(/tmp/multipartBody2669945184518431286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737299098451,"filename":"image_19012025_16_03_02_173940_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/d00d5ff2375fe777a48efda7322dcff5.jpg","text":"TemporaryFile(/tmp/multipartBody6931656221377983712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737299098451,"filename":"image_19012025_16_03_02_173940_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/34655ccd60a4e35fb63b5950089a07d9.jpg","text":"TemporaryFile(/tmp/multipartBody9212218404359797590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737299098451,"filename":"image_19012025_16_02_03_077484_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/f0ef471ccac771acc12b9a8ae40788b8.jpg","text":"TemporaryFile(/tmp/multipartBody4147896409210486042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737299098451,"filename":"image_19012025_16_03_02_173940_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/38598bf31105a3d8f1b2ea2f02f123f6.jpg","text":"TemporaryFile(/tmp/multipartBody5413829309187145111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737299098451,"filename":"image_19012025_16_02_03_077484_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/a67477f02ebfb25b3a9d32b4da765383.jpg","text":"TemporaryFile(/tmp/multipartBody389571178249078231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737299098451,"filename":"image_19012025_16_02_03_077484_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330063567","file1":"1330063566","file0":"1330063563","file4":"1330063582","file5":"1330063590","file3":"1330063568"},"map_files_photo_id_array":[{"photo_id":"1330063590","filename":"file5"},{"photo_id":"1330063567","filename":"file2"},{"photo_id":"1330063582","filename":"file4"},{"photo_id":"1330063566","filename":"file1"},{"photo_id":"1330063563","filename":"file0"},{"photo_id":"1330063568","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330063568":["hashtag1","hashtag2"]},{"1330063582":["hashtag1","hashtag2"]},{"1330063567":["hashtag1","hashtag2"]},{"1330063590":["hashtag1","hashtag2"]},{"1330063563":["hashtag1","hashtag2"]},{"1330063566":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330063568, 1330063582, 1330063567, 1330063590, 1330063563, 1330063566)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.03984618186951 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-19 16:04:42.175529
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/16/03/image_19012025_16_03_02_173940_0003.jpg', '/home/pi/Desktop/images/19012025/16/04/image_19012025_16_04_02_318350_0000.jpg', '/home/pi/Desktop/images/19012025/16/04/image_19012025_16_04_02_318350_0001.jpg', '/home/pi/Desktop/images/19012025/16/04/image_19012025_16_04_02_318350_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/16/03/image_19012025_16_03_02_173940_0003.jpg
/home/pi/Desktop/images/19012025/16/04/image_19012025_16_04_02_318350_0000.jpg
/home/pi/Desktop/images/19012025/16/04/image_19012025_16_04_02_318350_0001.jpg
/home/pi/Desktop/images/19012025/16/04/image_19012025_16_04_02_318350_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330063646","1330063625","1330064041","1330063623"],"photo_ids_order":["1330063623","1330063625","1330063646","1330064041"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/cbb74db7898ae19da7484c47382d5451.jpg","text":"TemporaryFile(/tmp/multipartBody913687042874206743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737299153608,"filename":"image_19012025_16_04_02_318350_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/d32e10fd09daba69a30e29eab87ded13.jpg","text":"TemporaryFile(/tmp/multipartBody1319522809257003812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737299153608,"filename":"image_19012025_16_04_02_318350_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/02bc0b689de4179ec754862ea2d2bbfb.jpg","text":"TemporaryFile(/tmp/multipartBody3098765493821743602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737299153608,"filename":"image_19012025_16_04_02_318350_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/52b5d9f2344ce4c7b61de2c22a63c5e1.jpg","text":"TemporaryFile(/tmp/multipartBody1817215646439135046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737299153608,"filename":"image_19012025_16_03_02_173940_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330063646","file1":"1330063625","file0":"1330063623","file3":"1330064041"},"map_files_photo_id_array":[{"photo_id":"1330063646","filename":"file2"},{"photo_id":"1330063625","filename":"file1"},{"photo_id":"1330063623","filename":"file0"},{"photo_id":"1330064041","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330063646":["hashtag1","hashtag2"]},{"1330063625":["hashtag1","hashtag2"]},{"1330064041":["hashtag1","hashtag2"]},{"1330063623":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330063646, 1330063625, 1330064041, 1330063623)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.12489366531372 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-19 16:05:32.291463
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/16/04/image_19012025_16_04_02_318350_0003.jpg', '/home/pi/Desktop/images/19012025/16/05/image_19012025_16_05_02_532032_0000.jpg', '/home/pi/Desktop/images/19012025/16/05/image_19012025_16_05_02_532032_0001.jpg', '/home/pi/Desktop/images/19012025/16/05/image_19012025_16_05_02_532032_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/16/04/image_19012025_16_04_02_318350_0003.jpg
/home/pi/Desktop/images/19012025/16/05/image_19012025_16_05_02_532032_0000.jpg
/home/pi/Desktop/images/19012025/16/05/image_19012025_16_05_02_532032_0001.jpg
/home/pi/Desktop/images/19012025/16/05/image_19012025_16_05_02_532032_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330064771","1330064766","1330064775","1330064769"],"photo_ids_order":["1330064766","1330064769","1330064771","1330064775"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/c9fc5dc606cb02cc1a38555f95dc82e1.jpg","text":"TemporaryFile(/tmp/multipartBody7987329227658143351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737299203622,"filename":"image_19012025_16_05_02_532032_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/a8a70180b8739e3677ef0392598fb08e.jpg","text":"TemporaryFile(/tmp/multipartBody163321223453817042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737299203622,"filename":"image_19012025_16_04_02_318350_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/31d115a7b513b7bf4f2f2f221b507b16.jpg","text":"TemporaryFile(/tmp/multipartBody4559025641766869215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737299203622,"filename":"image_19012025_16_05_02_532032_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/5421a4696f4d951bb7e3fa29a5cc3f59.jpg","text":"TemporaryFile(/tmp/multipartBody3353505436404676937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737299203622,"filename":"image_19012025_16_05_02_532032_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330064771","file1":"1330064769","file0":"1330064766","file3":"1330064775"},"map_files_photo_id_array":[{"photo_id":"1330064771","filename":"file2"},{"photo_id":"1330064769","filename":"file1"},{"photo_id":"1330064766","filename":"file0"},{"photo_id":"1330064775","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330064771":["hashtag1","hashtag2"]},{"1330064766":["hashtag1","hashtag2"]},{"1330064775":["hashtag1","hashtag2"]},{"1330064769":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330064771, 1330064766, 1330064775, 1330064769)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 44.01149010658264 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 16:06:22.527288
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/16/05/image_19012025_16_05_02_532032_0003.jpg', '/home/pi/Desktop/images/19012025/16/06/image_19012025_16_06_02_654444_0000.jpg', '/home/pi/Desktop/images/19012025/16/06/image_19012025_16_06_02_654444_0001.jpg', '/home/pi/Desktop/images/19012025/16/06/image_19012025_16_06_02_654444_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/16/05/image_19012025_16_05_02_532032_0003.jpg
/home/pi/Desktop/images/19012025/16/06/image_19012025_16_06_02_654444_0000.jpg
/home/pi/Desktop/images/19012025/16/06/image_19012025_16_06_02_654444_0001.jpg
/home/pi/Desktop/images/19012025/16/06/image_19012025_16_06_02_654444_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330065137","1330064951","1330065061","1330065087"],"photo_ids_order":["1330064951","1330065061","1330065087","1330065137"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/02fce1dae8df475c86480b76559ce304.jpg","text":"TemporaryFile(/tmp/multipartBody4786630721396172966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737299254028,"filename":"image_19012025_16_06_02_654444_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/441beaed1577c4ddd7d86b1c6795a80b.jpg","text":"TemporaryFile(/tmp/multipartBody4971669020763087881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737299254028,"filename":"image_19012025_16_05_02_532032_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/6cd13d753981b9aaddfd68ee07740268.jpg","text":"TemporaryFile(/tmp/multipartBody4836461638512655671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737299254028,"filename":"image_19012025_16_06_02_654444_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/3c2acce584b7ce7f630f0d534580af8d.jpg","text":"TemporaryFile(/tmp/multipartBody8827268827768759283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737299254028,"filename":"image_19012025_16_06_02_654444_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330065087","file1":"1330065061","file0":"1330064951","file3":"1330065137"},"map_files_photo_id_array":[{"photo_id":"1330065087","filename":"file2"},{"photo_id":"1330065061","filename":"file1"},{"photo_id":"1330064951","filename":"file0"},{"photo_id":"1330065137","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330065137":["hashtag1","hashtag2"]},{"1330064951":["hashtag1","hashtag2"]},{"1330065061":["hashtag1","hashtag2"]},{"1330065087":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330065137, 1330064951, 1330065061, 1330065087)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 57.245083808898926 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 16:07:22.771405
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/16/06/image_19012025_16_06_02_654444_0003.jpg', '/home/pi/Desktop/images/19012025/16/07/image_19012025_16_07_02_876020_0000.jpg', '/home/pi/Desktop/images/19012025/16/07/image_19012025_16_07_02_876020_0001.jpg', '/home/pi/Desktop/images/19012025/16/07/image_19012025_16_07_02_876020_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/16/06/image_19012025_16_06_02_654444_0003.jpg
/home/pi/Desktop/images/19012025/16/07/image_19012025_16_07_02_876020_0000.jpg
/home/pi/Desktop/images/19012025/16/07/image_19012025_16_07_02_876020_0001.jpg
/home/pi/Desktop/images/19012025/16/07/image_19012025_16_07_02_876020_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330066363","1330066359","1330066356","1330066361"],"photo_ids_order":["1330066356","1330066359","1330066361","1330066363"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/2c78cff9e06acdd159ee1ec2661d4815.jpg","text":"TemporaryFile(/tmp/multipartBody2994692181019127491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737299313941,"filename":"image_19012025_16_07_02_876020_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/e1a08de7029611152d40f45a9600f5b7.jpg","text":"TemporaryFile(/tmp/multipartBody2809370441084184493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737299313941,"filename":"image_19012025_16_07_02_876020_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/3042965c3f635e2b8b44e0147d7667a8.jpg","text":"TemporaryFile(/tmp/multipartBody8361751895488442495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737299313941,"filename":"image_19012025_16_06_02_654444_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/8a991d538c1c203da9233e634b28ff83.jpg","text":"TemporaryFile(/tmp/multipartBody3677449950354459292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737299313941,"filename":"image_19012025_16_07_02_876020_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330066361","file1":"1330066359","file0":"1330066356","file3":"1330066363"},"map_files_photo_id_array":[{"photo_id":"1330066361","filename":"file2"},{"photo_id":"1330066359","filename":"file1"},{"photo_id":"1330066356","filename":"file0"},{"photo_id":"1330066363","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330066363":["hashtag1","hashtag2"]},{"1330066359":["hashtag1","hashtag2"]},{"1330066356":["hashtag1","hashtag2"]},{"1330066361":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330066363, 1330066359, 1330066356, 1330066361)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.08922576904297 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 16:08:21.917252
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/16/07/image_19012025_16_07_02_876020_0003.jpg', '/home/pi/Desktop/images/19012025/16/08/image_19012025_16_08_03_040291_0000.jpg', '/home/pi/Desktop/images/19012025/16/08/image_19012025_16_08_03_040291_0001.jpg', '/home/pi/Desktop/images/19012025/16/08/image_19012025_16_08_03_040291_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/16/07/image_19012025_16_07_02_876020_0003.jpg
/home/pi/Desktop/images/19012025/16/08/image_19012025_16_08_03_040291_0000.jpg
/home/pi/Desktop/images/19012025/16/08/image_19012025_16_08_03_040291_0001.jpg
/home/pi/Desktop/images/19012025/16/08/image_19012025_16_08_03_040291_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330066375","1330066377","1330066373","1330066379"],"photo_ids_order":["1330066373","1330066375","1330066377","1330066379"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/95ca2ac109e9f6dd585985fa2adca54a.jpg","text":"TemporaryFile(/tmp/multipartBody2378881810605224231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737299372676,"filename":"image_19012025_16_08_03_040291_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/1bf7f48397a0a462ba81e24b8f56b960.jpg","text":"TemporaryFile(/tmp/multipartBody6486647269955644237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737299372676,"filename":"image_19012025_16_08_03_040291_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/b371b3f9f9cbe87c9eb9bc0d02b85726.jpg","text":"TemporaryFile(/tmp/multipartBody3607545511424873560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737299372676,"filename":"image_19012025_16_07_02_876020_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/63e2abcfbce55ad40c7d5a54b212c9b4.jpg","text":"TemporaryFile(/tmp/multipartBody8234733551025379940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737299372676,"filename":"image_19012025_16_08_03_040291_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330066377","file1":"1330066375","file0":"1330066373","file3":"1330066379"},"map_files_photo_id_array":[{"photo_id":"1330066377","filename":"file2"},{"photo_id":"1330066375","filename":"file1"},{"photo_id":"1330066373","filename":"file0"},{"photo_id":"1330066379","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330066375":["hashtag1","hashtag2"]},{"1330066377":["hashtag1","hashtag2"]},{"1330066373":["hashtag1","hashtag2"]},{"1330066379":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330066375, 1330066377, 1330066373, 1330066379)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.720125913619995 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 16:09:02.771236
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
  port_id : 19698700
  datou_current_id : 2490825
in upload_from_sqlite, uploading in 19698700
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17012025/22/52/image_17012025_22_52_02_353345_0001.jpg', '/home/pi/Desktop/images/17012025/22/52/image_17012025_22_52_02_353345_0002.jpg', '/home/pi/Desktop/images/17012025/22/52/image_17012025_22_52_02_353345_0003.jpg', '/home/pi/Desktop/images/17012025/22/53/image_17012025_22_53_02_507620_0000.jpg', '/home/pi/Desktop/images/17012025/22/53/image_17012025_22_53_02_507620_0001.jpg', '/home/pi/Desktop/images/17012025/22/53/image_17012025_22_53_02_507620_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2490825&datou=0
/home/pi/Desktop/images/17012025/22/52/image_17012025_22_52_02_353345_0001.jpg
/home/pi/Desktop/images/17012025/22/52/image_17012025_22_52_02_353345_0002.jpg
/home/pi/Desktop/images/17012025/22/52/image_17012025_22_52_02_353345_0003.jpg
/home/pi/Desktop/images/17012025/22/53/image_17012025_22_53_02_507620_0000.jpg
/home/pi/Desktop/images/17012025/22/53/image_17012025_22_53_02_507620_0001.jpg
/home/pi/Desktop/images/17012025/22/53/image_17012025_22_53_02_507620_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330066573","1330067145","1330067141","1330067033","1330067182","1330066786"],"photo_ids_order":["1330066573","1330066786","1330067033","1330067141","1330067145","1330067182"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/7386cac305baf4b3f50bcf75d95376ac.jpg","text":"TemporaryFile(/tmp/multipartBody7711457828505135688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737299420070,"filename":"image_17012025_22_52_02_353345_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/e71d54d1c0664fcf9406793450a99dd7.jpg","text":"TemporaryFile(/tmp/multipartBody7170880504048117228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737299420070,"filename":"image_17012025_22_53_02_507620_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/4587d1acdde595ed3b62d93f5431fa9f.jpg","text":"TemporaryFile(/tmp/multipartBody8785461128545005868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737299420070,"filename":"image_17012025_22_53_02_507620_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/a4f6ed443dc3eedb4da4d2e393b9d5e0.jpg","text":"TemporaryFile(/tmp/multipartBody1136202245055659727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737299420070,"filename":"image_17012025_22_52_02_353345_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/39749a2052c2984608bae77570be9287.jpg","text":"TemporaryFile(/tmp/multipartBody9003382988668550372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737299420070,"filename":"image_17012025_22_53_02_507620_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/4364f1f61b5db92f6996882148428792.jpg","text":"TemporaryFile(/tmp/multipartBody5612511991941618089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737299420070,"filename":"image_17012025_22_52_02_353345_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330067033","file1":"1330066786","file0":"1330066573","file4":"1330067145","file5":"1330067182","file3":"1330067141"},"map_files_photo_id_array":[{"photo_id":"1330067182","filename":"file5"},{"photo_id":"1330067033","filename":"file2"},{"photo_id":"1330067145","filename":"file4"},{"photo_id":"1330066786","filename":"file1"},{"photo_id":"1330066573","filename":"file0"},{"photo_id":"1330067141","filename":"file3"}],"portfolio_id":19698700,"hashtag_by_photo_ids":[{"1330066573":["hashtag1","hashtag2"]},{"1330067145":["hashtag1","hashtag2"]},{"1330067141":["hashtag1","hashtag2"]},{"1330067033":["hashtag1","hashtag2"]},{"1330067182":["hashtag1","hashtag2"]},{"1330066786":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698700 used, photo_id : ArrayBuffer(1330066573, 1330067145, 1330067141, 1330067033, 1330067182, 1330066786)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.34951448440552 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 16:10:02.674633
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/16/08/image_19012025_16_08_03_040291_0003.jpg', '/home/pi/Desktop/images/19012025/16/09/image_19012025_16_09_02_278120_0000.jpg', '/home/pi/Desktop/images/19012025/16/09/image_19012025_16_09_02_278120_0001.jpg', '/home/pi/Desktop/images/19012025/16/09/image_19012025_16_09_02_278120_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/16/08/image_19012025_16_08_03_040291_0003.jpg
/home/pi/Desktop/images/19012025/16/09/image_19012025_16_09_02_278120_0000.jpg
/home/pi/Desktop/images/19012025/16/09/image_19012025_16_09_02_278120_0001.jpg
/home/pi/Desktop/images/19012025/16/09/image_19012025_16_09_02_278120_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330067280","1330067283","1330067271","1330067278"],"photo_ids_order":["1330067271","1330067278","1330067280","1330067283"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/0ac916ef53cf5fc6d278ba7334515cbb.jpg","text":"TemporaryFile(/tmp/multipartBody3929053469321125749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737299473894,"filename":"image_19012025_16_09_02_278120_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/e79b8fa9980f100b115111e5c28f46ea.jpg","text":"TemporaryFile(/tmp/multipartBody8593463531764774088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737299473894,"filename":"image_19012025_16_09_02_278120_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/8cf8adc4295c66caa720ead3870edfe3.jpg","text":"TemporaryFile(/tmp/multipartBody4839078462593379755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737299473894,"filename":"image_19012025_16_08_03_040291_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/3d149a51a34bb28a504d604157db768e.jpg","text":"TemporaryFile(/tmp/multipartBody985841416630952580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737299473894,"filename":"image_19012025_16_09_02_278120_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330067280","file1":"1330067278","file0":"1330067271","file3":"1330067283"},"map_files_photo_id_array":[{"photo_id":"1330067280","filename":"file2"},{"photo_id":"1330067278","filename":"file1"},{"photo_id":"1330067271","filename":"file0"},{"photo_id":"1330067283","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330067280":["hashtag1","hashtag2"]},{"1330067283":["hashtag1","hashtag2"]},{"1330067271":["hashtag1","hashtag2"]},{"1330067278":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330067280, 1330067283, 1330067271, 1330067278)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.590595960617065 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-19 16:10:52.247077
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/16/09/image_19012025_16_09_02_278120_0003.jpg', '/home/pi/Desktop/images/19012025/16/10/image_19012025_16_10_02_436579_0000.jpg', '/home/pi/Desktop/images/19012025/16/10/image_19012025_16_10_02_436579_0001.jpg', '/home/pi/Desktop/images/19012025/16/10/image_19012025_16_10_02_436579_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/16/09/image_19012025_16_09_02_278120_0003.jpg
/home/pi/Desktop/images/19012025/16/10/image_19012025_16_10_02_436579_0000.jpg
/home/pi/Desktop/images/19012025/16/10/image_19012025_16_10_02_436579_0001.jpg
/home/pi/Desktop/images/19012025/16/10/image_19012025_16_10_02_436579_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 11.110701560974121 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 16:11:22.557820
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/16/09/image_19012025_16_09_02_278120_0003.jpg', '/home/pi/Desktop/images/19012025/16/10/image_19012025_16_10_02_436579_0000.jpg', '/home/pi/Desktop/images/19012025/16/10/image_19012025_16_10_02_436579_0001.jpg', '/home/pi/Desktop/images/19012025/16/10/image_19012025_16_10_02_436579_0002.jpg', '/home/pi/Desktop/images/19012025/16/10/image_19012025_16_10_02_436579_0003.jpg', '/home/pi/Desktop/images/19012025/16/11/image_19012025_16_11_02_668487_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/16/09/image_19012025_16_09_02_278120_0003.jpg
/home/pi/Desktop/images/19012025/16/10/image_19012025_16_10_02_436579_0000.jpg
/home/pi/Desktop/images/19012025/16/10/image_19012025_16_10_02_436579_0001.jpg
/home/pi/Desktop/images/19012025/16/10/image_19012025_16_10_02_436579_0002.jpg
/home/pi/Desktop/images/19012025/16/10/image_19012025_16_10_02_436579_0003.jpg
/home/pi/Desktop/images/19012025/16/11/image_19012025_16_11_02_668487_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":["1330067320","1330067317","1330067311","1330067319","1330067307","1330067315"],"photo_ids_order":["1330067307","1330067311","1330067315","1330067317","1330067319","1330067320"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/eaa137def337bcd6706d8d0955be92fb.jpg","text":"TemporaryFile(/tmp/multipartBody7486075117938556484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737299559489,"filename":"image_19012025_16_11_02_668487_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/76233263256cf9e1b490d417141519cb.jpg","text":"TemporaryFile(/tmp/multipartBody2711399027933018931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737299559489,"filename":"image_19012025_16_10_02_436579_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/2aecaee3a5446a6be2cce806d61cd5ca.jpg","text":"TemporaryFile(/tmp/multipartBody8602621352934677700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737299559489,"filename":"image_19012025_16_10_02_436579_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/0ad21d573801790634e227c53414a7df.jpg","text":"TemporaryFile(/tmp/multipartBody4964562026648195588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737299559489,"filename":"image_19012025_16_10_02_436579_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/580d3743747d072d98e47f0867284506.jpg","text":"TemporaryFile(/tmp/multipartBody6146107575481674066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737299559489,"filename":"image_19012025_16_09_02_278120_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/afb58feffc4f07c34f5f6699c0ca304b.jpg","text":"TemporaryFile(/tmp/multipartBody8389859481516922512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737299559489,"filename":"image_19012025_16_10_02_436579_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330067315","file1":"1330067311","file0":"1330067307","file4":"1330067319","file5":"1330067320","file3":"1330067317"},"map_files_photo_id_array":[{"photo_id":"1330067320","filename":"file5"},{"photo_id":"1330067315","filename":"file2"},{"photo_id":"1330067319","filename":"file4"},{"photo_id":"1330067311","filename":"file1"},{"photo_id":"1330067307","filename":"file0"},{"photo_id":"1330067317","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330067320":["hashtag1","hashtag2"]},{"1330067317":["hashtag1","hashtag2"]},{"1330067311":["hashtag1","hashtag2"]},{"1330067319":["hashtag1","hashtag2"]},{"1330067307":["hashtag1","hashtag2"]},{"1330067315":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330067320, 1330067317, 1330067311, 1330067319, 1330067307, 1330067315)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.44727540016174 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-19 16:12:32.562048
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/16/11/image_19012025_16_11_02_668487_0001.jpg', '/home/pi/Desktop/images/19012025/16/11/image_19012025_16_11_02_668487_0002.jpg', '/home/pi/Desktop/images/19012025/16/11/image_19012025_16_11_02_668487_0003.jpg', '/home/pi/Desktop/images/19012025/16/12/image_19012025_16_12_02_874983_0000.jpg', '/home/pi/Desktop/images/19012025/16/12/image_19012025_16_12_02_874983_0001.jpg', '/home/pi/Desktop/images/19012025/16/12/image_19012025_16_12_02_874983_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/16/11/image_19012025_16_11_02_668487_0001.jpg
/home/pi/Desktop/images/19012025/16/11/image_19012025_16_11_02_668487_0002.jpg
/home/pi/Desktop/images/19012025/16/11/image_19012025_16_11_02_668487_0003.jpg
/home/pi/Desktop/images/19012025/16/12/image_19012025_16_12_02_874983_0000.jpg
/home/pi/Desktop/images/19012025/16/12/image_19012025_16_12_02_874983_0001.jpg
/home/pi/Desktop/images/19012025/16/12/image_19012025_16_12_02_874983_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330067334","1330067375","1330067360","1330067336","1330067347","1330067332"],"photo_ids_order":["1330067332","1330067334","1330067336","1330067347","1330067360","1330067375"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/b3af2930008773eafea7679b905860d1.jpg","text":"TemporaryFile(/tmp/multipartBody8023281415370894066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737299629458,"filename":"image_19012025_16_11_02_668487_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/6112d975ed4cf7afeabe1d0b8111b416.jpg","text":"TemporaryFile(/tmp/multipartBody2749229386077217633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737299629458,"filename":"image_19012025_16_12_02_874983_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/c51ad0c356135c62c2d36d838ada61ca.jpg","text":"TemporaryFile(/tmp/multipartBody5151200833731388581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737299629458,"filename":"image_19012025_16_12_02_874983_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/2f991ce9040b6078f2f7d2da42f7b1b3.jpg","text":"TemporaryFile(/tmp/multipartBody4422751556928247486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737299629458,"filename":"image_19012025_16_11_02_668487_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/f66fd8f93aa36de37919c8188fd1c32f.jpg","text":"TemporaryFile(/tmp/multipartBody4900382771398236011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737299629458,"filename":"image_19012025_16_12_02_874983_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/774c9071546b0a692e9d2534baece22a.jpg","text":"TemporaryFile(/tmp/multipartBody6543154883618265502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737299629458,"filename":"image_19012025_16_11_02_668487_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330067336","file1":"1330067334","file0":"1330067332","file4":"1330067360","file5":"1330067375","file3":"1330067347"},"map_files_photo_id_array":[{"photo_id":"1330067375","filename":"file5"},{"photo_id":"1330067336","filename":"file2"},{"photo_id":"1330067360","filename":"file4"},{"photo_id":"1330067334","filename":"file1"},{"photo_id":"1330067332","filename":"file0"},{"photo_id":"1330067347","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330067334":["hashtag1","hashtag2"]},{"1330067375":["hashtag1","hashtag2"]},{"1330067360":["hashtag1","hashtag2"]},{"1330067336":["hashtag1","hashtag2"]},{"1330067347":["hashtag1","hashtag2"]},{"1330067332":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330067334, 1330067375, 1330067360, 1330067336, 1330067347, 1330067332)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.90575647354126 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-19 16:13:32.736714
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/16/12/image_19012025_16_12_02_874983_0003.jpg', '/home/pi/Desktop/images/19012025/16/13/image_19012025_16_13_02_922409_0000.jpg', '/home/pi/Desktop/images/19012025/16/13/image_19012025_16_13_02_922409_0001.jpg', '/home/pi/Desktop/images/19012025/16/13/image_19012025_16_13_02_922409_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/16/12/image_19012025_16_12_02_874983_0003.jpg
/home/pi/Desktop/images/19012025/16/13/image_19012025_16_13_02_922409_0000.jpg
/home/pi/Desktop/images/19012025/16/13/image_19012025_16_13_02_922409_0001.jpg
/home/pi/Desktop/images/19012025/16/13/image_19012025_16_13_02_922409_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330067394","1330067392","1330067389","1330067386"],"photo_ids_order":["1330067386","1330067389","1330067392","1330067394"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/886ec74f49ab58a4724389b1e75ec254.jpg","text":"TemporaryFile(/tmp/multipartBody1419337011363822612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737299684154,"filename":"image_19012025_16_13_02_922409_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/f8a3fa9ed0bb6943ee821c982a1e7b7f.jpg","text":"TemporaryFile(/tmp/multipartBody3362509878253703199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737299684154,"filename":"image_19012025_16_13_02_922409_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/74b1746ead196c6f488025a0d924c977.jpg","text":"TemporaryFile(/tmp/multipartBody1924041600428030008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737299684154,"filename":"image_19012025_16_13_02_922409_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/8bb03cfc0da012a5c7ded6807bd1cddc.jpg","text":"TemporaryFile(/tmp/multipartBody3314481660392441339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737299684154,"filename":"image_19012025_16_12_02_874983_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330067392","file1":"1330067389","file0":"1330067386","file3":"1330067394"},"map_files_photo_id_array":[{"photo_id":"1330067392","filename":"file2"},{"photo_id":"1330067389","filename":"file1"},{"photo_id":"1330067386","filename":"file0"},{"photo_id":"1330067394","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330067394":["hashtag1","hashtag2"]},{"1330067392":["hashtag1","hashtag2"]},{"1330067389":["hashtag1","hashtag2"]},{"1330067386":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330067394, 1330067392, 1330067389, 1330067386)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.61219573020935 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 16:14:21.980316
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/16/13/image_19012025_16_13_02_922409_0003.jpg', '/home/pi/Desktop/images/19012025/16/14/image_19012025_16_14_03_131024_0000.jpg', '/home/pi/Desktop/images/19012025/16/14/image_19012025_16_14_03_131024_0001.jpg', '/home/pi/Desktop/images/19012025/16/14/image_19012025_16_14_03_131024_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/16/13/image_19012025_16_13_02_922409_0003.jpg
/home/pi/Desktop/images/19012025/16/14/image_19012025_16_14_03_131024_0000.jpg
/home/pi/Desktop/images/19012025/16/14/image_19012025_16_14_03_131024_0001.jpg
/home/pi/Desktop/images/19012025/16/14/image_19012025_16_14_03_131024_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330067412","1330067406","1330067409","1330067402"],"photo_ids_order":["1330067402","1330067406","1330067409","1330067412"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/fea7286c3556d5cfdf00cd2fd7c6afd3.jpg","text":"TemporaryFile(/tmp/multipartBody3277066838962340962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737299732769,"filename":"image_19012025_16_14_03_131024_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/4ed43237513caded901c9a23d8ec612a.jpg","text":"TemporaryFile(/tmp/multipartBody1838890438883893754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737299732769,"filename":"image_19012025_16_14_03_131024_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/73cf51cb9cd2ddb6f2373584db5fe932.jpg","text":"TemporaryFile(/tmp/multipartBody8504596072423944748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737299732769,"filename":"image_19012025_16_14_03_131024_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/35852106ac15a088359f17e3ed42d376.jpg","text":"TemporaryFile(/tmp/multipartBody5932812142760452567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737299732769,"filename":"image_19012025_16_13_02_922409_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330067409","file1":"1330067406","file0":"1330067402","file3":"1330067412"},"map_files_photo_id_array":[{"photo_id":"1330067409","filename":"file2"},{"photo_id":"1330067406","filename":"file1"},{"photo_id":"1330067402","filename":"file0"},{"photo_id":"1330067412","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330067412":["hashtag1","hashtag2"]},{"1330067406":["hashtag1","hashtag2"]},{"1330067409":["hashtag1","hashtag2"]},{"1330067402":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330067412, 1330067406, 1330067409, 1330067402)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.5529203414917 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 16:15:02.866781
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
  port_id : 19698700
  datou_current_id : 2490825
in upload_from_sqlite, uploading in 19698700
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17012025/22/53/image_17012025_22_53_02_507620_0003.jpg', '/home/pi/Desktop/images/17012025/22/54/image_17012025_22_54_02_814948_0000.jpg', '/home/pi/Desktop/images/17012025/22/54/image_17012025_22_54_02_814948_0001.jpg', '/home/pi/Desktop/images/17012025/22/54/image_17012025_22_54_02_814948_0002.jpg', '/home/pi/Desktop/images/17012025/22/54/image_17012025_22_54_02_814948_0003.jpg', '/home/pi/Desktop/images/17012025/22/55/image_17012025_22_55_02_851441_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2490825&datou=0
/home/pi/Desktop/images/17012025/22/53/image_17012025_22_53_02_507620_0003.jpg
/home/pi/Desktop/images/17012025/22/54/image_17012025_22_54_02_814948_0000.jpg
/home/pi/Desktop/images/17012025/22/54/image_17012025_22_54_02_814948_0001.jpg
/home/pi/Desktop/images/17012025/22/54/image_17012025_22_54_02_814948_0002.jpg
/home/pi/Desktop/images/17012025/22/54/image_17012025_22_54_02_814948_0003.jpg
/home/pi/Desktop/images/17012025/22/55/image_17012025_22_55_02_851441_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":["1330067608","1330067416","1330067505","1330067666","1330067606","1330067420"],"photo_ids_order":["1330067416","1330067420","1330067505","1330067606","1330067608","1330067666"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/e4443260d1f86447af3b0c1bf1d64a18.jpg","text":"TemporaryFile(/tmp/multipartBody6285315785612805974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737299780756,"filename":"image_17012025_22_54_02_814948_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/7e5e935c529769a85d017caaeecd32fd.jpg","text":"TemporaryFile(/tmp/multipartBody8792369192600452394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737299780756,"filename":"image_17012025_22_53_02_507620_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/9077d2c8fe92d3283a0dfd8b2ca3de4d.jpg","text":"TemporaryFile(/tmp/multipartBody8058881347925944972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737299780756,"filename":"image_17012025_22_54_02_814948_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/f5a437e7a16d62cc164d423ce6b4c63b.jpg","text":"TemporaryFile(/tmp/multipartBody6026694277492651269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737299780756,"filename":"image_17012025_22_55_02_851441_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/fcd9a02ae316849a7a71a881f28fab83.jpg","text":"TemporaryFile(/tmp/multipartBody4923830068447220418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737299780756,"filename":"image_17012025_22_54_02_814948_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/0a6b67b05592467d7010d0bb6dba9761.jpg","text":"TemporaryFile(/tmp/multipartBody7298969699433698334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737299780756,"filename":"image_17012025_22_54_02_814948_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330067505","file1":"1330067420","file0":"1330067416","file4":"1330067608","file5":"1330067666","file3":"1330067606"},"map_files_photo_id_array":[{"photo_id":"1330067666","filename":"file5"},{"photo_id":"1330067505","filename":"file2"},{"photo_id":"1330067608","filename":"file4"},{"photo_id":"1330067420","filename":"file1"},{"photo_id":"1330067416","filename":"file0"},{"photo_id":"1330067606","filename":"file3"}],"portfolio_id":19698700,"hashtag_by_photo_ids":[{"1330067608":["hashtag1","hashtag2"]},{"1330067416":["hashtag1","hashtag2"]},{"1330067505":["hashtag1","hashtag2"]},{"1330067666":["hashtag1","hashtag2"]},{"1330067606":["hashtag1","hashtag2"]},{"1330067420":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698700 used, photo_id : ArrayBuffer(1330067608, 1330067416, 1330067505, 1330067666, 1330067606, 1330067420)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.90175819396973 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 16:16:22.398370
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/16/14/image_19012025_16_14_03_131024_0003.jpg', '/home/pi/Desktop/images/19012025/16/15/image_19012025_16_15_02_304522_0000.jpg', '/home/pi/Desktop/images/19012025/16/15/image_19012025_16_15_02_304522_0001.jpg', '/home/pi/Desktop/images/19012025/16/15/image_19012025_16_15_02_304522_0002.jpg', '/home/pi/Desktop/images/19012025/16/15/image_19012025_16_15_02_304522_0003.jpg', '/home/pi/Desktop/images/19012025/16/16/image_19012025_16_16_02_489784_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/16/14/image_19012025_16_14_03_131024_0003.jpg
/home/pi/Desktop/images/19012025/16/15/image_19012025_16_15_02_304522_0000.jpg
/home/pi/Desktop/images/19012025/16/15/image_19012025_16_15_02_304522_0001.jpg
/home/pi/Desktop/images/19012025/16/15/image_19012025_16_15_02_304522_0002.jpg
/home/pi/Desktop/images/19012025/16/15/image_19012025_16_15_02_304522_0003.jpg
/home/pi/Desktop/images/19012025/16/16/image_19012025_16_16_02_489784_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":["1330067777","1330067762","1330067759","1330067890","1330067767","1330067764"],"photo_ids_order":["1330067759","1330067762","1330067764","1330067767","1330067777","1330067890"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/b8d1d53f87ca8e6f5df1138075c52ba8.jpg","text":"TemporaryFile(/tmp/multipartBody1674972483751654839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737299857501,"filename":"image_19012025_16_15_02_304522_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/e73e6da69479e45ba7b8b8522f7cc438.jpg","text":"TemporaryFile(/tmp/multipartBody2676362035500936282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737299857501,"filename":"image_19012025_16_15_02_304522_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/d4bbd9ba6dc4aef75b64ea3b5962e722.jpg","text":"TemporaryFile(/tmp/multipartBody7744531308409645771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737299857501,"filename":"image_19012025_16_14_03_131024_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/7dcda980870aa78939ff4429de375e94.jpg","text":"TemporaryFile(/tmp/multipartBody4528891010498927084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737299857501,"filename":"image_19012025_16_16_02_489784_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/8b50dd1f8ab9401340805384f13f5ad0.jpg","text":"TemporaryFile(/tmp/multipartBody3257426104027072936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737299857501,"filename":"image_19012025_16_15_02_304522_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/02b1eb3ffdeaa95479e44b5cd932623b.jpg","text":"TemporaryFile(/tmp/multipartBody8720884522733104781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737299857501,"filename":"image_19012025_16_15_02_304522_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330067764","file1":"1330067762","file0":"1330067759","file4":"1330067777","file5":"1330067890","file3":"1330067767"},"map_files_photo_id_array":[{"photo_id":"1330067890","filename":"file5"},{"photo_id":"1330067764","filename":"file2"},{"photo_id":"1330067777","filename":"file4"},{"photo_id":"1330067762","filename":"file1"},{"photo_id":"1330067759","filename":"file0"},{"photo_id":"1330067767","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330067777":["hashtag1","hashtag2"]},{"1330067762":["hashtag1","hashtag2"]},{"1330067759":["hashtag1","hashtag2"]},{"1330067890":["hashtag1","hashtag2"]},{"1330067767":["hashtag1","hashtag2"]},{"1330067764":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330067777, 1330067762, 1330067759, 1330067890, 1330067767, 1330067764)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.53434634208679 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 16:17:22.575514
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/16/16/image_19012025_16_16_02_489784_0001.jpg', '/home/pi/Desktop/images/19012025/16/16/image_19012025_16_16_02_489784_0002.jpg', '/home/pi/Desktop/images/19012025/16/17/image_19012025_16_17_02_677460_0000.jpg', '/home/pi/Desktop/images/19012025/16/17/image_19012025_16_17_02_677460_0001.jpg', '/home/pi/Desktop/images/19012025/16/17/image_19012025_16_17_02_677460_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/16/16/image_19012025_16_16_02_489784_0001.jpg
/home/pi/Desktop/images/19012025/16/16/image_19012025_16_16_02_489784_0002.jpg
/home/pi/Desktop/images/19012025/16/17/image_19012025_16_17_02_677460_0000.jpg
/home/pi/Desktop/images/19012025/16/17/image_19012025_16_17_02_677460_0001.jpg
/home/pi/Desktop/images/19012025/16/17/image_19012025_16_17_02_677460_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330068081","1330068029","1330068032","1330068043","1330068025"],"photo_ids_order":["1330068025","1330068029","1330068032","1330068043","1330068081"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/437522007a380db131abc8e369fc9028.jpg","text":"TemporaryFile(/tmp/multipartBody4942810948594034052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737299914744,"filename":"image_19012025_16_17_02_677460_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/c8b44c6c32fcc7e992b3097be7fa64b8.jpg","text":"TemporaryFile(/tmp/multipartBody3581540503620499621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737299914744,"filename":"image_19012025_16_16_02_489784_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/fcada5e9f6544362f2d4eff2fca05890.jpg","text":"TemporaryFile(/tmp/multipartBody3512755356492167826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737299914744,"filename":"image_19012025_16_17_02_677460_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/0ad9fe89ca99a0ccf271f112fd8c3298.jpg","text":"TemporaryFile(/tmp/multipartBody6149319082287973867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737299914744,"filename":"image_19012025_16_17_02_677460_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/b5dbdf6b9be37c3e882d4b2776d8f98f.jpg","text":"TemporaryFile(/tmp/multipartBody762989690979314975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737299914744,"filename":"image_19012025_16_16_02_489784_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330068032","file1":"1330068029","file0":"1330068025","file4":"1330068081","file3":"1330068043"},"map_files_photo_id_array":[{"photo_id":"1330068032","filename":"file2"},{"photo_id":"1330068081","filename":"file4"},{"photo_id":"1330068029","filename":"file1"},{"photo_id":"1330068025","filename":"file0"},{"photo_id":"1330068043","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330068081":["hashtag1","hashtag2"]},{"1330068029":["hashtag1","hashtag2"]},{"1330068032":["hashtag1","hashtag2"]},{"1330068043":["hashtag1","hashtag2"]},{"1330068025":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330068081, 1330068029, 1330068032, 1330068043, 1330068025)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 46.02514624595642 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 16:18:22.700827
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/16/17/image_19012025_16_17_02_677460_0003.jpg', '/home/pi/Desktop/images/19012025/16/18/image_19012025_16_18_02_915586_0000.jpg', '/home/pi/Desktop/images/19012025/16/18/image_19012025_16_18_02_915586_0001.jpg', '/home/pi/Desktop/images/19012025/16/18/image_19012025_16_18_02_915586_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/16/17/image_19012025_16_17_02_677460_0003.jpg
/home/pi/Desktop/images/19012025/16/18/image_19012025_16_18_02_915586_0000.jpg
/home/pi/Desktop/images/19012025/16/18/image_19012025_16_18_02_915586_0001.jpg
/home/pi/Desktop/images/19012025/16/18/image_19012025_16_18_02_915586_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330068102","1330068094","1330068091","1330068099"],"photo_ids_order":["1330068091","1330068094","1330068099","1330068102"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/b05afb6405ae106b31ee52ed51a8e32f.jpg","text":"TemporaryFile(/tmp/multipartBody7097923301085216722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737299972663,"filename":"image_19012025_16_18_02_915586_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/2045bf0b97c23ea39e8480ce30ba8d6d.jpg","text":"TemporaryFile(/tmp/multipartBody7814116801911735956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737299972663,"filename":"image_19012025_16_18_02_915586_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/58e87f7ee68e6b9b4f19d658c71fcf78.jpg","text":"TemporaryFile(/tmp/multipartBody1660198304955212097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737299972663,"filename":"image_19012025_16_17_02_677460_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/9d10a48ad42dbd7888bcead60507030a.jpg","text":"TemporaryFile(/tmp/multipartBody4139996507464614435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737299972663,"filename":"image_19012025_16_18_02_915586_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330068099","file1":"1330068094","file0":"1330068091","file3":"1330068102"},"map_files_photo_id_array":[{"photo_id":"1330068099","filename":"file2"},{"photo_id":"1330068094","filename":"file1"},{"photo_id":"1330068091","filename":"file0"},{"photo_id":"1330068102","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330068102":["hashtag1","hashtag2"]},{"1330068094":["hashtag1","hashtag2"]},{"1330068091":["hashtag1","hashtag2"]},{"1330068099":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330068102, 1330068094, 1330068091, 1330068099)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.26707148551941 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 16:19:02.524467
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
  port_id : 19698700
  datou_current_id : 2490825
in upload_from_sqlite, uploading in 19698700
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17012025/22/55/image_17012025_22_55_02_851441_0001.jpg', '/home/pi/Desktop/images/17012025/22/55/image_17012025_22_55_02_851441_0002.jpg', '/home/pi/Desktop/images/17012025/22/55/image_17012025_22_55_02_851441_0003.jpg', '/home/pi/Desktop/images/17012025/22/56/image_17012025_22_56_03_050337_0000.jpg', '/home/pi/Desktop/images/17012025/22/56/image_17012025_22_56_03_050337_0001.jpg', '/home/pi/Desktop/images/17012025/22/56/image_17012025_22_56_03_050337_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2490825&datou=0
/home/pi/Desktop/images/17012025/22/55/image_17012025_22_55_02_851441_0001.jpg
/home/pi/Desktop/images/17012025/22/55/image_17012025_22_55_02_851441_0002.jpg
/home/pi/Desktop/images/17012025/22/55/image_17012025_22_55_02_851441_0003.jpg
/home/pi/Desktop/images/17012025/22/56/image_17012025_22_56_03_050337_0000.jpg
/home/pi/Desktop/images/17012025/22/56/image_17012025_22_56_03_050337_0001.jpg
/home/pi/Desktop/images/17012025/22/56/image_17012025_22_56_03_050337_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330068134","1330068160","1330068107","1330068163","1330068142","1330068115"],"photo_ids_order":["1330068107","1330068115","1330068134","1330068142","1330068160","1330068163"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/0083f01329bdae0c2675fdc3e69cdf90.jpg","text":"TemporaryFile(/tmp/multipartBody2813003435743022504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737300019952,"filename":"image_17012025_22_55_02_851441_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/654468db2bf9bc8b72c9ea80d7ef76b5.jpg","text":"TemporaryFile(/tmp/multipartBody5304172279425066167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737300019952,"filename":"image_17012025_22_56_03_050337_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/f124ca97276a0352bde13be6bf22e446.jpg","text":"TemporaryFile(/tmp/multipartBody3045970080962575229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737300019952,"filename":"image_17012025_22_55_02_851441_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/22413c6a82209681ad2596b6f2d71a3b.jpg","text":"TemporaryFile(/tmp/multipartBody1559284338182839217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737300019952,"filename":"image_17012025_22_56_03_050337_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/b399b4d544fab15f535ee479fb5966f1.jpg","text":"TemporaryFile(/tmp/multipartBody527003371687793940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737300019952,"filename":"image_17012025_22_56_03_050337_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/19a0719d3c75d300d087d06fcdc81ac0.jpg","text":"TemporaryFile(/tmp/multipartBody7336795976000823376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737300019952,"filename":"image_17012025_22_55_02_851441_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330068134","file1":"1330068115","file0":"1330068107","file4":"1330068160","file5":"1330068163","file3":"1330068142"},"map_files_photo_id_array":[{"photo_id":"1330068163","filename":"file5"},{"photo_id":"1330068134","filename":"file2"},{"photo_id":"1330068160","filename":"file4"},{"photo_id":"1330068115","filename":"file1"},{"photo_id":"1330068107","filename":"file0"},{"photo_id":"1330068142","filename":"file3"}],"portfolio_id":19698700,"hashtag_by_photo_ids":[{"1330068134":["hashtag1","hashtag2"]},{"1330068160":["hashtag1","hashtag2"]},{"1330068107":["hashtag1","hashtag2"]},{"1330068163":["hashtag1","hashtag2"]},{"1330068142":["hashtag1","hashtag2"]},{"1330068115":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698700 used, photo_id : ArrayBuffer(1330068134, 1330068160, 1330068107, 1330068163, 1330068142, 1330068115)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.77351427078247 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-19 16:20:22.080872
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/16/18/image_19012025_16_18_02_915586_0003.jpg', '/home/pi/Desktop/images/19012025/16/19/image_19012025_16_19_03_054542_0000.jpg', '/home/pi/Desktop/images/19012025/16/19/image_19012025_16_19_03_054542_0001.jpg', '/home/pi/Desktop/images/19012025/16/19/image_19012025_16_19_03_054542_0002.jpg', '/home/pi/Desktop/images/19012025/16/19/image_19012025_16_19_03_054542_0003.jpg', '/home/pi/Desktop/images/19012025/16/20/image_19012025_16_20_02_278054_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/16/18/image_19012025_16_18_02_915586_0003.jpg
/home/pi/Desktop/images/19012025/16/19/image_19012025_16_19_03_054542_0000.jpg
/home/pi/Desktop/images/19012025/16/19/image_19012025_16_19_03_054542_0001.jpg
/home/pi/Desktop/images/19012025/16/19/image_19012025_16_19_03_054542_0002.jpg
/home/pi/Desktop/images/19012025/16/19/image_19012025_16_19_03_054542_0003.jpg
/home/pi/Desktop/images/19012025/16/20/image_19012025_16_20_02_278054_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":["1330068189","1330068182","1330068187","1330068190","1330068184","1330068178"],"photo_ids_order":["1330068178","1330068182","1330068184","1330068187","1330068189","1330068190"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/5856d99412cf709c116b8ab97e68e0a3.jpg","text":"TemporaryFile(/tmp/multipartBody2473609884240275087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737300098510,"filename":"image_19012025_16_19_03_054542_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/ee46c56843b46de750548218923b405a.jpg","text":"TemporaryFile(/tmp/multipartBody1389125699610027244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737300098510,"filename":"image_19012025_16_19_03_054542_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/000c4e15711a9ac03f000e1db0e68677.jpg","text":"TemporaryFile(/tmp/multipartBody3494904264914905806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737300098510,"filename":"image_19012025_16_19_03_054542_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/5ee1657052af635405a87c6d40ee47d6.jpg","text":"TemporaryFile(/tmp/multipartBody4392062918720370738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737300098510,"filename":"image_19012025_16_20_02_278054_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/f5b03d8baace0ba0c02a2de67aa520e1.jpg","text":"TemporaryFile(/tmp/multipartBody5085198653421875658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737300098510,"filename":"image_19012025_16_19_03_054542_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/3578f79cb63dded7a5b048d5d4ff6c24.jpg","text":"TemporaryFile(/tmp/multipartBody1848751677208490455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737300098510,"filename":"image_19012025_16_18_02_915586_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330068184","file1":"1330068182","file0":"1330068178","file4":"1330068189","file5":"1330068190","file3":"1330068187"},"map_files_photo_id_array":[{"photo_id":"1330068190","filename":"file5"},{"photo_id":"1330068184","filename":"file2"},{"photo_id":"1330068189","filename":"file4"},{"photo_id":"1330068182","filename":"file1"},{"photo_id":"1330068178","filename":"file0"},{"photo_id":"1330068187","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330068189":["hashtag1","hashtag2"]},{"1330068182":["hashtag1","hashtag2"]},{"1330068187":["hashtag1","hashtag2"]},{"1330068190":["hashtag1","hashtag2"]},{"1330068184":["hashtag1","hashtag2"]},{"1330068178":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330068189, 1330068182, 1330068187, 1330068190, 1330068184, 1330068178)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.153618574142456 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 16:21:22.220364
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/16/20/image_19012025_16_20_02_278054_0001.jpg', '/home/pi/Desktop/images/19012025/16/20/image_19012025_16_20_02_278054_0002.jpg', '/home/pi/Desktop/images/19012025/16/20/image_19012025_16_20_02_278054_0003.jpg', '/home/pi/Desktop/images/19012025/16/21/image_19012025_16_21_02_462909_0000.jpg', '/home/pi/Desktop/images/19012025/16/21/image_19012025_16_21_02_462909_0001.jpg', '/home/pi/Desktop/images/19012025/16/21/image_19012025_16_21_02_462909_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/16/20/image_19012025_16_20_02_278054_0001.jpg
/home/pi/Desktop/images/19012025/16/20/image_19012025_16_20_02_278054_0002.jpg
/home/pi/Desktop/images/19012025/16/20/image_19012025_16_20_02_278054_0003.jpg
/home/pi/Desktop/images/19012025/16/21/image_19012025_16_21_02_462909_0000.jpg
/home/pi/Desktop/images/19012025/16/21/image_19012025_16_21_02_462909_0001.jpg
/home/pi/Desktop/images/19012025/16/21/image_19012025_16_21_02_462909_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330068204","1330068221","1330068200","1330068206","1330068208","1330068202"],"photo_ids_order":["1330068200","1330068202","1330068204","1330068206","1330068208","1330068221"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/3ecb51557df72cbc0e0990c7f034ba81.jpg","text":"TemporaryFile(/tmp/multipartBody3255107281314422191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737300159517,"filename":"image_19012025_16_20_02_278054_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/9d4ead0338fa8061d7c7f61e9c57ba00.jpg","text":"TemporaryFile(/tmp/multipartBody565001295571630742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737300159517,"filename":"image_19012025_16_21_02_462909_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/e38e6f5e40314a8400e91e293dd1495a.jpg","text":"TemporaryFile(/tmp/multipartBody562709927874959666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737300159517,"filename":"image_19012025_16_20_02_278054_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/26e4fbb7f3c5c5f8d0efa37c0a675e9f.jpg","text":"TemporaryFile(/tmp/multipartBody445701242245108453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737300159517,"filename":"image_19012025_16_21_02_462909_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/ce162d6d9eacfdd1edaedefeb78cfd2f.jpg","text":"TemporaryFile(/tmp/multipartBody6456263859194727120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737300159517,"filename":"image_19012025_16_21_02_462909_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/f6258c4b757f6e4ddd67398ab4b50e90.jpg","text":"TemporaryFile(/tmp/multipartBody4076824714292648238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737300159517,"filename":"image_19012025_16_20_02_278054_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330068204","file1":"1330068202","file0":"1330068200","file4":"1330068208","file5":"1330068221","file3":"1330068206"},"map_files_photo_id_array":[{"photo_id":"1330068221","filename":"file5"},{"photo_id":"1330068204","filename":"file2"},{"photo_id":"1330068208","filename":"file4"},{"photo_id":"1330068202","filename":"file1"},{"photo_id":"1330068200","filename":"file0"},{"photo_id":"1330068206","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330068204":["hashtag1","hashtag2"]},{"1330068221":["hashtag1","hashtag2"]},{"1330068200":["hashtag1","hashtag2"]},{"1330068206":["hashtag1","hashtag2"]},{"1330068208":["hashtag1","hashtag2"]},{"1330068202":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330068204, 1330068221, 1330068200, 1330068206, 1330068208, 1330068202)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.28229522705078 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 16:22:22.422298
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/16/21/image_19012025_16_21_02_462909_0003.jpg', '/home/pi/Desktop/images/19012025/16/22/image_19012025_16_22_02_677090_0000.jpg', '/home/pi/Desktop/images/19012025/16/22/image_19012025_16_22_02_677090_0001.jpg', '/home/pi/Desktop/images/19012025/16/22/image_19012025_16_22_02_677090_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/16/21/image_19012025_16_21_02_462909_0003.jpg
/home/pi/Desktop/images/19012025/16/22/image_19012025_16_22_02_677090_0000.jpg
/home/pi/Desktop/images/19012025/16/22/image_19012025_16_22_02_677090_0001.jpg
/home/pi/Desktop/images/19012025/16/22/image_19012025_16_22_02_677090_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330068255","1330068249","1330068251","1330068253"],"photo_ids_order":["1330068249","1330068251","1330068253","1330068255"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/b02a7189f599a95cfc54dd0630be1018.jpg","text":"TemporaryFile(/tmp/multipartBody3763112665974869631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737300213611,"filename":"image_19012025_16_22_02_677090_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/4ef98e9608ad3b17ba213cce8e1e9ab9.jpg","text":"TemporaryFile(/tmp/multipartBody3992129071538693858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737300213611,"filename":"image_19012025_16_21_02_462909_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/d85ddbcc28f38244679af1d4648d1d9d.jpg","text":"TemporaryFile(/tmp/multipartBody86674261505766653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737300213611,"filename":"image_19012025_16_22_02_677090_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/84eb484a91cad5ede867990ed2024405.jpg","text":"TemporaryFile(/tmp/multipartBody2102879549622057211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737300213611,"filename":"image_19012025_16_22_02_677090_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330068253","file1":"1330068251","file0":"1330068249","file3":"1330068255"},"map_files_photo_id_array":[{"photo_id":"1330068253","filename":"file2"},{"photo_id":"1330068251","filename":"file1"},{"photo_id":"1330068249","filename":"file0"},{"photo_id":"1330068255","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330068255":["hashtag1","hashtag2"]},{"1330068249":["hashtag1","hashtag2"]},{"1330068251":["hashtag1","hashtag2"]},{"1330068253":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330068255, 1330068249, 1330068251, 1330068253)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.915284872055054 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 16:23:22.556276
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/16/22/image_19012025_16_22_02_677090_0003.jpg', '/home/pi/Desktop/images/19012025/16/23/image_19012025_16_23_02_747812_0000.jpg', '/home/pi/Desktop/images/19012025/16/23/image_19012025_16_23_02_747812_0001.jpg', '/home/pi/Desktop/images/19012025/16/23/image_19012025_16_23_02_747812_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/16/22/image_19012025_16_22_02_677090_0003.jpg
/home/pi/Desktop/images/19012025/16/23/image_19012025_16_23_02_747812_0000.jpg
/home/pi/Desktop/images/19012025/16/23/image_19012025_16_23_02_747812_0001.jpg
/home/pi/Desktop/images/19012025/16/23/image_19012025_16_23_02_747812_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330068275","1330068272","1330068266","1330068269"],"photo_ids_order":["1330068266","1330068269","1330068272","1330068275"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/df7cb52df6310a948a2dddfa710c7774.jpg","text":"TemporaryFile(/tmp/multipartBody4083390194095569745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737300273814,"filename":"image_19012025_16_23_02_747812_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/e672de14107c4467dff7e3be95972f38.jpg","text":"TemporaryFile(/tmp/multipartBody1666314739167798258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737300273814,"filename":"image_19012025_16_23_02_747812_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/bc94141c2b68ed0cedc9100cb2c8264e.jpg","text":"TemporaryFile(/tmp/multipartBody4511760564601303160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737300273814,"filename":"image_19012025_16_22_02_677090_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/247d646dcb23abfa199065ba6070d6b9.jpg","text":"TemporaryFile(/tmp/multipartBody8233710587892807944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737300273814,"filename":"image_19012025_16_23_02_747812_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330068272","file1":"1330068269","file0":"1330068266","file3":"1330068275"},"map_files_photo_id_array":[{"photo_id":"1330068272","filename":"file2"},{"photo_id":"1330068269","filename":"file1"},{"photo_id":"1330068266","filename":"file0"},{"photo_id":"1330068275","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330068275":["hashtag1","hashtag2"]},{"1330068272":["hashtag1","hashtag2"]},{"1330068266":["hashtag1","hashtag2"]},{"1330068269":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330068275, 1330068272, 1330068266, 1330068269)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.82746863365173 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 16:24:21.963662
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/16/23/image_19012025_16_23_02_747812_0003.jpg', '/home/pi/Desktop/images/19012025/16/24/image_19012025_16_24_02_943430_0000.jpg', '/home/pi/Desktop/images/19012025/16/24/image_19012025_16_24_02_943430_0001.jpg', '/home/pi/Desktop/images/19012025/16/24/image_19012025_16_24_02_943430_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/16/23/image_19012025_16_23_02_747812_0003.jpg
/home/pi/Desktop/images/19012025/16/24/image_19012025_16_24_02_943430_0000.jpg
/home/pi/Desktop/images/19012025/16/24/image_19012025_16_24_02_943430_0001.jpg
/home/pi/Desktop/images/19012025/16/24/image_19012025_16_24_02_943430_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.559967994689941 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-19 16:24:41.800946
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/16/23/image_19012025_16_23_02_747812_0003.jpg', '/home/pi/Desktop/images/19012025/16/24/image_19012025_16_24_02_943430_0000.jpg', '/home/pi/Desktop/images/19012025/16/24/image_19012025_16_24_02_943430_0001.jpg', '/home/pi/Desktop/images/19012025/16/24/image_19012025_16_24_02_943430_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/16/23/image_19012025_16_23_02_747812_0003.jpg
/home/pi/Desktop/images/19012025/16/24/image_19012025_16_24_02_943430_0000.jpg
/home/pi/Desktop/images/19012025/16/24/image_19012025_16_24_02_943430_0001.jpg
/home/pi/Desktop/images/19012025/16/24/image_19012025_16_24_02_943430_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330068293","1330068296","1330068299","1330068291"],"photo_ids_order":["1330068291","1330068293","1330068296","1330068299"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/9d0c5307ec8f7d397c44129305c6fbed.jpg","text":"TemporaryFile(/tmp/multipartBody6172673881966601533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737300352740,"filename":"image_19012025_16_24_02_943430_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/fcee1a7592ea0deced410044add496d0.jpg","text":"TemporaryFile(/tmp/multipartBody1329400452850543803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737300352740,"filename":"image_19012025_16_24_02_943430_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/2c6fb48f94b0fa8722d0341b59be555b.jpg","text":"TemporaryFile(/tmp/multipartBody5216649594287818351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737300352740,"filename":"image_19012025_16_24_02_943430_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/18d93e7c6c1634d49864e1e36aad4208.jpg","text":"TemporaryFile(/tmp/multipartBody6714380697661365498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737300352740,"filename":"image_19012025_16_23_02_747812_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330068296","file1":"1330068293","file0":"1330068291","file3":"1330068299"},"map_files_photo_id_array":[{"photo_id":"1330068296","filename":"file2"},{"photo_id":"1330068293","filename":"file1"},{"photo_id":"1330068291","filename":"file0"},{"photo_id":"1330068299","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330068293":["hashtag1","hashtag2"]},{"1330068296":["hashtag1","hashtag2"]},{"1330068299":["hashtag1","hashtag2"]},{"1330068291":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330068293, 1330068296, 1330068299, 1330068291)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.869600772857666 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-19 16:25:32.033853
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/16/24/image_19012025_16_24_02_943430_0003.jpg', '/home/pi/Desktop/images/19012025/16/25/image_19012025_16_25_02_183875_0000.jpg', '/home/pi/Desktop/images/19012025/16/25/image_19012025_16_25_02_183875_0001.jpg', '/home/pi/Desktop/images/19012025/16/25/image_19012025_16_25_02_183875_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/16/24/image_19012025_16_24_02_943430_0003.jpg
/home/pi/Desktop/images/19012025/16/25/image_19012025_16_25_02_183875_0000.jpg
/home/pi/Desktop/images/19012025/16/25/image_19012025_16_25_02_183875_0001.jpg
/home/pi/Desktop/images/19012025/16/25/image_19012025_16_25_02_183875_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330068653","1330068559","1330068631","1330068556"],"photo_ids_order":["1330068556","1330068559","1330068631","1330068653"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/f7023942438ae6b2215a571ae28e229f.jpg","text":"TemporaryFile(/tmp/multipartBody1361213368550769880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737300403540,"filename":"image_19012025_16_25_02_183875_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/de4e000969a24873038f8509bec050c4.jpg","text":"TemporaryFile(/tmp/multipartBody1824806464114789667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737300403540,"filename":"image_19012025_16_25_02_183875_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/4a660d93752faaa4543d0c81bde8770d.jpg","text":"TemporaryFile(/tmp/multipartBody5128406255574730931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737300403540,"filename":"image_19012025_16_25_02_183875_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/4d45a476db57d0e482cd9a67a067530a.jpg","text":"TemporaryFile(/tmp/multipartBody657901192534657691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737300403540,"filename":"image_19012025_16_24_02_943430_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330068631","file1":"1330068559","file0":"1330068556","file3":"1330068653"},"map_files_photo_id_array":[{"photo_id":"1330068631","filename":"file2"},{"photo_id":"1330068559","filename":"file1"},{"photo_id":"1330068556","filename":"file0"},{"photo_id":"1330068653","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330068653":["hashtag1","hashtag2"]},{"1330068559":["hashtag1","hashtag2"]},{"1330068631":["hashtag1","hashtag2"]},{"1330068556":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330068653, 1330068559, 1330068631, 1330068556)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.847088098526 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 16:26:22.224947
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/16/25/image_19012025_16_25_02_183875_0003.jpg', '/home/pi/Desktop/images/19012025/16/26/image_19012025_16_26_02_423269_0000.jpg', '/home/pi/Desktop/images/19012025/16/26/image_19012025_16_26_02_423269_0001.jpg', '/home/pi/Desktop/images/19012025/16/26/image_19012025_16_26_02_423269_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/16/25/image_19012025_16_25_02_183875_0003.jpg
/home/pi/Desktop/images/19012025/16/26/image_19012025_16_26_02_423269_0000.jpg
/home/pi/Desktop/images/19012025/16/26/image_19012025_16_26_02_423269_0001.jpg
/home/pi/Desktop/images/19012025/16/26/image_19012025_16_26_02_423269_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330068720","1330068714","1330068716","1330068718"],"photo_ids_order":["1330068714","1330068716","1330068718","1330068720"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/a407697416fb9dcd961236cda7406bd7.jpg","text":"TemporaryFile(/tmp/multipartBody1746779815453164448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737300453208,"filename":"image_19012025_16_26_02_423269_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/8ba0676e54badff72e0d1058151df838.jpg","text":"TemporaryFile(/tmp/multipartBody2565537851797547195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737300453208,"filename":"image_19012025_16_25_02_183875_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/65379d3457264c4eba30416c35c5b7ba.jpg","text":"TemporaryFile(/tmp/multipartBody4366746127992580891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737300453208,"filename":"image_19012025_16_26_02_423269_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/0cab8ef01a58f7683bc00446229f3386.jpg","text":"TemporaryFile(/tmp/multipartBody7112102252772160362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737300453208,"filename":"image_19012025_16_26_02_423269_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330068718","file1":"1330068716","file0":"1330068714","file3":"1330068720"},"map_files_photo_id_array":[{"photo_id":"1330068718","filename":"file2"},{"photo_id":"1330068716","filename":"file1"},{"photo_id":"1330068714","filename":"file0"},{"photo_id":"1330068720","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330068720":["hashtag1","hashtag2"]},{"1330068714":["hashtag1","hashtag2"]},{"1330068716":["hashtag1","hashtag2"]},{"1330068718":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330068720, 1330068714, 1330068716, 1330068718)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.249924421310425 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 16:27:02.954483
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
  port_id : 19698700
  datou_current_id : 2490825
in upload_from_sqlite, uploading in 19698700
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17012025/22/56/image_17012025_22_56_03_050337_0003.jpg', '/home/pi/Desktop/images/17012025/22/57/image_17012025_22_57_02_199287_0000.jpg', '/home/pi/Desktop/images/17012025/22/57/image_17012025_22_57_02_199287_0001.jpg', '/home/pi/Desktop/images/17012025/22/57/image_17012025_22_57_02_199287_0002.jpg', '/home/pi/Desktop/images/17012025/22/57/image_17012025_22_57_02_199287_0003.jpg', '/home/pi/Desktop/images/17012025/22/58/image_17012025_22_58_02_423850_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2490825&datou=0
/home/pi/Desktop/images/17012025/22/56/image_17012025_22_56_03_050337_0003.jpg
/home/pi/Desktop/images/17012025/22/57/image_17012025_22_57_02_199287_0000.jpg
/home/pi/Desktop/images/17012025/22/57/image_17012025_22_57_02_199287_0001.jpg
/home/pi/Desktop/images/17012025/22/57/image_17012025_22_57_02_199287_0002.jpg
/home/pi/Desktop/images/17012025/22/57/image_17012025_22_57_02_199287_0003.jpg
/home/pi/Desktop/images/17012025/22/58/image_17012025_22_58_02_423850_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":["1330068732","1330068734","1330068728","1330068725","1330068730","1330068736"],"photo_ids_order":["1330068725","1330068728","1330068730","1330068732","1330068734","1330068736"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/462e0e018ef9b4d02089e1df63ede401.jpg","text":"TemporaryFile(/tmp/multipartBody6692028866611256876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737300500466,"filename":"image_17012025_22_57_02_199287_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/e2febcdf8c55f6effb67af4a645bfb4c.jpg","text":"TemporaryFile(/tmp/multipartBody1426476508795512444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737300500466,"filename":"image_17012025_22_57_02_199287_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/cb5144e3472398b41c3536f7dc7b31f1.jpg","text":"TemporaryFile(/tmp/multipartBody3582144213781947952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737300500466,"filename":"image_17012025_22_57_02_199287_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/2a1fbc50146baf3fc1aa0034f17f5f5c.jpg","text":"TemporaryFile(/tmp/multipartBody6439165448984913959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737300500466,"filename":"image_17012025_22_56_03_050337_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/ebbcaa48ece82b1cc6ead480feb56752.jpg","text":"TemporaryFile(/tmp/multipartBody6674085775531466602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737300500466,"filename":"image_17012025_22_57_02_199287_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/114ee5db8cdb918e3de8967d9b1a6735.jpg","text":"TemporaryFile(/tmp/multipartBody4537474796988970102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737300500466,"filename":"image_17012025_22_58_02_423850_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330068730","file1":"1330068728","file0":"1330068725","file4":"1330068734","file5":"1330068736","file3":"1330068732"},"map_files_photo_id_array":[{"photo_id":"1330068736","filename":"file5"},{"photo_id":"1330068730","filename":"file2"},{"photo_id":"1330068734","filename":"file4"},{"photo_id":"1330068728","filename":"file1"},{"photo_id":"1330068725","filename":"file0"},{"photo_id":"1330068732","filename":"file3"}],"portfolio_id":19698700,"hashtag_by_photo_ids":[{"1330068732":["hashtag1","hashtag2"]},{"1330068734":["hashtag1","hashtag2"]},{"1330068728":["hashtag1","hashtag2"]},{"1330068725":["hashtag1","hashtag2"]},{"1330068730":["hashtag1","hashtag2"]},{"1330068736":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698700 used, photo_id : ArrayBuffer(1330068732, 1330068734, 1330068728, 1330068725, 1330068730, 1330068736)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 61.35701131820679 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 16:28:22.716906
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/16/26/image_19012025_16_26_02_423269_0003.jpg', '/home/pi/Desktop/images/19012025/16/27/image_19012025_16_27_02_555981_0000.jpg', '/home/pi/Desktop/images/19012025/16/27/image_19012025_16_27_02_555981_0001.jpg', '/home/pi/Desktop/images/19012025/16/27/image_19012025_16_27_02_555981_0002.jpg', '/home/pi/Desktop/images/19012025/16/27/image_19012025_16_27_02_555981_0003.jpg', '/home/pi/Desktop/images/19012025/16/28/image_19012025_16_28_02_813289_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/16/26/image_19012025_16_26_02_423269_0003.jpg
/home/pi/Desktop/images/19012025/16/27/image_19012025_16_27_02_555981_0000.jpg
/home/pi/Desktop/images/19012025/16/27/image_19012025_16_27_02_555981_0001.jpg
/home/pi/Desktop/images/19012025/16/27/image_19012025_16_27_02_555981_0002.jpg
/home/pi/Desktop/images/19012025/16/27/image_19012025_16_27_02_555981_0003.jpg
/home/pi/Desktop/images/19012025/16/28/image_19012025_16_28_02_813289_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":["1330068797","1330068793","1330068799","1330068790","1330068802","1330068795"],"photo_ids_order":["1330068790","1330068793","1330068795","1330068797","1330068799","1330068802"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/a4cf029daa1cb44971f61a49cd2ad2a6.jpg","text":"TemporaryFile(/tmp/multipartBody4624263537508249221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737300578792,"filename":"image_19012025_16_27_02_555981_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/7adb5aa1632b6967c452a18f5080bb0b.jpg","text":"TemporaryFile(/tmp/multipartBody5971951843566693743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737300578792,"filename":"image_19012025_16_27_02_555981_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/1132a00389ea51eade7cf205abac10d3.jpg","text":"TemporaryFile(/tmp/multipartBody3343671491389762693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737300578792,"filename":"image_19012025_16_27_02_555981_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/ddc1d1ebd1387be298b53e63bd3ec387.jpg","text":"TemporaryFile(/tmp/multipartBody5843496849062356817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737300578792,"filename":"image_19012025_16_26_02_423269_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/79543418bd633c43bd349ddab69bc680.jpg","text":"TemporaryFile(/tmp/multipartBody8814266055116620381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737300578792,"filename":"image_19012025_16_28_02_813289_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/53fa7f39c013a83f55c3c73816e0f854.jpg","text":"TemporaryFile(/tmp/multipartBody6414579282122287766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737300578792,"filename":"image_19012025_16_27_02_555981_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330068795","file1":"1330068793","file0":"1330068790","file4":"1330068799","file5":"1330068802","file3":"1330068797"},"map_files_photo_id_array":[{"photo_id":"1330068802","filename":"file5"},{"photo_id":"1330068795","filename":"file2"},{"photo_id":"1330068799","filename":"file4"},{"photo_id":"1330068793","filename":"file1"},{"photo_id":"1330068790","filename":"file0"},{"photo_id":"1330068797","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330068797":["hashtag1","hashtag2"]},{"1330068793":["hashtag1","hashtag2"]},{"1330068799":["hashtag1","hashtag2"]},{"1330068790":["hashtag1","hashtag2"]},{"1330068802":["hashtag1","hashtag2"]},{"1330068795":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330068797, 1330068793, 1330068799, 1330068790, 1330068802, 1330068795)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.92392182350159 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 16:29:21.904273
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/16/28/image_19012025_16_28_02_813289_0001.jpg', '/home/pi/Desktop/images/19012025/16/28/image_19012025_16_28_02_813289_0002.jpg', '/home/pi/Desktop/images/19012025/16/28/image_19012025_16_28_02_813289_0003.jpg', '/home/pi/Desktop/images/19012025/16/29/image_19012025_16_29_03_050692_0000.jpg', '/home/pi/Desktop/images/19012025/16/29/image_19012025_16_29_03_050692_0001.jpg', '/home/pi/Desktop/images/19012025/16/29/image_19012025_16_29_03_050692_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/16/28/image_19012025_16_28_02_813289_0001.jpg
/home/pi/Desktop/images/19012025/16/28/image_19012025_16_28_02_813289_0002.jpg
/home/pi/Desktop/images/19012025/16/28/image_19012025_16_28_02_813289_0003.jpg
/home/pi/Desktop/images/19012025/16/29/image_19012025_16_29_03_050692_0000.jpg
/home/pi/Desktop/images/19012025/16/29/image_19012025_16_29_03_050692_0001.jpg
/home/pi/Desktop/images/19012025/16/29/image_19012025_16_29_03_050692_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330068822","1330068831","1330068825","1330068819","1330068828","1330068815"],"photo_ids_order":["1330068815","1330068819","1330068822","1330068825","1330068828","1330068831"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/c138c21571b0a96d4c2f0b4240822b56.jpg","text":"TemporaryFile(/tmp/multipartBody5219984131256062081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737300637812,"filename":"image_19012025_16_28_02_813289_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/e457745af93ac7b4545844da0aeee570.jpg","text":"TemporaryFile(/tmp/multipartBody1265861030018269424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737300637812,"filename":"image_19012025_16_29_03_050692_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/af9f54aff78b3bbdc26c83df9192a396.jpg","text":"TemporaryFile(/tmp/multipartBody7538924036724388096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737300637812,"filename":"image_19012025_16_29_03_050692_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/7d1cd9f2586b3ecb4019e3cac7c7cf04.jpg","text":"TemporaryFile(/tmp/multipartBody5124693566604056618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737300637812,"filename":"image_19012025_16_28_02_813289_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/49505ea0cbd292bf8c10439ed6dfdeab.jpg","text":"TemporaryFile(/tmp/multipartBody8791051291930836662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737300637812,"filename":"image_19012025_16_29_03_050692_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/af6656ccdbde703fb992bea454e1b345.jpg","text":"TemporaryFile(/tmp/multipartBody3702823266679259177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737300637812,"filename":"image_19012025_16_28_02_813289_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330068822","file1":"1330068819","file0":"1330068815","file4":"1330068828","file5":"1330068831","file3":"1330068825"},"map_files_photo_id_array":[{"photo_id":"1330068831","filename":"file5"},{"photo_id":"1330068822","filename":"file2"},{"photo_id":"1330068828","filename":"file4"},{"photo_id":"1330068819","filename":"file1"},{"photo_id":"1330068815","filename":"file0"},{"photo_id":"1330068825","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330068822":["hashtag1","hashtag2"]},{"1330068831":["hashtag1","hashtag2"]},{"1330068825":["hashtag1","hashtag2"]},{"1330068819":["hashtag1","hashtag2"]},{"1330068828":["hashtag1","hashtag2"]},{"1330068815":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330068822, 1330068831, 1330068825, 1330068819, 1330068828, 1330068815)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.16041660308838 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 16:30:22.032018
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/16/29/image_19012025_16_29_03_050692_0003.jpg', '/home/pi/Desktop/images/19012025/16/30/image_19012025_16_30_02_294195_0000.jpg', '/home/pi/Desktop/images/19012025/16/30/image_19012025_16_30_02_294195_0001.jpg', '/home/pi/Desktop/images/19012025/16/30/image_19012025_16_30_02_294195_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/16/29/image_19012025_16_29_03_050692_0003.jpg
/home/pi/Desktop/images/19012025/16/30/image_19012025_16_30_02_294195_0000.jpg
/home/pi/Desktop/images/19012025/16/30/image_19012025_16_30_02_294195_0001.jpg
/home/pi/Desktop/images/19012025/16/30/image_19012025_16_30_02_294195_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330068840","1330068843","1330068846","1330068848"],"photo_ids_order":["1330068840","1330068843","1330068846","1330068848"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/2fc2364e2d55cc96fc00ab7f62706856.jpg","text":"TemporaryFile(/tmp/multipartBody751716485785946247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737300693201,"filename":"image_19012025_16_29_03_050692_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/952ce98d3ad7b72d26bd78ea299c00cc.jpg","text":"TemporaryFile(/tmp/multipartBody8782191846109784208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737300693201,"filename":"image_19012025_16_30_02_294195_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/150f947d9cc26027b96a6a4b7b1dbf06.jpg","text":"TemporaryFile(/tmp/multipartBody3552819541567420573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737300693201,"filename":"image_19012025_16_30_02_294195_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/f149f2f2138925762d7b1775b8409279.jpg","text":"TemporaryFile(/tmp/multipartBody1693073981365087252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737300693201,"filename":"image_19012025_16_30_02_294195_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330068846","file1":"1330068843","file0":"1330068840","file3":"1330068848"},"map_files_photo_id_array":[{"photo_id":"1330068846","filename":"file2"},{"photo_id":"1330068843","filename":"file1"},{"photo_id":"1330068840","filename":"file0"},{"photo_id":"1330068848","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330068840":["hashtag1","hashtag2"]},{"1330068843":["hashtag1","hashtag2"]},{"1330068846":["hashtag1","hashtag2"]},{"1330068848":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330068840, 1330068843, 1330068846, 1330068848)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.833866357803345 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 16:31:22.256155
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/16/30/image_19012025_16_30_02_294195_0003.jpg', '/home/pi/Desktop/images/19012025/16/31/image_19012025_16_31_02_401505_0000.jpg', '/home/pi/Desktop/images/19012025/16/31/image_19012025_16_31_02_401505_0001.jpg', '/home/pi/Desktop/images/19012025/16/31/image_19012025_16_31_02_401505_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/16/30/image_19012025_16_30_02_294195_0003.jpg
/home/pi/Desktop/images/19012025/16/31/image_19012025_16_31_02_401505_0000.jpg
/home/pi/Desktop/images/19012025/16/31/image_19012025_16_31_02_401505_0001.jpg
/home/pi/Desktop/images/19012025/16/31/image_19012025_16_31_02_401505_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330068890","1330068887","1330068892","1330068873"],"photo_ids_order":["1330068873","1330068887","1330068890","1330068892"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/90ec19b385e6c9eafddb3cc6b6e510ee.jpg","text":"TemporaryFile(/tmp/multipartBody3884471439717568506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737300753640,"filename":"image_19012025_16_31_02_401505_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/9455734b886b52f24014afd5ebd6fe19.jpg","text":"TemporaryFile(/tmp/multipartBody6908006415595169587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737300753640,"filename":"image_19012025_16_31_02_401505_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/653a0775278a7d015b00bf3701cc1d31.jpg","text":"TemporaryFile(/tmp/multipartBody3171653270233298017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737300753640,"filename":"image_19012025_16_31_02_401505_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/0f27bcdcebcb2c929192a75e6c41546d.jpg","text":"TemporaryFile(/tmp/multipartBody6889827647422889828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737300753640,"filename":"image_19012025_16_30_02_294195_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330068890","file1":"1330068887","file0":"1330068873","file3":"1330068892"},"map_files_photo_id_array":[{"photo_id":"1330068890","filename":"file2"},{"photo_id":"1330068887","filename":"file1"},{"photo_id":"1330068873","filename":"file0"},{"photo_id":"1330068892","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330068890":["hashtag1","hashtag2"]},{"1330068887":["hashtag1","hashtag2"]},{"1330068892":["hashtag1","hashtag2"]},{"1330068873":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330068890, 1330068887, 1330068892, 1330068873)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.66852021217346 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 16:32:02.786658
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
  port_id : 19698700
  datou_current_id : 2490825
in upload_from_sqlite, uploading in 19698700
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17012025/22/58/image_17012025_22_58_02_423850_0001.jpg', '/home/pi/Desktop/images/17012025/22/58/image_17012025_22_58_02_423850_0002.jpg', '/home/pi/Desktop/images/17012025/22/58/image_17012025_22_58_02_423850_0003.jpg', '/home/pi/Desktop/images/17012025/22/59/image_17012025_22_59_02_618898_0000.jpg', '/home/pi/Desktop/images/17012025/22/59/image_17012025_22_59_02_618898_0001.jpg', '/home/pi/Desktop/images/17012025/22/59/image_17012025_22_59_02_618898_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2490825&datou=0
/home/pi/Desktop/images/17012025/22/58/image_17012025_22_58_02_423850_0001.jpg
/home/pi/Desktop/images/17012025/22/58/image_17012025_22_58_02_423850_0002.jpg
/home/pi/Desktop/images/17012025/22/58/image_17012025_22_58_02_423850_0003.jpg
/home/pi/Desktop/images/17012025/22/59/image_17012025_22_59_02_618898_0000.jpg
/home/pi/Desktop/images/17012025/22/59/image_17012025_22_59_02_618898_0001.jpg
/home/pi/Desktop/images/17012025/22/59/image_17012025_22_59_02_618898_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330068903","1330068896","1330068900","1330068905","1330068898","1330068907"],"photo_ids_order":["1330068896","1330068898","1330068900","1330068903","1330068905","1330068907"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/44cbaed057fc1e5e792c9ca371058a1c.jpg","text":"TemporaryFile(/tmp/multipartBody6372980634685403110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737300800163,"filename":"image_17012025_22_59_02_618898_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/e18aec06e829b8af4c4e66f328f2af5b.jpg","text":"TemporaryFile(/tmp/multipartBody297918124083759954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737300800163,"filename":"image_17012025_22_58_02_423850_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/4c0e3c673f89201034e02775c27c03ec.jpg","text":"TemporaryFile(/tmp/multipartBody2201776572659952577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737300800163,"filename":"image_17012025_22_58_02_423850_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/527bbc173c72900fb9e8a36b8def25b3.jpg","text":"TemporaryFile(/tmp/multipartBody6408620122057603492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737300800163,"filename":"image_17012025_22_59_02_618898_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/bfb2ad4c04459e5dc564446e10117d6d.jpg","text":"TemporaryFile(/tmp/multipartBody570956353803397957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737300800163,"filename":"image_17012025_22_58_02_423850_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/2e225da14e295cc894ed68ead64dfbac.jpg","text":"TemporaryFile(/tmp/multipartBody793880398226245218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737300800163,"filename":"image_17012025_22_59_02_618898_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330068900","file1":"1330068898","file0":"1330068896","file4":"1330068905","file5":"1330068907","file3":"1330068903"},"map_files_photo_id_array":[{"photo_id":"1330068907","filename":"file5"},{"photo_id":"1330068900","filename":"file2"},{"photo_id":"1330068905","filename":"file4"},{"photo_id":"1330068898","filename":"file1"},{"photo_id":"1330068896","filename":"file0"},{"photo_id":"1330068903","filename":"file3"}],"portfolio_id":19698700,"hashtag_by_photo_ids":[{"1330068903":["hashtag1","hashtag2"]},{"1330068896":["hashtag1","hashtag2"]},{"1330068900":["hashtag1","hashtag2"]},{"1330068905":["hashtag1","hashtag2"]},{"1330068898":["hashtag1","hashtag2"]},{"1330068907":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698700 used, photo_id : ArrayBuffer(1330068903, 1330068896, 1330068900, 1330068905, 1330068898, 1330068907)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.92330574989319 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 16:33:03.174813
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/16/31/image_19012025_16_31_02_401505_0003.jpg', '/home/pi/Desktop/images/19012025/16/32/image_19012025_16_32_02_554122_0000.jpg', '/home/pi/Desktop/images/19012025/16/32/image_19012025_16_32_02_554122_0001.jpg', '/home/pi/Desktop/images/19012025/16/32/image_19012025_16_32_02_554122_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/16/31/image_19012025_16_31_02_401505_0003.jpg
/home/pi/Desktop/images/19012025/16/32/image_19012025_16_32_02_554122_0000.jpg
/home/pi/Desktop/images/19012025/16/32/image_19012025_16_32_02_554122_0001.jpg
/home/pi/Desktop/images/19012025/16/32/image_19012025_16_32_02_554122_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":["1330068918","1330068914","1330068913","1330068916"],"photo_ids_order":["1330068913","1330068914","1330068916","1330068918"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/c99520209f8e64256e077ec8f0bdc30e.jpg","text":"TemporaryFile(/tmp/multipartBody6102606033643769910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737300854328,"filename":"image_19012025_16_32_02_554122_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/d21b21356a19dd59cfb77c505d21c0bf.jpg","text":"TemporaryFile(/tmp/multipartBody6029902212559340415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737300854328,"filename":"image_19012025_16_32_02_554122_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/984a4334d8f121471544453844338c5b.jpg","text":"TemporaryFile(/tmp/multipartBody6454420968250333554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737300854328,"filename":"image_19012025_16_31_02_401505_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/60754560576c6497c2a79508d09acbce.jpg","text":"TemporaryFile(/tmp/multipartBody5297228173126849971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737300854328,"filename":"image_19012025_16_32_02_554122_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330068916","file1":"1330068914","file0":"1330068913","file3":"1330068918"},"map_files_photo_id_array":[{"photo_id":"1330068916","filename":"file2"},{"photo_id":"1330068914","filename":"file1"},{"photo_id":"1330068913","filename":"file0"},{"photo_id":"1330068918","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330068918":["hashtag1","hashtag2"]},{"1330068914":["hashtag1","hashtag2"]},{"1330068913":["hashtag1","hashtag2"]},{"1330068916":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330068918, 1330068914, 1330068913, 1330068916)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.80459380149841 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-19 16:33:52.553822
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/16/32/image_19012025_16_32_02_554122_0003.jpg', '/home/pi/Desktop/images/19012025/16/33/image_19012025_16_33_02_639526_0000.jpg', '/home/pi/Desktop/images/19012025/16/33/image_19012025_16_33_02_639526_0001.jpg', '/home/pi/Desktop/images/19012025/16/33/image_19012025_16_33_02_639526_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/16/32/image_19012025_16_32_02_554122_0003.jpg
/home/pi/Desktop/images/19012025/16/33/image_19012025_16_33_02_639526_0000.jpg
/home/pi/Desktop/images/19012025/16/33/image_19012025_16_33_02_639526_0001.jpg
/home/pi/Desktop/images/19012025/16/33/image_19012025_16_33_02_639526_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":["1330068929","1330068961","1330068949","1330068934"],"photo_ids_order":["1330068929","1330068934","1330068949","1330068961"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/11912f9cb13c1b35ffee3ec3f0b3df1e.jpg","text":"TemporaryFile(/tmp/multipartBody9007569044325355964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737300903835,"filename":"image_19012025_16_32_02_554122_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/658eaf3179c7b79316e4af3e455eb89b.jpg","text":"TemporaryFile(/tmp/multipartBody7241963882567007136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737300903835,"filename":"image_19012025_16_33_02_639526_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/b5701737d247585ed4ba4b909ffc580c.jpg","text":"TemporaryFile(/tmp/multipartBody7808376761594057608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737300903835,"filename":"image_19012025_16_33_02_639526_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/c7210bd38f4dc44b0c057f2ef9fe44d1.jpg","text":"TemporaryFile(/tmp/multipartBody8286839420146520082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737300903835,"filename":"image_19012025_16_33_02_639526_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330068949","file1":"1330068934","file0":"1330068929","file3":"1330068961"},"map_files_photo_id_array":[{"photo_id":"1330068949","filename":"file2"},{"photo_id":"1330068934","filename":"file1"},{"photo_id":"1330068929","filename":"file0"},{"photo_id":"1330068961","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330068929":["hashtag1","hashtag2"]},{"1330068961":["hashtag1","hashtag2"]},{"1330068949":["hashtag1","hashtag2"]},{"1330068934":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330068929, 1330068961, 1330068949, 1330068934)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.34471106529236 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-19 16:34:32.688921
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/16/33/image_19012025_16_33_02_639526_0003.jpg', '/home/pi/Desktop/images/19012025/16/34/image_19012025_16_34_02_953795_0000.jpg', '/home/pi/Desktop/images/19012025/16/34/image_19012025_16_34_02_953795_0001.jpg', '/home/pi/Desktop/images/19012025/16/34/image_19012025_16_34_02_953795_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/16/33/image_19012025_16_33_02_639526_0003.jpg
/home/pi/Desktop/images/19012025/16/34/image_19012025_16_34_02_953795_0000.jpg
/home/pi/Desktop/images/19012025/16/34/image_19012025_16_34_02_953795_0001.jpg
/home/pi/Desktop/images/19012025/16/34/image_19012025_16_34_02_953795_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330068975","1330068977","1330069270","1330068979"],"photo_ids_order":["1330068975","1330068977","1330068979","1330069270"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/c0ffd49fb59b8f6bec21ae8d769ce1b7.jpg","text":"TemporaryFile(/tmp/multipartBody8535026907143609695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737300944041,"filename":"image_19012025_16_33_02_639526_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/2d7424a7aadfa072462d612c4499dc42.jpg","text":"TemporaryFile(/tmp/multipartBody2299322185214503742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737300944041,"filename":"image_19012025_16_34_02_953795_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/3dc460c9ed0cf35c02a7cc1c0f502aa9.jpg","text":"TemporaryFile(/tmp/multipartBody491944005526399982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737300944041,"filename":"image_19012025_16_34_02_953795_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/1ba57ed6ce969e19f567fa1cee304411.jpg","text":"TemporaryFile(/tmp/multipartBody8907242254975473299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737300944041,"filename":"image_19012025_16_34_02_953795_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330068979","file1":"1330068977","file0":"1330068975","file3":"1330069270"},"map_files_photo_id_array":[{"photo_id":"1330068979","filename":"file2"},{"photo_id":"1330068977","filename":"file1"},{"photo_id":"1330068975","filename":"file0"},{"photo_id":"1330069270","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330068975":["hashtag1","hashtag2"]},{"1330068977":["hashtag1","hashtag2"]},{"1330069270":["hashtag1","hashtag2"]},{"1330068979":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330068975, 1330068977, 1330069270, 1330068979)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.63907170295715 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 16:35:21.979621
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/16/34/image_19012025_16_34_02_953795_0003.jpg', '/home/pi/Desktop/images/19012025/16/35/image_19012025_16_35_03_153502_0000.jpg', '/home/pi/Desktop/images/19012025/16/35/image_19012025_16_35_03_153502_0001.jpg', '/home/pi/Desktop/images/19012025/16/35/image_19012025_16_35_03_153502_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/16/34/image_19012025_16_34_02_953795_0003.jpg
/home/pi/Desktop/images/19012025/16/35/image_19012025_16_35_03_153502_0000.jpg
/home/pi/Desktop/images/19012025/16/35/image_19012025_16_35_03_153502_0001.jpg
/home/pi/Desktop/images/19012025/16/35/image_19012025_16_35_03_153502_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330069964","1330069962","1330069959","1330069956"],"photo_ids_order":["1330069956","1330069959","1330069962","1330069964"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/b84e080cb23235088dd92354cfc9db26.jpg","text":"TemporaryFile(/tmp/multipartBody6192792203736904410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737300993162,"filename":"image_19012025_16_35_03_153502_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/c567483b2c82d058c4810a40b124c9fc.jpg","text":"TemporaryFile(/tmp/multipartBody5095425578762611331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737300993162,"filename":"image_19012025_16_35_03_153502_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/ab923a42e2b26e569a552b79fcc4dd31.jpg","text":"TemporaryFile(/tmp/multipartBody582682685375976013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737300993162,"filename":"image_19012025_16_35_03_153502_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/96fe36e748208e14695f155a865c5ef1.jpg","text":"TemporaryFile(/tmp/multipartBody1234538394310568227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737300993162,"filename":"image_19012025_16_34_02_953795_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330069962","file1":"1330069959","file0":"1330069956","file3":"1330069964"},"map_files_photo_id_array":[{"photo_id":"1330069962","filename":"file2"},{"photo_id":"1330069959","filename":"file1"},{"photo_id":"1330069956","filename":"file0"},{"photo_id":"1330069964","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330069964":["hashtag1","hashtag2"]},{"1330069962":["hashtag1","hashtag2"]},{"1330069959":["hashtag1","hashtag2"]},{"1330069956":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330069964, 1330069962, 1330069959, 1330069956)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.287118434906006 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 16:36:02.548938
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
  port_id : 19698700
  datou_current_id : 2490825
in upload_from_sqlite, uploading in 19698700
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17012025/22/59/image_17012025_22_59_02_618898_0003.jpg', '/home/pi/Desktop/images/17012025/23/00/image_17012025_23_00_02_788932_0000.jpg', '/home/pi/Desktop/images/17012025/23/00/image_17012025_23_00_02_788932_0001.jpg', '/home/pi/Desktop/images/17012025/23/00/image_17012025_23_00_02_788932_0002.jpg', '/home/pi/Desktop/images/17012025/23/00/image_17012025_23_00_02_788932_0003.jpg', '/home/pi/Desktop/images/17012025/23/01/image_17012025_23_01_02_938320_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2490825&datou=0
/home/pi/Desktop/images/17012025/22/59/image_17012025_22_59_02_618898_0003.jpg
/home/pi/Desktop/images/17012025/23/00/image_17012025_23_00_02_788932_0000.jpg
/home/pi/Desktop/images/17012025/23/00/image_17012025_23_00_02_788932_0001.jpg
/home/pi/Desktop/images/17012025/23/00/image_17012025_23_00_02_788932_0002.jpg
/home/pi/Desktop/images/17012025/23/00/image_17012025_23_00_02_788932_0003.jpg
/home/pi/Desktop/images/17012025/23/01/image_17012025_23_01_02_938320_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":["1330070298","1330070357","1330070296","1330070362","1330070300","1330070359"],"photo_ids_order":["1330070296","1330070298","1330070300","1330070357","1330070359","1330070362"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/e29366ac7b37a9566f006467b68a26e7.jpg","text":"TemporaryFile(/tmp/multipartBody600496814686499672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737301040165,"filename":"image_17012025_23_00_02_788932_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/5e9e36adfc55af8eb125a7ef72ed349b.jpg","text":"TemporaryFile(/tmp/multipartBody1267818730046120877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737301040165,"filename":"image_17012025_23_00_02_788932_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/900c57c646e27d41b990fb4a7d08c588.jpg","text":"TemporaryFile(/tmp/multipartBody2173209418918222212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737301040165,"filename":"image_17012025_22_59_02_618898_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/ef21bfc7f23baecd00239339b81595f0.jpg","text":"TemporaryFile(/tmp/multipartBody1345311302256008742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737301040165,"filename":"image_17012025_23_01_02_938320_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/14689f1ffa83741e4b5ed788240da015.jpg","text":"TemporaryFile(/tmp/multipartBody2240208396292949141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737301040165,"filename":"image_17012025_23_00_02_788932_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/08f7ed43329ed02a75227672e49200b4.jpg","text":"TemporaryFile(/tmp/multipartBody1579503345012535581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737301040165,"filename":"image_17012025_23_00_02_788932_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330070300","file1":"1330070298","file0":"1330070296","file4":"1330070359","file5":"1330070362","file3":"1330070357"},"map_files_photo_id_array":[{"photo_id":"1330070362","filename":"file5"},{"photo_id":"1330070300","filename":"file2"},{"photo_id":"1330070359","filename":"file4"},{"photo_id":"1330070298","filename":"file1"},{"photo_id":"1330070296","filename":"file0"},{"photo_id":"1330070357","filename":"file3"}],"portfolio_id":19698700,"hashtag_by_photo_ids":[{"1330070298":["hashtag1","hashtag2"]},{"1330070357":["hashtag1","hashtag2"]},{"1330070296":["hashtag1","hashtag2"]},{"1330070362":["hashtag1","hashtag2"]},{"1330070300":["hashtag1","hashtag2"]},{"1330070359":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698700 used, photo_id : ArrayBuffer(1330070298, 1330070357, 1330070296, 1330070362, 1330070300, 1330070359)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.603774070739746 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 16:37:02.981045
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/16/35/image_19012025_16_35_03_153502_0003.jpg', '/home/pi/Desktop/images/19012025/16/36/image_19012025_16_36_02_352249_0000.jpg', '/home/pi/Desktop/images/19012025/16/36/image_19012025_16_36_02_352249_0001.jpg', '/home/pi/Desktop/images/19012025/16/36/image_19012025_16_36_02_352249_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/16/35/image_19012025_16_35_03_153502_0003.jpg
/home/pi/Desktop/images/19012025/16/36/image_19012025_16_36_02_352249_0000.jpg
/home/pi/Desktop/images/19012025/16/36/image_19012025_16_36_02_352249_0001.jpg
/home/pi/Desktop/images/19012025/16/36/image_19012025_16_36_02_352249_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":["1330070453","1330070414","1330070413","1330070416"],"photo_ids_order":["1330070413","1330070414","1330070416","1330070453"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/488c4960fc13558ccc18644c8bf508df.jpg","text":"TemporaryFile(/tmp/multipartBody509613397074096083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737301093398,"filename":"image_19012025_16_36_02_352249_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/5b1d891c4d450f0f5ff0ce572664eb37.jpg","text":"TemporaryFile(/tmp/multipartBody2711260775411625111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737301093398,"filename":"image_19012025_16_36_02_352249_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/f7babf2b59e3151d83b6632d42dc40ef.jpg","text":"TemporaryFile(/tmp/multipartBody5567232425560913752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737301093398,"filename":"image_19012025_16_35_03_153502_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/07d2364bc9e2cc0364655e2a08e70aab.jpg","text":"TemporaryFile(/tmp/multipartBody6101793531165919203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737301093398,"filename":"image_19012025_16_36_02_352249_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330070416","file1":"1330070414","file0":"1330070413","file3":"1330070453"},"map_files_photo_id_array":[{"photo_id":"1330070416","filename":"file2"},{"photo_id":"1330070414","filename":"file1"},{"photo_id":"1330070413","filename":"file0"},{"photo_id":"1330070453","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330070453":["hashtag1","hashtag2"]},{"1330070414":["hashtag1","hashtag2"]},{"1330070413":["hashtag1","hashtag2"]},{"1330070416":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330070453, 1330070414, 1330070413, 1330070416)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.84245276451111 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-19 16:37:42.302029
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/16/36/image_19012025_16_36_02_352249_0003.jpg', '/home/pi/Desktop/images/19012025/16/37/image_19012025_16_37_02_465833_0000.jpg', '/home/pi/Desktop/images/19012025/16/37/image_19012025_16_37_02_465833_0001.jpg', '/home/pi/Desktop/images/19012025/16/37/image_19012025_16_37_02_465833_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/16/36/image_19012025_16_36_02_352249_0003.jpg
/home/pi/Desktop/images/19012025/16/37/image_19012025_16_37_02_465833_0000.jpg
/home/pi/Desktop/images/19012025/16/37/image_19012025_16_37_02_465833_0001.jpg
/home/pi/Desktop/images/19012025/16/37/image_19012025_16_37_02_465833_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330071231","1330071009","1330070804","1330071340"],"photo_ids_order":["1330070804","1330071009","1330071231","1330071340"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/3a776d43dd82f2c5f0dcd6984772593b.jpg","text":"TemporaryFile(/tmp/multipartBody205901579474978844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737301132822,"filename":"image_19012025_16_37_02_465833_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/54f31fedbccb293f5804005b1dd4be9e.jpg","text":"TemporaryFile(/tmp/multipartBody877668064906258225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737301132822,"filename":"image_19012025_16_37_02_465833_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/afcaf6a07217393d1168ca195494d764.jpg","text":"TemporaryFile(/tmp/multipartBody983034860715244907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737301132822,"filename":"image_19012025_16_36_02_352249_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/b98e69646a939f98871968ed7ce846a8.jpg","text":"TemporaryFile(/tmp/multipartBody2437710235023043121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737301132822,"filename":"image_19012025_16_37_02_465833_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330071231","file1":"1330071009","file0":"1330070804","file3":"1330071340"},"map_files_photo_id_array":[{"photo_id":"1330071231","filename":"file2"},{"photo_id":"1330071009","filename":"file1"},{"photo_id":"1330070804","filename":"file0"},{"photo_id":"1330071340","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330071231":["hashtag1","hashtag2"]},{"1330071009":["hashtag1","hashtag2"]},{"1330070804":["hashtag1","hashtag2"]},{"1330071340":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330071231, 1330071009, 1330070804, 1330071340)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.64199948310852 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-19 16:38:32.459779
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/16/37/image_19012025_16_37_02_465833_0003.jpg', '/home/pi/Desktop/images/19012025/16/38/image_19012025_16_38_02_630540_0000.jpg', '/home/pi/Desktop/images/19012025/16/38/image_19012025_16_38_02_630540_0001.jpg', '/home/pi/Desktop/images/19012025/16/38/image_19012025_16_38_02_630540_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/16/37/image_19012025_16_37_02_465833_0003.jpg
/home/pi/Desktop/images/19012025/16/38/image_19012025_16_38_02_630540_0000.jpg
/home/pi/Desktop/images/19012025/16/38/image_19012025_16_38_02_630540_0001.jpg
/home/pi/Desktop/images/19012025/16/38/image_19012025_16_38_02_630540_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330071660","1330071663","1330071657","1330071654"],"photo_ids_order":["1330071654","1330071657","1330071660","1330071663"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/ea90e5b5ef47331b8f3d071c9b98358d.jpg","text":"TemporaryFile(/tmp/multipartBody3985266100419293902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737301183057,"filename":"image_19012025_16_38_02_630540_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/7ec651f15e08234ca5b256426a6b869f.jpg","text":"TemporaryFile(/tmp/multipartBody4590916150684504178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737301183057,"filename":"image_19012025_16_38_02_630540_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/7eca90360f4f6bfe6b58a9de096fc2e8.jpg","text":"TemporaryFile(/tmp/multipartBody413642042208340250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737301183057,"filename":"image_19012025_16_38_02_630540_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/f91635dd7c170446c9c1b62ca1b1ddde.jpg","text":"TemporaryFile(/tmp/multipartBody3423103815774564431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737301183057,"filename":"image_19012025_16_37_02_465833_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330071660","file1":"1330071657","file0":"1330071654","file3":"1330071663"},"map_files_photo_id_array":[{"photo_id":"1330071660","filename":"file2"},{"photo_id":"1330071657","filename":"file1"},{"photo_id":"1330071654","filename":"file0"},{"photo_id":"1330071663","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330071660":["hashtag1","hashtag2"]},{"1330071663":["hashtag1","hashtag2"]},{"1330071657":["hashtag1","hashtag2"]},{"1330071654":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330071660, 1330071663, 1330071657, 1330071654)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.548773527145386 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 16:39:22.709827
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/16/38/image_19012025_16_38_02_630540_0003.jpg', '/home/pi/Desktop/images/19012025/16/39/image_19012025_16_39_02_837825_0000.jpg', '/home/pi/Desktop/images/19012025/16/39/image_19012025_16_39_02_837825_0001.jpg', '/home/pi/Desktop/images/19012025/16/39/image_19012025_16_39_02_837825_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/16/38/image_19012025_16_38_02_630540_0003.jpg
/home/pi/Desktop/images/19012025/16/39/image_19012025_16_39_02_837825_0000.jpg
/home/pi/Desktop/images/19012025/16/39/image_19012025_16_39_02_837825_0001.jpg
/home/pi/Desktop/images/19012025/16/39/image_19012025_16_39_02_837825_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330072055","1330072057","1330071994","1330072045"],"photo_ids_order":["1330071994","1330072045","1330072055","1330072057"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/9c9710cc736f16fe980819a12519c336.jpg","text":"TemporaryFile(/tmp/multipartBody6770591974321597059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737301233278,"filename":"image_19012025_16_39_02_837825_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/5aa5aae3a70ba1dcfeef36251812fd09.jpg","text":"TemporaryFile(/tmp/multipartBody3235598766360950164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737301233278,"filename":"image_19012025_16_39_02_837825_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/cd28e06db426cc56d262fb8d9b4868e9.jpg","text":"TemporaryFile(/tmp/multipartBody3819183367822436968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737301233278,"filename":"image_19012025_16_38_02_630540_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/776fb0c88f4034b691f634ee340b16c5.jpg","text":"TemporaryFile(/tmp/multipartBody6201737035769707462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737301233278,"filename":"image_19012025_16_39_02_837825_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330072055","file1":"1330072045","file0":"1330071994","file3":"1330072057"},"map_files_photo_id_array":[{"photo_id":"1330072055","filename":"file2"},{"photo_id":"1330072045","filename":"file1"},{"photo_id":"1330071994","filename":"file0"},{"photo_id":"1330072057","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330072055":["hashtag1","hashtag2"]},{"1330072057":["hashtag1","hashtag2"]},{"1330071994":["hashtag1","hashtag2"]},{"1330072045":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330072055, 1330072057, 1330071994, 1330072045)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.78680896759033 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 16:40:21.862861
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/16/39/image_19012025_16_39_02_837825_0003.jpg', '/home/pi/Desktop/images/19012025/16/40/image_19012025_16_40_03_083654_0000.jpg', '/home/pi/Desktop/images/19012025/16/40/image_19012025_16_40_03_083654_0001.jpg', '/home/pi/Desktop/images/19012025/16/40/image_19012025_16_40_03_083654_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/16/39/image_19012025_16_39_02_837825_0003.jpg
/home/pi/Desktop/images/19012025/16/40/image_19012025_16_40_03_083654_0000.jpg
/home/pi/Desktop/images/19012025/16/40/image_19012025_16_40_03_083654_0001.jpg
/home/pi/Desktop/images/19012025/16/40/image_19012025_16_40_03_083654_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330072064","1330072364","1330072112","1330072066"],"photo_ids_order":["1330072064","1330072066","1330072112","1330072364"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/65ac00dabe9cc318e8b4aea26e771a94.jpg","text":"TemporaryFile(/tmp/multipartBody7245232600497114246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737301292251,"filename":"image_19012025_16_39_02_837825_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/db3f3d40a83931c672b421fd650afcb0.jpg","text":"TemporaryFile(/tmp/multipartBody5596872078585397532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737301292251,"filename":"image_19012025_16_40_03_083654_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/5e0d32b97a1bcfc8895dab52afedf73d.jpg","text":"TemporaryFile(/tmp/multipartBody5032399969795722087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737301292251,"filename":"image_19012025_16_40_03_083654_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/9f003b17b2b4a7acefcb3699a4e553c2.jpg","text":"TemporaryFile(/tmp/multipartBody8139721641163035541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737301292251,"filename":"image_19012025_16_40_03_083654_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330072112","file1":"1330072066","file0":"1330072064","file3":"1330072364"},"map_files_photo_id_array":[{"photo_id":"1330072112","filename":"file2"},{"photo_id":"1330072066","filename":"file1"},{"photo_id":"1330072064","filename":"file0"},{"photo_id":"1330072364","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330072064":["hashtag1","hashtag2"]},{"1330072364":["hashtag1","hashtag2"]},{"1330072112":["hashtag1","hashtag2"]},{"1330072066":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330072064, 1330072364, 1330072112, 1330072066)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.13535737991333 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 16:41:02.686302
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
  port_id : 19698700
  datou_current_id : 2490825
in upload_from_sqlite, uploading in 19698700
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17012025/23/01/image_17012025_23_01_02_938320_0001.jpg', '/home/pi/Desktop/images/17012025/23/01/image_17012025_23_01_02_938320_0002.jpg', '/home/pi/Desktop/images/17012025/23/01/image_17012025_23_01_02_938320_0003.jpg', '/home/pi/Desktop/images/17012025/23/02/image_17012025_23_02_02_102848_0000.jpg', '/home/pi/Desktop/images/17012025/23/02/image_17012025_23_02_02_102848_0001.jpg', '/home/pi/Desktop/images/17012025/23/02/image_17012025_23_02_02_102848_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2490825&datou=0
/home/pi/Desktop/images/17012025/23/01/image_17012025_23_01_02_938320_0001.jpg
/home/pi/Desktop/images/17012025/23/01/image_17012025_23_01_02_938320_0002.jpg
/home/pi/Desktop/images/17012025/23/01/image_17012025_23_01_02_938320_0003.jpg
/home/pi/Desktop/images/17012025/23/02/image_17012025_23_02_02_102848_0000.jpg
/home/pi/Desktop/images/17012025/23/02/image_17012025_23_02_02_102848_0001.jpg
/home/pi/Desktop/images/17012025/23/02/image_17012025_23_02_02_102848_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330072427","1330072390","1330072387","1330072392","1330072647","1330072650"],"photo_ids_order":["1330072387","1330072390","1330072392","1330072427","1330072647","1330072650"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/bfc38bae0fd6510cf75a8a23e5433c54.jpg","text":"TemporaryFile(/tmp/multipartBody2843434319094573530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737301340290,"filename":"image_17012025_23_02_02_102848_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/da3e3e0885bac9b023cf267d37f15273.jpg","text":"TemporaryFile(/tmp/multipartBody3577244668799886359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737301340290,"filename":"image_17012025_23_01_02_938320_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/e11869d6ac4eb1ddafd4667e2f5f68a3.jpg","text":"TemporaryFile(/tmp/multipartBody5162049155676608496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737301340290,"filename":"image_17012025_23_01_02_938320_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/42f6a04212e9e1058c39d9b154fb9756.jpg","text":"TemporaryFile(/tmp/multipartBody5606515387411596548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737301340290,"filename":"image_17012025_23_01_02_938320_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/293fe130c8abc8a9ab991f0634bac456.jpg","text":"TemporaryFile(/tmp/multipartBody2927695988835858131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737301340290,"filename":"image_17012025_23_02_02_102848_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/65483fd56349b36f280417edaeac2115.jpg","text":"TemporaryFile(/tmp/multipartBody2571353959186761225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737301340290,"filename":"image_17012025_23_02_02_102848_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330072392","file1":"1330072390","file0":"1330072387","file4":"1330072647","file5":"1330072650","file3":"1330072427"},"map_files_photo_id_array":[{"photo_id":"1330072650","filename":"file5"},{"photo_id":"1330072392","filename":"file2"},{"photo_id":"1330072647","filename":"file4"},{"photo_id":"1330072390","filename":"file1"},{"photo_id":"1330072387","filename":"file0"},{"photo_id":"1330072427","filename":"file3"}],"portfolio_id":19698700,"hashtag_by_photo_ids":[{"1330072427":["hashtag1","hashtag2"]},{"1330072390":["hashtag1","hashtag2"]},{"1330072387":["hashtag1","hashtag2"]},{"1330072392":["hashtag1","hashtag2"]},{"1330072647":["hashtag1","hashtag2"]},{"1330072650":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698700 used, photo_id : ArrayBuffer(1330072427, 1330072390, 1330072387, 1330072392, 1330072647, 1330072650)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 62.59142732620239 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 16:42:22.185813
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/16/40/image_19012025_16_40_03_083654_0003.jpg', '/home/pi/Desktop/images/19012025/16/41/image_19012025_16_41_02_208653_0000.jpg', '/home/pi/Desktop/images/19012025/16/41/image_19012025_16_41_02_208653_0001.jpg', '/home/pi/Desktop/images/19012025/16/41/image_19012025_16_41_02_208653_0002.jpg', '/home/pi/Desktop/images/19012025/16/41/image_19012025_16_41_02_208653_0003.jpg', '/home/pi/Desktop/images/19012025/16/42/image_19012025_16_42_02_391168_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/16/40/image_19012025_16_40_03_083654_0003.jpg
/home/pi/Desktop/images/19012025/16/41/image_19012025_16_41_02_208653_0000.jpg
/home/pi/Desktop/images/19012025/16/41/image_19012025_16_41_02_208653_0001.jpg
/home/pi/Desktop/images/19012025/16/41/image_19012025_16_41_02_208653_0002.jpg
/home/pi/Desktop/images/19012025/16/41/image_19012025_16_41_02_208653_0003.jpg
/home/pi/Desktop/images/19012025/16/42/image_19012025_16_42_02_391168_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":["1330072937","1330072871","1330072910","1330072897","1330072927","1330072860"],"photo_ids_order":["1330072860","1330072871","1330072897","1330072910","1330072927","1330072937"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/3eb0095ee6633acc9afd0777e64c0d15.jpg","text":"TemporaryFile(/tmp/multipartBody4145745925178664422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737301418383,"filename":"image_19012025_16_42_02_391168_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/c5fb4b93346f7c4682bcbbc709e26e08.jpg","text":"TemporaryFile(/tmp/multipartBody3259910511127322497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737301418383,"filename":"image_19012025_16_41_02_208653_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/4712014eeeec47eb1b9a9b6d85231642.jpg","text":"TemporaryFile(/tmp/multipartBody4998806954790043378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737301418383,"filename":"image_19012025_16_41_02_208653_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/9def6cbb1f4849707d0371a290692e2d.jpg","text":"TemporaryFile(/tmp/multipartBody7484761783720030112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737301418383,"filename":"image_19012025_16_41_02_208653_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/73a006203cabe310d7955cf0e351d893.jpg","text":"TemporaryFile(/tmp/multipartBody9109337130280500308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737301418383,"filename":"image_19012025_16_41_02_208653_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/281abedc3662e08bb59b2012a46a08b7.jpg","text":"TemporaryFile(/tmp/multipartBody1293246286116161875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737301418383,"filename":"image_19012025_16_40_03_083654_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330072897","file1":"1330072871","file0":"1330072860","file4":"1330072927","file5":"1330072937","file3":"1330072910"},"map_files_photo_id_array":[{"photo_id":"1330072937","filename":"file5"},{"photo_id":"1330072897","filename":"file2"},{"photo_id":"1330072927","filename":"file4"},{"photo_id":"1330072871","filename":"file1"},{"photo_id":"1330072860","filename":"file0"},{"photo_id":"1330072910","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330072937":["hashtag1","hashtag2"]},{"1330072871":["hashtag1","hashtag2"]},{"1330072910":["hashtag1","hashtag2"]},{"1330072897":["hashtag1","hashtag2"]},{"1330072927":["hashtag1","hashtag2"]},{"1330072860":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330072937, 1330072871, 1330072910, 1330072897, 1330072927, 1330072860)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.29897332191467 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 16:43:22.012467
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/16/42/image_19012025_16_42_02_391168_0001.jpg', '/home/pi/Desktop/images/19012025/16/42/image_19012025_16_42_02_391168_0002.jpg', '/home/pi/Desktop/images/19012025/16/42/image_19012025_16_42_02_391168_0003.jpg', '/home/pi/Desktop/images/19012025/16/43/image_19012025_16_43_02_576381_0000.jpg', '/home/pi/Desktop/images/19012025/16/43/image_19012025_16_43_02_576381_0001.jpg', '/home/pi/Desktop/images/19012025/16/43/image_19012025_16_43_02_576381_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/16/42/image_19012025_16_42_02_391168_0001.jpg
/home/pi/Desktop/images/19012025/16/42/image_19012025_16_42_02_391168_0002.jpg
/home/pi/Desktop/images/19012025/16/42/image_19012025_16_42_02_391168_0003.jpg
/home/pi/Desktop/images/19012025/16/43/image_19012025_16_43_02_576381_0000.jpg
/home/pi/Desktop/images/19012025/16/43/image_19012025_16_43_02_576381_0001.jpg
/home/pi/Desktop/images/19012025/16/43/image_19012025_16_43_02_576381_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330073059","1330072975","1330072945","1330073091","1330072962","1330072947"],"photo_ids_order":["1330072945","1330072947","1330072962","1330072975","1330073059","1330073091"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/5f4c38c846d89edcca103ae05e7a8ade.jpg","text":"TemporaryFile(/tmp/multipartBody7122916860075759776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737301478893,"filename":"image_19012025_16_43_02_576381_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/c1317731340b748830947271f83cdf44.jpg","text":"TemporaryFile(/tmp/multipartBody7157408077590840590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737301478893,"filename":"image_19012025_16_43_02_576381_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/e7af9df28cb7190b9e9fff36a5485317.jpg","text":"TemporaryFile(/tmp/multipartBody1816355431079192297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737301478893,"filename":"image_19012025_16_42_02_391168_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/7413d52743d9181cdca07d10b1c57a94.jpg","text":"TemporaryFile(/tmp/multipartBody7644461136066609756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737301478893,"filename":"image_19012025_16_43_02_576381_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/4de1798ebd7f64d7408d20a8468d49e8.jpg","text":"TemporaryFile(/tmp/multipartBody8249594366988598921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737301478893,"filename":"image_19012025_16_42_02_391168_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/2df22cee5e88f485f897fb46b106d7e1.jpg","text":"TemporaryFile(/tmp/multipartBody1609988871191163555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737301478893,"filename":"image_19012025_16_42_02_391168_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330072962","file1":"1330072947","file0":"1330072945","file4":"1330073059","file5":"1330073091","file3":"1330072975"},"map_files_photo_id_array":[{"photo_id":"1330073091","filename":"file5"},{"photo_id":"1330072962","filename":"file2"},{"photo_id":"1330073059","filename":"file4"},{"photo_id":"1330072947","filename":"file1"},{"photo_id":"1330072945","filename":"file0"},{"photo_id":"1330072975","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330073059":["hashtag1","hashtag2"]},{"1330072975":["hashtag1","hashtag2"]},{"1330072945":["hashtag1","hashtag2"]},{"1330073091":["hashtag1","hashtag2"]},{"1330072962":["hashtag1","hashtag2"]},{"1330072947":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330073059, 1330072975, 1330072945, 1330073091, 1330072962, 1330072947)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.726346254348755 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 16:44:22.114268
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/16/43/image_19012025_16_43_02_576381_0003.jpg', '/home/pi/Desktop/images/19012025/16/44/image_19012025_16_44_02_349945_0000.jpg', '/home/pi/Desktop/images/19012025/16/44/image_19012025_16_44_02_349945_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/16/43/image_19012025_16_43_02_576381_0003.jpg
/home/pi/Desktop/images/19012025/16/44/image_19012025_16_44_02_349945_0000.jpg
/home/pi/Desktop/images/19012025/16/44/image_19012025_16_44_02_349945_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330073128","1330073133","1330073123"],"photo_ids_order":["1330073123","1330073128","1330073133"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/f9597af870efeec6ff7320372fabde8e.jpg","text":"TemporaryFile(/tmp/multipartBody1778734800057080966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737301529823,"filename":"image_19012025_16_44_02_349945_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/ca9a55f2495791d328e6a48ff793f887.jpg","text":"TemporaryFile(/tmp/multipartBody6081570702128973517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737301529823,"filename":"image_19012025_16_44_02_349945_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/4d4577deac176d0157331bd91cb19b1f.jpg","text":"TemporaryFile(/tmp/multipartBody5161206701177794187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737301529823,"filename":"image_19012025_16_43_02_576381_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330073133","file1":"1330073128","file0":"1330073123"},"map_files_photo_id_array":[{"photo_id":"1330073133","filename":"file2"},{"photo_id":"1330073128","filename":"file1"},{"photo_id":"1330073123","filename":"file0"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330073128":["hashtag1","hashtag2"]},{"1330073133":["hashtag1","hashtag2"]},{"1330073123":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330073128, 1330073133, 1330073123)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.339974880218506 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 16:45:02.833524
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
  port_id : 19698700
  datou_current_id : 2490825
in upload_from_sqlite, uploading in 19698700
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17012025/23/02/image_17012025_23_02_02_102848_0003.jpg', '/home/pi/Desktop/images/17012025/23/03/image_17012025_23_03_02_342650_0000.jpg', '/home/pi/Desktop/images/17012025/23/03/image_17012025_23_03_02_342650_0001.jpg', '/home/pi/Desktop/images/17012025/23/03/image_17012025_23_03_02_342650_0002.jpg', '/home/pi/Desktop/images/17012025/23/03/image_17012025_23_03_02_342650_0003.jpg', '/home/pi/Desktop/images/17012025/23/04/image_17012025_23_04_02_530509_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2490825&datou=0
/home/pi/Desktop/images/17012025/23/02/image_17012025_23_02_02_102848_0003.jpg
/home/pi/Desktop/images/17012025/23/03/image_17012025_23_03_02_342650_0000.jpg
/home/pi/Desktop/images/17012025/23/03/image_17012025_23_03_02_342650_0001.jpg
/home/pi/Desktop/images/17012025/23/03/image_17012025_23_03_02_342650_0002.jpg
/home/pi/Desktop/images/17012025/23/03/image_17012025_23_03_02_342650_0003.jpg
/home/pi/Desktop/images/17012025/23/04/image_17012025_23_04_02_530509_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":["1330073170","1330073161","1330073157","1330073165","1330073168","1330073159"],"photo_ids_order":["1330073157","1330073159","1330073161","1330073165","1330073168","1330073170"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/e3b94249f793c85fd3f0ce78e64a6b2f.jpg","text":"TemporaryFile(/tmp/multipartBody8753416120338476136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737301580646,"filename":"image_17012025_23_04_02_530509_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/71a431147a147af8f8701b9887a5df5d.jpg","text":"TemporaryFile(/tmp/multipartBody6394756371462054613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737301580646,"filename":"image_17012025_23_03_02_342650_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/c14e8b90ca2160e18c575462fab35e57.jpg","text":"TemporaryFile(/tmp/multipartBody732953060196895411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737301580646,"filename":"image_17012025_23_02_02_102848_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/999deb8e905c1dfce138235e8b91537f.jpg","text":"TemporaryFile(/tmp/multipartBody689966095859795644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737301580646,"filename":"image_17012025_23_03_02_342650_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/34d6623e355254baff9c920f2bd984c4.jpg","text":"TemporaryFile(/tmp/multipartBody7825466792367340698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737301580646,"filename":"image_17012025_23_03_02_342650_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/eaa3370213cf7cf25f2a1b46552acbbb.jpg","text":"TemporaryFile(/tmp/multipartBody2947982163959423565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737301580646,"filename":"image_17012025_23_03_02_342650_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330073161","file1":"1330073159","file0":"1330073157","file4":"1330073168","file5":"1330073170","file3":"1330073165"},"map_files_photo_id_array":[{"photo_id":"1330073170","filename":"file5"},{"photo_id":"1330073161","filename":"file2"},{"photo_id":"1330073168","filename":"file4"},{"photo_id":"1330073159","filename":"file1"},{"photo_id":"1330073157","filename":"file0"},{"photo_id":"1330073165","filename":"file3"}],"portfolio_id":19698700,"hashtag_by_photo_ids":[{"1330073170":["hashtag1","hashtag2"]},{"1330073161":["hashtag1","hashtag2"]},{"1330073157":["hashtag1","hashtag2"]},{"1330073165":["hashtag1","hashtag2"]},{"1330073168":["hashtag1","hashtag2"]},{"1330073159":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698700 used, photo_id : ArrayBuffer(1330073170, 1330073161, 1330073157, 1330073165, 1330073168, 1330073159)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.54929780960083 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 16:46:02.875867
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/16/44/image_19012025_16_44_02_349945_0003.jpg', '/home/pi/Desktop/images/19012025/16/45/image_19012025_16_45_02_467790_0000.jpg', '/home/pi/Desktop/images/19012025/16/45/image_19012025_16_45_02_467790_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/16/44/image_19012025_16_44_02_349945_0003.jpg
/home/pi/Desktop/images/19012025/16/45/image_19012025_16_45_02_467790_0000.jpg
/home/pi/Desktop/images/19012025/16/45/image_19012025_16_45_02_467790_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":["1330073308","1330073200","1330073174"],"photo_ids_order":["1330073174","1330073200","1330073308"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/0f5ffb1fcf14ee6796800342eb2bf265.jpg","text":"TemporaryFile(/tmp/multipartBody178646048679655607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737301630504,"filename":"image_19012025_16_45_02_467790_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/d61a356d09498a6b87ba863bfe92975d.jpg","text":"TemporaryFile(/tmp/multipartBody6566248051795835339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737301630504,"filename":"image_19012025_16_45_02_467790_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/a21c7d6c656da56906deed6b98669598.jpg","text":"TemporaryFile(/tmp/multipartBody3942582268953094698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737301630504,"filename":"image_19012025_16_44_02_349945_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330073308","file1":"1330073200","file0":"1330073174"},"map_files_photo_id_array":[{"photo_id":"1330073308","filename":"file2"},{"photo_id":"1330073200","filename":"file1"},{"photo_id":"1330073174","filename":"file0"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330073308":["hashtag1","hashtag2"]},{"1330073200":["hashtag1","hashtag2"]},{"1330073174":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330073308, 1330073200, 1330073174)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 29.45072650909424 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-19 16:46:42.476419
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/16/46/image_19012025_16_46_02_696491_0000.jpg', '/home/pi/Desktop/images/19012025/16/46/image_19012025_16_46_02_696491_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/16/46/image_19012025_16_46_02_696491_0000.jpg
/home/pi/Desktop/images/19012025/16/46/image_19012025_16_46_02_696491_0001.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 4.960057735443115 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-19 16:46:52.447848
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/16/46/image_19012025_16_46_02_696491_0000.jpg', '/home/pi/Desktop/images/19012025/16/46/image_19012025_16_46_02_696491_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/16/46/image_19012025_16_46_02_696491_0000.jpg
/home/pi/Desktop/images/19012025/16/46/image_19012025_16_46_02_696491_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330073320","1330073322"],"photo_ids_order":["1330073320","1330073322"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/0df4c228a99e87eefaa42ef068e1c1ea.jpg","text":"TemporaryFile(/tmp/multipartBody697280109085071329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737301677786,"filename":"image_19012025_16_46_02_696491_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/84ddec9ded304912b7a11832cac6d681.jpg","text":"TemporaryFile(/tmp/multipartBody4101809018194951248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737301677786,"filename":"image_19012025_16_46_02_696491_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1330073322","file0":"1330073320"},"map_files_photo_id_array":[{"photo_id":"1330073322","filename":"file1"},{"photo_id":"1330073320","filename":"file0"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330073320":["hashtag1","hashtag2"]},{"1330073322":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330073320, 1330073322)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 22.463870763778687 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 16:47:22.704773
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/16/46/image_19012025_16_46_02_696491_0003.jpg', '/home/pi/Desktop/images/19012025/16/47/image_19012025_16_47_02_881282_0000.jpg', '/home/pi/Desktop/images/19012025/16/47/image_19012025_16_47_02_881282_0001.jpg', '/home/pi/Desktop/images/19012025/16/47/image_19012025_16_47_02_881282_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/16/46/image_19012025_16_46_02_696491_0003.jpg
/home/pi/Desktop/images/19012025/16/47/image_19012025_16_47_02_881282_0000.jpg
/home/pi/Desktop/images/19012025/16/47/image_19012025_16_47_02_881282_0001.jpg
/home/pi/Desktop/images/19012025/16/47/image_19012025_16_47_02_881282_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330073331","1330073325","1330073328","1330073333"],"photo_ids_order":["1330073325","1330073328","1330073331","1330073333"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/c79098fb0b251194c49bcb6dc050d458.jpg","text":"TemporaryFile(/tmp/multipartBody5855706427472423872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737301712873,"filename":"image_19012025_16_47_02_881282_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/866834d10e93d491b1e3d27140486d06.jpg","text":"TemporaryFile(/tmp/multipartBody305848025888255432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737301712873,"filename":"image_19012025_16_46_02_696491_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/79f6b976d7e10aa766d71418dd3bdd42.jpg","text":"TemporaryFile(/tmp/multipartBody8167247427337871123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737301712873,"filename":"image_19012025_16_47_02_881282_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/5ed78241ba6c79daece94cb2e6daf574.jpg","text":"TemporaryFile(/tmp/multipartBody3517300359026356204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737301712873,"filename":"image_19012025_16_47_02_881282_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330073331","file1":"1330073328","file0":"1330073325","file3":"1330073333"},"map_files_photo_id_array":[{"photo_id":"1330073331","filename":"file2"},{"photo_id":"1330073328","filename":"file1"},{"photo_id":"1330073325","filename":"file0"},{"photo_id":"1330073333","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330073331":["hashtag1","hashtag2"]},{"1330073325":["hashtag1","hashtag2"]},{"1330073328":["hashtag1","hashtag2"]},{"1330073333":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330073331, 1330073325, 1330073328, 1330073333)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.050183057785034 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 16:48:02.205822
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
  port_id : 19698700
  datou_current_id : 2490825
in upload_from_sqlite, uploading in 19698700
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17012025/23/04/image_17012025_23_04_02_530509_0001.jpg', '/home/pi/Desktop/images/17012025/23/04/image_17012025_23_04_02_530509_0002.jpg', '/home/pi/Desktop/images/17012025/23/04/image_17012025_23_04_02_530509_0003.jpg', '/home/pi/Desktop/images/17012025/23/05/image_17012025_23_05_02_719707_0000.jpg', '/home/pi/Desktop/images/17012025/23/05/image_17012025_23_05_02_719707_0001.jpg', '/home/pi/Desktop/images/17012025/23/05/image_17012025_23_05_02_719707_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2490825&datou=0
/home/pi/Desktop/images/17012025/23/04/image_17012025_23_04_02_530509_0001.jpg
/home/pi/Desktop/images/17012025/23/04/image_17012025_23_04_02_530509_0002.jpg
/home/pi/Desktop/images/17012025/23/04/image_17012025_23_04_02_530509_0003.jpg
/home/pi/Desktop/images/17012025/23/05/image_17012025_23_05_02_719707_0000.jpg
/home/pi/Desktop/images/17012025/23/05/image_17012025_23_05_02_719707_0001.jpg
/home/pi/Desktop/images/17012025/23/05/image_17012025_23_05_02_719707_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330073347","1330073349","1330073340","1330073337","1330073345","1330073342"],"photo_ids_order":["1330073337","1330073340","1330073342","1330073345","1330073347","1330073349"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/3e726342cb901260f42b3acbb7f742a9.jpg","text":"TemporaryFile(/tmp/multipartBody3283754897138616600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737301760276,"filename":"image_17012025_23_05_02_719707_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/7e48534bdd1f60416b559f8528bba739.jpg","text":"TemporaryFile(/tmp/multipartBody5286107059521031930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737301760276,"filename":"image_17012025_23_05_02_719707_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/edcb038d03ecaa4cf163e8f833e2c0b9.jpg","text":"TemporaryFile(/tmp/multipartBody7021222224428875976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737301760276,"filename":"image_17012025_23_04_02_530509_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/a144cd6420a6f696830b138ca3c17cf6.jpg","text":"TemporaryFile(/tmp/multipartBody7533516393954969700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737301760276,"filename":"image_17012025_23_04_02_530509_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/ea7b0f2757e9ce7e2809693ea6a9a33d.jpg","text":"TemporaryFile(/tmp/multipartBody5468082392713983335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737301760276,"filename":"image_17012025_23_05_02_719707_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/1d72fabc00ee4d35ba5c57733d27d285.jpg","text":"TemporaryFile(/tmp/multipartBody4713518418435110541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737301760276,"filename":"image_17012025_23_04_02_530509_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330073342","file1":"1330073340","file0":"1330073337","file4":"1330073347","file5":"1330073349","file3":"1330073345"},"map_files_photo_id_array":[{"photo_id":"1330073349","filename":"file5"},{"photo_id":"1330073342","filename":"file2"},{"photo_id":"1330073347","filename":"file4"},{"photo_id":"1330073340","filename":"file1"},{"photo_id":"1330073337","filename":"file0"},{"photo_id":"1330073345","filename":"file3"}],"portfolio_id":19698700,"hashtag_by_photo_ids":[{"1330073347":["hashtag1","hashtag2"]},{"1330073349":["hashtag1","hashtag2"]},{"1330073340":["hashtag1","hashtag2"]},{"1330073337":["hashtag1","hashtag2"]},{"1330073345":["hashtag1","hashtag2"]},{"1330073342":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698700 used, photo_id : ArrayBuffer(1330073347, 1330073349, 1330073340, 1330073337, 1330073345, 1330073342)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.76698398590088 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 16:49:02.296678
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/16/48/image_19012025_16_48_02_994006_0001.jpg', '/home/pi/Desktop/images/19012025/16/48/image_19012025_16_48_02_994006_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/16/48/image_19012025_16_48_02_994006_0001.jpg
/home/pi/Desktop/images/19012025/16/48/image_19012025_16_48_02_994006_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330074139","1330073870"],"photo_ids_order":["1330073870","1330074139"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/47f6727f85539b152d1ed72aec0edc13.jpg","text":"TemporaryFile(/tmp/multipartBody7882529064672677994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737301807655,"filename":"image_19012025_16_48_02_994006_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/2d5d17e9d88bc4975da0b0338f329d03.jpg","text":"TemporaryFile(/tmp/multipartBody2476645249919116395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737301807655,"filename":"image_19012025_16_48_02_994006_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1330074139","file0":"1330073870"},"map_files_photo_id_array":[{"photo_id":"1330074139","filename":"file1"},{"photo_id":"1330073870","filename":"file0"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330074139":["hashtag1","hashtag2"]},{"1330073870":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330074139, 1330073870)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 23.26286244392395 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-19 16:49:31.954310
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/16/49/image_19012025_16_49_02_148252_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/16/49/image_19012025_16_49_02_148252_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330074144"],"photo_id":"1330074144","photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/5ed4af11f414b9aa22500528b470450a.jpg","text":"TemporaryFile(/tmp/multipartBody2758164733655488065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737301834989,"filename":"image_19012025_16_49_02_148252_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file0":"1330074144"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1330074144"}],"hashtags":[],"portfolio_id":"19739540","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.449580430984497 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-19 16:49:52.177838
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
  port_id : 19698700
  datou_current_id : 2490825
in upload_from_sqlite, uploading in 19698700
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17012025/23/05/image_17012025_23_05_02_719707_0003.jpg', '/home/pi/Desktop/images/17012025/23/06/image_17012025_23_06_02_962294_0000.jpg', '/home/pi/Desktop/images/17012025/23/06/image_17012025_23_06_02_962294_0001.jpg', '/home/pi/Desktop/images/17012025/23/06/image_17012025_23_06_02_962294_0002.jpg', '/home/pi/Desktop/images/17012025/23/06/image_17012025_23_06_02_962294_0003.jpg', '/home/pi/Desktop/images/17012025/23/07/image_17012025_23_07_03_019819_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2490825&datou=0
/home/pi/Desktop/images/17012025/23/05/image_17012025_23_05_02_719707_0003.jpg
/home/pi/Desktop/images/17012025/23/06/image_17012025_23_06_02_962294_0000.jpg
/home/pi/Desktop/images/17012025/23/06/image_17012025_23_06_02_962294_0001.jpg
/home/pi/Desktop/images/17012025/23/06/image_17012025_23_06_02_962294_0002.jpg
/home/pi/Desktop/images/17012025/23/06/image_17012025_23_06_02_962294_0003.jpg
/home/pi/Desktop/images/17012025/23/07/image_17012025_23_07_03_019819_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":["1330074439","1330074492","1330074438","1330074494","1330074497","1330074490"],"photo_ids_order":["1330074438","1330074439","1330074490","1330074492","1330074494","1330074497"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/2dd7aceb2e019182299a42433f9a73c0.jpg","text":"TemporaryFile(/tmp/multipartBody5109372844483401763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737301869967,"filename":"image_17012025_23_06_02_962294_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/f6d0b312a39c27fd3cda7c1f9bd10c47.jpg","text":"TemporaryFile(/tmp/multipartBody4219872565572476132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737301869967,"filename":"image_17012025_23_06_02_962294_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/7558c0f5a4c72c486ff4aa9ffc48f7f3.jpg","text":"TemporaryFile(/tmp/multipartBody5110372633271375011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737301869967,"filename":"image_17012025_23_05_02_719707_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/d0b1d5c94d4db08eb8023cdabc7e3f3c.jpg","text":"TemporaryFile(/tmp/multipartBody6014359122797381378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737301869967,"filename":"image_17012025_23_06_02_962294_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/b84e911cdf97601238e5908a954eb77e.jpg","text":"TemporaryFile(/tmp/multipartBody7741532263748397691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737301869967,"filename":"image_17012025_23_07_03_019819_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/a2280aa788e9f91c20a1d7735e8ccf52.jpg","text":"TemporaryFile(/tmp/multipartBody7012313392058140991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737301869967,"filename":"image_17012025_23_06_02_962294_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330074490","file1":"1330074439","file0":"1330074438","file4":"1330074494","file5":"1330074497","file3":"1330074492"},"map_files_photo_id_array":[{"photo_id":"1330074497","filename":"file5"},{"photo_id":"1330074490","filename":"file2"},{"photo_id":"1330074494","filename":"file4"},{"photo_id":"1330074439","filename":"file1"},{"photo_id":"1330074438","filename":"file0"},{"photo_id":"1330074492","filename":"file3"}],"portfolio_id":19698700,"hashtag_by_photo_ids":[{"1330074439":["hashtag1","hashtag2"]},{"1330074492":["hashtag1","hashtag2"]},{"1330074438":["hashtag1","hashtag2"]},{"1330074494":["hashtag1","hashtag2"]},{"1330074497":["hashtag1","hashtag2"]},{"1330074490":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698700 used, photo_id : ArrayBuffer(1330074439, 1330074492, 1330074438, 1330074494, 1330074497, 1330074490)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.25045967102051 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-19 16:50:52.305827
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/16/49/image_19012025_16_49_02_148252_0003.jpg', '/home/pi/Desktop/images/19012025/16/50/image_19012025_16_50_02_360778_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/16/49/image_19012025_16_49_02_148252_0003.jpg
/home/pi/Desktop/images/19012025/16/50/image_19012025_16_50_02_360778_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330074570","1330074506"],"photo_ids_order":["1330074506","1330074570"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/9452d2063e6b8a1804188abebd625d16.jpg","text":"TemporaryFile(/tmp/multipartBody7729926252010227466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737301917547,"filename":"image_19012025_16_50_02_360778_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/cc17c8c54ca6b0a03d59a085af81cb08.jpg","text":"TemporaryFile(/tmp/multipartBody8094564350181532327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737301917547,"filename":"image_19012025_16_49_02_148252_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1330074570","file0":"1330074506"},"map_files_photo_id_array":[{"photo_id":"1330074570","filename":"file1"},{"photo_id":"1330074506","filename":"file0"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330074570":["hashtag1","hashtag2"]},{"1330074506":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330074570, 1330074506)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 22.345188856124878 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 16:51:22.629531
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/16/51/image_19012025_16_51_02_693234_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/16/51/image_19012025_16_51_02_693234_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330074726"],"photo_id":"1330074726","photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/9ea7656d2d4d3edc8012bd2f69def009.jpg","text":"TemporaryFile(/tmp/multipartBody8531047874262245954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737301945586,"filename":"image_19012025_16_51_02_693234_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file0":"1330074726"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1330074726"}],"hashtags":[],"portfolio_id":"19739540","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.573304414749146 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-19 16:51:42.522332
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
  port_id : 19698700
  datou_current_id : 2490825
in upload_from_sqlite, uploading in 19698700
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17012025/23/07/image_17012025_23_07_03_019819_0001.jpg', '/home/pi/Desktop/images/17012025/23/07/image_17012025_23_07_03_019819_0002.jpg', '/home/pi/Desktop/images/17012025/23/07/image_17012025_23_07_03_019819_0003.jpg', '/home/pi/Desktop/images/17012025/23/08/image_17012025_23_08_02_160376_0000.jpg', '/home/pi/Desktop/images/17012025/23/08/image_17012025_23_08_02_160376_0001.jpg', '/home/pi/Desktop/images/17012025/23/08/image_17012025_23_08_02_160376_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2490825&datou=0
/home/pi/Desktop/images/17012025/23/07/image_17012025_23_07_03_019819_0001.jpg
/home/pi/Desktop/images/17012025/23/07/image_17012025_23_07_03_019819_0002.jpg
/home/pi/Desktop/images/17012025/23/07/image_17012025_23_07_03_019819_0003.jpg
/home/pi/Desktop/images/17012025/23/08/image_17012025_23_08_02_160376_0000.jpg
/home/pi/Desktop/images/17012025/23/08/image_17012025_23_08_02_160376_0001.jpg
/home/pi/Desktop/images/17012025/23/08/image_17012025_23_08_02_160376_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330074805","1330074808","1330074802","1330074788","1330074773","1330074799"],"photo_ids_order":["1330074773","1330074788","1330074799","1330074802","1330074805","1330074808"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/5ff2173a05359a840278afaeccff2269.jpg","text":"TemporaryFile(/tmp/multipartBody1203198324337257489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737301979281,"filename":"image_17012025_23_08_02_160376_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/3010eee0d2a964c309ca133b4e3d9d57.jpg","text":"TemporaryFile(/tmp/multipartBody1937741354029256118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737301979281,"filename":"image_17012025_23_08_02_160376_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/cf988cfd7c1aad21d737cc4afb7f8fdb.jpg","text":"TemporaryFile(/tmp/multipartBody454060064826263555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737301979281,"filename":"image_17012025_23_08_02_160376_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/53fc457ecf22403aafde9586cf83910a.jpg","text":"TemporaryFile(/tmp/multipartBody2575555447408398738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737301979281,"filename":"image_17012025_23_07_03_019819_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/cae14162c552a715ea7005fe49ee7e7a.jpg","text":"TemporaryFile(/tmp/multipartBody7831077547548482073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737301979281,"filename":"image_17012025_23_07_03_019819_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/187162f6119f3aeea9a5958312fb0080.jpg","text":"TemporaryFile(/tmp/multipartBody1016460616144168354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737301979281,"filename":"image_17012025_23_07_03_019819_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330074799","file1":"1330074788","file0":"1330074773","file4":"1330074805","file5":"1330074808","file3":"1330074802"},"map_files_photo_id_array":[{"photo_id":"1330074808","filename":"file5"},{"photo_id":"1330074799","filename":"file2"},{"photo_id":"1330074805","filename":"file4"},{"photo_id":"1330074788","filename":"file1"},{"photo_id":"1330074773","filename":"file0"},{"photo_id":"1330074802","filename":"file3"}],"portfolio_id":19698700,"hashtag_by_photo_ids":[{"1330074805":["hashtag1","hashtag2"]},{"1330074808":["hashtag1","hashtag2"]},{"1330074802":["hashtag1","hashtag2"]},{"1330074788":["hashtag1","hashtag2"]},{"1330074773":["hashtag1","hashtag2"]},{"1330074799":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698700 used, photo_id : ArrayBuffer(1330074805, 1330074808, 1330074802, 1330074788, 1330074773, 1330074799)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.32304763793945 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-19 16:52:42.693135
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/16/52/image_19012025_16_52_02_991211_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/16/52/image_19012025_16_52_02_991211_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330074874"],"photo_id":"1330074874","photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/467ad113351652f1952eedb39a1a6409.jpg","text":"TemporaryFile(/tmp/multipartBody3122298339254019040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737302025550,"filename":"image_19012025_16_52_02_991211_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file0":"1330074874"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1330074874"}],"hashtags":[],"portfolio_id":"19739540","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.150630712509155 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 16:53:02.422937
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
  port_id : 19698700
  datou_current_id : 2490825
in upload_from_sqlite, uploading in 19698700
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17012025/23/08/image_17012025_23_08_02_160376_0003.jpg', '/home/pi/Desktop/images/17012025/23/09/image_17012025_23_09_02_362012_0000.jpg', '/home/pi/Desktop/images/17012025/23/09/image_17012025_23_09_02_362012_0001.jpg', '/home/pi/Desktop/images/17012025/23/09/image_17012025_23_09_02_362012_0002.jpg', '/home/pi/Desktop/images/17012025/23/09/image_17012025_23_09_02_362012_0003.jpg', '/home/pi/Desktop/images/17012025/23/10/image_17012025_23_10_02_628151_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2490825&datou=0
/home/pi/Desktop/images/17012025/23/08/image_17012025_23_08_02_160376_0003.jpg
/home/pi/Desktop/images/17012025/23/09/image_17012025_23_09_02_362012_0000.jpg
/home/pi/Desktop/images/17012025/23/09/image_17012025_23_09_02_362012_0001.jpg
/home/pi/Desktop/images/17012025/23/09/image_17012025_23_09_02_362012_0002.jpg
/home/pi/Desktop/images/17012025/23/09/image_17012025_23_09_02_362012_0003.jpg
/home/pi/Desktop/images/17012025/23/10/image_17012025_23_10_02_628151_0000.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330074922","1330074925","1330074913","1330074916","1330074981","1330074918"],"photo_ids_order":["1330074913","1330074916","1330074918","1330074922","1330074925","1330074981"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/a1dbf32aad2cedca3cacae56a69eead5.jpg","text":"TemporaryFile(/tmp/multipartBody8701819553200946492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737302059629,"filename":"image_17012025_23_09_02_362012_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/3aed1bd1e48b2fae195f615fd703d12b.jpg","text":"TemporaryFile(/tmp/multipartBody2227843058944064162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737302059629,"filename":"image_17012025_23_09_02_362012_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/9fd0fd2f7e9a9c686a2c4c2c9fb51b7f.jpg","text":"TemporaryFile(/tmp/multipartBody1725599446912237592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737302059629,"filename":"image_17012025_23_08_02_160376_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/17e5f3245d9c76df50680e1867dbfbbc.jpg","text":"TemporaryFile(/tmp/multipartBody1676180127772200208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737302059629,"filename":"image_17012025_23_09_02_362012_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/d6ede2e37f8322bc86bb3fa10897c2f8.jpg","text":"TemporaryFile(/tmp/multipartBody8971807387756769554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737302059629,"filename":"image_17012025_23_10_02_628151_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/d3e91881a0b711b7409a585fd6c7e8fc.jpg","text":"TemporaryFile(/tmp/multipartBody7902814909301962050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737302059629,"filename":"image_17012025_23_09_02_362012_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330074918","file1":"1330074916","file0":"1330074913","file4":"1330074925","file5":"1330074981","file3":"1330074922"},"map_files_photo_id_array":[{"photo_id":"1330074981","filename":"file5"},{"photo_id":"1330074918","filename":"file2"},{"photo_id":"1330074925","filename":"file4"},{"photo_id":"1330074916","filename":"file1"},{"photo_id":"1330074913","filename":"file0"},{"photo_id":"1330074922","filename":"file3"}],"portfolio_id":19698700,"hashtag_by_photo_ids":[{"1330074922":["hashtag1","hashtag2"]},{"1330074925":["hashtag1","hashtag2"]},{"1330074913":["hashtag1","hashtag2"]},{"1330074916":["hashtag1","hashtag2"]},{"1330074981":["hashtag1","hashtag2"]},{"1330074918":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698700 used, photo_id : ArrayBuffer(1330074922, 1330074925, 1330074913, 1330074916, 1330074981, 1330074918)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 90.37645244598389 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-19 16:54:42.104976
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/16/53/image_19012025_16_53_03_029413_0000.jpg', '/home/pi/Desktop/images/19012025/16/53/image_19012025_16_53_03_029413_0001.jpg', '/home/pi/Desktop/images/19012025/16/53/image_19012025_16_53_03_029413_0002.jpg', '/home/pi/Desktop/images/19012025/16/53/image_19012025_16_53_03_029413_0003.jpg', '/home/pi/Desktop/images/19012025/16/54/image_19012025_16_54_02_272591_0000.jpg', '/home/pi/Desktop/images/19012025/16/54/image_19012025_16_54_02_272591_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/16/53/image_19012025_16_53_03_029413_0000.jpg
/home/pi/Desktop/images/19012025/16/53/image_19012025_16_53_03_029413_0001.jpg
/home/pi/Desktop/images/19012025/16/53/image_19012025_16_53_03_029413_0002.jpg
/home/pi/Desktop/images/19012025/16/53/image_19012025_16_53_03_029413_0003.jpg
/home/pi/Desktop/images/19012025/16/54/image_19012025_16_54_02_272591_0000.jpg
/home/pi/Desktop/images/19012025/16/54/image_19012025_16_54_02_272591_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":["1330075932","1330075926","1330075952","1330075934","1330075928","1330075930"],"photo_ids_order":["1330075926","1330075928","1330075930","1330075932","1330075934","1330075952"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/a9ed559230f35072ed2f329c1a1975ab.jpg","text":"TemporaryFile(/tmp/multipartBody7488232282383254206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737302159112,"filename":"image_19012025_16_53_03_029413_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/177e504609720e2b019ad001cf322d51.jpg","text":"TemporaryFile(/tmp/multipartBody6148925301634732774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737302159112,"filename":"image_19012025_16_53_03_029413_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/e1f8ec1728606687b6ec6adf2c9070b3.jpg","text":"TemporaryFile(/tmp/multipartBody1313851443727818898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737302159112,"filename":"image_19012025_16_54_02_272591_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/0b7132badda2965396cff26021dc711c.jpg","text":"TemporaryFile(/tmp/multipartBody3024714431635048569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737302159112,"filename":"image_19012025_16_54_02_272591_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/b0da90975fe5ed843611a8114395ff08.jpg","text":"TemporaryFile(/tmp/multipartBody6257506221522731705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737302159112,"filename":"image_19012025_16_53_03_029413_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/182e6d7540931b71ec41b273de1f40cd.jpg","text":"TemporaryFile(/tmp/multipartBody4171836040877641529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737302159112,"filename":"image_19012025_16_53_03_029413_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330075930","file1":"1330075928","file0":"1330075926","file4":"1330075934","file5":"1330075952","file3":"1330075932"},"map_files_photo_id_array":[{"photo_id":"1330075952","filename":"file5"},{"photo_id":"1330075930","filename":"file2"},{"photo_id":"1330075934","filename":"file4"},{"photo_id":"1330075928","filename":"file1"},{"photo_id":"1330075926","filename":"file0"},{"photo_id":"1330075932","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330075932":["hashtag1","hashtag2"]},{"1330075926":["hashtag1","hashtag2"]},{"1330075952":["hashtag1","hashtag2"]},{"1330075934":["hashtag1","hashtag2"]},{"1330075928":["hashtag1","hashtag2"]},{"1330075930":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330075932, 1330075926, 1330075952, 1330075934, 1330075928, 1330075930)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.88157510757446 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-19 16:55:42.224583
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/16/54/image_19012025_16_54_02_272591_0002.jpg', '/home/pi/Desktop/images/19012025/16/54/image_19012025_16_54_02_272591_0003.jpg', '/home/pi/Desktop/images/19012025/16/55/image_19012025_16_55_02_424456_0000.jpg', '/home/pi/Desktop/images/19012025/16/55/image_19012025_16_55_02_424456_0001.jpg', '/home/pi/Desktop/images/19012025/16/55/image_19012025_16_55_02_424456_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/16/54/image_19012025_16_54_02_272591_0002.jpg
/home/pi/Desktop/images/19012025/16/54/image_19012025_16_54_02_272591_0003.jpg
/home/pi/Desktop/images/19012025/16/55/image_19012025_16_55_02_424456_0000.jpg
/home/pi/Desktop/images/19012025/16/55/image_19012025_16_55_02_424456_0001.jpg
/home/pi/Desktop/images/19012025/16/55/image_19012025_16_55_02_424456_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 13.93594217300415 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 16:56:02.783752
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/16/54/image_19012025_16_54_02_272591_0002.jpg', '/home/pi/Desktop/images/19012025/16/54/image_19012025_16_54_02_272591_0003.jpg', '/home/pi/Desktop/images/19012025/16/55/image_19012025_16_55_02_424456_0000.jpg', '/home/pi/Desktop/images/19012025/16/55/image_19012025_16_55_02_424456_0001.jpg', '/home/pi/Desktop/images/19012025/16/55/image_19012025_16_55_02_424456_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/16/54/image_19012025_16_54_02_272591_0002.jpg
/home/pi/Desktop/images/19012025/16/54/image_19012025_16_54_02_272591_0003.jpg
/home/pi/Desktop/images/19012025/16/55/image_19012025_16_55_02_424456_0000.jpg
/home/pi/Desktop/images/19012025/16/55/image_19012025_16_55_02_424456_0001.jpg
/home/pi/Desktop/images/19012025/16/55/image_19012025_16_55_02_424456_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330076343","1330076337","1330076346","1330076351","1330076339"],"photo_ids_order":["1330076337","1330076339","1330076343","1330076346","1330076351"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/f3e8f0f8bc588da8c3ae0083d2479ec4.jpg","text":"TemporaryFile(/tmp/multipartBody2023034559057139055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737302237140,"filename":"image_19012025_16_55_02_424456_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/94e499538e334a526eaba06e89e8cc82.jpg","text":"TemporaryFile(/tmp/multipartBody5307280125708402997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737302237140,"filename":"image_19012025_16_54_02_272591_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/885611e573d1ff21687c08cbf07bb6d4.jpg","text":"TemporaryFile(/tmp/multipartBody744579802235010474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737302237140,"filename":"image_19012025_16_55_02_424456_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/ef7aad0394a525fdf8e6b17a8e447d2d.jpg","text":"TemporaryFile(/tmp/multipartBody3806805180740073678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737302237140,"filename":"image_19012025_16_55_02_424456_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/c5a3445a60d333b839d6bbac53a107ee.jpg","text":"TemporaryFile(/tmp/multipartBody5720199026952793209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737302237140,"filename":"image_19012025_16_54_02_272591_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330076343","file1":"1330076339","file0":"1330076337","file4":"1330076351","file3":"1330076346"},"map_files_photo_id_array":[{"photo_id":"1330076343","filename":"file2"},{"photo_id":"1330076351","filename":"file4"},{"photo_id":"1330076339","filename":"file1"},{"photo_id":"1330076337","filename":"file0"},{"photo_id":"1330076346","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330076343":["hashtag1","hashtag2"]},{"1330076337":["hashtag1","hashtag2"]},{"1330076346":["hashtag1","hashtag2"]},{"1330076351":["hashtag1","hashtag2"]},{"1330076339":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330076343, 1330076337, 1330076346, 1330076351, 1330076339)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 48.93693733215332 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 16:57:03.256693
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/16/55/image_19012025_16_55_02_424456_0003.jpg', '/home/pi/Desktop/images/19012025/16/56/image_19012025_16_56_02_535188_0000.jpg', '/home/pi/Desktop/images/19012025/16/56/image_19012025_16_56_02_535188_0001.jpg', '/home/pi/Desktop/images/19012025/16/56/image_19012025_16_56_02_535188_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/16/55/image_19012025_16_55_02_424456_0003.jpg
/home/pi/Desktop/images/19012025/16/56/image_19012025_16_56_02_535188_0000.jpg
/home/pi/Desktop/images/19012025/16/56/image_19012025_16_56_02_535188_0001.jpg
/home/pi/Desktop/images/19012025/16/56/image_19012025_16_56_02_535188_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330076642","1330076645","1330076639","1330076638"],"photo_ids_order":["1330076638","1330076639","1330076642","1330076645"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/5110a6b54191b39c64b879d250b98d23.jpg","text":"TemporaryFile(/tmp/multipartBody2104627042818961043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737302294104,"filename":"image_19012025_16_56_02_535188_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/f4a5df34f52bf1f0130c5c251e97a6ff.jpg","text":"TemporaryFile(/tmp/multipartBody3520763610124406290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737302294104,"filename":"image_19012025_16_56_02_535188_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/8cb326f92d40eadffcdce9a5f15885a7.jpg","text":"TemporaryFile(/tmp/multipartBody5028285727032981571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737302294104,"filename":"image_19012025_16_56_02_535188_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/addb5af9a911a8c1fb0c17a472b79f6e.jpg","text":"TemporaryFile(/tmp/multipartBody8635717842017101606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737302294104,"filename":"image_19012025_16_55_02_424456_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330076642","file1":"1330076639","file0":"1330076638","file3":"1330076645"},"map_files_photo_id_array":[{"photo_id":"1330076642","filename":"file2"},{"photo_id":"1330076639","filename":"file1"},{"photo_id":"1330076638","filename":"file0"},{"photo_id":"1330076645","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330076642":["hashtag1","hashtag2"]},{"1330076645":["hashtag1","hashtag2"]},{"1330076639":["hashtag1","hashtag2"]},{"1330076638":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330076642, 1330076645, 1330076639, 1330076638)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.725566387176514 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-19 16:57:52.531184
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/16/56/image_19012025_16_56_02_535188_0003.jpg', '/home/pi/Desktop/images/19012025/16/57/image_19012025_16_57_02_699578_0000.jpg', '/home/pi/Desktop/images/19012025/16/57/image_19012025_16_57_02_699578_0001.jpg', '/home/pi/Desktop/images/19012025/16/57/image_19012025_16_57_02_699578_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/16/56/image_19012025_16_56_02_535188_0003.jpg
/home/pi/Desktop/images/19012025/16/57/image_19012025_16_57_02_699578_0000.jpg
/home/pi/Desktop/images/19012025/16/57/image_19012025_16_57_02_699578_0001.jpg
/home/pi/Desktop/images/19012025/16/57/image_19012025_16_57_02_699578_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-19 16:59:02.504157
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/16/56/image_19012025_16_56_02_535188_0003.jpg', '/home/pi/Desktop/images/19012025/16/57/image_19012025_16_57_02_699578_0000.jpg', '/home/pi/Desktop/images/19012025/16/57/image_19012025_16_57_02_699578_0001.jpg', '/home/pi/Desktop/images/19012025/16/57/image_19012025_16_57_02_699578_0002.jpg', '/home/pi/Desktop/images/19012025/16/58/image_19012025_16_58_02_983365_0000.jpg', '/home/pi/Desktop/images/19012025/16/58/image_19012025_16_58_02_983365_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/16/56/image_19012025_16_56_02_535188_0003.jpg
/home/pi/Desktop/images/19012025/16/57/image_19012025_16_57_02_699578_0000.jpg
/home/pi/Desktop/images/19012025/16/57/image_19012025_16_57_02_699578_0001.jpg
/home/pi/Desktop/images/19012025/16/57/image_19012025_16_57_02_699578_0002.jpg
/home/pi/Desktop/images/19012025/16/58/image_19012025_16_58_02_983365_0000.jpg
/home/pi/Desktop/images/19012025/16/58/image_19012025_16_58_02_983365_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330076730","1330076727","1330076712","1330076721","1330076718","1330076725"],"photo_ids_order":["1330076712","1330076718","1330076721","1330076725","1330076727","1330076730"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/50c06be04decf536b367ba6d7cb125f1.jpg","text":"TemporaryFile(/tmp/multipartBody7535294072194773050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737302417794,"filename":"image_19012025_16_58_02_983365_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/2c44ab553a9be9bb4f8df7c3a5e2f75f.jpg","text":"TemporaryFile(/tmp/multipartBody3949349374849919867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737302417794,"filename":"image_19012025_16_58_02_983365_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/8bc13b6d0f062249885639c1dc667de0.jpg","text":"TemporaryFile(/tmp/multipartBody8190683642639654376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737302417794,"filename":"image_19012025_16_56_02_535188_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/f0163e6484209e0cd9888e79fbf713e7.jpg","text":"TemporaryFile(/tmp/multipartBody59539715988196485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737302417794,"filename":"image_19012025_16_57_02_699578_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/9146331feeb99df77ca7078ab85749da.jpg","text":"TemporaryFile(/tmp/multipartBody5903225534340014895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737302417794,"filename":"image_19012025_16_57_02_699578_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/8e60885e78d7f7a7518841faea51d728.jpg","text":"TemporaryFile(/tmp/multipartBody8340366090941165695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737302417794,"filename":"image_19012025_16_57_02_699578_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330076721","file1":"1330076718","file0":"1330076712","file4":"1330076727","file5":"1330076730","file3":"1330076725"},"map_files_photo_id_array":[{"photo_id":"1330076730","filename":"file5"},{"photo_id":"1330076721","filename":"file2"},{"photo_id":"1330076727","filename":"file4"},{"photo_id":"1330076718","filename":"file1"},{"photo_id":"1330076712","filename":"file0"},{"photo_id":"1330076725","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330076730":["hashtag1","hashtag2"]},{"1330076727":["hashtag1","hashtag2"]},{"1330076712":["hashtag1","hashtag2"]},{"1330076721":["hashtag1","hashtag2"]},{"1330076718":["hashtag1","hashtag2"]},{"1330076725":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330076730, 1330076727, 1330076712, 1330076721, 1330076718, 1330076725)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.292492628097534 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 17:00:02.502767
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/16/58/image_19012025_16_58_02_983365_0003.jpg', '/home/pi/Desktop/images/19012025/16/59/image_19012025_16_59_03_055514_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/16/58/image_19012025_16_58_02_983365_0003.jpg
/home/pi/Desktop/images/19012025/16/59/image_19012025_16_59_03_055514_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330076744","1330076742"],"photo_ids_order":["1330076742","1330076744"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/2df2105085cb8768ecfa0a481cc5b31c.jpg","text":"TemporaryFile(/tmp/multipartBody2707353525576475362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737302467795,"filename":"image_19012025_16_59_03_055514_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/5489011ec9f03b6e521828bc80ec46cd.jpg","text":"TemporaryFile(/tmp/multipartBody6017518726729575240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737302467795,"filename":"image_19012025_16_58_02_983365_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1330076744","file0":"1330076742"},"map_files_photo_id_array":[{"photo_id":"1330076744","filename":"file1"},{"photo_id":"1330076742","filename":"file0"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330076744":["hashtag1","hashtag2"]},{"1330076742":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330076744, 1330076742)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 22.115254163742065 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-19 17:00:32.062383
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
  port_id : 19698700
  datou_current_id : 2490825
in upload_from_sqlite, uploading in 19698700
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17012025/23/10/image_17012025_23_10_02_628151_0001.jpg', '/home/pi/Desktop/images/17012025/23/10/image_17012025_23_10_02_628151_0002.jpg', '/home/pi/Desktop/images/17012025/23/10/image_17012025_23_10_02_628151_0003.jpg', '/home/pi/Desktop/images/17012025/23/11/image_17012025_23_11_02_802379_0000.jpg', '/home/pi/Desktop/images/17012025/23/11/image_17012025_23_11_02_802379_0001.jpg', '/home/pi/Desktop/images/17012025/23/11/image_17012025_23_11_02_802379_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2490825&datou=0
/home/pi/Desktop/images/17012025/23/10/image_17012025_23_10_02_628151_0001.jpg
/home/pi/Desktop/images/17012025/23/10/image_17012025_23_10_02_628151_0002.jpg
/home/pi/Desktop/images/17012025/23/10/image_17012025_23_10_02_628151_0003.jpg
/home/pi/Desktop/images/17012025/23/11/image_17012025_23_11_02_802379_0000.jpg
/home/pi/Desktop/images/17012025/23/11/image_17012025_23_11_02_802379_0001.jpg
/home/pi/Desktop/images/17012025/23/11/image_17012025_23_11_02_802379_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330076766","1330076771","1330076762","1330076764","1330076773","1330076769"],"photo_ids_order":["1330076762","1330076764","1330076766","1330076769","1330076771","1330076773"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/7cd94fcfab65daee0dbe0aef4422f4e3.jpg","text":"TemporaryFile(/tmp/multipartBody7399738534551713786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737302508902,"filename":"image_17012025_23_10_02_628151_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/8a82f1bb359eda5bbd39217909da596d.jpg","text":"TemporaryFile(/tmp/multipartBody2868053271232173055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737302508902,"filename":"image_17012025_23_11_02_802379_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/f0ad33716b35114965d0bc4fb275776a.jpg","text":"TemporaryFile(/tmp/multipartBody2395238077960365198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737302508902,"filename":"image_17012025_23_10_02_628151_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/f8ecdcc185045cf515990302a1488605.jpg","text":"TemporaryFile(/tmp/multipartBody8759979674786018944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737302508902,"filename":"image_17012025_23_10_02_628151_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/5d926b5a8594aaab19bfc32196c7a02c.jpg","text":"TemporaryFile(/tmp/multipartBody314826863622145340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737302508902,"filename":"image_17012025_23_11_02_802379_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/b59dd4dde34619280819e4e7f60277ee.jpg","text":"TemporaryFile(/tmp/multipartBody3943379410769715164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737302508902,"filename":"image_17012025_23_11_02_802379_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330076766","file1":"1330076764","file0":"1330076762","file4":"1330076771","file5":"1330076773","file3":"1330076769"},"map_files_photo_id_array":[{"photo_id":"1330076773","filename":"file5"},{"photo_id":"1330076766","filename":"file2"},{"photo_id":"1330076771","filename":"file4"},{"photo_id":"1330076764","filename":"file1"},{"photo_id":"1330076762","filename":"file0"},{"photo_id":"1330076769","filename":"file3"}],"portfolio_id":19698700,"hashtag_by_photo_ids":[{"1330076766":["hashtag1","hashtag2"]},{"1330076771":["hashtag1","hashtag2"]},{"1330076762":["hashtag1","hashtag2"]},{"1330076764":["hashtag1","hashtag2"]},{"1330076773":["hashtag1","hashtag2"]},{"1330076769":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698700 used, photo_id : ArrayBuffer(1330076766, 1330076771, 1330076762, 1330076764, 1330076773, 1330076769)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.565311670303345 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-19 17:01:32.250586
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/17/01/image_19012025_17_01_02_407389_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/17/01/image_19012025_17_01_02_407389_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330076783"],"photo_id":"1330076783","photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/77c3150a248ae98ea959d37c5b6a22ce.jpg","text":"TemporaryFile(/tmp/multipartBody6824661270853115617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737302555228,"filename":"image_19012025_17_01_02_407389_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file0":"1330076783"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1330076783"}],"hashtags":[],"portfolio_id":"19739540","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.11374568939209 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-19 17:01:52.294781
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
  port_id : 19698700
  datou_current_id : 2490825
in upload_from_sqlite, uploading in 19698700
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17012025/23/11/image_17012025_23_11_02_802379_0003.jpg', '/home/pi/Desktop/images/17012025/23/12/image_17012025_23_12_02_936713_0000.jpg', '/home/pi/Desktop/images/17012025/23/12/image_17012025_23_12_02_936713_0001.jpg', '/home/pi/Desktop/images/17012025/23/12/image_17012025_23_12_02_936713_0002.jpg', '/home/pi/Desktop/images/17012025/23/12/image_17012025_23_12_02_936713_0003.jpg', '/home/pi/Desktop/images/17012025/23/13/image_17012025_23_13_03_056536_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2490825&datou=0
/home/pi/Desktop/images/17012025/23/11/image_17012025_23_11_02_802379_0003.jpg
/home/pi/Desktop/images/17012025/23/12/image_17012025_23_12_02_936713_0000.jpg
/home/pi/Desktop/images/17012025/23/12/image_17012025_23_12_02_936713_0001.jpg
/home/pi/Desktop/images/17012025/23/12/image_17012025_23_12_02_936713_0002.jpg
/home/pi/Desktop/images/17012025/23/12/image_17012025_23_12_02_936713_0003.jpg
/home/pi/Desktop/images/17012025/23/13/image_17012025_23_13_03_056536_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":["1330077899","1330077542","1330077917","1330077895","1330077874","1330077883"],"photo_ids_order":["1330077542","1330077874","1330077883","1330077895","1330077899","1330077917"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/27614ef219bbb6ff300de85cca4dc78b.jpg","text":"TemporaryFile(/tmp/multipartBody6868557053931226706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737302589759,"filename":"image_17012025_23_12_02_936713_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/cf47d1b3a4d642a74e3183bd624185e3.jpg","text":"TemporaryFile(/tmp/multipartBody3304895908173908925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737302589759,"filename":"image_17012025_23_11_02_802379_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/41258936161907afdc5a02dd83280cac.jpg","text":"TemporaryFile(/tmp/multipartBody2268796395155547796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737302589759,"filename":"image_17012025_23_13_03_056536_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/0f2221df73e8c70cff94ce51c9b72098.jpg","text":"TemporaryFile(/tmp/multipartBody7876128175441934674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737302589759,"filename":"image_17012025_23_12_02_936713_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/d34f112d4f8f9451bb2d13aacae976b4.jpg","text":"TemporaryFile(/tmp/multipartBody2205387370108491288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737302589759,"filename":"image_17012025_23_12_02_936713_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/3b26b8c3102161ee6a12976544905594.jpg","text":"TemporaryFile(/tmp/multipartBody463816501359198298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737302589759,"filename":"image_17012025_23_12_02_936713_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330077883","file1":"1330077874","file0":"1330077542","file4":"1330077899","file5":"1330077917","file3":"1330077895"},"map_files_photo_id_array":[{"photo_id":"1330077917","filename":"file5"},{"photo_id":"1330077883","filename":"file2"},{"photo_id":"1330077899","filename":"file4"},{"photo_id":"1330077874","filename":"file1"},{"photo_id":"1330077542","filename":"file0"},{"photo_id":"1330077895","filename":"file3"}],"portfolio_id":19698700,"hashtag_by_photo_ids":[{"1330077899":["hashtag1","hashtag2"]},{"1330077542":["hashtag1","hashtag2"]},{"1330077917":["hashtag1","hashtag2"]},{"1330077895":["hashtag1","hashtag2"]},{"1330077874":["hashtag1","hashtag2"]},{"1330077883":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698700 used, photo_id : ArrayBuffer(1330077899, 1330077542, 1330077917, 1330077895, 1330077874, 1330077883)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.106709241867065 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-19 17:02:52.490511
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
  port_id : 19698700
  datou_current_id : 2490825
in upload_from_sqlite, uploading in 19698700
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17012025/23/13/image_17012025_23_13_03_056536_0001.jpg', '/home/pi/Desktop/images/17012025/23/13/image_17012025_23_13_03_056536_0002.jpg', '/home/pi/Desktop/images/17012025/23/13/image_17012025_23_13_03_056536_0003.jpg', '/home/pi/Desktop/images/17012025/23/14/image_17012025_23_14_02_284647_0000.jpg', '/home/pi/Desktop/images/17012025/23/14/image_17012025_23_14_02_284647_0001.jpg', '/home/pi/Desktop/images/17012025/23/14/image_17012025_23_14_02_284647_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2490825&datou=0
/home/pi/Desktop/images/17012025/23/13/image_17012025_23_13_03_056536_0001.jpg
/home/pi/Desktop/images/17012025/23/13/image_17012025_23_13_03_056536_0002.jpg
/home/pi/Desktop/images/17012025/23/13/image_17012025_23_13_03_056536_0003.jpg
/home/pi/Desktop/images/17012025/23/14/image_17012025_23_14_02_284647_0000.jpg
/home/pi/Desktop/images/17012025/23/14/image_17012025_23_14_02_284647_0001.jpg
/home/pi/Desktop/images/17012025/23/14/image_17012025_23_14_02_284647_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330078241","1330077926","1330078237","1330077925","1330078047","1330077927"],"photo_ids_order":["1330077925","1330077926","1330077927","1330078047","1330078237","1330078241"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/d9e2b931051bcc148b4842d45fc3eb57.jpg","text":"TemporaryFile(/tmp/multipartBody1184448010671013808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737302649962,"filename":"image_17012025_23_14_02_284647_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/dcfbb78005029f0163d468547d5db017.jpg","text":"TemporaryFile(/tmp/multipartBody8449609118014989017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737302649962,"filename":"image_17012025_23_13_03_056536_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/a745667cc21e00f46b56854d40c8db9e.jpg","text":"TemporaryFile(/tmp/multipartBody6080128164789730464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737302649962,"filename":"image_17012025_23_14_02_284647_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/829fe513c4706a884581867bbca31c54.jpg","text":"TemporaryFile(/tmp/multipartBody2485122776682526784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737302649962,"filename":"image_17012025_23_13_03_056536_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/1fe5f3dcd79eff129b1ddc183810582d.jpg","text":"TemporaryFile(/tmp/multipartBody6372867521190867456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737302649962,"filename":"image_17012025_23_14_02_284647_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/f20074229d506f3331ade7c7d33a6a18.jpg","text":"TemporaryFile(/tmp/multipartBody4375685934583941698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737302649962,"filename":"image_17012025_23_13_03_056536_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330077927","file1":"1330077926","file0":"1330077925","file4":"1330078237","file5":"1330078241","file3":"1330078047"},"map_files_photo_id_array":[{"photo_id":"1330078241","filename":"file5"},{"photo_id":"1330077927","filename":"file2"},{"photo_id":"1330078237","filename":"file4"},{"photo_id":"1330077926","filename":"file1"},{"photo_id":"1330077925","filename":"file0"},{"photo_id":"1330078047","filename":"file3"}],"portfolio_id":19698700,"hashtag_by_photo_ids":[{"1330078241":["hashtag1","hashtag2"]},{"1330077926":["hashtag1","hashtag2"]},{"1330078237":["hashtag1","hashtag2"]},{"1330077925":["hashtag1","hashtag2"]},{"1330078047":["hashtag1","hashtag2"]},{"1330077927":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698700 used, photo_id : ArrayBuffer(1330078241, 1330077926, 1330078237, 1330077925, 1330078047, 1330077927)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.207056522369385 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-19 17:03:52.637188
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
  port_id : 19698700
  datou_current_id : 2490825
in upload_from_sqlite, uploading in 19698700
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17012025/23/14/image_17012025_23_14_02_284647_0003.jpg', '/home/pi/Desktop/images/17012025/23/15/image_17012025_23_15_02_442412_0000.jpg', '/home/pi/Desktop/images/17012025/23/15/image_17012025_23_15_02_442412_0001.jpg', '/home/pi/Desktop/images/17012025/23/15/image_17012025_23_15_02_442412_0002.jpg', '/home/pi/Desktop/images/17012025/23/15/image_17012025_23_15_02_442412_0003.jpg', '/home/pi/Desktop/images/17012025/23/16/image_17012025_23_16_02_727190_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2490825&datou=0
/home/pi/Desktop/images/17012025/23/14/image_17012025_23_14_02_284647_0003.jpg
/home/pi/Desktop/images/17012025/23/15/image_17012025_23_15_02_442412_0000.jpg
/home/pi/Desktop/images/17012025/23/15/image_17012025_23_15_02_442412_0001.jpg
/home/pi/Desktop/images/17012025/23/15/image_17012025_23_15_02_442412_0002.jpg
/home/pi/Desktop/images/17012025/23/15/image_17012025_23_15_02_442412_0003.jpg
/home/pi/Desktop/images/17012025/23/16/image_17012025_23_16_02_727190_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":["1330078358","1330078403","1330078399","1330078351","1330078368","1330078364"],"photo_ids_order":["1330078351","1330078358","1330078364","1330078368","1330078399","1330078403"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/97114830f5d9bf42b16d44eb61fd82b9.jpg","text":"TemporaryFile(/tmp/multipartBody1602197874103732992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737302710669,"filename":"image_17012025_23_15_02_442412_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/c7b7aebf6af96d9a0afca575667dd7f2.jpg","text":"TemporaryFile(/tmp/multipartBody6273361333380213600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737302710669,"filename":"image_17012025_23_16_02_727190_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/0fcecd8a3dc8e5ca81fa79cdb02c1599.jpg","text":"TemporaryFile(/tmp/multipartBody945883999338496086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737302710669,"filename":"image_17012025_23_15_02_442412_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/f26652b1de534446df92dbaf7bf2f6b5.jpg","text":"TemporaryFile(/tmp/multipartBody7262832363953467540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737302710669,"filename":"image_17012025_23_14_02_284647_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/bd9646535cd50a0dfdb2d1fb164ea8ed.jpg","text":"TemporaryFile(/tmp/multipartBody7056869002454996335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737302710669,"filename":"image_17012025_23_15_02_442412_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/d3acb1932a6c3ae25370101254e9bb08.jpg","text":"TemporaryFile(/tmp/multipartBody2853489958819355571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737302710669,"filename":"image_17012025_23_15_02_442412_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330078364","file1":"1330078358","file0":"1330078351","file4":"1330078399","file5":"1330078403","file3":"1330078368"},"map_files_photo_id_array":[{"photo_id":"1330078403","filename":"file5"},{"photo_id":"1330078364","filename":"file2"},{"photo_id":"1330078399","filename":"file4"},{"photo_id":"1330078358","filename":"file1"},{"photo_id":"1330078351","filename":"file0"},{"photo_id":"1330078368","filename":"file3"}],"portfolio_id":19698700,"hashtag_by_photo_ids":[{"1330078358":["hashtag1","hashtag2"]},{"1330078403":["hashtag1","hashtag2"]},{"1330078399":["hashtag1","hashtag2"]},{"1330078351":["hashtag1","hashtag2"]},{"1330078368":["hashtag1","hashtag2"]},{"1330078364":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698700 used, photo_id : ArrayBuffer(1330078358, 1330078403, 1330078399, 1330078351, 1330078368, 1330078364)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 61.017826080322266 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 17:05:02.586653
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
  port_id : 19698700
  datou_current_id : 2490825
in upload_from_sqlite, uploading in 19698700
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17012025/23/16/image_17012025_23_16_02_727190_0001.jpg', '/home/pi/Desktop/images/17012025/23/16/image_17012025_23_16_02_727190_0002.jpg', '/home/pi/Desktop/images/17012025/23/16/image_17012025_23_16_02_727190_0003.jpg', '/home/pi/Desktop/images/17012025/23/17/image_17012025_23_17_02_867849_0000.jpg', '/home/pi/Desktop/images/17012025/23/17/image_17012025_23_17_02_867849_0001.jpg', '/home/pi/Desktop/images/17012025/23/17/image_17012025_23_17_02_867849_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2490825&datou=0
/home/pi/Desktop/images/17012025/23/16/image_17012025_23_16_02_727190_0001.jpg
/home/pi/Desktop/images/17012025/23/16/image_17012025_23_16_02_727190_0002.jpg
/home/pi/Desktop/images/17012025/23/16/image_17012025_23_16_02_727190_0003.jpg
/home/pi/Desktop/images/17012025/23/17/image_17012025_23_17_02_867849_0000.jpg
/home/pi/Desktop/images/17012025/23/17/image_17012025_23_17_02_867849_0001.jpg
/home/pi/Desktop/images/17012025/23/17/image_17012025_23_17_02_867849_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330078421","1330078430","1330078438","1330078426","1330078435","1330078417"],"photo_ids_order":["1330078417","1330078421","1330078426","1330078430","1330078435","1330078438"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/e5b20ec9cbc8296f01b11fec556fce5f.jpg","text":"TemporaryFile(/tmp/multipartBody7567003090835568123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737302780625,"filename":"image_17012025_23_16_02_727190_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/272f6f05777eff6657e9c4e5ccf3f93b.jpg","text":"TemporaryFile(/tmp/multipartBody443862114427567304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737302780625,"filename":"image_17012025_23_17_02_867849_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/c63058745284fd70301eead92e7abbf2.jpg","text":"TemporaryFile(/tmp/multipartBody5340417881366759132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737302780625,"filename":"image_17012025_23_17_02_867849_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/b0fab4aadf3024404aa8c94fd385e593.jpg","text":"TemporaryFile(/tmp/multipartBody1733549012196179284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737302780625,"filename":"image_17012025_23_16_02_727190_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/3e30d7d5d1faeaf6e82ecd7e37f515f9.jpg","text":"TemporaryFile(/tmp/multipartBody1778061359618941075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737302780625,"filename":"image_17012025_23_17_02_867849_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/c16ebe08ab82025361102c64edd0df9f.jpg","text":"TemporaryFile(/tmp/multipartBody7258099480841817695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737302780625,"filename":"image_17012025_23_16_02_727190_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330078426","file1":"1330078421","file0":"1330078417","file4":"1330078435","file5":"1330078438","file3":"1330078430"},"map_files_photo_id_array":[{"photo_id":"1330078438","filename":"file5"},{"photo_id":"1330078426","filename":"file2"},{"photo_id":"1330078435","filename":"file4"},{"photo_id":"1330078421","filename":"file1"},{"photo_id":"1330078417","filename":"file0"},{"photo_id":"1330078430","filename":"file3"}],"portfolio_id":19698700,"hashtag_by_photo_ids":[{"1330078421":["hashtag1","hashtag2"]},{"1330078430":["hashtag1","hashtag2"]},{"1330078438":["hashtag1","hashtag2"]},{"1330078426":["hashtag1","hashtag2"]},{"1330078435":["hashtag1","hashtag2"]},{"1330078417":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698700 used, photo_id : ArrayBuffer(1330078421, 1330078430, 1330078438, 1330078426, 1330078435, 1330078417)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.151801347732544 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 17:06:02.519781
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/17/04/image_19012025_17_04_03_082679_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/17/04/image_19012025_17_04_03_082679_0000.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330078488"],"photo_id":"1330078488","photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/c5b235cd1e6b70fa35cc1369971f0e7c.jpg","text":"TemporaryFile(/tmp/multipartBody2422837712169497558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737302825542,"filename":"image_19012025_17_04_03_082679_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file0":"1330078488"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1330078488"}],"hashtags":[],"portfolio_id":"19739540","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 13.97754430770874 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 17:06:22.171126
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/17/06/image_19012025_17_06_02_419180_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/17/06/image_19012025_17_06_02_419180_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330078499"],"photo_id":"1330078499","photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/1f9bc16435976e9690b22729c34d7dce.jpg","text":"TemporaryFile(/tmp/multipartBody4041398424811759898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737302845172,"filename":"image_19012025_17_06_02_419180_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file0":"1330078499"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1330078499"}],"hashtags":[],"portfolio_id":"19739540","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.330421447753906 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-19 17:06:42.242728
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
  port_id : 19698700
  datou_current_id : 2490825
in upload_from_sqlite, uploading in 19698700
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17012025/23/17/image_17012025_23_17_02_867849_0003.jpg', '/home/pi/Desktop/images/17012025/23/18/image_17012025_23_18_03_008402_0000.jpg', '/home/pi/Desktop/images/17012025/23/18/image_17012025_23_18_03_008402_0001.jpg', '/home/pi/Desktop/images/17012025/23/18/image_17012025_23_18_03_008402_0002.jpg', '/home/pi/Desktop/images/17012025/23/18/image_17012025_23_18_03_008402_0003.jpg', '/home/pi/Desktop/images/17012025/23/19/image_17012025_23_19_02_127498_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2490825&datou=0
/home/pi/Desktop/images/17012025/23/17/image_17012025_23_17_02_867849_0003.jpg
/home/pi/Desktop/images/17012025/23/18/image_17012025_23_18_03_008402_0000.jpg
/home/pi/Desktop/images/17012025/23/18/image_17012025_23_18_03_008402_0001.jpg
/home/pi/Desktop/images/17012025/23/18/image_17012025_23_18_03_008402_0002.jpg
/home/pi/Desktop/images/17012025/23/18/image_17012025_23_18_03_008402_0003.jpg
/home/pi/Desktop/images/17012025/23/19/image_17012025_23_19_02_127498_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":["1330080803","1330080806","1330080802","1330080657","1330080816","1330080801"],"photo_ids_order":["1330080657","1330080801","1330080802","1330080803","1330080806","1330080816"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/8e0e9de8eb90e3484b81e1748338d169.jpg","text":"TemporaryFile(/tmp/multipartBody5632444972624054937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737302879497,"filename":"image_17012025_23_18_03_008402_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/c62a1d61f57031ce2698dc2242903c3f.jpg","text":"TemporaryFile(/tmp/multipartBody1277894655756843447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737302879497,"filename":"image_17012025_23_18_03_008402_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/a9d61bf49743e16215c69de02f7baf83.jpg","text":"TemporaryFile(/tmp/multipartBody6600822004558274722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737302879497,"filename":"image_17012025_23_18_03_008402_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/48039dab52b7589f34cdedbf7fb45b1e.jpg","text":"TemporaryFile(/tmp/multipartBody1677699283922894792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737302879497,"filename":"image_17012025_23_17_02_867849_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/389c7372de227163dbf3e94564a7b314.jpg","text":"TemporaryFile(/tmp/multipartBody387884046548816185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737302879497,"filename":"image_17012025_23_19_02_127498_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/91fca24c11320f697c206507d6970ada.jpg","text":"TemporaryFile(/tmp/multipartBody4713242007722716885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737302879497,"filename":"image_17012025_23_18_03_008402_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330080802","file1":"1330080801","file0":"1330080657","file4":"1330080806","file5":"1330080816","file3":"1330080803"},"map_files_photo_id_array":[{"photo_id":"1330080816","filename":"file5"},{"photo_id":"1330080802","filename":"file2"},{"photo_id":"1330080806","filename":"file4"},{"photo_id":"1330080801","filename":"file1"},{"photo_id":"1330080657","filename":"file0"},{"photo_id":"1330080803","filename":"file3"}],"portfolio_id":19698700,"hashtag_by_photo_ids":[{"1330080803":["hashtag1","hashtag2"]},{"1330080806":["hashtag1","hashtag2"]},{"1330080802":["hashtag1","hashtag2"]},{"1330080657":["hashtag1","hashtag2"]},{"1330080816":["hashtag1","hashtag2"]},{"1330080801":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698700 used, photo_id : ArrayBuffer(1330080803, 1330080806, 1330080802, 1330080657, 1330080816, 1330080801)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.94069314002991 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-19 17:07:42.369606
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
  port_id : 19698700
  datou_current_id : 2490825
in upload_from_sqlite, uploading in 19698700
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17012025/23/19/image_17012025_23_19_02_127498_0001.jpg', '/home/pi/Desktop/images/17012025/23/19/image_17012025_23_19_02_127498_0002.jpg', '/home/pi/Desktop/images/17012025/23/19/image_17012025_23_19_02_127498_0003.jpg', '/home/pi/Desktop/images/17012025/23/20/image_17012025_23_20_02_318476_0000.jpg', '/home/pi/Desktop/images/17012025/23/20/image_17012025_23_20_02_318476_0001.jpg', '/home/pi/Desktop/images/17012025/23/20/image_17012025_23_20_02_318476_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2490825&datou=0
/home/pi/Desktop/images/17012025/23/19/image_17012025_23_19_02_127498_0001.jpg
/home/pi/Desktop/images/17012025/23/19/image_17012025_23_19_02_127498_0002.jpg
/home/pi/Desktop/images/17012025/23/19/image_17012025_23_19_02_127498_0003.jpg
/home/pi/Desktop/images/17012025/23/20/image_17012025_23_20_02_318476_0000.jpg
/home/pi/Desktop/images/17012025/23/20/image_17012025_23_20_02_318476_0001.jpg
/home/pi/Desktop/images/17012025/23/20/image_17012025_23_20_02_318476_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330081121","1330081159","1330081153","1330081152","1330081107","1330081154"],"photo_ids_order":["1330081107","1330081121","1330081152","1330081153","1330081154","1330081159"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/00bc7c57c0899644b661a1471ab29039.jpg","text":"TemporaryFile(/tmp/multipartBody3408707559106475714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737302939699,"filename":"image_17012025_23_19_02_127498_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/e8b2cf5b4236d0273970a8d7aa5b1b3c.jpg","text":"TemporaryFile(/tmp/multipartBody8928975213095824727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737302939699,"filename":"image_17012025_23_20_02_318476_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/902ecab17f7e050b8e7cd497d03149e4.jpg","text":"TemporaryFile(/tmp/multipartBody1509291038414420077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737302939699,"filename":"image_17012025_23_20_02_318476_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/1f8de00c0620b7da201f879944eed08a.jpg","text":"TemporaryFile(/tmp/multipartBody3343457475075580123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737302939699,"filename":"image_17012025_23_19_02_127498_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/a8bff3c531d67c2a319d5de94a9903c2.jpg","text":"TemporaryFile(/tmp/multipartBody7328919988976339062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737302939699,"filename":"image_17012025_23_19_02_127498_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/3fb181af35c61029b201f67b8867a61c.jpg","text":"TemporaryFile(/tmp/multipartBody964065708842064658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737302939699,"filename":"image_17012025_23_20_02_318476_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330081152","file1":"1330081121","file0":"1330081107","file4":"1330081154","file5":"1330081159","file3":"1330081153"},"map_files_photo_id_array":[{"photo_id":"1330081159","filename":"file5"},{"photo_id":"1330081152","filename":"file2"},{"photo_id":"1330081154","filename":"file4"},{"photo_id":"1330081121","filename":"file1"},{"photo_id":"1330081107","filename":"file0"},{"photo_id":"1330081153","filename":"file3"}],"portfolio_id":19698700,"hashtag_by_photo_ids":[{"1330081121":["hashtag1","hashtag2"]},{"1330081159":["hashtag1","hashtag2"]},{"1330081153":["hashtag1","hashtag2"]},{"1330081152":["hashtag1","hashtag2"]},{"1330081107":["hashtag1","hashtag2"]},{"1330081154":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698700 used, photo_id : ArrayBuffer(1330081121, 1330081159, 1330081153, 1330081152, 1330081107, 1330081154)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.107447385787964 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-19 17:08:42.581024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/17/08/image_19012025_17_08_02_838137_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/17/08/image_19012025_17_08_02_838137_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330081165"],"photo_id":"1330081165","photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/1b69455e15875290fab82bc0122040b6.jpg","text":"TemporaryFile(/tmp/multipartBody3805301961122914104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737302985585,"filename":"image_19012025_17_08_02_838137_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file0":"1330081165"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1330081165"}],"hashtags":[],"portfolio_id":"19739540","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.37968111038208 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 17:09:03.352155
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
  port_id : 19698700
  datou_current_id : 2490825
in upload_from_sqlite, uploading in 19698700
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17012025/23/20/image_17012025_23_20_02_318476_0003.jpg', '/home/pi/Desktop/images/17012025/23/21/image_17012025_23_21_02_514518_0000.jpg', '/home/pi/Desktop/images/17012025/23/21/image_17012025_23_21_02_514518_0001.jpg', '/home/pi/Desktop/images/17012025/23/21/image_17012025_23_21_02_514518_0002.jpg', '/home/pi/Desktop/images/17012025/23/21/image_17012025_23_21_02_514518_0003.jpg', '/home/pi/Desktop/images/17012025/23/22/image_17012025_23_22_02_779794_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2490825&datou=0
/home/pi/Desktop/images/17012025/23/20/image_17012025_23_20_02_318476_0003.jpg
/home/pi/Desktop/images/17012025/23/21/image_17012025_23_21_02_514518_0000.jpg
/home/pi/Desktop/images/17012025/23/21/image_17012025_23_21_02_514518_0001.jpg
/home/pi/Desktop/images/17012025/23/21/image_17012025_23_21_02_514518_0002.jpg
/home/pi/Desktop/images/17012025/23/21/image_17012025_23_21_02_514518_0003.jpg
/home/pi/Desktop/images/17012025/23/22/image_17012025_23_22_02_779794_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":["1330081974","1330082028","1330081767","1330081961","1330081958","1330081736"],"photo_ids_order":["1330081736","1330081767","1330081958","1330081961","1330081974","1330082028"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/2cfca1ed3b0363b09603a94a8974833f.jpg","text":"TemporaryFile(/tmp/multipartBody8295673415983551038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737303021350,"filename":"image_17012025_23_21_02_514518_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/76d920e0dbdb49fb520ed454fbf26c8f.jpg","text":"TemporaryFile(/tmp/multipartBody5620409609247603627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737303021350,"filename":"image_17012025_23_22_02_779794_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/d48ab45f857d80e39ce297359eddef73.jpg","text":"TemporaryFile(/tmp/multipartBody7561390022355517999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737303021350,"filename":"image_17012025_23_21_02_514518_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/2beaa84c02b3f02e6d9038e84ebb0519.jpg","text":"TemporaryFile(/tmp/multipartBody1298478007076244917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737303021350,"filename":"image_17012025_23_21_02_514518_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/baf89a60e6ac5cc2be22c8f79ec2984f.jpg","text":"TemporaryFile(/tmp/multipartBody8913534433859036720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737303021350,"filename":"image_17012025_23_21_02_514518_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/f3a56622407c60c348c6ab5cfd210624.jpg","text":"TemporaryFile(/tmp/multipartBody3714688633411848497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737303021350,"filename":"image_17012025_23_20_02_318476_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330081958","file1":"1330081767","file0":"1330081736","file4":"1330081974","file5":"1330082028","file3":"1330081961"},"map_files_photo_id_array":[{"photo_id":"1330082028","filename":"file5"},{"photo_id":"1330081958","filename":"file2"},{"photo_id":"1330081974","filename":"file4"},{"photo_id":"1330081767","filename":"file1"},{"photo_id":"1330081736","filename":"file0"},{"photo_id":"1330081961","filename":"file3"}],"portfolio_id":19698700,"hashtag_by_photo_ids":[{"1330081974":["hashtag1","hashtag2"]},{"1330082028":["hashtag1","hashtag2"]},{"1330081767":["hashtag1","hashtag2"]},{"1330081961":["hashtag1","hashtag2"]},{"1330081958":["hashtag1","hashtag2"]},{"1330081736":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698700 used, photo_id : ArrayBuffer(1330081974, 1330082028, 1330081767, 1330081961, 1330081958, 1330081736)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 64.54766917228699 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 17:10:21.975768
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/17/09/image_19012025_17_09_02_919014_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/17/09/image_19012025_17_09_02_919014_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330082109"],"photo_id":"1330082109","photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/35754d02ecfc266bb8057b7b868775d0.jpg","text":"TemporaryFile(/tmp/multipartBody2490083851864203606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737303084982,"filename":"image_19012025_17_09_02_919014_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file0":"1330082109"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1330082109"}],"hashtags":[],"portfolio_id":"19739540","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.06855034828186 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-19 17:10:41.928590
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
  port_id : 19698700
  datou_current_id : 2490825
in upload_from_sqlite, uploading in 19698700
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17012025/23/22/image_17012025_23_22_02_779794_0001.jpg', '/home/pi/Desktop/images/17012025/23/22/image_17012025_23_22_02_779794_0002.jpg', '/home/pi/Desktop/images/17012025/23/22/image_17012025_23_22_02_779794_0003.jpg', '/home/pi/Desktop/images/17012025/23/23/image_17012025_23_23_02_922706_0000.jpg', '/home/pi/Desktop/images/17012025/23/23/image_17012025_23_23_02_922706_0001.jpg', '/home/pi/Desktop/images/17012025/23/23/image_17012025_23_23_02_922706_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2490825&datou=0
/home/pi/Desktop/images/17012025/23/22/image_17012025_23_22_02_779794_0001.jpg
/home/pi/Desktop/images/17012025/23/22/image_17012025_23_22_02_779794_0002.jpg
/home/pi/Desktop/images/17012025/23/22/image_17012025_23_22_02_779794_0003.jpg
/home/pi/Desktop/images/17012025/23/23/image_17012025_23_23_02_922706_0000.jpg
/home/pi/Desktop/images/17012025/23/23/image_17012025_23_23_02_922706_0001.jpg
/home/pi/Desktop/images/17012025/23/23/image_17012025_23_23_02_922706_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330082149","1330082154","1330082148","1330082145","1330082150","1330082147"],"photo_ids_order":["1330082145","1330082147","1330082148","1330082149","1330082150","1330082154"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/6fcf431f0e5a8e591c040120799660fd.jpg","text":"TemporaryFile(/tmp/multipartBody8284553842195403990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737303119045,"filename":"image_17012025_23_23_02_922706_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/3b23b25c74a5142a929e8e52c791ef1e.jpg","text":"TemporaryFile(/tmp/multipartBody8178246434712767913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737303119045,"filename":"image_17012025_23_23_02_922706_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/857d7838add16d6326f6d0957c21491b.jpg","text":"TemporaryFile(/tmp/multipartBody2756663654316264441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737303119045,"filename":"image_17012025_23_22_02_779794_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/4da7294c1237039f7dca70d6a230fdea.jpg","text":"TemporaryFile(/tmp/multipartBody1170719959469794483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737303119045,"filename":"image_17012025_23_22_02_779794_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/a680f928ebeb9365145f9bf4c731e4d9.jpg","text":"TemporaryFile(/tmp/multipartBody8956578772636770283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737303119045,"filename":"image_17012025_23_23_02_922706_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/17ac8d6be2cc7d4b2eb521cf5c6c90df.jpg","text":"TemporaryFile(/tmp/multipartBody3358630455753601294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737303119045,"filename":"image_17012025_23_22_02_779794_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330082148","file1":"1330082147","file0":"1330082145","file4":"1330082150","file5":"1330082154","file3":"1330082149"},"map_files_photo_id_array":[{"photo_id":"1330082154","filename":"file5"},{"photo_id":"1330082148","filename":"file2"},{"photo_id":"1330082150","filename":"file4"},{"photo_id":"1330082147","filename":"file1"},{"photo_id":"1330082145","filename":"file0"},{"photo_id":"1330082149","filename":"file3"}],"portfolio_id":19698700,"hashtag_by_photo_ids":[{"1330082149":["hashtag1","hashtag2"]},{"1330082154":["hashtag1","hashtag2"]},{"1330082148":["hashtag1","hashtag2"]},{"1330082145":["hashtag1","hashtag2"]},{"1330082150":["hashtag1","hashtag2"]},{"1330082147":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698700 used, photo_id : ArrayBuffer(1330082149, 1330082154, 1330082148, 1330082145, 1330082150, 1330082147)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.48531532287598 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-19 17:11:42.087367
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
  port_id : 19698700
  datou_current_id : 2490825
in upload_from_sqlite, uploading in 19698700
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17012025/23/23/image_17012025_23_23_02_922706_0003.jpg', '/home/pi/Desktop/images/17012025/23/24/image_17012025_23_24_03_174693_0000.jpg', '/home/pi/Desktop/images/17012025/23/24/image_17012025_23_24_03_174693_0001.jpg', '/home/pi/Desktop/images/17012025/23/24/image_17012025_23_24_03_174693_0002.jpg', '/home/pi/Desktop/images/17012025/23/24/image_17012025_23_24_03_174693_0003.jpg', '/home/pi/Desktop/images/17012025/23/25/image_17012025_23_25_02_283970_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2490825&datou=0
/home/pi/Desktop/images/17012025/23/23/image_17012025_23_23_02_922706_0003.jpg
/home/pi/Desktop/images/17012025/23/24/image_17012025_23_24_03_174693_0000.jpg
/home/pi/Desktop/images/17012025/23/24/image_17012025_23_24_03_174693_0001.jpg
/home/pi/Desktop/images/17012025/23/24/image_17012025_23_24_03_174693_0002.jpg
/home/pi/Desktop/images/17012025/23/24/image_17012025_23_24_03_174693_0003.jpg
/home/pi/Desktop/images/17012025/23/25/image_17012025_23_25_02_283970_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":["1330082166","1330082169","1330082171","1330082174","1330082168","1330082170"],"photo_ids_order":["1330082166","1330082168","1330082169","1330082170","1330082171","1330082174"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/013e3f004d4edfcae780c0e38a77538c.jpg","text":"TemporaryFile(/tmp/multipartBody2879446542973203402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737303179778,"filename":"image_17012025_23_23_02_922706_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/4c378dc510ffbf3ba6a8b9263e2147e5.jpg","text":"TemporaryFile(/tmp/multipartBody604394994966349200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737303179778,"filename":"image_17012025_23_24_03_174693_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/b268cfe3821ae51a4e7e31ab20c323ae.jpg","text":"TemporaryFile(/tmp/multipartBody1743174962287114119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737303179778,"filename":"image_17012025_23_24_03_174693_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/0a0cc3ac71246bcf16f49e1650cf6844.jpg","text":"TemporaryFile(/tmp/multipartBody301591225164834289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737303179778,"filename":"image_17012025_23_25_02_283970_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/7142b8a5a413af38500091c119150769.jpg","text":"TemporaryFile(/tmp/multipartBody6507004530746617326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737303179778,"filename":"image_17012025_23_24_03_174693_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/f7ebb8b16aeec389acccdc7462071235.jpg","text":"TemporaryFile(/tmp/multipartBody640947284679233506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737303179778,"filename":"image_17012025_23_24_03_174693_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330082169","file1":"1330082168","file0":"1330082166","file4":"1330082171","file5":"1330082174","file3":"1330082170"},"map_files_photo_id_array":[{"photo_id":"1330082174","filename":"file5"},{"photo_id":"1330082169","filename":"file2"},{"photo_id":"1330082171","filename":"file4"},{"photo_id":"1330082168","filename":"file1"},{"photo_id":"1330082166","filename":"file0"},{"photo_id":"1330082170","filename":"file3"}],"portfolio_id":19698700,"hashtag_by_photo_ids":[{"1330082166":["hashtag1","hashtag2"]},{"1330082169":["hashtag1","hashtag2"]},{"1330082171":["hashtag1","hashtag2"]},{"1330082174":["hashtag1","hashtag2"]},{"1330082168":["hashtag1","hashtag2"]},{"1330082170":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698700 used, photo_id : ArrayBuffer(1330082166, 1330082169, 1330082171, 1330082174, 1330082168, 1330082170)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.97065186500549 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-19 17:12:42.320395
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
  port_id : 19698700
  datou_current_id : 2490825
in upload_from_sqlite, uploading in 19698700
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17012025/23/25/image_17012025_23_25_02_283970_0001.jpg', '/home/pi/Desktop/images/17012025/23/25/image_17012025_23_25_02_283970_0002.jpg', '/home/pi/Desktop/images/17012025/23/25/image_17012025_23_25_02_283970_0003.jpg', '/home/pi/Desktop/images/17012025/23/26/image_17012025_23_26_02_464762_0000.jpg', '/home/pi/Desktop/images/17012025/23/26/image_17012025_23_26_02_464762_0001.jpg', '/home/pi/Desktop/images/17012025/23/26/image_17012025_23_26_02_464762_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2490825&datou=0
/home/pi/Desktop/images/17012025/23/25/image_17012025_23_25_02_283970_0001.jpg
/home/pi/Desktop/images/17012025/23/25/image_17012025_23_25_02_283970_0002.jpg
/home/pi/Desktop/images/17012025/23/25/image_17012025_23_25_02_283970_0003.jpg
/home/pi/Desktop/images/17012025/23/26/image_17012025_23_26_02_464762_0000.jpg
/home/pi/Desktop/images/17012025/23/26/image_17012025_23_26_02_464762_0001.jpg
/home/pi/Desktop/images/17012025/23/26/image_17012025_23_26_02_464762_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330082305","1330082286","1330082256","1330082301","1330082309","1330082303"],"photo_ids_order":["1330082256","1330082286","1330082301","1330082303","1330082305","1330082309"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/9271e961bbdacf8887b2dccb89947794.jpg","text":"TemporaryFile(/tmp/multipartBody3871887178700432858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737303239815,"filename":"image_17012025_23_26_02_464762_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/9d5aff3fd48a6e5ff25aec266e32727b.jpg","text":"TemporaryFile(/tmp/multipartBody1869842655160041782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737303239815,"filename":"image_17012025_23_25_02_283970_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/5103ee3b69f05d92af7e95e46f0ef977.jpg","text":"TemporaryFile(/tmp/multipartBody6511641421240281139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737303239815,"filename":"image_17012025_23_25_02_283970_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/64a5a975af8a0e7e62de2e9c7b18ca32.jpg","text":"TemporaryFile(/tmp/multipartBody1431277659980031510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737303239815,"filename":"image_17012025_23_25_02_283970_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/36b1e70640395846ca8caa3f8efc2dec.jpg","text":"TemporaryFile(/tmp/multipartBody6237656511390147089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737303239815,"filename":"image_17012025_23_26_02_464762_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/79e6ab51b55fb13e7d829e0b8de02884.jpg","text":"TemporaryFile(/tmp/multipartBody7052832694159558832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737303239815,"filename":"image_17012025_23_26_02_464762_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330082301","file1":"1330082286","file0":"1330082256","file4":"1330082305","file5":"1330082309","file3":"1330082303"},"map_files_photo_id_array":[{"photo_id":"1330082309","filename":"file5"},{"photo_id":"1330082301","filename":"file2"},{"photo_id":"1330082305","filename":"file4"},{"photo_id":"1330082286","filename":"file1"},{"photo_id":"1330082256","filename":"file0"},{"photo_id":"1330082303","filename":"file3"}],"portfolio_id":19698700,"hashtag_by_photo_ids":[{"1330082305":["hashtag1","hashtag2"]},{"1330082286":["hashtag1","hashtag2"]},{"1330082256":["hashtag1","hashtag2"]},{"1330082301":["hashtag1","hashtag2"]},{"1330082309":["hashtag1","hashtag2"]},{"1330082303":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698700 used, photo_id : ArrayBuffer(1330082305, 1330082286, 1330082256, 1330082301, 1330082309, 1330082303)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.04282522201538 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-19 17:13:42.433119
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
  port_id : 19698700
  datou_current_id : 2490825
in upload_from_sqlite, uploading in 19698700
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17012025/23/26/image_17012025_23_26_02_464762_0003.jpg', '/home/pi/Desktop/images/17012025/23/27/image_17012025_23_27_02_649213_0000.jpg', '/home/pi/Desktop/images/17012025/23/27/image_17012025_23_27_02_649213_0001.jpg', '/home/pi/Desktop/images/17012025/23/27/image_17012025_23_27_02_649213_0002.jpg', '/home/pi/Desktop/images/17012025/23/27/image_17012025_23_27_02_649213_0003.jpg', '/home/pi/Desktop/images/17012025/23/28/image_17012025_23_28_02_832263_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2490825&datou=0
/home/pi/Desktop/images/17012025/23/26/image_17012025_23_26_02_464762_0003.jpg
/home/pi/Desktop/images/17012025/23/27/image_17012025_23_27_02_649213_0000.jpg
/home/pi/Desktop/images/17012025/23/27/image_17012025_23_27_02_649213_0001.jpg
/home/pi/Desktop/images/17012025/23/27/image_17012025_23_27_02_649213_0002.jpg
/home/pi/Desktop/images/17012025/23/27/image_17012025_23_27_02_649213_0003.jpg
/home/pi/Desktop/images/17012025/23/28/image_17012025_23_28_02_832263_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":["1330082365","1330082373","1330082361","1330082363","1330082369","1330082368"],"photo_ids_order":["1330082361","1330082363","1330082365","1330082368","1330082369","1330082373"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/47129bfe58b1128b37e03969d9786aca.jpg","text":"TemporaryFile(/tmp/multipartBody984527852741849974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737303299390,"filename":"image_17012025_23_27_02_649213_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/16f9ff2ea7ce3245f62c4afc9ccab34d.jpg","text":"TemporaryFile(/tmp/multipartBody292046259690268378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737303299390,"filename":"image_17012025_23_28_02_832263_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/ef487366a8be1c7d52925e62151f0fa9.jpg","text":"TemporaryFile(/tmp/multipartBody7785639374274442325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737303299390,"filename":"image_17012025_23_26_02_464762_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/2983bc60323c20706edf5ce8455966bd.jpg","text":"TemporaryFile(/tmp/multipartBody2891918293354626713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737303299390,"filename":"image_17012025_23_27_02_649213_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/8f605f9d58369924dd0a4da4dafad3d4.jpg","text":"TemporaryFile(/tmp/multipartBody5515306353210892030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737303299390,"filename":"image_17012025_23_27_02_649213_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/b699e6f377789729f6e53063056f74d0.jpg","text":"TemporaryFile(/tmp/multipartBody7215657831679765673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737303299390,"filename":"image_17012025_23_27_02_649213_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330082365","file1":"1330082363","file0":"1330082361","file4":"1330082369","file5":"1330082373","file3":"1330082368"},"map_files_photo_id_array":[{"photo_id":"1330082373","filename":"file5"},{"photo_id":"1330082365","filename":"file2"},{"photo_id":"1330082369","filename":"file4"},{"photo_id":"1330082363","filename":"file1"},{"photo_id":"1330082361","filename":"file0"},{"photo_id":"1330082368","filename":"file3"}],"portfolio_id":19698700,"hashtag_by_photo_ids":[{"1330082365":["hashtag1","hashtag2"]},{"1330082373":["hashtag1","hashtag2"]},{"1330082361":["hashtag1","hashtag2"]},{"1330082363":["hashtag1","hashtag2"]},{"1330082369":["hashtag1","hashtag2"]},{"1330082368":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698700 used, photo_id : ArrayBuffer(1330082365, 1330082373, 1330082361, 1330082363, 1330082369, 1330082368)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.32800364494324 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-19 17:14:42.628568
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
  port_id : 19698700
  datou_current_id : 2490825
in upload_from_sqlite, uploading in 19698700
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17012025/23/28/image_17012025_23_28_02_832263_0001.jpg', '/home/pi/Desktop/images/17012025/23/28/image_17012025_23_28_02_832263_0002.jpg', '/home/pi/Desktop/images/17012025/23/28/image_17012025_23_28_02_832263_0003.jpg', '/home/pi/Desktop/images/17012025/23/29/image_17012025_23_29_02_968114_0000.jpg', '/home/pi/Desktop/images/17012025/23/29/image_17012025_23_29_02_968114_0001.jpg', '/home/pi/Desktop/images/17012025/23/29/image_17012025_23_29_02_968114_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2490825&datou=0
/home/pi/Desktop/images/17012025/23/28/image_17012025_23_28_02_832263_0001.jpg
/home/pi/Desktop/images/17012025/23/28/image_17012025_23_28_02_832263_0002.jpg
/home/pi/Desktop/images/17012025/23/28/image_17012025_23_28_02_832263_0003.jpg
/home/pi/Desktop/images/17012025/23/29/image_17012025_23_29_02_968114_0000.jpg
/home/pi/Desktop/images/17012025/23/29/image_17012025_23_29_02_968114_0001.jpg
/home/pi/Desktop/images/17012025/23/29/image_17012025_23_29_02_968114_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330082388","1330082384","1330082387","1330082392","1330082386","1330082389"],"photo_ids_order":["1330082384","1330082386","1330082387","1330082388","1330082389","1330082392"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/13d2f7645fb2350d5068dc0fb55869bb.jpg","text":"TemporaryFile(/tmp/multipartBody3268222347457063636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737303359457,"filename":"image_17012025_23_29_02_968114_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/c1bc9d62ea935e964e5ec736a491db78.jpg","text":"TemporaryFile(/tmp/multipartBody8698434335295659849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737303359457,"filename":"image_17012025_23_28_02_832263_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/94d252c60bbcfc3477319989cdc3117f.jpg","text":"TemporaryFile(/tmp/multipartBody769151574711358737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737303359457,"filename":"image_17012025_23_28_02_832263_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/f57e9d0a5d9f9024c8aea62393e7fd96.jpg","text":"TemporaryFile(/tmp/multipartBody7118613879449423200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737303359457,"filename":"image_17012025_23_29_02_968114_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/2e49f6e48fceae43ee371eb363d92487.jpg","text":"TemporaryFile(/tmp/multipartBody8509874096817633125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737303359457,"filename":"image_17012025_23_28_02_832263_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/b4bbb3b9f8f64e1b2c6eeae1ebd569a1.jpg","text":"TemporaryFile(/tmp/multipartBody4586732009911701798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737303359457,"filename":"image_17012025_23_29_02_968114_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330082387","file1":"1330082386","file0":"1330082384","file4":"1330082389","file5":"1330082392","file3":"1330082388"},"map_files_photo_id_array":[{"photo_id":"1330082392","filename":"file5"},{"photo_id":"1330082387","filename":"file2"},{"photo_id":"1330082389","filename":"file4"},{"photo_id":"1330082386","filename":"file1"},{"photo_id":"1330082384","filename":"file0"},{"photo_id":"1330082388","filename":"file3"}],"portfolio_id":19698700,"hashtag_by_photo_ids":[{"1330082388":["hashtag1","hashtag2"]},{"1330082384":["hashtag1","hashtag2"]},{"1330082387":["hashtag1","hashtag2"]},{"1330082392":["hashtag1","hashtag2"]},{"1330082386":["hashtag1","hashtag2"]},{"1330082389":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698700 used, photo_id : ArrayBuffer(1330082388, 1330082384, 1330082387, 1330082392, 1330082386, 1330082389)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.699931144714355 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-19 17:15:41.888146
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/17/15/image_19012025_17_15_02_960243_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/17/15/image_19012025_17_15_02_960243_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330082395"],"photo_id":"1330082395","photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/801ae1cb0d54e8db4a28dce3dff706b0.jpg","text":"TemporaryFile(/tmp/multipartBody8201711479319960369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737303404912,"filename":"image_19012025_17_15_02_960243_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file0":"1330082395"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1330082395"}],"hashtags":[],"portfolio_id":"19739540","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.521099328994751 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 17:16:02.534218
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
  port_id : 19698700
  datou_current_id : 2490825
in upload_from_sqlite, uploading in 19698700
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17012025/23/29/image_17012025_23_29_02_968114_0003.jpg', '/home/pi/Desktop/images/17012025/23/30/image_17012025_23_30_03_223726_0000.jpg', '/home/pi/Desktop/images/17012025/23/30/image_17012025_23_30_03_223726_0001.jpg', '/home/pi/Desktop/images/17012025/23/30/image_17012025_23_30_03_223726_0002.jpg', '/home/pi/Desktop/images/17012025/23/30/image_17012025_23_30_03_223726_0003.jpg', '/home/pi/Desktop/images/17012025/23/31/image_17012025_23_31_02_286870_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2490825&datou=0
/home/pi/Desktop/images/17012025/23/29/image_17012025_23_29_02_968114_0003.jpg
/home/pi/Desktop/images/17012025/23/30/image_17012025_23_30_03_223726_0000.jpg
/home/pi/Desktop/images/17012025/23/30/image_17012025_23_30_03_223726_0001.jpg
/home/pi/Desktop/images/17012025/23/30/image_17012025_23_30_03_223726_0002.jpg
/home/pi/Desktop/images/17012025/23/30/image_17012025_23_30_03_223726_0003.jpg
/home/pi/Desktop/images/17012025/23/31/image_17012025_23_31_02_286870_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":["1330082422","1330082425","1330082409","1330082400","1330082418","1330082402"],"photo_ids_order":["1330082400","1330082402","1330082409","1330082418","1330082422","1330082425"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/350b20ace218ba7681c0360b84e957d3.jpg","text":"TemporaryFile(/tmp/multipartBody112322485578361875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737303440604,"filename":"image_17012025_23_30_03_223726_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/d3bc133b5e1a309afab7e5b179363de2.jpg","text":"TemporaryFile(/tmp/multipartBody2292056969242052434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737303440604,"filename":"image_17012025_23_31_02_286870_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/f1bb76224877d028ef79356ab6eb55e7.jpg","text":"TemporaryFile(/tmp/multipartBody1618743059100695013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737303440604,"filename":"image_17012025_23_30_03_223726_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/fb46c61076575dabd3defcf93ed7f177.jpg","text":"TemporaryFile(/tmp/multipartBody19391558873645294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737303440604,"filename":"image_17012025_23_29_02_968114_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/a225b6ab725fb595728d8fcb1334cfd3.jpg","text":"TemporaryFile(/tmp/multipartBody5251613890169149914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737303440604,"filename":"image_17012025_23_30_03_223726_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/7a729f9f741eb40aac216fdb606efbcf.jpg","text":"TemporaryFile(/tmp/multipartBody2166181907585063080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737303440604,"filename":"image_17012025_23_30_03_223726_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330082409","file1":"1330082402","file0":"1330082400","file4":"1330082422","file5":"1330082425","file3":"1330082418"},"map_files_photo_id_array":[{"photo_id":"1330082425","filename":"file5"},{"photo_id":"1330082409","filename":"file2"},{"photo_id":"1330082422","filename":"file4"},{"photo_id":"1330082402","filename":"file1"},{"photo_id":"1330082400","filename":"file0"},{"photo_id":"1330082418","filename":"file3"}],"portfolio_id":19698700,"hashtag_by_photo_ids":[{"1330082422":["hashtag1","hashtag2"]},{"1330082425":["hashtag1","hashtag2"]},{"1330082409":["hashtag1","hashtag2"]},{"1330082400":["hashtag1","hashtag2"]},{"1330082418":["hashtag1","hashtag2"]},{"1330082402":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698700 used, photo_id : ArrayBuffer(1330082422, 1330082425, 1330082409, 1330082400, 1330082418, 1330082402)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.29709720611572 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 17:17:03.004281
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
  port_id : 19698700
  datou_current_id : 2490825
in upload_from_sqlite, uploading in 19698700
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17012025/23/31/image_17012025_23_31_02_286870_0001.jpg', '/home/pi/Desktop/images/17012025/23/31/image_17012025_23_31_02_286870_0002.jpg', '/home/pi/Desktop/images/17012025/23/31/image_17012025_23_31_02_286870_0003.jpg', '/home/pi/Desktop/images/17012025/23/32/image_17012025_23_32_02_542796_0000.jpg', '/home/pi/Desktop/images/17012025/23/32/image_17012025_23_32_02_542796_0001.jpg', '/home/pi/Desktop/images/17012025/23/32/image_17012025_23_32_02_542796_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2490825&datou=0
/home/pi/Desktop/images/17012025/23/31/image_17012025_23_31_02_286870_0001.jpg
/home/pi/Desktop/images/17012025/23/31/image_17012025_23_31_02_286870_0002.jpg
/home/pi/Desktop/images/17012025/23/31/image_17012025_23_31_02_286870_0003.jpg
/home/pi/Desktop/images/17012025/23/32/image_17012025_23_32_02_542796_0000.jpg
/home/pi/Desktop/images/17012025/23/32/image_17012025_23_32_02_542796_0001.jpg
/home/pi/Desktop/images/17012025/23/32/image_17012025_23_32_02_542796_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330082536","1330082553","1330082540","1330082491","1330082494","1330082488"],"photo_ids_order":["1330082488","1330082491","1330082494","1330082536","1330082540","1330082553"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/669869e8ad03f42c65182f0c9cbf0875.jpg","text":"TemporaryFile(/tmp/multipartBody5193174660722252622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737303500596,"filename":"image_17012025_23_32_02_542796_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/cf45dcebbecaef5b66685439218538bc.jpg","text":"TemporaryFile(/tmp/multipartBody3378762355993897750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737303500596,"filename":"image_17012025_23_32_02_542796_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/a58d3219418abaaa3fd5a64e460d1c3d.jpg","text":"TemporaryFile(/tmp/multipartBody3983302813897465595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737303500596,"filename":"image_17012025_23_32_02_542796_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/af3d6a95e6f0011a84d25e3d0bdacd89.jpg","text":"TemporaryFile(/tmp/multipartBody1154280802647922993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737303500596,"filename":"image_17012025_23_31_02_286870_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/f6428ef9b1c4993f70b8f76b92c74f4b.jpg","text":"TemporaryFile(/tmp/multipartBody5025154479146680619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737303500596,"filename":"image_17012025_23_31_02_286870_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/6e1fbd14830a17b85d5fede99a5e7ec0.jpg","text":"TemporaryFile(/tmp/multipartBody1741366549564969090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737303500596,"filename":"image_17012025_23_31_02_286870_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330082494","file1":"1330082491","file0":"1330082488","file4":"1330082540","file5":"1330082553","file3":"1330082536"},"map_files_photo_id_array":[{"photo_id":"1330082553","filename":"file5"},{"photo_id":"1330082494","filename":"file2"},{"photo_id":"1330082540","filename":"file4"},{"photo_id":"1330082491","filename":"file1"},{"photo_id":"1330082488","filename":"file0"},{"photo_id":"1330082536","filename":"file3"}],"portfolio_id":19698700,"hashtag_by_photo_ids":[{"1330082536":["hashtag1","hashtag2"]},{"1330082553":["hashtag1","hashtag2"]},{"1330082540":["hashtag1","hashtag2"]},{"1330082491":["hashtag1","hashtag2"]},{"1330082494":["hashtag1","hashtag2"]},{"1330082488":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698700 used, photo_id : ArrayBuffer(1330082536, 1330082553, 1330082540, 1330082491, 1330082494, 1330082488)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.61101841926575 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 17:18:02.803081
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
  port_id : 19698700
  datou_current_id : 2490825
in upload_from_sqlite, uploading in 19698700
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17012025/23/32/image_17012025_23_32_02_542796_0003.jpg', '/home/pi/Desktop/images/17012025/23/33/image_17012025_23_33_02_641228_0000.jpg', '/home/pi/Desktop/images/17012025/23/33/image_17012025_23_33_02_641228_0001.jpg', '/home/pi/Desktop/images/17012025/23/33/image_17012025_23_33_02_641228_0002.jpg', '/home/pi/Desktop/images/17012025/23/33/image_17012025_23_33_02_641228_0003.jpg', '/home/pi/Desktop/images/17012025/23/34/image_17012025_23_34_02_873958_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2490825&datou=0
/home/pi/Desktop/images/17012025/23/32/image_17012025_23_32_02_542796_0003.jpg
/home/pi/Desktop/images/17012025/23/33/image_17012025_23_33_02_641228_0000.jpg
/home/pi/Desktop/images/17012025/23/33/image_17012025_23_33_02_641228_0001.jpg
/home/pi/Desktop/images/17012025/23/33/image_17012025_23_33_02_641228_0002.jpg
/home/pi/Desktop/images/17012025/23/33/image_17012025_23_33_02_641228_0003.jpg
/home/pi/Desktop/images/17012025/23/34/image_17012025_23_34_02_873958_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":["1330082842","1330082967","1330082964","1330082969","1330082558","1330082971"],"photo_ids_order":["1330082558","1330082842","1330082964","1330082967","1330082969","1330082971"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/b2e8ed0e5e441a0b90c57adb11394966.jpg","text":"TemporaryFile(/tmp/multipartBody9221595809028801687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737303560268,"filename":"image_17012025_23_33_02_641228_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/4b4f30c0978eccf5e88f41576fe02cfd.jpg","text":"TemporaryFile(/tmp/multipartBody3981441544128379187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737303560268,"filename":"image_17012025_23_33_02_641228_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/8c848c8f520f0c437ba31cff49d3dbc3.jpg","text":"TemporaryFile(/tmp/multipartBody3108590465836430755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737303560268,"filename":"image_17012025_23_33_02_641228_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/985921852db7d5b53c4e92389ee54b49.jpg","text":"TemporaryFile(/tmp/multipartBody7348762518182769327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737303560268,"filename":"image_17012025_23_33_02_641228_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/c87d4c49dd72b4819fbfb603e652974a.jpg","text":"TemporaryFile(/tmp/multipartBody2637621356169809023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737303560268,"filename":"image_17012025_23_32_02_542796_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/2e3e5235a5352f14d2dbc21b6bd35565.jpg","text":"TemporaryFile(/tmp/multipartBody3705953386731137610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737303560268,"filename":"image_17012025_23_34_02_873958_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330082964","file1":"1330082842","file0":"1330082558","file4":"1330082969","file5":"1330082971","file3":"1330082967"},"map_files_photo_id_array":[{"photo_id":"1330082971","filename":"file5"},{"photo_id":"1330082964","filename":"file2"},{"photo_id":"1330082969","filename":"file4"},{"photo_id":"1330082842","filename":"file1"},{"photo_id":"1330082558","filename":"file0"},{"photo_id":"1330082967","filename":"file3"}],"portfolio_id":19698700,"hashtag_by_photo_ids":[{"1330082842":["hashtag1","hashtag2"]},{"1330082967":["hashtag1","hashtag2"]},{"1330082964":["hashtag1","hashtag2"]},{"1330082969":["hashtag1","hashtag2"]},{"1330082558":["hashtag1","hashtag2"]},{"1330082971":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698700 used, photo_id : ArrayBuffer(1330082842, 1330082967, 1330082964, 1330082969, 1330082558, 1330082971)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.80600333213806 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 17:19:03.192628
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/17/18/image_19012025_17_18_02_616223_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/17/18/image_19012025_17_18_02_616223_0000.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330083121"],"photo_id":"1330083121","photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/7f86fceaf2364d14c94bd064763bf6e8.jpg","text":"TemporaryFile(/tmp/multipartBody6318556543936783850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737303606311,"filename":"image_19012025_17_18_02_616223_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file0":"1330083121"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1330083121"}],"hashtags":[],"portfolio_id":"19739540","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.099525451660156 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 17:19:22.617691
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
  port_id : 19698700
  datou_current_id : 2490825
in upload_from_sqlite, uploading in 19698700
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17012025/23/34/image_17012025_23_34_02_873958_0001.jpg', '/home/pi/Desktop/images/17012025/23/34/image_17012025_23_34_02_873958_0002.jpg', '/home/pi/Desktop/images/17012025/23/34/image_17012025_23_34_02_873958_0003.jpg', '/home/pi/Desktop/images/17012025/23/35/image_17012025_23_35_03_040671_0000.jpg', '/home/pi/Desktop/images/17012025/23/35/image_17012025_23_35_03_040671_0001.jpg', '/home/pi/Desktop/images/17012025/23/35/image_17012025_23_35_03_040671_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2490825&datou=0
/home/pi/Desktop/images/17012025/23/34/image_17012025_23_34_02_873958_0001.jpg
/home/pi/Desktop/images/17012025/23/34/image_17012025_23_34_02_873958_0002.jpg
/home/pi/Desktop/images/17012025/23/34/image_17012025_23_34_02_873958_0003.jpg
/home/pi/Desktop/images/17012025/23/35/image_17012025_23_35_03_040671_0000.jpg
/home/pi/Desktop/images/17012025/23/35/image_17012025_23_35_03_040671_0001.jpg
/home/pi/Desktop/images/17012025/23/35/image_17012025_23_35_03_040671_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330084068","1330083345","1330083248","1330083736","1330084089","1330083250"],"photo_ids_order":["1330083248","1330083250","1330083345","1330083736","1330084068","1330084089"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/d48c16f8bab612d69297a49934f47a21.jpg","text":"TemporaryFile(/tmp/multipartBody2549057577189219566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737303639842,"filename":"image_17012025_23_35_03_040671_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/c75d1fc0f8a667ffaefda5d9743f5587.jpg","text":"TemporaryFile(/tmp/multipartBody8101810895218318713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737303639842,"filename":"image_17012025_23_34_02_873958_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/41133c304580e4f3cd8f25f785011f3d.jpg","text":"TemporaryFile(/tmp/multipartBody565403924531765287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737303639842,"filename":"image_17012025_23_34_02_873958_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/98754ab338eb3b490668826cf3b11470.jpg","text":"TemporaryFile(/tmp/multipartBody6161856228755899177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737303639842,"filename":"image_17012025_23_35_03_040671_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/6c66719254f4f4fa6e6ec62aaa57a908.jpg","text":"TemporaryFile(/tmp/multipartBody714523926322871304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737303639842,"filename":"image_17012025_23_35_03_040671_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/f2f05bd70f770d6c0570df743364da57.jpg","text":"TemporaryFile(/tmp/multipartBody3268026524354851019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737303639842,"filename":"image_17012025_23_34_02_873958_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330083345","file1":"1330083250","file0":"1330083248","file4":"1330084068","file5":"1330084089","file3":"1330083736"},"map_files_photo_id_array":[{"photo_id":"1330084089","filename":"file5"},{"photo_id":"1330083345","filename":"file2"},{"photo_id":"1330084068","filename":"file4"},{"photo_id":"1330083250","filename":"file1"},{"photo_id":"1330083248","filename":"file0"},{"photo_id":"1330083736","filename":"file3"}],"portfolio_id":19698700,"hashtag_by_photo_ids":[{"1330084068":["hashtag1","hashtag2"]},{"1330083345":["hashtag1","hashtag2"]},{"1330083248":["hashtag1","hashtag2"]},{"1330083736":["hashtag1","hashtag2"]},{"1330084089":["hashtag1","hashtag2"]},{"1330083250":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698700 used, photo_id : ArrayBuffer(1330084068, 1330083345, 1330083248, 1330083736, 1330084089, 1330083250)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.288092374801636 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 17:20:21.752431
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
  port_id : 19698700
  datou_current_id : 2490825
in upload_from_sqlite, uploading in 19698700
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17012025/23/35/image_17012025_23_35_03_040671_0003.jpg', '/home/pi/Desktop/images/17012025/23/36/image_17012025_23_36_02_221660_0000.jpg', '/home/pi/Desktop/images/17012025/23/36/image_17012025_23_36_02_221660_0001.jpg', '/home/pi/Desktop/images/17012025/23/36/image_17012025_23_36_02_221660_0002.jpg', '/home/pi/Desktop/images/17012025/23/36/image_17012025_23_36_02_221660_0003.jpg', '/home/pi/Desktop/images/17012025/23/37/image_17012025_23_37_02_401551_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2490825&datou=0
/home/pi/Desktop/images/17012025/23/35/image_17012025_23_35_03_040671_0003.jpg
/home/pi/Desktop/images/17012025/23/36/image_17012025_23_36_02_221660_0000.jpg
/home/pi/Desktop/images/17012025/23/36/image_17012025_23_36_02_221660_0001.jpg
/home/pi/Desktop/images/17012025/23/36/image_17012025_23_36_02_221660_0002.jpg
/home/pi/Desktop/images/17012025/23/36/image_17012025_23_36_02_221660_0003.jpg
/home/pi/Desktop/images/17012025/23/37/image_17012025_23_37_02_401551_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":["1330084458","1330084359","1330084100","1330084315","1330084095","1330084098"],"photo_ids_order":["1330084095","1330084098","1330084100","1330084315","1330084359","1330084458"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/73cd8912de7aa80f5bc86e8a21b2f714.jpg","text":"TemporaryFile(/tmp/multipartBody6374675755888848724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737303699142,"filename":"image_17012025_23_37_02_401551_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/e0fe29ec61fad2798475a92d0a46233e.jpg","text":"TemporaryFile(/tmp/multipartBody7009609323087108053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737303699142,"filename":"image_17012025_23_36_02_221660_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/710bf292957d4232d11cede69e398107.jpg","text":"TemporaryFile(/tmp/multipartBody7442394398914059782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737303699142,"filename":"image_17012025_23_36_02_221660_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/a4bf02f8f6ba1b316e5c7db1a940cda5.jpg","text":"TemporaryFile(/tmp/multipartBody8607033536200028497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737303699142,"filename":"image_17012025_23_36_02_221660_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/d38fbc18e0dfb62fee42fc84ea3a721b.jpg","text":"TemporaryFile(/tmp/multipartBody8496587336915442680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737303699142,"filename":"image_17012025_23_35_03_040671_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/735e91b708cef336de41e4ce2024fa26.jpg","text":"TemporaryFile(/tmp/multipartBody977719946913718927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737303699142,"filename":"image_17012025_23_36_02_221660_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330084100","file1":"1330084098","file0":"1330084095","file4":"1330084359","file5":"1330084458","file3":"1330084315"},"map_files_photo_id_array":[{"photo_id":"1330084458","filename":"file5"},{"photo_id":"1330084100","filename":"file2"},{"photo_id":"1330084359","filename":"file4"},{"photo_id":"1330084098","filename":"file1"},{"photo_id":"1330084095","filename":"file0"},{"photo_id":"1330084315","filename":"file3"}],"portfolio_id":19698700,"hashtag_by_photo_ids":[{"1330084458":["hashtag1","hashtag2"]},{"1330084359":["hashtag1","hashtag2"]},{"1330084100":["hashtag1","hashtag2"]},{"1330084315":["hashtag1","hashtag2"]},{"1330084095":["hashtag1","hashtag2"]},{"1330084098":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698700 used, photo_id : ArrayBuffer(1330084458, 1330084359, 1330084100, 1330084315, 1330084095, 1330084098)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.86808681488037 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 17:21:21.939902
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
  port_id : 19698700
  datou_current_id : 2490825
in upload_from_sqlite, uploading in 19698700
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17012025/23/37/image_17012025_23_37_02_401551_0001.jpg', '/home/pi/Desktop/images/17012025/23/37/image_17012025_23_37_02_401551_0002.jpg', '/home/pi/Desktop/images/17012025/23/37/image_17012025_23_37_02_401551_0003.jpg', '/home/pi/Desktop/images/17012025/23/38/image_17012025_23_38_02_569992_0000.jpg', '/home/pi/Desktop/images/17012025/23/38/image_17012025_23_38_02_569992_0001.jpg', '/home/pi/Desktop/images/17012025/23/38/image_17012025_23_38_02_569992_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2490825&datou=0
/home/pi/Desktop/images/17012025/23/37/image_17012025_23_37_02_401551_0001.jpg
/home/pi/Desktop/images/17012025/23/37/image_17012025_23_37_02_401551_0002.jpg
/home/pi/Desktop/images/17012025/23/37/image_17012025_23_37_02_401551_0003.jpg
/home/pi/Desktop/images/17012025/23/38/image_17012025_23_38_02_569992_0000.jpg
/home/pi/Desktop/images/17012025/23/38/image_17012025_23_38_02_569992_0001.jpg
/home/pi/Desktop/images/17012025/23/38/image_17012025_23_38_02_569992_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330084635","1330084688","1330084637","1330084631","1330084687","1330084633"],"photo_ids_order":["1330084631","1330084633","1330084635","1330084637","1330084687","1330084688"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/d70b84e1668be58c4145ca6c33fa9893.jpg","text":"TemporaryFile(/tmp/multipartBody588153120056939432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737303758959,"filename":"image_17012025_23_37_02_401551_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/71efccfcea9cac42fd089be227829a9e.jpg","text":"TemporaryFile(/tmp/multipartBody3939719342375435540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737303758959,"filename":"image_17012025_23_38_02_569992_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/873a9b1a20ed5ac51ab341d6cbdeeb0e.jpg","text":"TemporaryFile(/tmp/multipartBody526705519433557972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737303758959,"filename":"image_17012025_23_38_02_569992_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/2414fb99a517c7be263d7756c49a1005.jpg","text":"TemporaryFile(/tmp/multipartBody8374378332853533940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737303758959,"filename":"image_17012025_23_37_02_401551_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/0a4296390efc665e0db48d5ff96b3689.jpg","text":"TemporaryFile(/tmp/multipartBody2421564586088219921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737303758959,"filename":"image_17012025_23_38_02_569992_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/29da28cd9678a69955c3c6282725a836.jpg","text":"TemporaryFile(/tmp/multipartBody5082382933693675841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737303758959,"filename":"image_17012025_23_37_02_401551_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330084635","file1":"1330084633","file0":"1330084631","file4":"1330084687","file5":"1330084688","file3":"1330084637"},"map_files_photo_id_array":[{"photo_id":"1330084688","filename":"file5"},{"photo_id":"1330084635","filename":"file2"},{"photo_id":"1330084687","filename":"file4"},{"photo_id":"1330084633","filename":"file1"},{"photo_id":"1330084631","filename":"file0"},{"photo_id":"1330084637","filename":"file3"}],"portfolio_id":19698700,"hashtag_by_photo_ids":[{"1330084635":["hashtag1","hashtag2"]},{"1330084688":["hashtag1","hashtag2"]},{"1330084637":["hashtag1","hashtag2"]},{"1330084631":["hashtag1","hashtag2"]},{"1330084687":["hashtag1","hashtag2"]},{"1330084633":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698700 used, photo_id : ArrayBuffer(1330084635, 1330084688, 1330084637, 1330084631, 1330084687, 1330084633)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.14850330352783 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 17:22:22.160115
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
  port_id : 19698700
  datou_current_id : 2490825
in upload_from_sqlite, uploading in 19698700
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17012025/23/38/image_17012025_23_38_02_569992_0003.jpg', '/home/pi/Desktop/images/17012025/23/39/image_17012025_23_39_02_754589_0000.jpg', '/home/pi/Desktop/images/17012025/23/39/image_17012025_23_39_02_754589_0001.jpg', '/home/pi/Desktop/images/17012025/23/39/image_17012025_23_39_02_754589_0002.jpg', '/home/pi/Desktop/images/17012025/23/39/image_17012025_23_39_02_754589_0003.jpg', '/home/pi/Desktop/images/17012025/23/40/image_17012025_23_40_02_963777_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2490825&datou=0
/home/pi/Desktop/images/17012025/23/38/image_17012025_23_38_02_569992_0003.jpg
/home/pi/Desktop/images/17012025/23/39/image_17012025_23_39_02_754589_0000.jpg
/home/pi/Desktop/images/17012025/23/39/image_17012025_23_39_02_754589_0001.jpg
/home/pi/Desktop/images/17012025/23/39/image_17012025_23_39_02_754589_0002.jpg
/home/pi/Desktop/images/17012025/23/39/image_17012025_23_39_02_754589_0003.jpg
/home/pi/Desktop/images/17012025/23/40/image_17012025_23_40_02_963777_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":["1330085132","1330085129","1330085119","1330085124","1330085127","1330084965"],"photo_ids_order":["1330084965","1330085119","1330085124","1330085127","1330085129","1330085132"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/08ad6e0f9616a9687d9415cb53d00b1b.jpg","text":"TemporaryFile(/tmp/multipartBody1812271507613934074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737303819074,"filename":"image_17012025_23_40_02_963777_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/16cbfe699687553a5b938e816fd35bbf.jpg","text":"TemporaryFile(/tmp/multipartBody5236277012084407590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737303819074,"filename":"image_17012025_23_39_02_754589_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/8e8a3f1da2091d27c5a79522b3a7ae9b.jpg","text":"TemporaryFile(/tmp/multipartBody898429122037804491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737303819074,"filename":"image_17012025_23_39_02_754589_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/9aced6e352dce46027c7faba964d66db.jpg","text":"TemporaryFile(/tmp/multipartBody5001632294322533150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737303819074,"filename":"image_17012025_23_39_02_754589_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/49774a5bcfe84fd33bb6c0adb8721e1e.jpg","text":"TemporaryFile(/tmp/multipartBody6315595898383163109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737303819074,"filename":"image_17012025_23_39_02_754589_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/7efe670c514625a5e744218b58ac12c8.jpg","text":"TemporaryFile(/tmp/multipartBody8872582638493963469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737303819074,"filename":"image_17012025_23_38_02_569992_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330085124","file1":"1330085119","file0":"1330084965","file4":"1330085129","file5":"1330085132","file3":"1330085127"},"map_files_photo_id_array":[{"photo_id":"1330085132","filename":"file5"},{"photo_id":"1330085124","filename":"file2"},{"photo_id":"1330085129","filename":"file4"},{"photo_id":"1330085119","filename":"file1"},{"photo_id":"1330084965","filename":"file0"},{"photo_id":"1330085127","filename":"file3"}],"portfolio_id":19698700,"hashtag_by_photo_ids":[{"1330085132":["hashtag1","hashtag2"]},{"1330085129":["hashtag1","hashtag2"]},{"1330085119":["hashtag1","hashtag2"]},{"1330085124":["hashtag1","hashtag2"]},{"1330085127":["hashtag1","hashtag2"]},{"1330084965":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698700 used, photo_id : ArrayBuffer(1330085132, 1330085129, 1330085119, 1330085124, 1330085127, 1330084965)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.07598567008972 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 17:23:22.353648
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
  port_id : 19698700
  datou_current_id : 2490825
in upload_from_sqlite, uploading in 19698700
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17012025/23/40/image_17012025_23_40_02_963777_0001.jpg', '/home/pi/Desktop/images/17012025/23/40/image_17012025_23_40_02_963777_0002.jpg', '/home/pi/Desktop/images/17012025/23/40/image_17012025_23_40_02_963777_0003.jpg', '/home/pi/Desktop/images/17012025/23/41/image_17012025_23_41_03_204959_0000.jpg', '/home/pi/Desktop/images/17012025/23/41/image_17012025_23_41_03_204959_0001.jpg', '/home/pi/Desktop/images/17012025/23/41/image_17012025_23_41_03_204959_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2490825&datou=0
/home/pi/Desktop/images/17012025/23/40/image_17012025_23_40_02_963777_0001.jpg
/home/pi/Desktop/images/17012025/23/40/image_17012025_23_40_02_963777_0002.jpg
/home/pi/Desktop/images/17012025/23/40/image_17012025_23_40_02_963777_0003.jpg
/home/pi/Desktop/images/17012025/23/41/image_17012025_23_41_03_204959_0000.jpg
/home/pi/Desktop/images/17012025/23/41/image_17012025_23_41_03_204959_0001.jpg
/home/pi/Desktop/images/17012025/23/41/image_17012025_23_41_03_204959_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330085188","1330085173","1330085182","1330085176","1330085185","1330085179"],"photo_ids_order":["1330085173","1330085176","1330085179","1330085182","1330085185","1330085188"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/13ac8230eb7945f8170eb8daef1c8792.jpg","text":"TemporaryFile(/tmp/multipartBody7442767411730871493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737303879648,"filename":"image_17012025_23_41_03_204959_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/d9556927ac36589fe56ad84652fda1cc.jpg","text":"TemporaryFile(/tmp/multipartBody8802797256525082376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737303879648,"filename":"image_17012025_23_40_02_963777_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/6cfc5f0c78fc293e0c71f97976be9cd2.jpg","text":"TemporaryFile(/tmp/multipartBody4729984537920000987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737303879648,"filename":"image_17012025_23_41_03_204959_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/3a1cfe60ea52f73ec9ace5d9bd2b0ee6.jpg","text":"TemporaryFile(/tmp/multipartBody1343008614429709435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737303879648,"filename":"image_17012025_23_40_02_963777_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/70ca24a8ef9ed3ce32087f8536b89116.jpg","text":"TemporaryFile(/tmp/multipartBody2009672395281029425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737303879648,"filename":"image_17012025_23_41_03_204959_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/5f396946b4522f41d023c762cd3187f8.jpg","text":"TemporaryFile(/tmp/multipartBody4739184258717697926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737303879648,"filename":"image_17012025_23_40_02_963777_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330085179","file1":"1330085176","file0":"1330085173","file4":"1330085185","file5":"1330085188","file3":"1330085182"},"map_files_photo_id_array":[{"photo_id":"1330085188","filename":"file5"},{"photo_id":"1330085179","filename":"file2"},{"photo_id":"1330085185","filename":"file4"},{"photo_id":"1330085176","filename":"file1"},{"photo_id":"1330085173","filename":"file0"},{"photo_id":"1330085182","filename":"file3"}],"portfolio_id":19698700,"hashtag_by_photo_ids":[{"1330085188":["hashtag1","hashtag2"]},{"1330085173":["hashtag1","hashtag2"]},{"1330085182":["hashtag1","hashtag2"]},{"1330085176":["hashtag1","hashtag2"]},{"1330085185":["hashtag1","hashtag2"]},{"1330085179":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698700 used, photo_id : ArrayBuffer(1330085188, 1330085173, 1330085182, 1330085176, 1330085185, 1330085179)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 61.60328936576843 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-19 17:24:32.544517
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
  port_id : 19698700
  datou_current_id : 2490825
in upload_from_sqlite, uploading in 19698700
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17012025/23/41/image_17012025_23_41_03_204959_0003.jpg', '/home/pi/Desktop/images/17012025/23/42/image_17012025_23_42_02_369221_0000.jpg', '/home/pi/Desktop/images/17012025/23/42/image_17012025_23_42_02_369221_0001.jpg', '/home/pi/Desktop/images/17012025/23/42/image_17012025_23_42_02_369221_0002.jpg', '/home/pi/Desktop/images/17012025/23/42/image_17012025_23_42_02_369221_0003.jpg', '/home/pi/Desktop/images/17012025/23/43/image_17012025_23_43_02_480004_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2490825&datou=0
/home/pi/Desktop/images/17012025/23/41/image_17012025_23_41_03_204959_0003.jpg
/home/pi/Desktop/images/17012025/23/42/image_17012025_23_42_02_369221_0000.jpg
/home/pi/Desktop/images/17012025/23/42/image_17012025_23_42_02_369221_0001.jpg
/home/pi/Desktop/images/17012025/23/42/image_17012025_23_42_02_369221_0002.jpg
/home/pi/Desktop/images/17012025/23/42/image_17012025_23_42_02_369221_0003.jpg
/home/pi/Desktop/images/17012025/23/43/image_17012025_23_43_02_480004_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":["1330085312","1330085386","1330085389","1330085383","1330085344","1330085385"],"photo_ids_order":["1330085312","1330085344","1330085383","1330085385","1330085386","1330085389"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/af29a6c2e21afec888bb50e0418e8c4f.jpg","text":"TemporaryFile(/tmp/multipartBody3582244413147673949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737303950736,"filename":"image_17012025_23_41_03_204959_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/7a52e20712f17863242fab20585471f9.jpg","text":"TemporaryFile(/tmp/multipartBody524034714553820149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737303950736,"filename":"image_17012025_23_42_02_369221_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/dfa7faf56c124607ba9d739be85a4ec8.jpg","text":"TemporaryFile(/tmp/multipartBody3686579161947873883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737303950736,"filename":"image_17012025_23_43_02_480004_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/39ebc598457afb24ba803b6064f57db6.jpg","text":"TemporaryFile(/tmp/multipartBody8565394708523834164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737303950736,"filename":"image_17012025_23_42_02_369221_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/cddc77b4eb84b4a753813697f6a8b9cf.jpg","text":"TemporaryFile(/tmp/multipartBody463826442044007821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737303950736,"filename":"image_17012025_23_42_02_369221_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/f3cc59281f4b732b27a91109cc45ad4b.jpg","text":"TemporaryFile(/tmp/multipartBody4002353395795893152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737303950736,"filename":"image_17012025_23_42_02_369221_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330085383","file1":"1330085344","file0":"1330085312","file4":"1330085386","file5":"1330085389","file3":"1330085385"},"map_files_photo_id_array":[{"photo_id":"1330085389","filename":"file5"},{"photo_id":"1330085383","filename":"file2"},{"photo_id":"1330085386","filename":"file4"},{"photo_id":"1330085344","filename":"file1"},{"photo_id":"1330085312","filename":"file0"},{"photo_id":"1330085385","filename":"file3"}],"portfolio_id":19698700,"hashtag_by_photo_ids":[{"1330085312":["hashtag1","hashtag2"]},{"1330085386":["hashtag1","hashtag2"]},{"1330085389":["hashtag1","hashtag2"]},{"1330085383":["hashtag1","hashtag2"]},{"1330085344":["hashtag1","hashtag2"]},{"1330085385":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698700 used, photo_id : ArrayBuffer(1330085312, 1330085386, 1330085389, 1330085383, 1330085344, 1330085385)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 62.36401629447937 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-19 17:25:42.763991
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/17/24/image_19012025_17_24_02_733131_0003.jpg', '/home/pi/Desktop/images/19012025/17/25/image_19012025_17_25_02_958293_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/17/24/image_19012025_17_24_02_733131_0003.jpg
/home/pi/Desktop/images/19012025/17/25/image_19012025_17_25_02_958293_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":["1330085395","1330085397"],"photo_ids_order":["1330085395","1330085397"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/47de621c282a7ac1a9854b8cd9b2121c.jpg","text":"TemporaryFile(/tmp/multipartBody3523286901369611877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737304008366,"filename":"image_19012025_17_24_02_733131_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/07dc3c1be88cf5889572282ddeef3549.jpg","text":"TemporaryFile(/tmp/multipartBody4495181569917094752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737304008366,"filename":"image_19012025_17_25_02_958293_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1330085397","file0":"1330085395"},"map_files_photo_id_array":[{"photo_id":"1330085397","filename":"file1"},{"photo_id":"1330085395","filename":"file0"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330085395":["hashtag1","hashtag2"]},{"1330085397":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330085395, 1330085397)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 26.104246139526367 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 17:26:21.918282
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/17/25/image_19012025_17_25_02_958293_0003.jpg', '/home/pi/Desktop/images/19012025/17/26/image_19012025_17_26_03_163503_0000.jpg', '/home/pi/Desktop/images/19012025/17/26/image_19012025_17_26_03_163503_0001.jpg', '/home/pi/Desktop/images/19012025/17/26/image_19012025_17_26_03_163503_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/17/25/image_19012025_17_25_02_958293_0003.jpg
/home/pi/Desktop/images/19012025/17/26/image_19012025_17_26_03_163503_0000.jpg
/home/pi/Desktop/images/19012025/17/26/image_19012025_17_26_03_163503_0001.jpg
/home/pi/Desktop/images/19012025/17/26/image_19012025_17_26_03_163503_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330085411","1330085404","1330085413","1330085439"],"photo_ids_order":["1330085404","1330085411","1330085413","1330085439"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/d305ab37011357ea9d119519a6fe68ab.jpg","text":"TemporaryFile(/tmp/multipartBody4994223012950016141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737304053290,"filename":"image_19012025_17_26_03_163503_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/ec49dea954850f54a4ce94e305625a93.jpg","text":"TemporaryFile(/tmp/multipartBody6400262912355487106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737304053290,"filename":"image_19012025_17_25_02_958293_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/040ca3ff0986bfab803c65ce9848e83c.jpg","text":"TemporaryFile(/tmp/multipartBody7214216714294773042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737304053290,"filename":"image_19012025_17_26_03_163503_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/4dd7c7ff0b96757cf46753a4606b3fdc.jpg","text":"TemporaryFile(/tmp/multipartBody6385211621765842159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737304053290,"filename":"image_19012025_17_26_03_163503_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330085413","file1":"1330085411","file0":"1330085404","file3":"1330085439"},"map_files_photo_id_array":[{"photo_id":"1330085413","filename":"file2"},{"photo_id":"1330085411","filename":"file1"},{"photo_id":"1330085404","filename":"file0"},{"photo_id":"1330085439","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330085411":["hashtag1","hashtag2"]},{"1330085404":["hashtag1","hashtag2"]},{"1330085413":["hashtag1","hashtag2"]},{"1330085439":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330085411, 1330085404, 1330085413, 1330085439)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.52493619918823 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 17:27:02.812444
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
  port_id : 19698700
  datou_current_id : 2490825
in upload_from_sqlite, uploading in 19698700
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17012025/23/43/image_17012025_23_43_02_480004_0001.jpg', '/home/pi/Desktop/images/17012025/23/43/image_17012025_23_43_02_480004_0002.jpg', '/home/pi/Desktop/images/17012025/23/43/image_17012025_23_43_02_480004_0003.jpg', '/home/pi/Desktop/images/17012025/23/44/image_17012025_23_44_02_779943_0000.jpg', '/home/pi/Desktop/images/17012025/23/44/image_17012025_23_44_02_779943_0001.jpg', '/home/pi/Desktop/images/17012025/23/44/image_17012025_23_44_02_779943_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2490825&datou=0
/home/pi/Desktop/images/17012025/23/43/image_17012025_23_43_02_480004_0001.jpg
/home/pi/Desktop/images/17012025/23/43/image_17012025_23_43_02_480004_0002.jpg
/home/pi/Desktop/images/17012025/23/43/image_17012025_23_43_02_480004_0003.jpg
/home/pi/Desktop/images/17012025/23/44/image_17012025_23_44_02_779943_0000.jpg
/home/pi/Desktop/images/17012025/23/44/image_17012025_23_44_02_779943_0001.jpg
/home/pi/Desktop/images/17012025/23/44/image_17012025_23_44_02_779943_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330085480","1330085447","1330085476","1330085455","1330085458","1330085478"],"photo_ids_order":["1330085447","1330085455","1330085458","1330085476","1330085478","1330085480"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/64e726a45099ac3cda46dad5f506ff49.jpg","text":"TemporaryFile(/tmp/multipartBody3078132335187367034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737304100405,"filename":"image_17012025_23_44_02_779943_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/b9b069ae1ce932c44acba840eb4a05b5.jpg","text":"TemporaryFile(/tmp/multipartBody5837363043053633949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737304100405,"filename":"image_17012025_23_43_02_480004_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/d4add93764822c139d4928b3266afb28.jpg","text":"TemporaryFile(/tmp/multipartBody2049687027002382369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737304100405,"filename":"image_17012025_23_44_02_779943_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/45fe08bcdcd81a60f41fc7b267373db5.jpg","text":"TemporaryFile(/tmp/multipartBody7517367174096438738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737304100405,"filename":"image_17012025_23_43_02_480004_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/5e90a0def958abd4d27dc5264a4d53b4.jpg","text":"TemporaryFile(/tmp/multipartBody5760377318348394834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737304100405,"filename":"image_17012025_23_43_02_480004_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/e2c97be6e7d45681b15b3998552e7902.jpg","text":"TemporaryFile(/tmp/multipartBody5883949467847140198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737304100405,"filename":"image_17012025_23_44_02_779943_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330085458","file1":"1330085455","file0":"1330085447","file4":"1330085478","file5":"1330085480","file3":"1330085476"},"map_files_photo_id_array":[{"photo_id":"1330085480","filename":"file5"},{"photo_id":"1330085458","filename":"file2"},{"photo_id":"1330085478","filename":"file4"},{"photo_id":"1330085455","filename":"file1"},{"photo_id":"1330085447","filename":"file0"},{"photo_id":"1330085476","filename":"file3"}],"portfolio_id":19698700,"hashtag_by_photo_ids":[{"1330085480":["hashtag1","hashtag2"]},{"1330085447":["hashtag1","hashtag2"]},{"1330085476":["hashtag1","hashtag2"]},{"1330085455":["hashtag1","hashtag2"]},{"1330085458":["hashtag1","hashtag2"]},{"1330085478":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698700 used, photo_id : ArrayBuffer(1330085480, 1330085447, 1330085476, 1330085455, 1330085458, 1330085478)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.05145716667175 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 17:28:02.719250
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/17/26/image_19012025_17_26_03_163503_0003.jpg', '/home/pi/Desktop/images/19012025/17/27/image_19012025_17_27_02_330974_0000.jpg', '/home/pi/Desktop/images/19012025/17/27/image_19012025_17_27_02_330974_0001.jpg', '/home/pi/Desktop/images/19012025/17/27/image_19012025_17_27_02_330974_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/17/26/image_19012025_17_26_03_163503_0003.jpg
/home/pi/Desktop/images/19012025/17/27/image_19012025_17_27_02_330974_0000.jpg
/home/pi/Desktop/images/19012025/17/27/image_19012025_17_27_02_330974_0001.jpg
/home/pi/Desktop/images/19012025/17/27/image_19012025_17_27_02_330974_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":["1330085567","1330085549","1330085546","1330085539"],"photo_ids_order":["1330085539","1330085546","1330085549","1330085567"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/1ad1f9ad830265e35869c44dacec1e35.jpg","text":"TemporaryFile(/tmp/multipartBody4392530096361802677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737304154048,"filename":"image_19012025_17_27_02_330974_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/36628d00772b9430ea9516944c34808b.jpg","text":"TemporaryFile(/tmp/multipartBody4037147094967387278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737304154048,"filename":"image_19012025_17_27_02_330974_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/6b97f232f5fcdae8029614050fb2cc2b.jpg","text":"TemporaryFile(/tmp/multipartBody416925452459643834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737304154048,"filename":"image_19012025_17_27_02_330974_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/d56eb26a091a183267241b00f16fa915.jpg","text":"TemporaryFile(/tmp/multipartBody1143700686914885660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737304154048,"filename":"image_19012025_17_26_03_163503_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330085549","file1":"1330085546","file0":"1330085539","file3":"1330085567"},"map_files_photo_id_array":[{"photo_id":"1330085549","filename":"file2"},{"photo_id":"1330085546","filename":"file1"},{"photo_id":"1330085539","filename":"file0"},{"photo_id":"1330085567","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330085567":["hashtag1","hashtag2"]},{"1330085549":["hashtag1","hashtag2"]},{"1330085546":["hashtag1","hashtag2"]},{"1330085539":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330085567, 1330085549, 1330085546, 1330085539)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.5743043422699 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-19 17:28:42.258238
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/17/27/image_19012025_17_27_02_330974_0003.jpg', '/home/pi/Desktop/images/19012025/17/28/image_19012025_17_28_02_530673_0000.jpg', '/home/pi/Desktop/images/19012025/17/28/image_19012025_17_28_02_530673_0001.jpg', '/home/pi/Desktop/images/19012025/17/28/image_19012025_17_28_02_530673_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/17/27/image_19012025_17_27_02_330974_0003.jpg
/home/pi/Desktop/images/19012025/17/28/image_19012025_17_28_02_530673_0000.jpg
/home/pi/Desktop/images/19012025/17/28/image_19012025_17_28_02_530673_0001.jpg
/home/pi/Desktop/images/19012025/17/28/image_19012025_17_28_02_530673_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":["1330085621","1330085626","1330085623","1330085625"],"photo_ids_order":["1330085621","1330085623","1330085625","1330085626"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/1fb25633412dade9e4b63662ce6d2004.jpg","text":"TemporaryFile(/tmp/multipartBody1371637991433179027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737304193387,"filename":"image_19012025_17_27_02_330974_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/1f3777a73934900cd5047b92662ec9cb.jpg","text":"TemporaryFile(/tmp/multipartBody2663931223135917372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737304193387,"filename":"image_19012025_17_28_02_530673_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/6b3e61513e17340d9a91b10f70ca4148.jpg","text":"TemporaryFile(/tmp/multipartBody8977617401504488180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737304193387,"filename":"image_19012025_17_28_02_530673_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/dca73382e2ed27de4de70c5564e6c230.jpg","text":"TemporaryFile(/tmp/multipartBody1165812375440300053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737304193387,"filename":"image_19012025_17_28_02_530673_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330085625","file1":"1330085623","file0":"1330085621","file3":"1330085626"},"map_files_photo_id_array":[{"photo_id":"1330085625","filename":"file2"},{"photo_id":"1330085623","filename":"file1"},{"photo_id":"1330085621","filename":"file0"},{"photo_id":"1330085626","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330085621":["hashtag1","hashtag2"]},{"1330085626":["hashtag1","hashtag2"]},{"1330085623":["hashtag1","hashtag2"]},{"1330085625":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330085621, 1330085626, 1330085623, 1330085625)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.999369859695435 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 17:29:22.605124
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/17/28/image_19012025_17_28_02_530673_0003.jpg', '/home/pi/Desktop/images/19012025/17/29/image_19012025_17_29_02_659603_0000.jpg', '/home/pi/Desktop/images/19012025/17/29/image_19012025_17_29_02_659603_0001.jpg', '/home/pi/Desktop/images/19012025/17/29/image_19012025_17_29_02_659603_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/17/28/image_19012025_17_28_02_530673_0003.jpg
/home/pi/Desktop/images/19012025/17/29/image_19012025_17_29_02_659603_0000.jpg
/home/pi/Desktop/images/19012025/17/29/image_19012025_17_29_02_659603_0001.jpg
/home/pi/Desktop/images/19012025/17/29/image_19012025_17_29_02_659603_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330085639","1330085641","1330085637","1330085634"],"photo_ids_order":["1330085634","1330085637","1330085639","1330085641"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/cf63570a8003c4525629493c21ebdead.jpg","text":"TemporaryFile(/tmp/multipartBody1995236296816249678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737304233477,"filename":"image_19012025_17_29_02_659603_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/f6cb0d5ba5012d0308abbf56a1ceb908.jpg","text":"TemporaryFile(/tmp/multipartBody4165535787368785216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737304233477,"filename":"image_19012025_17_29_02_659603_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/069b1d7b50ab9382340429609fef6433.jpg","text":"TemporaryFile(/tmp/multipartBody3228511700909679838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737304233477,"filename":"image_19012025_17_29_02_659603_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/022bb2d7df6259d70d1d651cdb5bf9a5.jpg","text":"TemporaryFile(/tmp/multipartBody6608542949132559133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737304233477,"filename":"image_19012025_17_28_02_530673_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330085639","file1":"1330085637","file0":"1330085634","file3":"1330085641"},"map_files_photo_id_array":[{"photo_id":"1330085639","filename":"file2"},{"photo_id":"1330085637","filename":"file1"},{"photo_id":"1330085634","filename":"file0"},{"photo_id":"1330085641","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330085639":["hashtag1","hashtag2"]},{"1330085641":["hashtag1","hashtag2"]},{"1330085637":["hashtag1","hashtag2"]},{"1330085634":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330085639, 1330085641, 1330085637, 1330085634)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.00189542770386 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 17:30:02.999399
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
  port_id : 19698700
  datou_current_id : 2490825
in upload_from_sqlite, uploading in 19698700
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17012025/23/44/image_17012025_23_44_02_779943_0003.jpg', '/home/pi/Desktop/images/17012025/23/45/image_17012025_23_45_02_876237_0000.jpg', '/home/pi/Desktop/images/17012025/23/45/image_17012025_23_45_02_876237_0001.jpg', '/home/pi/Desktop/images/17012025/23/45/image_17012025_23_45_02_876237_0002.jpg', '/home/pi/Desktop/images/17012025/23/45/image_17012025_23_45_02_876237_0003.jpg', '/home/pi/Desktop/images/17012025/23/46/image_17012025_23_46_02_995399_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2490825&datou=0
/home/pi/Desktop/images/17012025/23/44/image_17012025_23_44_02_779943_0003.jpg
/home/pi/Desktop/images/17012025/23/45/image_17012025_23_45_02_876237_0000.jpg
/home/pi/Desktop/images/17012025/23/45/image_17012025_23_45_02_876237_0001.jpg
/home/pi/Desktop/images/17012025/23/45/image_17012025_23_45_02_876237_0002.jpg
/home/pi/Desktop/images/17012025/23/45/image_17012025_23_45_02_876237_0003.jpg
/home/pi/Desktop/images/17012025/23/46/image_17012025_23_46_02_995399_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":["1330085834","1330085645","1330085647","1330085829","1330085832","1330085649"],"photo_ids_order":["1330085645","1330085647","1330085649","1330085829","1330085832","1330085834"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/05d41f1fb309cb5b98007c8d47973b04.jpg","text":"TemporaryFile(/tmp/multipartBody4554646198747152574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737304281005,"filename":"image_17012025_23_46_02_995399_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/a412af1778b855e9a68a1d9e848cf9f9.jpg","text":"TemporaryFile(/tmp/multipartBody5765900159364446305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737304281005,"filename":"image_17012025_23_44_02_779943_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/e8a28560fad8a5c9df9109cf5b09052d.jpg","text":"TemporaryFile(/tmp/multipartBody1530269227268625522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737304281005,"filename":"image_17012025_23_45_02_876237_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/cab787bb8f52b8dbec386ff74391d25e.jpg","text":"TemporaryFile(/tmp/multipartBody8526539353652841224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737304281005,"filename":"image_17012025_23_45_02_876237_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/2aae91d73915c915cf39cd8d23070af9.jpg","text":"TemporaryFile(/tmp/multipartBody4013826421335145977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737304281005,"filename":"image_17012025_23_45_02_876237_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/abd8f68dade80beadf97d90f97dca9d0.jpg","text":"TemporaryFile(/tmp/multipartBody673813847448712841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737304281005,"filename":"image_17012025_23_45_02_876237_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330085649","file1":"1330085647","file0":"1330085645","file4":"1330085832","file5":"1330085834","file3":"1330085829"},"map_files_photo_id_array":[{"photo_id":"1330085834","filename":"file5"},{"photo_id":"1330085649","filename":"file2"},{"photo_id":"1330085832","filename":"file4"},{"photo_id":"1330085647","filename":"file1"},{"photo_id":"1330085645","filename":"file0"},{"photo_id":"1330085829","filename":"file3"}],"portfolio_id":19698700,"hashtag_by_photo_ids":[{"1330085834":["hashtag1","hashtag2"]},{"1330085645":["hashtag1","hashtag2"]},{"1330085647":["hashtag1","hashtag2"]},{"1330085829":["hashtag1","hashtag2"]},{"1330085832":["hashtag1","hashtag2"]},{"1330085649":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698700 used, photo_id : ArrayBuffer(1330085834, 1330085645, 1330085647, 1330085829, 1330085832, 1330085649)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.8397262096405 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 17:31:02.522321
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/17/29/image_19012025_17_29_02_659603_0003.jpg', '/home/pi/Desktop/images/19012025/17/30/image_19012025_17_30_02_914805_0001.jpg', '/home/pi/Desktop/images/19012025/17/30/image_19012025_17_30_02_914805_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/17/29/image_19012025_17_29_02_659603_0003.jpg
/home/pi/Desktop/images/19012025/17/30/image_19012025_17_30_02_914805_0001.jpg
/home/pi/Desktop/images/19012025/17/30/image_19012025_17_30_02_914805_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":["1330085957","1330085969","1330085960"],"photo_ids_order":["1330085957","1330085960","1330085969"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/656a9176945a9507495c536c88104136.jpg","text":"TemporaryFile(/tmp/multipartBody4591988659966937638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737304330631,"filename":"image_19012025_17_29_02_659603_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/8775926211ae48faa13f2c812587f315.jpg","text":"TemporaryFile(/tmp/multipartBody1357568961692169278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737304330631,"filename":"image_19012025_17_30_02_914805_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/d3324ae750c41e1ac339d91ae9e1754b.jpg","text":"TemporaryFile(/tmp/multipartBody7812153224685949196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737304330631,"filename":"image_19012025_17_30_02_914805_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330085969","file1":"1330085960","file0":"1330085957"},"map_files_photo_id_array":[{"photo_id":"1330085969","filename":"file2"},{"photo_id":"1330085960","filename":"file1"},{"photo_id":"1330085957","filename":"file0"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330085957":["hashtag1","hashtag2"]},{"1330085969":["hashtag1","hashtag2"]},{"1330085960":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330085957, 1330085969, 1330085960)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.934792280197144 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-19 17:31:41.811942
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/17/30/image_19012025_17_30_02_914805_0003.jpg', '/home/pi/Desktop/images/19012025/17/31/image_19012025_17_31_03_012734_0000.jpg', '/home/pi/Desktop/images/19012025/17/31/image_19012025_17_31_03_012734_0001.jpg', '/home/pi/Desktop/images/19012025/17/31/image_19012025_17_31_03_012734_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/17/30/image_19012025_17_30_02_914805_0003.jpg
/home/pi/Desktop/images/19012025/17/31/image_19012025_17_31_03_012734_0000.jpg
/home/pi/Desktop/images/19012025/17/31/image_19012025_17_31_03_012734_0001.jpg
/home/pi/Desktop/images/19012025/17/31/image_19012025_17_31_03_012734_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":["1330086008","1330086004","1330086009","1330086006"],"photo_ids_order":["1330086004","1330086006","1330086008","1330086009"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/c8bbd051f55f3b9dd443e1ee3b2d7f8d.jpg","text":"TemporaryFile(/tmp/multipartBody2903255249022012140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737304373157,"filename":"image_19012025_17_31_03_012734_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/9510a8d64ac18303c4d8247eefe92dda.jpg","text":"TemporaryFile(/tmp/multipartBody8901914463633271088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737304373157,"filename":"image_19012025_17_30_02_914805_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/09a181de467411ba9f756902e82db6ae.jpg","text":"TemporaryFile(/tmp/multipartBody7799124962459057250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737304373157,"filename":"image_19012025_17_31_03_012734_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/4d726248e911c81deb61a78768b6f112.jpg","text":"TemporaryFile(/tmp/multipartBody1571484702603167082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737304373157,"filename":"image_19012025_17_31_03_012734_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330086008","file1":"1330086006","file0":"1330086004","file3":"1330086009"},"map_files_photo_id_array":[{"photo_id":"1330086008","filename":"file2"},{"photo_id":"1330086006","filename":"file1"},{"photo_id":"1330086004","filename":"file0"},{"photo_id":"1330086009","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330086008":["hashtag1","hashtag2"]},{"1330086004":["hashtag1","hashtag2"]},{"1330086009":["hashtag1","hashtag2"]},{"1330086006":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330086008, 1330086004, 1330086009, 1330086006)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.03053641319275 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 17:32:21.962864
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/17/31/image_19012025_17_31_03_012734_0003.jpg', '/home/pi/Desktop/images/19012025/17/32/image_19012025_17_32_02_187259_0000.jpg', '/home/pi/Desktop/images/19012025/17/32/image_19012025_17_32_02_187259_0001.jpg', '/home/pi/Desktop/images/19012025/17/32/image_19012025_17_32_02_187259_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/17/31/image_19012025_17_31_03_012734_0003.jpg
/home/pi/Desktop/images/19012025/17/32/image_19012025_17_32_02_187259_0000.jpg
/home/pi/Desktop/images/19012025/17/32/image_19012025_17_32_02_187259_0001.jpg
/home/pi/Desktop/images/19012025/17/32/image_19012025_17_32_02_187259_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330086022","1330086019","1330086013","1330086016"],"photo_ids_order":["1330086013","1330086016","1330086019","1330086022"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/76802cc780897d0983dbdbb27cf70f36.jpg","text":"TemporaryFile(/tmp/multipartBody1351012165870333561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737304413488,"filename":"image_19012025_17_32_02_187259_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/f0d629005cc697de2e9127350696c96b.jpg","text":"TemporaryFile(/tmp/multipartBody313685042744321853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737304413488,"filename":"image_19012025_17_32_02_187259_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/8d90c0dc02a0ec07d2e57844ffa366a5.jpg","text":"TemporaryFile(/tmp/multipartBody542224770700892962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737304413488,"filename":"image_19012025_17_31_03_012734_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/cf4b2acc10ae05f7b065bbc075d36b10.jpg","text":"TemporaryFile(/tmp/multipartBody8959398579992040889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737304413488,"filename":"image_19012025_17_32_02_187259_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330086019","file1":"1330086016","file0":"1330086013","file3":"1330086022"},"map_files_photo_id_array":[{"photo_id":"1330086019","filename":"file2"},{"photo_id":"1330086016","filename":"file1"},{"photo_id":"1330086013","filename":"file0"},{"photo_id":"1330086022","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330086022":["hashtag1","hashtag2"]},{"1330086019":["hashtag1","hashtag2"]},{"1330086013":["hashtag1","hashtag2"]},{"1330086016":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330086022, 1330086019, 1330086013, 1330086016)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.6627414226532 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-19 17:33:22.221176
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/17/32/image_19012025_17_32_02_187259_0003.jpg', '/home/pi/Desktop/images/19012025/17/33/image_19012025_17_33_02_437102_0000.jpg', '/home/pi/Desktop/images/19012025/17/33/image_19012025_17_33_02_437102_0001.jpg', '/home/pi/Desktop/images/19012025/17/33/image_19012025_17_33_02_437102_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/17/32/image_19012025_17_32_02_187259_0003.jpg
/home/pi/Desktop/images/19012025/17/33/image_19012025_17_33_02_437102_0000.jpg
/home/pi/Desktop/images/19012025/17/33/image_19012025_17_33_02_437102_0001.jpg
/home/pi/Desktop/images/19012025/17/33/image_19012025_17_33_02_437102_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330086032","1330086035","1330086029","1330086037"],"photo_ids_order":["1330086029","1330086032","1330086035","1330086037"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/660f134a7f89222cc85a7f8817e28ee4.jpg","text":"TemporaryFile(/tmp/multipartBody7275257650607716343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737304473131,"filename":"image_19012025_17_33_02_437102_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/94ed0a0e9ddcd5413153dd8bc28d68a9.jpg","text":"TemporaryFile(/tmp/multipartBody3860618884893951281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737304473131,"filename":"image_19012025_17_33_02_437102_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/3a3d0055b62c55abf75611781f5dc0ef.jpg","text":"TemporaryFile(/tmp/multipartBody6211724077052480266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737304473131,"filename":"image_19012025_17_32_02_187259_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/03c86b68b59dfe90bbf9ec1d9c10e6c5.jpg","text":"TemporaryFile(/tmp/multipartBody7400927265223824507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737304473131,"filename":"image_19012025_17_33_02_437102_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330086035","file1":"1330086032","file0":"1330086029","file3":"1330086037"},"map_files_photo_id_array":[{"photo_id":"1330086035","filename":"file2"},{"photo_id":"1330086032","filename":"file1"},{"photo_id":"1330086029","filename":"file0"},{"photo_id":"1330086037","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330086032":["hashtag1","hashtag2"]},{"1330086035":["hashtag1","hashtag2"]},{"1330086029":["hashtag1","hashtag2"]},{"1330086037":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330086032, 1330086035, 1330086029, 1330086037)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.09395790100098 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 17:34:02.743281
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
  port_id : 19698700
  datou_current_id : 2490825
in upload_from_sqlite, uploading in 19698700
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17012025/23/46/image_17012025_23_46_02_995399_0001.jpg', '/home/pi/Desktop/images/17012025/23/46/image_17012025_23_46_02_995399_0002.jpg', '/home/pi/Desktop/images/17012025/23/46/image_17012025_23_46_02_995399_0003.jpg', '/home/pi/Desktop/images/17012025/23/47/image_17012025_23_47_02_267745_0000.jpg', '/home/pi/Desktop/images/17012025/23/47/image_17012025_23_47_02_267745_0001.jpg', '/home/pi/Desktop/images/17012025/23/47/image_17012025_23_47_02_267745_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2490825&datou=0
/home/pi/Desktop/images/17012025/23/46/image_17012025_23_46_02_995399_0001.jpg
/home/pi/Desktop/images/17012025/23/46/image_17012025_23_46_02_995399_0002.jpg
/home/pi/Desktop/images/17012025/23/46/image_17012025_23_46_02_995399_0003.jpg
/home/pi/Desktop/images/17012025/23/47/image_17012025_23_47_02_267745_0000.jpg
/home/pi/Desktop/images/17012025/23/47/image_17012025_23_47_02_267745_0001.jpg
/home/pi/Desktop/images/17012025/23/47/image_17012025_23_47_02_267745_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330086107","1330086104","1330086109","1330086078","1330086069","1330086111"],"photo_ids_order":["1330086069","1330086078","1330086104","1330086107","1330086109","1330086111"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/ee7b3c5f195e30d319ddba0b3733f456.jpg","text":"TemporaryFile(/tmp/multipartBody8513386368483856849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737304520310,"filename":"image_17012025_23_47_02_267745_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/cbc3714463e51718944258ae1835d8f0.jpg","text":"TemporaryFile(/tmp/multipartBody1262293015482969934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737304520310,"filename":"image_17012025_23_46_02_995399_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/765a10a6060eeefc7930a15172bf04bb.jpg","text":"TemporaryFile(/tmp/multipartBody8230354618142231590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737304520310,"filename":"image_17012025_23_47_02_267745_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/257ec9ef30e5cfcff6d65faf29433554.jpg","text":"TemporaryFile(/tmp/multipartBody6859597311618062929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737304520310,"filename":"image_17012025_23_46_02_995399_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/ab28c55a984f90bff929d801029ad957.jpg","text":"TemporaryFile(/tmp/multipartBody8487192395647101630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737304520310,"filename":"image_17012025_23_46_02_995399_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/84c3fcad3a03a809187df93ce905f17a.jpg","text":"TemporaryFile(/tmp/multipartBody1228351003352261698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737304520310,"filename":"image_17012025_23_47_02_267745_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330086104","file1":"1330086078","file0":"1330086069","file4":"1330086109","file5":"1330086111","file3":"1330086107"},"map_files_photo_id_array":[{"photo_id":"1330086111","filename":"file5"},{"photo_id":"1330086104","filename":"file2"},{"photo_id":"1330086109","filename":"file4"},{"photo_id":"1330086078","filename":"file1"},{"photo_id":"1330086069","filename":"file0"},{"photo_id":"1330086107","filename":"file3"}],"portfolio_id":19698700,"hashtag_by_photo_ids":[{"1330086107":["hashtag1","hashtag2"]},{"1330086104":["hashtag1","hashtag2"]},{"1330086109":["hashtag1","hashtag2"]},{"1330086078":["hashtag1","hashtag2"]},{"1330086069":["hashtag1","hashtag2"]},{"1330086111":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698700 used, photo_id : ArrayBuffer(1330086107, 1330086104, 1330086109, 1330086078, 1330086069, 1330086111)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.44672393798828 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 17:35:03.135944
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/17/33/image_19012025_17_33_02_437102_0003.jpg', '/home/pi/Desktop/images/19012025/17/34/image_19012025_17_34_02_543116_0000.jpg', '/home/pi/Desktop/images/19012025/17/34/image_19012025_17_34_02_543116_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/17/33/image_19012025_17_33_02_437102_0003.jpg
/home/pi/Desktop/images/19012025/17/34/image_19012025_17_34_02_543116_0000.jpg
/home/pi/Desktop/images/19012025/17/34/image_19012025_17_34_02_543116_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":["1330086116","1330086118","1330086115"],"photo_ids_order":["1330086115","1330086116","1330086118"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/a7a58d4225570cf9ce1ed12bd29107d5.jpg","text":"TemporaryFile(/tmp/multipartBody8111742431008362683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737304571101,"filename":"image_19012025_17_34_02_543116_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/d4b73bd72687b158a06e9c1776c27596.jpg","text":"TemporaryFile(/tmp/multipartBody1731815595773617152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737304571101,"filename":"image_19012025_17_34_02_543116_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/3916f2c2b7ad7c61bb129e648aff7a82.jpg","text":"TemporaryFile(/tmp/multipartBody5245296762512979683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737304571101,"filename":"image_19012025_17_33_02_437102_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330086118","file1":"1330086116","file0":"1330086115"},"map_files_photo_id_array":[{"photo_id":"1330086118","filename":"file2"},{"photo_id":"1330086116","filename":"file1"},{"photo_id":"1330086115","filename":"file0"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330086116":["hashtag1","hashtag2"]},{"1330086118":["hashtag1","hashtag2"]},{"1330086115":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330086116, 1330086118, 1330086115)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.867029428482056 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-19 17:35:42.559667
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/17/34/image_19012025_17_34_02_543116_0003.jpg', '/home/pi/Desktop/images/19012025/17/35/image_19012025_17_35_02_666766_0000.jpg', '/home/pi/Desktop/images/19012025/17/35/image_19012025_17_35_02_666766_0001.jpg', '/home/pi/Desktop/images/19012025/17/35/image_19012025_17_35_02_666766_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/17/34/image_19012025_17_34_02_543116_0003.jpg
/home/pi/Desktop/images/19012025/17/35/image_19012025_17_35_02_666766_0000.jpg
/home/pi/Desktop/images/19012025/17/35/image_19012025_17_35_02_666766_0001.jpg
/home/pi/Desktop/images/19012025/17/35/image_19012025_17_35_02_666766_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":["1330086128","1330086130","1330086133","1330086132"],"photo_ids_order":["1330086128","1330086130","1330086132","1330086133"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/0bd469dc59fc15ccbac40379b5b2bfc9.jpg","text":"TemporaryFile(/tmp/multipartBody6529177053919592592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737304613304,"filename":"image_19012025_17_34_02_543116_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/971840a2e1c522ecc05de4eb141cd86b.jpg","text":"TemporaryFile(/tmp/multipartBody4780780180519669154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737304613304,"filename":"image_19012025_17_35_02_666766_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/d22823d8bfa0f845ad27297b7e85d33f.jpg","text":"TemporaryFile(/tmp/multipartBody8609725607553637732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737304613304,"filename":"image_19012025_17_35_02_666766_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/fd7bae4a96f5094d737fec175b9f1df3.jpg","text":"TemporaryFile(/tmp/multipartBody4935601689746085372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737304613304,"filename":"image_19012025_17_35_02_666766_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330086132","file1":"1330086130","file0":"1330086128","file3":"1330086133"},"map_files_photo_id_array":[{"photo_id":"1330086132","filename":"file2"},{"photo_id":"1330086130","filename":"file1"},{"photo_id":"1330086128","filename":"file0"},{"photo_id":"1330086133","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330086128":["hashtag1","hashtag2"]},{"1330086130":["hashtag1","hashtag2"]},{"1330086133":["hashtag1","hashtag2"]},{"1330086132":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330086128, 1330086130, 1330086133, 1330086132)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.29626774787903 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 17:36:22.628472
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/17/35/image_19012025_17_35_02_666766_0003.jpg', '/home/pi/Desktop/images/19012025/17/36/image_19012025_17_36_02_882585_0000.jpg', '/home/pi/Desktop/images/19012025/17/36/image_19012025_17_36_02_882585_0001.jpg', '/home/pi/Desktop/images/19012025/17/36/image_19012025_17_36_02_882585_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/17/35/image_19012025_17_35_02_666766_0003.jpg
/home/pi/Desktop/images/19012025/17/36/image_19012025_17_36_02_882585_0000.jpg
/home/pi/Desktop/images/19012025/17/36/image_19012025_17_36_02_882585_0001.jpg
/home/pi/Desktop/images/19012025/17/36/image_19012025_17_36_02_882585_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330086140","1330086144","1330086153","1330086137"],"photo_ids_order":["1330086137","1330086140","1330086144","1330086153"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/b92d1f8f5e2288e89195e6c141cc34fd.jpg","text":"TemporaryFile(/tmp/multipartBody4876473372063461355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737304653542,"filename":"image_19012025_17_36_02_882585_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/6a6060799cee20ddcae322687c085cb3.jpg","text":"TemporaryFile(/tmp/multipartBody6207947841995505050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737304653542,"filename":"image_19012025_17_36_02_882585_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/e41549b6871ade8cd5787a230e2b64e9.jpg","text":"TemporaryFile(/tmp/multipartBody2982339923208858816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737304653542,"filename":"image_19012025_17_36_02_882585_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/b38d64fe85756dee246e18456cfed11d.jpg","text":"TemporaryFile(/tmp/multipartBody3616347141661320481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737304653542,"filename":"image_19012025_17_35_02_666766_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330086144","file1":"1330086140","file0":"1330086137","file3":"1330086153"},"map_files_photo_id_array":[{"photo_id":"1330086144","filename":"file2"},{"photo_id":"1330086140","filename":"file1"},{"photo_id":"1330086137","filename":"file0"},{"photo_id":"1330086153","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330086140":["hashtag1","hashtag2"]},{"1330086144":["hashtag1","hashtag2"]},{"1330086153":["hashtag1","hashtag2"]},{"1330086137":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330086140, 1330086144, 1330086153, 1330086137)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.96143865585327 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 17:37:21.927809
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/17/36/image_19012025_17_36_02_882585_0003.jpg', '/home/pi/Desktop/images/19012025/17/37/image_19012025_17_37_03_013204_0000.jpg', '/home/pi/Desktop/images/19012025/17/37/image_19012025_17_37_03_013204_0001.jpg', '/home/pi/Desktop/images/19012025/17/37/image_19012025_17_37_03_013204_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/17/36/image_19012025_17_36_02_882585_0003.jpg
/home/pi/Desktop/images/19012025/17/37/image_19012025_17_37_03_013204_0000.jpg
/home/pi/Desktop/images/19012025/17/37/image_19012025_17_37_03_013204_0001.jpg
/home/pi/Desktop/images/19012025/17/37/image_19012025_17_37_03_013204_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330086191","1330086194","1330086188","1330086197"],"photo_ids_order":["1330086188","1330086191","1330086194","1330086197"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/5cea08e2566972c45905569a34fc838c.jpg","text":"TemporaryFile(/tmp/multipartBody453946338001700651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737304712101,"filename":"image_19012025_17_37_03_013204_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/d9611188147b1d48f9be22c207c147ed.jpg","text":"TemporaryFile(/tmp/multipartBody1253243881585367274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737304712101,"filename":"image_19012025_17_37_03_013204_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/3019def7681c6af48216fbf258d9dda2.jpg","text":"TemporaryFile(/tmp/multipartBody1535036725018985519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737304712101,"filename":"image_19012025_17_36_02_882585_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/58a668902ccda3632fa5f96e0097e17f.jpg","text":"TemporaryFile(/tmp/multipartBody1831369951706007009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737304712101,"filename":"image_19012025_17_37_03_013204_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330086194","file1":"1330086191","file0":"1330086188","file3":"1330086197"},"map_files_photo_id_array":[{"photo_id":"1330086194","filename":"file2"},{"photo_id":"1330086191","filename":"file1"},{"photo_id":"1330086188","filename":"file0"},{"photo_id":"1330086197","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330086191":["hashtag1","hashtag2"]},{"1330086194":["hashtag1","hashtag2"]},{"1330086188":["hashtag1","hashtag2"]},{"1330086197":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330086191, 1330086194, 1330086188, 1330086197)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.90322828292847 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 17:38:02.592303
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
  port_id : 19698700
  datou_current_id : 2490825
in upload_from_sqlite, uploading in 19698700
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17012025/23/47/image_17012025_23_47_02_267745_0003.jpg', '/home/pi/Desktop/images/17012025/23/48/image_17012025_23_48_02_367399_0000.jpg', '/home/pi/Desktop/images/17012025/23/48/image_17012025_23_48_02_367399_0001.jpg', '/home/pi/Desktop/images/17012025/23/48/image_17012025_23_48_02_367399_0002.jpg', '/home/pi/Desktop/images/17012025/23/48/image_17012025_23_48_02_367399_0003.jpg', '/home/pi/Desktop/images/17012025/23/49/image_17012025_23_49_02_608162_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2490825&datou=0
/home/pi/Desktop/images/17012025/23/47/image_17012025_23_47_02_267745_0003.jpg
/home/pi/Desktop/images/17012025/23/48/image_17012025_23_48_02_367399_0000.jpg
/home/pi/Desktop/images/17012025/23/48/image_17012025_23_48_02_367399_0001.jpg
/home/pi/Desktop/images/17012025/23/48/image_17012025_23_48_02_367399_0002.jpg
/home/pi/Desktop/images/17012025/23/48/image_17012025_23_48_02_367399_0003.jpg
/home/pi/Desktop/images/17012025/23/49/image_17012025_23_49_02_608162_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":["1330086212","1330086209","1330086203","1330086214","1330086205","1330086201"],"photo_ids_order":["1330086201","1330086203","1330086205","1330086209","1330086212","1330086214"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/1ff3a603d86bfbafee3cc7641f8b0d2e.jpg","text":"TemporaryFile(/tmp/multipartBody1777199698308861009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737304759753,"filename":"image_17012025_23_48_02_367399_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/da1ea6b8b3715b09abf306fa9b5dc6e7.jpg","text":"TemporaryFile(/tmp/multipartBody5443415285745983631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737304759753,"filename":"image_17012025_23_48_02_367399_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/7ac476dc99489323e262622576de2be1.jpg","text":"TemporaryFile(/tmp/multipartBody4987717165225760988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737304759753,"filename":"image_17012025_23_48_02_367399_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/79bcdfeb537cfba3bbff18cb2940e177.jpg","text":"TemporaryFile(/tmp/multipartBody6878359489266723778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737304759753,"filename":"image_17012025_23_49_02_608162_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/224c42d01a9e0eb3ed6038d575e20951.jpg","text":"TemporaryFile(/tmp/multipartBody6432269332234320581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737304759753,"filename":"image_17012025_23_48_02_367399_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/f5c96cf5418b6c65c967aa9c04dd9d7e.jpg","text":"TemporaryFile(/tmp/multipartBody8642588050700812618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737304759753,"filename":"image_17012025_23_47_02_267745_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330086205","file1":"1330086203","file0":"1330086201","file4":"1330086212","file5":"1330086214","file3":"1330086209"},"map_files_photo_id_array":[{"photo_id":"1330086214","filename":"file5"},{"photo_id":"1330086205","filename":"file2"},{"photo_id":"1330086212","filename":"file4"},{"photo_id":"1330086203","filename":"file1"},{"photo_id":"1330086201","filename":"file0"},{"photo_id":"1330086209","filename":"file3"}],"portfolio_id":19698700,"hashtag_by_photo_ids":[{"1330086212":["hashtag1","hashtag2"]},{"1330086209":["hashtag1","hashtag2"]},{"1330086203":["hashtag1","hashtag2"]},{"1330086214":["hashtag1","hashtag2"]},{"1330086205":["hashtag1","hashtag2"]},{"1330086201":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698700 used, photo_id : ArrayBuffer(1330086212, 1330086209, 1330086203, 1330086214, 1330086205, 1330086201)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.763383626937866 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 17:39:02.819878
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/17/37/image_19012025_17_37_03_013204_0003.jpg', '/home/pi/Desktop/images/19012025/17/38/image_19012025_17_38_02_244622_0000.jpg', '/home/pi/Desktop/images/19012025/17/38/image_19012025_17_38_02_244622_0001.jpg', '/home/pi/Desktop/images/19012025/17/38/image_19012025_17_38_02_244622_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/17/37/image_19012025_17_37_03_013204_0003.jpg
/home/pi/Desktop/images/19012025/17/38/image_19012025_17_38_02_244622_0000.jpg
/home/pi/Desktop/images/19012025/17/38/image_19012025_17_38_02_244622_0001.jpg
/home/pi/Desktop/images/19012025/17/38/image_19012025_17_38_02_244622_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330086230","1330086218","1330086226","1330086228"],"photo_ids_order":["1330086218","1330086226","1330086228","1330086230"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/c8d6ab3efd0be1072ae923a5a64b6a08.jpg","text":"TemporaryFile(/tmp/multipartBody8550088394993441326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737304814279,"filename":"image_19012025_17_38_02_244622_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/de8a07e36295fc1726470f6d3f85c924.jpg","text":"TemporaryFile(/tmp/multipartBody2823611751172430500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737304814279,"filename":"image_19012025_17_37_03_013204_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/0eb5864321df8f352f2a8d865787da4d.jpg","text":"TemporaryFile(/tmp/multipartBody5964651496319957428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737304814279,"filename":"image_19012025_17_38_02_244622_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/f2dfa71c697b5aa1db854ba2d8b20c0e.jpg","text":"TemporaryFile(/tmp/multipartBody6957209378572522061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737304814279,"filename":"image_19012025_17_38_02_244622_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330086228","file1":"1330086226","file0":"1330086218","file3":"1330086230"},"map_files_photo_id_array":[{"photo_id":"1330086228","filename":"file2"},{"photo_id":"1330086226","filename":"file1"},{"photo_id":"1330086218","filename":"file0"},{"photo_id":"1330086230","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330086230":["hashtag1","hashtag2"]},{"1330086218":["hashtag1","hashtag2"]},{"1330086226":["hashtag1","hashtag2"]},{"1330086228":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330086230, 1330086218, 1330086226, 1330086228)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.47541260719299 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-19 17:39:52.220123
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/17/38/image_19012025_17_38_02_244622_0003.jpg', '/home/pi/Desktop/images/19012025/17/39/image_19012025_17_39_02_426294_0000.jpg', '/home/pi/Desktop/images/19012025/17/39/image_19012025_17_39_02_426294_0001.jpg', '/home/pi/Desktop/images/19012025/17/39/image_19012025_17_39_02_426294_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/17/38/image_19012025_17_38_02_244622_0003.jpg
/home/pi/Desktop/images/19012025/17/39/image_19012025_17_39_02_426294_0000.jpg
/home/pi/Desktop/images/19012025/17/39/image_19012025_17_39_02_426294_0001.jpg
/home/pi/Desktop/images/19012025/17/39/image_19012025_17_39_02_426294_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":["1330086256","1330086246","1330086255","1330086254"],"photo_ids_order":["1330086246","1330086254","1330086255","1330086256"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/5c354be434692b450d524de34e7028a8.jpg","text":"TemporaryFile(/tmp/multipartBody62197472370663893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737304863936,"filename":"image_19012025_17_39_02_426294_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/14ef6081002a1310d30533372d5aa934.jpg","text":"TemporaryFile(/tmp/multipartBody2862933963146679363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737304863936,"filename":"image_19012025_17_38_02_244622_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/46a10bf7cc0462a8f70a094ff36b8567.jpg","text":"TemporaryFile(/tmp/multipartBody8432075649836608383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737304863936,"filename":"image_19012025_17_39_02_426294_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/21c4bd19e2a489532ca8ca06eff2d301.jpg","text":"TemporaryFile(/tmp/multipartBody2676049693974382022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737304863936,"filename":"image_19012025_17_39_02_426294_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330086255","file1":"1330086254","file0":"1330086246","file3":"1330086256"},"map_files_photo_id_array":[{"photo_id":"1330086255","filename":"file2"},{"photo_id":"1330086254","filename":"file1"},{"photo_id":"1330086246","filename":"file0"},{"photo_id":"1330086256","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330086256":["hashtag1","hashtag2"]},{"1330086246":["hashtag1","hashtag2"]},{"1330086255":["hashtag1","hashtag2"]},{"1330086254":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330086256, 1330086246, 1330086255, 1330086254)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.49545741081238 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-19 17:40:32.421816
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/17/39/image_19012025_17_39_02_426294_0003.jpg', '/home/pi/Desktop/images/19012025/17/40/image_19012025_17_40_02_651897_0000.jpg', '/home/pi/Desktop/images/19012025/17/40/image_19012025_17_40_02_651897_0001.jpg', '/home/pi/Desktop/images/19012025/17/40/image_19012025_17_40_02_651897_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/17/39/image_19012025_17_39_02_426294_0003.jpg
/home/pi/Desktop/images/19012025/17/40/image_19012025_17_40_02_651897_0000.jpg
/home/pi/Desktop/images/19012025/17/40/image_19012025_17_40_02_651897_0001.jpg
/home/pi/Desktop/images/19012025/17/40/image_19012025_17_40_02_651897_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330086292","1330086289","1330086294","1330086296"],"photo_ids_order":["1330086289","1330086292","1330086294","1330086296"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/42bbd63a973e5937e619d8afeccbbdb4.jpg","text":"TemporaryFile(/tmp/multipartBody2296550833175909081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737304904135,"filename":"image_19012025_17_40_02_651897_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/e5f8624bd512a2b8f6f3b36f13c6c816.jpg","text":"TemporaryFile(/tmp/multipartBody8709254384002126447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737304904135,"filename":"image_19012025_17_39_02_426294_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/421bd4d6e8d8ca202f4479dbabf85f9b.jpg","text":"TemporaryFile(/tmp/multipartBody7417068408492729014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737304904135,"filename":"image_19012025_17_40_02_651897_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/d04701430ce29f74b40b2c880f5a4b37.jpg","text":"TemporaryFile(/tmp/multipartBody7044240347744639231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737304904135,"filename":"image_19012025_17_40_02_651897_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330086294","file1":"1330086292","file0":"1330086289","file3":"1330086296"},"map_files_photo_id_array":[{"photo_id":"1330086294","filename":"file2"},{"photo_id":"1330086292","filename":"file1"},{"photo_id":"1330086289","filename":"file0"},{"photo_id":"1330086296","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330086292":["hashtag1","hashtag2"]},{"1330086289":["hashtag1","hashtag2"]},{"1330086294":["hashtag1","hashtag2"]},{"1330086296":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330086292, 1330086289, 1330086294, 1330086296)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.85587024688721 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 17:41:22.583652
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/17/40/image_19012025_17_40_02_651897_0003.jpg', '/home/pi/Desktop/images/19012025/17/41/image_19012025_17_41_02_816654_0000.jpg', '/home/pi/Desktop/images/19012025/17/41/image_19012025_17_41_02_816654_0001.jpg', '/home/pi/Desktop/images/19012025/17/41/image_19012025_17_41_02_816654_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/17/40/image_19012025_17_40_02_651897_0003.jpg
/home/pi/Desktop/images/19012025/17/41/image_19012025_17_41_02_816654_0000.jpg
/home/pi/Desktop/images/19012025/17/41/image_19012025_17_41_02_816654_0001.jpg
/home/pi/Desktop/images/19012025/17/41/image_19012025_17_41_02_816654_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330086305","1330086307","1330086300","1330086303"],"photo_ids_order":["1330086300","1330086303","1330086305","1330086307"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/5d065f2b0fa312e968f7838ab335cc0d.jpg","text":"TemporaryFile(/tmp/multipartBody6034884336680354081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737304953938,"filename":"image_19012025_17_41_02_816654_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/762dc726f04ed02248843d71b70f6089.jpg","text":"TemporaryFile(/tmp/multipartBody6721599785851576255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737304953938,"filename":"image_19012025_17_41_02_816654_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/724c38845b03deeea704e5e5c41c88b7.jpg","text":"TemporaryFile(/tmp/multipartBody6646158152322529723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737304953938,"filename":"image_19012025_17_40_02_651897_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/674fa12f6da2d387e32ed53840222cf0.jpg","text":"TemporaryFile(/tmp/multipartBody695941438060121615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737304953938,"filename":"image_19012025_17_41_02_816654_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330086305","file1":"1330086303","file0":"1330086300","file3":"1330086307"},"map_files_photo_id_array":[{"photo_id":"1330086305","filename":"file2"},{"photo_id":"1330086303","filename":"file1"},{"photo_id":"1330086300","filename":"file0"},{"photo_id":"1330086307","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330086305":["hashtag1","hashtag2"]},{"1330086307":["hashtag1","hashtag2"]},{"1330086300":["hashtag1","hashtag2"]},{"1330086303":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330086305, 1330086307, 1330086300, 1330086303)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.59357142448425 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-19 17:42:22.791253
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/17/41/image_19012025_17_41_02_816654_0003.jpg', '/home/pi/Desktop/images/19012025/17/42/image_19012025_17_42_02_922896_0000.jpg', '/home/pi/Desktop/images/19012025/17/42/image_19012025_17_42_02_922896_0001.jpg', '/home/pi/Desktop/images/19012025/17/42/image_19012025_17_42_02_922896_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/17/41/image_19012025_17_41_02_816654_0003.jpg
/home/pi/Desktop/images/19012025/17/42/image_19012025_17_42_02_922896_0000.jpg
/home/pi/Desktop/images/19012025/17/42/image_19012025_17_42_02_922896_0001.jpg
/home/pi/Desktop/images/19012025/17/42/image_19012025_17_42_02_922896_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330086314","1330086322","1330086325","1330086318"],"photo_ids_order":["1330086314","1330086318","1330086322","1330086325"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/e32a6ae3d9ea3560d6fa76653ee3f096.jpg","text":"TemporaryFile(/tmp/multipartBody4941322418695456430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737305014555,"filename":"image_19012025_17_41_02_816654_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/a3553a2de7c373cbe04ff07f755baa15.jpg","text":"TemporaryFile(/tmp/multipartBody3685500940365779860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737305014555,"filename":"image_19012025_17_42_02_922896_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/1451735c47d20d05cc85fb29ff5ed710.jpg","text":"TemporaryFile(/tmp/multipartBody1097403667211937455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737305014555,"filename":"image_19012025_17_42_02_922896_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/7ed72b0a71613c9511af314f316abce4.jpg","text":"TemporaryFile(/tmp/multipartBody8452461832750404303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737305014555,"filename":"image_19012025_17_42_02_922896_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330086322","file1":"1330086318","file0":"1330086314","file3":"1330086325"},"map_files_photo_id_array":[{"photo_id":"1330086322","filename":"file2"},{"photo_id":"1330086318","filename":"file1"},{"photo_id":"1330086314","filename":"file0"},{"photo_id":"1330086325","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330086314":["hashtag1","hashtag2"]},{"1330086322":["hashtag1","hashtag2"]},{"1330086325":["hashtag1","hashtag2"]},{"1330086318":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330086314, 1330086322, 1330086325, 1330086318)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.48151087760925 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 17:43:21.972064
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/17/42/image_19012025_17_42_02_922896_0003.jpg', '/home/pi/Desktop/images/19012025/17/43/image_19012025_17_43_03_106764_0000.jpg', '/home/pi/Desktop/images/19012025/17/43/image_19012025_17_43_03_106764_0001.jpg', '/home/pi/Desktop/images/19012025/17/43/image_19012025_17_43_03_106764_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/17/42/image_19012025_17_42_02_922896_0003.jpg
/home/pi/Desktop/images/19012025/17/43/image_19012025_17_43_03_106764_0000.jpg
/home/pi/Desktop/images/19012025/17/43/image_19012025_17_43_03_106764_0001.jpg
/home/pi/Desktop/images/19012025/17/43/image_19012025_17_43_03_106764_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330086373","1330086375","1330086369","1330086371"],"photo_ids_order":["1330086369","1330086371","1330086373","1330086375"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/22ac384b8ad77e1d3a3199e3873e751e.jpg","text":"TemporaryFile(/tmp/multipartBody1047546581624857126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737305073313,"filename":"image_19012025_17_43_03_106764_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/c634de64bf36dfc8004400312158fcf7.jpg","text":"TemporaryFile(/tmp/multipartBody5784539132793235157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737305073313,"filename":"image_19012025_17_43_03_106764_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/9dfea2979af95163c270720e37c8522f.jpg","text":"TemporaryFile(/tmp/multipartBody2220090544084340994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737305073313,"filename":"image_19012025_17_42_02_922896_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/f5bdb8f22992d8c2a597fd243fca0d00.jpg","text":"TemporaryFile(/tmp/multipartBody1698686834006463098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737305073313,"filename":"image_19012025_17_43_03_106764_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330086373","file1":"1330086371","file0":"1330086369","file3":"1330086375"},"map_files_photo_id_array":[{"photo_id":"1330086373","filename":"file2"},{"photo_id":"1330086371","filename":"file1"},{"photo_id":"1330086369","filename":"file0"},{"photo_id":"1330086375","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330086373":["hashtag1","hashtag2"]},{"1330086375":["hashtag1","hashtag2"]},{"1330086369":["hashtag1","hashtag2"]},{"1330086371":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330086373, 1330086375, 1330086369, 1330086371)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.23822212219238 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 17:44:22.152865
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/17/43/image_19012025_17_43_03_106764_0003.jpg', '/home/pi/Desktop/images/19012025/17/44/image_19012025_17_44_02_337708_0000.jpg', '/home/pi/Desktop/images/19012025/17/44/image_19012025_17_44_02_337708_0001.jpg', '/home/pi/Desktop/images/19012025/17/44/image_19012025_17_44_02_337708_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/17/43/image_19012025_17_43_03_106764_0003.jpg
/home/pi/Desktop/images/19012025/17/44/image_19012025_17_44_02_337708_0000.jpg
/home/pi/Desktop/images/19012025/17/44/image_19012025_17_44_02_337708_0001.jpg
/home/pi/Desktop/images/19012025/17/44/image_19012025_17_44_02_337708_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330086499","1330086393","1330086420","1330086417"],"photo_ids_order":["1330086393","1330086417","1330086420","1330086499"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/7cff819bc519e21a8975222087bb7943.jpg","text":"TemporaryFile(/tmp/multipartBody1765121468690686315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737305133281,"filename":"image_19012025_17_44_02_337708_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/3eeef755ce3e9a971b44a7dc0fa7b486.jpg","text":"TemporaryFile(/tmp/multipartBody2584447532735458289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737305133281,"filename":"image_19012025_17_43_03_106764_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/58a75c7cb67553231e698f6b13ff4afa.jpg","text":"TemporaryFile(/tmp/multipartBody3620157369168268094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737305133281,"filename":"image_19012025_17_44_02_337708_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/a5ff9e09ea86833bb76227dd92029ca6.jpg","text":"TemporaryFile(/tmp/multipartBody2492964038414775442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737305133281,"filename":"image_19012025_17_44_02_337708_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330086420","file1":"1330086417","file0":"1330086393","file3":"1330086499"},"map_files_photo_id_array":[{"photo_id":"1330086420","filename":"file2"},{"photo_id":"1330086417","filename":"file1"},{"photo_id":"1330086393","filename":"file0"},{"photo_id":"1330086499","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330086499":["hashtag1","hashtag2"]},{"1330086393":["hashtag1","hashtag2"]},{"1330086420":["hashtag1","hashtag2"]},{"1330086417":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330086499, 1330086393, 1330086420, 1330086417)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.69715404510498 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 17:45:02.895763
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
  port_id : 19698700
  datou_current_id : 2490825
in upload_from_sqlite, uploading in 19698700
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17012025/23/49/image_17012025_23_49_02_608162_0001.jpg', '/home/pi/Desktop/images/17012025/23/49/image_17012025_23_49_02_608162_0002.jpg', '/home/pi/Desktop/images/17012025/23/49/image_17012025_23_49_02_608162_0003.jpg', '/home/pi/Desktop/images/17012025/23/50/image_17012025_23_50_02_764950_0000.jpg', '/home/pi/Desktop/images/17012025/23/50/image_17012025_23_50_02_764950_0001.jpg', '/home/pi/Desktop/images/17012025/23/50/image_17012025_23_50_02_764950_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2490825&datou=0
/home/pi/Desktop/images/17012025/23/49/image_17012025_23_49_02_608162_0001.jpg
/home/pi/Desktop/images/17012025/23/49/image_17012025_23_49_02_608162_0002.jpg
/home/pi/Desktop/images/17012025/23/49/image_17012025_23_49_02_608162_0003.jpg
/home/pi/Desktop/images/17012025/23/50/image_17012025_23_50_02_764950_0000.jpg
/home/pi/Desktop/images/17012025/23/50/image_17012025_23_50_02_764950_0001.jpg
/home/pi/Desktop/images/17012025/23/50/image_17012025_23_50_02_764950_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330086503","1330086505","1330086522","1330086525","1330086519","1330086527"],"photo_ids_order":["1330086503","1330086505","1330086519","1330086522","1330086525","1330086527"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/4ee727d4f7fc0d16496879892684b319.jpg","text":"TemporaryFile(/tmp/multipartBody4392359299735828492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737305180346,"filename":"image_17012025_23_49_02_608162_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/4e096c7d7c2cf461df68fe22115480a2.jpg","text":"TemporaryFile(/tmp/multipartBody396348333333330681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737305180346,"filename":"image_17012025_23_49_02_608162_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/51237effced061c4ace2bea648d66727.jpg","text":"TemporaryFile(/tmp/multipartBody4539530306536294576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737305180346,"filename":"image_17012025_23_50_02_764950_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/a8f35b9f71a978a28e8b0fccdef049f8.jpg","text":"TemporaryFile(/tmp/multipartBody8047510319263071697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737305180346,"filename":"image_17012025_23_50_02_764950_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/06dfc42780946e6c3414822de686fee7.jpg","text":"TemporaryFile(/tmp/multipartBody1661135594240525901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737305180346,"filename":"image_17012025_23_49_02_608162_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/a876646e9ce8d08360ca9775c63c5b48.jpg","text":"TemporaryFile(/tmp/multipartBody2525147181536213569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737305180346,"filename":"image_17012025_23_50_02_764950_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330086519","file1":"1330086505","file0":"1330086503","file4":"1330086525","file5":"1330086527","file3":"1330086522"},"map_files_photo_id_array":[{"photo_id":"1330086527","filename":"file5"},{"photo_id":"1330086519","filename":"file2"},{"photo_id":"1330086525","filename":"file4"},{"photo_id":"1330086505","filename":"file1"},{"photo_id":"1330086503","filename":"file0"},{"photo_id":"1330086522","filename":"file3"}],"portfolio_id":19698700,"hashtag_by_photo_ids":[{"1330086503":["hashtag1","hashtag2"]},{"1330086505":["hashtag1","hashtag2"]},{"1330086522":["hashtag1","hashtag2"]},{"1330086525":["hashtag1","hashtag2"]},{"1330086519":["hashtag1","hashtag2"]},{"1330086527":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698700 used, photo_id : ArrayBuffer(1330086503, 1330086505, 1330086522, 1330086525, 1330086519, 1330086527)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.68528366088867 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 17:46:02.856427
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/17/44/image_19012025_17_44_02_337708_0003.jpg', '/home/pi/Desktop/images/19012025/17/45/image_19012025_17_45_02_445499_0000.jpg', '/home/pi/Desktop/images/19012025/17/45/image_19012025_17_45_02_445499_0001.jpg', '/home/pi/Desktop/images/19012025/17/45/image_19012025_17_45_02_445499_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/17/44/image_19012025_17_44_02_337708_0003.jpg
/home/pi/Desktop/images/19012025/17/45/image_19012025_17_45_02_445499_0000.jpg
/home/pi/Desktop/images/19012025/17/45/image_19012025_17_45_02_445499_0001.jpg
/home/pi/Desktop/images/19012025/17/45/image_19012025_17_45_02_445499_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330086691","1330086787","1330086611","1330086596"],"photo_ids_order":["1330086596","1330086611","1330086691","1330086787"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/62ad5ae70e81f1122ef273ac2ffb09ea.jpg","text":"TemporaryFile(/tmp/multipartBody8527255249878410668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737305234126,"filename":"image_19012025_17_45_02_445499_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/9ff11f8cd495e993ad46dc64370a5734.jpg","text":"TemporaryFile(/tmp/multipartBody2626884047326504234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737305234126,"filename":"image_19012025_17_45_02_445499_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/84b0b07dafeac1a2d303875b5b4070c0.jpg","text":"TemporaryFile(/tmp/multipartBody8093955726273846763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737305234126,"filename":"image_19012025_17_45_02_445499_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/fcfe3b8e6e3be3fe09deff96864da0c0.jpg","text":"TemporaryFile(/tmp/multipartBody7756234169500279893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737305234126,"filename":"image_19012025_17_44_02_337708_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330086691","file1":"1330086611","file0":"1330086596","file3":"1330086787"},"map_files_photo_id_array":[{"photo_id":"1330086691","filename":"file2"},{"photo_id":"1330086611","filename":"file1"},{"photo_id":"1330086596","filename":"file0"},{"photo_id":"1330086787","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330086691":["hashtag1","hashtag2"]},{"1330086787":["hashtag1","hashtag2"]},{"1330086611":["hashtag1","hashtag2"]},{"1330086596":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330086691, 1330086787, 1330086611, 1330086596)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.46648645401001 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-19 17:46:52.428832
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/17/45/image_19012025_17_45_02_445499_0003.jpg', '/home/pi/Desktop/images/19012025/17/46/image_19012025_17_46_02_604630_0000.jpg', '/home/pi/Desktop/images/19012025/17/46/image_19012025_17_46_02_604630_0001.jpg', '/home/pi/Desktop/images/19012025/17/46/image_19012025_17_46_02_604630_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/17/45/image_19012025_17_45_02_445499_0003.jpg
/home/pi/Desktop/images/19012025/17/46/image_19012025_17_46_02_604630_0000.jpg
/home/pi/Desktop/images/19012025/17/46/image_19012025_17_46_02_604630_0001.jpg
/home/pi/Desktop/images/19012025/17/46/image_19012025_17_46_02_604630_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330086873","1330086834","1330086887","1330086866"],"photo_ids_order":["1330086834","1330086866","1330086873","1330086887"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/3986fb75bfa7952836292df685656ac6.jpg","text":"TemporaryFile(/tmp/multipartBody830627675368199888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737305283213,"filename":"image_19012025_17_46_02_604630_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/86676726f80d1d7b59923b6992aac082.jpg","text":"TemporaryFile(/tmp/multipartBody6370792250562883435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737305283213,"filename":"image_19012025_17_45_02_445499_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/2da493cafeee5ee488bc0df9d5123726.jpg","text":"TemporaryFile(/tmp/multipartBody685507752089459586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737305283213,"filename":"image_19012025_17_46_02_604630_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/521eab808f5b73c7958f32ddd6f97370.jpg","text":"TemporaryFile(/tmp/multipartBody4779717152504668664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737305283213,"filename":"image_19012025_17_46_02_604630_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330086873","file1":"1330086866","file0":"1330086834","file3":"1330086887"},"map_files_photo_id_array":[{"photo_id":"1330086873","filename":"file2"},{"photo_id":"1330086866","filename":"file1"},{"photo_id":"1330086834","filename":"file0"},{"photo_id":"1330086887","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330086873":["hashtag1","hashtag2"]},{"1330086834":["hashtag1","hashtag2"]},{"1330086887":["hashtag1","hashtag2"]},{"1330086866":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330086873, 1330086834, 1330086887, 1330086866)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.64187550544739 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-19 17:47:42.645325
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/17/46/image_19012025_17_46_02_604630_0003.jpg', '/home/pi/Desktop/images/19012025/17/47/image_19012025_17_47_02_802886_0000.jpg', '/home/pi/Desktop/images/19012025/17/47/image_19012025_17_47_02_802886_0001.jpg', '/home/pi/Desktop/images/19012025/17/47/image_19012025_17_47_02_802886_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/17/46/image_19012025_17_46_02_604630_0003.jpg
/home/pi/Desktop/images/19012025/17/47/image_19012025_17_47_02_802886_0000.jpg
/home/pi/Desktop/images/19012025/17/47/image_19012025_17_47_02_802886_0001.jpg
/home/pi/Desktop/images/19012025/17/47/image_19012025_17_47_02_802886_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330086952","1330086895","1330086990","1330086974"],"photo_ids_order":["1330086895","1330086952","1330086974","1330086990"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/06fb43a3ccdcf13f0b1ac564b8f2ed8c.jpg","text":"TemporaryFile(/tmp/multipartBody8699139118062571410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737305334434,"filename":"image_19012025_17_47_02_802886_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/b0db23b2f25f20a34dc64a280f10501d.jpg","text":"TemporaryFile(/tmp/multipartBody5595793359876154832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737305334434,"filename":"image_19012025_17_46_02_604630_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/778a11134e789d87c1562279f22afb6e.jpg","text":"TemporaryFile(/tmp/multipartBody2220212444159967964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737305334434,"filename":"image_19012025_17_47_02_802886_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/e33d01cb75fc99a12cf8b9d20245ce34.jpg","text":"TemporaryFile(/tmp/multipartBody5098983599729195218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737305334434,"filename":"image_19012025_17_47_02_802886_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330086974","file1":"1330086952","file0":"1330086895","file3":"1330086990"},"map_files_photo_id_array":[{"photo_id":"1330086974","filename":"file2"},{"photo_id":"1330086952","filename":"file1"},{"photo_id":"1330086895","filename":"file0"},{"photo_id":"1330086990","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330086952":["hashtag1","hashtag2"]},{"1330086895":["hashtag1","hashtag2"]},{"1330086990":["hashtag1","hashtag2"]},{"1330086974":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330086952, 1330086895, 1330086990, 1330086974)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.031113624572754 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-19 17:48:31.893722
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/17/47/image_19012025_17_47_02_802886_0003.jpg', '/home/pi/Desktop/images/19012025/17/48/image_19012025_17_48_03_002475_0001.jpg', '/home/pi/Desktop/images/19012025/17/48/image_19012025_17_48_03_002475_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/17/47/image_19012025_17_47_02_802886_0003.jpg
/home/pi/Desktop/images/19012025/17/48/image_19012025_17_48_03_002475_0001.jpg
/home/pi/Desktop/images/19012025/17/48/image_19012025_17_48_03_002475_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330087631","1330087256","1330087690"],"photo_ids_order":["1330087256","1330087631","1330087690"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/d6de726b1971a0d8d3dc9e5c05fb66a4.jpg","text":"TemporaryFile(/tmp/multipartBody577424549943859844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737305380986,"filename":"image_19012025_17_48_03_002475_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/4c48bd575a01afc407fa21170d6e29e8.jpg","text":"TemporaryFile(/tmp/multipartBody7272089601786983555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737305380986,"filename":"image_19012025_17_47_02_802886_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/ba441f5787fc207a88fd34328891c6af.jpg","text":"TemporaryFile(/tmp/multipartBody728030484450650785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737305380986,"filename":"image_19012025_17_48_03_002475_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330087690","file1":"1330087631","file0":"1330087256"},"map_files_photo_id_array":[{"photo_id":"1330087690","filename":"file2"},{"photo_id":"1330087631","filename":"file1"},{"photo_id":"1330087256","filename":"file0"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330087631":["hashtag1","hashtag2"]},{"1330087256":["hashtag1","hashtag2"]},{"1330087690":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330087631, 1330087256, 1330087690)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 34.38824534416199 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 17:49:22.080994
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/17/48/image_19012025_17_48_03_002475_0003.jpg', '/home/pi/Desktop/images/19012025/17/49/image_19012025_17_49_02_286401_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/17/48/image_19012025_17_48_03_002475_0003.jpg
/home/pi/Desktop/images/19012025/17/49/image_19012025_17_49_02_286401_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":["1330087773","1330087730"],"photo_ids_order":["1330087730","1330087773"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/5bff6ab53042b5f75253392b3ef2d4e3.jpg","text":"TemporaryFile(/tmp/multipartBody5085738642336616262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737305428375,"filename":"image_19012025_17_49_02_286401_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/ec88b078f155fb91c8d6cb3a3a8444e0.jpg","text":"TemporaryFile(/tmp/multipartBody2730609326667930004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737305428375,"filename":"image_19012025_17_48_03_002475_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1330087773","file0":"1330087730"},"map_files_photo_id_array":[{"photo_id":"1330087773","filename":"file1"},{"photo_id":"1330087730","filename":"file0"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330087773":["hashtag1","hashtag2"]},{"1330087730":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330087773, 1330087730)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 23.99019169807434 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-19 17:49:52.095372
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
  port_id : 19698700
  datou_current_id : 2490825
in upload_from_sqlite, uploading in 19698700
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17012025/23/50/image_17012025_23_50_02_764950_0003.jpg', '/home/pi/Desktop/images/17012025/23/51/image_17012025_23_51_02_972929_0000.jpg', '/home/pi/Desktop/images/17012025/23/51/image_17012025_23_51_02_972929_0001.jpg', '/home/pi/Desktop/images/17012025/23/51/image_17012025_23_51_02_972929_0002.jpg', '/home/pi/Desktop/images/17012025/23/51/image_17012025_23_51_02_972929_0003.jpg', '/home/pi/Desktop/images/17012025/23/52/image_17012025_23_52_03_152107_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2490825&datou=0
/home/pi/Desktop/images/17012025/23/50/image_17012025_23_50_02_764950_0003.jpg
/home/pi/Desktop/images/17012025/23/51/image_17012025_23_51_02_972929_0000.jpg
/home/pi/Desktop/images/17012025/23/51/image_17012025_23_51_02_972929_0001.jpg
/home/pi/Desktop/images/17012025/23/51/image_17012025_23_51_02_972929_0002.jpg
/home/pi/Desktop/images/17012025/23/51/image_17012025_23_51_02_972929_0003.jpg
/home/pi/Desktop/images/17012025/23/52/image_17012025_23_52_03_152107_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":["1330088040","1330088037","1330088045","1330088042","1330088036","1330088038"],"photo_ids_order":["1330088036","1330088037","1330088038","1330088040","1330088042","1330088045"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/3bcb7743aab202c998da892d7c672754.jpg","text":"TemporaryFile(/tmp/multipartBody2962707170935875488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737305469451,"filename":"image_17012025_23_51_02_972929_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/be6a4ac0a3f0d59849deb9abdfb1062f.jpg","text":"TemporaryFile(/tmp/multipartBody1905780611796355594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737305469451,"filename":"image_17012025_23_51_02_972929_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/89e188a9a57dd577290e0681e0eda563.jpg","text":"TemporaryFile(/tmp/multipartBody7944344758893722559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737305469451,"filename":"image_17012025_23_52_03_152107_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/e426a64ce58ac4d058381739981a85a0.jpg","text":"TemporaryFile(/tmp/multipartBody8763832485675519377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737305469451,"filename":"image_17012025_23_51_02_972929_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/cc010aa31a6fcb07a046b230dab6087f.jpg","text":"TemporaryFile(/tmp/multipartBody4652582579915133164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737305469451,"filename":"image_17012025_23_50_02_764950_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/3892f39d2d9b35c6472192a610b4c320.jpg","text":"TemporaryFile(/tmp/multipartBody8063191383868291027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737305469451,"filename":"image_17012025_23_51_02_972929_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330088038","file1":"1330088037","file0":"1330088036","file4":"1330088042","file5":"1330088045","file3":"1330088040"},"map_files_photo_id_array":[{"photo_id":"1330088045","filename":"file5"},{"photo_id":"1330088038","filename":"file2"},{"photo_id":"1330088042","filename":"file4"},{"photo_id":"1330088037","filename":"file1"},{"photo_id":"1330088036","filename":"file0"},{"photo_id":"1330088040","filename":"file3"}],"portfolio_id":19698700,"hashtag_by_photo_ids":[{"1330088040":["hashtag1","hashtag2"]},{"1330088037":["hashtag1","hashtag2"]},{"1330088045":["hashtag1","hashtag2"]},{"1330088042":["hashtag1","hashtag2"]},{"1330088036":["hashtag1","hashtag2"]},{"1330088038":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698700 used, photo_id : ArrayBuffer(1330088040, 1330088037, 1330088045, 1330088042, 1330088036, 1330088038)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.81713819503784 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-19 17:50:52.294665
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/17/49/image_19012025_17_49_02_286401_0003.jpg', '/home/pi/Desktop/images/19012025/17/50/image_19012025_17_50_02_418399_0000.jpg', '/home/pi/Desktop/images/19012025/17/50/image_19012025_17_50_02_418399_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/17/49/image_19012025_17_49_02_286401_0003.jpg
/home/pi/Desktop/images/19012025/17/50/image_19012025_17_50_02_418399_0000.jpg
/home/pi/Desktop/images/19012025/17/50/image_19012025_17_50_02_418399_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":["1330088311","1330088314","1330088313"],"photo_ids_order":["1330088311","1330088313","1330088314"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/9a7096d97b76fb7466cac65a1d39960c.jpg","text":"TemporaryFile(/tmp/multipartBody4297552468073995131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737305521415,"filename":"image_19012025_17_49_02_286401_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/4d1a330248cb4e5dbcf5fc47c27f15d8.jpg","text":"TemporaryFile(/tmp/multipartBody3006849712767366457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737305521415,"filename":"image_19012025_17_50_02_418399_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/95b049f058db25b4dc81752e2467ae47.jpg","text":"TemporaryFile(/tmp/multipartBody997151199860618029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737305521415,"filename":"image_19012025_17_50_02_418399_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330088314","file1":"1330088313","file0":"1330088311"},"map_files_photo_id_array":[{"photo_id":"1330088314","filename":"file2"},{"photo_id":"1330088313","filename":"file1"},{"photo_id":"1330088311","filename":"file0"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330088311":["hashtag1","hashtag2"]},{"1330088314":["hashtag1","hashtag2"]},{"1330088313":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330088311, 1330088314, 1330088313)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 32.58761501312256 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-19 17:51:32.541679
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/17/50/image_19012025_17_50_02_418399_0003.jpg', '/home/pi/Desktop/images/19012025/17/51/image_19012025_17_51_02_619912_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/17/50/image_19012025_17_50_02_418399_0003.jpg
/home/pi/Desktop/images/19012025/17/51/image_19012025_17_51_02_619912_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":["1330088323","1330088319"],"photo_ids_order":["1330088319","1330088323"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/ba6cd446e0a42d331b21d8e2e2fd42c8.jpg","text":"TemporaryFile(/tmp/multipartBody9146759825853313407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737305558849,"filename":"image_19012025_17_51_02_619912_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/02bb4ce7f5a1f9efdf2ac48eaac332ce.jpg","text":"TemporaryFile(/tmp/multipartBody4621752876029613658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737305558849,"filename":"image_19012025_17_50_02_418399_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1330088323","file0":"1330088319"},"map_files_photo_id_array":[{"photo_id":"1330088323","filename":"file1"},{"photo_id":"1330088319","filename":"file0"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330088323":["hashtag1","hashtag2"]},{"1330088319":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330088323, 1330088319)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 23.464356184005737 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 17:52:03.147341
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
  port_id : 19698700
  datou_current_id : 2490825
in upload_from_sqlite, uploading in 19698700
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17012025/23/52/image_17012025_23_52_03_152107_0001.jpg', '/home/pi/Desktop/images/17012025/23/52/image_17012025_23_52_03_152107_0002.jpg', '/home/pi/Desktop/images/17012025/23/52/image_17012025_23_52_03_152107_0003.jpg', '/home/pi/Desktop/images/17012025/23/53/image_17012025_23_53_02_277764_0000.jpg', '/home/pi/Desktop/images/17012025/23/53/image_17012025_23_53_02_277764_0001.jpg', '/home/pi/Desktop/images/17012025/23/53/image_17012025_23_53_02_277764_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2490825&datou=0
/home/pi/Desktop/images/17012025/23/52/image_17012025_23_52_03_152107_0001.jpg
/home/pi/Desktop/images/17012025/23/52/image_17012025_23_52_03_152107_0002.jpg
/home/pi/Desktop/images/17012025/23/52/image_17012025_23_52_03_152107_0003.jpg
/home/pi/Desktop/images/17012025/23/53/image_17012025_23_53_02_277764_0000.jpg
/home/pi/Desktop/images/17012025/23/53/image_17012025_23_53_02_277764_0001.jpg
/home/pi/Desktop/images/17012025/23/53/image_17012025_23_53_02_277764_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330088346","1330088372","1330088375","1330088342","1330088368","1330088377"],"photo_ids_order":["1330088342","1330088346","1330088368","1330088372","1330088375","1330088377"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/5bd4a805445be30b9458e6b164d9ef24.jpg","text":"TemporaryFile(/tmp/multipartBody6847080326157485148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737305600541,"filename":"image_17012025_23_52_03_152107_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/549ca516b23cb8a36a1b1fb50d61096b.jpg","text":"TemporaryFile(/tmp/multipartBody9030368525511158397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737305600541,"filename":"image_17012025_23_53_02_277764_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/42537635a5073a630c9c29dca63ab284.jpg","text":"TemporaryFile(/tmp/multipartBody5275293564494792531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737305600541,"filename":"image_17012025_23_53_02_277764_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/5ad3b0ff1fad743bce2a3010f6826d9d.jpg","text":"TemporaryFile(/tmp/multipartBody8925158931202112625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737305600541,"filename":"image_17012025_23_52_03_152107_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/37a3b6a9bc174b7b32d6a1793f5980bb.jpg","text":"TemporaryFile(/tmp/multipartBody4213551005312998790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737305600541,"filename":"image_17012025_23_52_03_152107_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/fb7cad6ce400f3af657d07f27786e998.jpg","text":"TemporaryFile(/tmp/multipartBody4785353341691504884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737305600541,"filename":"image_17012025_23_53_02_277764_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330088368","file1":"1330088346","file0":"1330088342","file4":"1330088375","file5":"1330088377","file3":"1330088372"},"map_files_photo_id_array":[{"photo_id":"1330088377","filename":"file5"},{"photo_id":"1330088368","filename":"file2"},{"photo_id":"1330088375","filename":"file4"},{"photo_id":"1330088346","filename":"file1"},{"photo_id":"1330088342","filename":"file0"},{"photo_id":"1330088372","filename":"file3"}],"portfolio_id":19698700,"hashtag_by_photo_ids":[{"1330088346":["hashtag1","hashtag2"]},{"1330088372":["hashtag1","hashtag2"]},{"1330088375":["hashtag1","hashtag2"]},{"1330088342":["hashtag1","hashtag2"]},{"1330088368":["hashtag1","hashtag2"]},{"1330088377":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698700 used, photo_id : ArrayBuffer(1330088346, 1330088372, 1330088375, 1330088342, 1330088368, 1330088377)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.98999047279358 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 17:53:02.495225
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/17/51/image_19012025_17_51_02_619912_0003.jpg', '/home/pi/Desktop/images/19012025/17/52/image_19012025_17_52_02_870242_0000.jpg', '/home/pi/Desktop/images/19012025/17/52/image_19012025_17_52_02_870242_0001.jpg', '/home/pi/Desktop/images/19012025/17/52/image_19012025_17_52_02_870242_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/17/51/image_19012025_17_51_02_619912_0003.jpg
/home/pi/Desktop/images/19012025/17/52/image_19012025_17_52_02_870242_0000.jpg
/home/pi/Desktop/images/19012025/17/52/image_19012025_17_52_02_870242_0001.jpg
/home/pi/Desktop/images/19012025/17/52/image_19012025_17_52_02_870242_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330088385","1330088387","1330088381","1330088383"],"photo_ids_order":["1330088381","1330088383","1330088385","1330088387"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/a75350080505e66d28b0a00424071573.jpg","text":"TemporaryFile(/tmp/multipartBody726291376284634574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737305654517,"filename":"image_19012025_17_52_02_870242_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/761599c9f25dd88d1ea74f224e79cd35.jpg","text":"TemporaryFile(/tmp/multipartBody7438847957170422643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737305654517,"filename":"image_19012025_17_52_02_870242_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/0ed8b01960d0407f2e2c5484b56a5fbd.jpg","text":"TemporaryFile(/tmp/multipartBody7519140142385857536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737305654517,"filename":"image_19012025_17_51_02_619912_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/a1e1bd332268e517f01241361fc0546e.jpg","text":"TemporaryFile(/tmp/multipartBody2617977202418141608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737305654517,"filename":"image_19012025_17_52_02_870242_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330088385","file1":"1330088383","file0":"1330088381","file3":"1330088387"},"map_files_photo_id_array":[{"photo_id":"1330088385","filename":"file2"},{"photo_id":"1330088383","filename":"file1"},{"photo_id":"1330088381","filename":"file0"},{"photo_id":"1330088387","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330088385":["hashtag1","hashtag2"]},{"1330088387":["hashtag1","hashtag2"]},{"1330088381":["hashtag1","hashtag2"]},{"1330088383":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330088385, 1330088387, 1330088381, 1330088383)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.56385135650635 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-19 17:53:51.806224
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/17/52/image_19012025_17_52_02_870242_0003.jpg', '/home/pi/Desktop/images/19012025/17/53/image_19012025_17_53_02_988586_0001.jpg', '/home/pi/Desktop/images/19012025/17/53/image_19012025_17_53_02_988586_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/17/52/image_19012025_17_52_02_870242_0003.jpg
/home/pi/Desktop/images/19012025/17/53/image_19012025_17_53_02_988586_0001.jpg
/home/pi/Desktop/images/19012025/17/53/image_19012025_17_53_02_988586_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":["1330088397","1330088393","1330088395"],"photo_ids_order":["1330088393","1330088395","1330088397"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/888635f8b98c24a9fa19ed80a989fa0c.jpg","text":"TemporaryFile(/tmp/multipartBody8959977932840717984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737305700931,"filename":"image_19012025_17_53_02_988586_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/a96591a0098e4bdb7b66dd25064579f1.jpg","text":"TemporaryFile(/tmp/multipartBody1079615332113955226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737305700931,"filename":"image_19012025_17_52_02_870242_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/be5a01584aeb5383a12c8f64d41643d9.jpg","text":"TemporaryFile(/tmp/multipartBody3077681532678077783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737305700931,"filename":"image_19012025_17_53_02_988586_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330088397","file1":"1330088395","file0":"1330088393"},"map_files_photo_id_array":[{"photo_id":"1330088397","filename":"file2"},{"photo_id":"1330088395","filename":"file1"},{"photo_id":"1330088393","filename":"file0"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330088397":["hashtag1","hashtag2"]},{"1330088393":["hashtag1","hashtag2"]},{"1330088395":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330088397, 1330088393, 1330088395)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 32.54217290878296 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-19 17:54:32.012825
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/17/53/image_19012025_17_53_02_988586_0003.jpg', '/home/pi/Desktop/images/19012025/17/54/image_19012025_17_54_02_181173_0000.jpg', '/home/pi/Desktop/images/19012025/17/54/image_19012025_17_54_02_181173_0001.jpg', '/home/pi/Desktop/images/19012025/17/54/image_19012025_17_54_02_181173_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/17/53/image_19012025_17_53_02_988586_0003.jpg
/home/pi/Desktop/images/19012025/17/54/image_19012025_17_54_02_181173_0000.jpg
/home/pi/Desktop/images/19012025/17/54/image_19012025_17_54_02_181173_0001.jpg
/home/pi/Desktop/images/19012025/17/54/image_19012025_17_54_02_181173_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330088404","1330088411","1330088414","1330088408"],"photo_ids_order":["1330088404","1330088408","1330088411","1330088414"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/b333c300790c403e678fd2e55b05b963.jpg","text":"TemporaryFile(/tmp/multipartBody8569947625776007190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737305743964,"filename":"image_19012025_17_53_02_988586_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/2b66743369b42be96f5b6624ec0fe3b2.jpg","text":"TemporaryFile(/tmp/multipartBody5796704982522347630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737305743964,"filename":"image_19012025_17_54_02_181173_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/0a347b3715dd0b41e7b1fbd50832b400.jpg","text":"TemporaryFile(/tmp/multipartBody2344521061961982900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737305743964,"filename":"image_19012025_17_54_02_181173_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/85027115f195ba3bd26d1d45ce9b50ed.jpg","text":"TemporaryFile(/tmp/multipartBody5362594387018921212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737305743964,"filename":"image_19012025_17_54_02_181173_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330088411","file1":"1330088408","file0":"1330088404","file3":"1330088414"},"map_files_photo_id_array":[{"photo_id":"1330088411","filename":"file2"},{"photo_id":"1330088408","filename":"file1"},{"photo_id":"1330088404","filename":"file0"},{"photo_id":"1330088414","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330088404":["hashtag1","hashtag2"]},{"1330088411":["hashtag1","hashtag2"]},{"1330088414":["hashtag1","hashtag2"]},{"1330088408":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330088404, 1330088411, 1330088414, 1330088408)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.44033718109131 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 17:55:22.137022
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/17/54/image_19012025_17_54_02_181173_0003.jpg', '/home/pi/Desktop/images/19012025/17/55/image_19012025_17_55_02_339269_0000.jpg', '/home/pi/Desktop/images/19012025/17/55/image_19012025_17_55_02_339269_0001.jpg', '/home/pi/Desktop/images/19012025/17/55/image_19012025_17_55_02_339269_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/17/54/image_19012025_17_54_02_181173_0003.jpg
/home/pi/Desktop/images/19012025/17/55/image_19012025_17_55_02_339269_0000.jpg
/home/pi/Desktop/images/19012025/17/55/image_19012025_17_55_02_339269_0001.jpg
/home/pi/Desktop/images/19012025/17/55/image_19012025_17_55_02_339269_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330088431","1330088436","1330088423","1330088420"],"photo_ids_order":["1330088420","1330088423","1330088431","1330088436"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/dc556e4dbad349b22628be091e4c707f.jpg","text":"TemporaryFile(/tmp/multipartBody7083685127178276494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737305794071,"filename":"image_19012025_17_55_02_339269_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/4394b180541fc2a88bf07a17d4fb4ddb.jpg","text":"TemporaryFile(/tmp/multipartBody822289590506679491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737305794071,"filename":"image_19012025_17_55_02_339269_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/3baf1f112d0ec09209714b13495eb48b.jpg","text":"TemporaryFile(/tmp/multipartBody8642632020926506385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737305794071,"filename":"image_19012025_17_55_02_339269_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/859e5945ada2fd9c2ca064fb2639ef59.jpg","text":"TemporaryFile(/tmp/multipartBody1299178043595252473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737305794071,"filename":"image_19012025_17_54_02_181173_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330088431","file1":"1330088423","file0":"1330088420","file3":"1330088436"},"map_files_photo_id_array":[{"photo_id":"1330088431","filename":"file2"},{"photo_id":"1330088423","filename":"file1"},{"photo_id":"1330088420","filename":"file0"},{"photo_id":"1330088436","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330088431":["hashtag1","hashtag2"]},{"1330088436":["hashtag1","hashtag2"]},{"1330088423":["hashtag1","hashtag2"]},{"1330088420":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330088431, 1330088436, 1330088423, 1330088420)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.611186027526855 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 17:56:22.354708
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/17/55/image_19012025_17_55_02_339269_0003.jpg', '/home/pi/Desktop/images/19012025/17/56/image_19012025_17_56_02_546846_0000.jpg', '/home/pi/Desktop/images/19012025/17/56/image_19012025_17_56_02_546846_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/17/55/image_19012025_17_55_02_339269_0003.jpg
/home/pi/Desktop/images/19012025/17/56/image_19012025_17_56_02_546846_0000.jpg
/home/pi/Desktop/images/19012025/17/56/image_19012025_17_56_02_546846_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":["1330088470","1330088467","1330088476"],"photo_ids_order":["1330088467","1330088470","1330088476"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/df74ec31b073474311c016e779a755af.jpg","text":"TemporaryFile(/tmp/multipartBody3318054898558100746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737305851466,"filename":"image_19012025_17_56_02_546846_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/f1ba0b54dd4a2410ca216b56f9b01412.jpg","text":"TemporaryFile(/tmp/multipartBody3689218208609527960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737305851466,"filename":"image_19012025_17_55_02_339269_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/172eca0cc71153c24d3e0085a0c141cf.jpg","text":"TemporaryFile(/tmp/multipartBody8222460626959873466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737305851466,"filename":"image_19012025_17_56_02_546846_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330088476","file1":"1330088470","file0":"1330088467"},"map_files_photo_id_array":[{"photo_id":"1330088476","filename":"file2"},{"photo_id":"1330088470","filename":"file1"},{"photo_id":"1330088467","filename":"file0"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330088470":["hashtag1","hashtag2"]},{"1330088467":["hashtag1","hashtag2"]},{"1330088476":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330088470, 1330088467, 1330088476)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 32.45111322402954 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 17:57:03.225110
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
  port_id : 19698700
  datou_current_id : 2490825
in upload_from_sqlite, uploading in 19698700
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17012025/23/53/image_17012025_23_53_02_277764_0003.jpg', '/home/pi/Desktop/images/17012025/23/54/image_17012025_23_54_02_462608_0000.jpg', '/home/pi/Desktop/images/17012025/23/54/image_17012025_23_54_02_462608_0001.jpg', '/home/pi/Desktop/images/17012025/23/54/image_17012025_23_54_02_462608_0002.jpg', '/home/pi/Desktop/images/17012025/23/54/image_17012025_23_54_02_462608_0003.jpg', '/home/pi/Desktop/images/17012025/23/55/image_17012025_23_55_02_636842_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2490825&datou=0
/home/pi/Desktop/images/17012025/23/53/image_17012025_23_53_02_277764_0003.jpg
/home/pi/Desktop/images/17012025/23/54/image_17012025_23_54_02_462608_0000.jpg
/home/pi/Desktop/images/17012025/23/54/image_17012025_23_54_02_462608_0001.jpg
/home/pi/Desktop/images/17012025/23/54/image_17012025_23_54_02_462608_0002.jpg
/home/pi/Desktop/images/17012025/23/54/image_17012025_23_54_02_462608_0003.jpg
/home/pi/Desktop/images/17012025/23/55/image_17012025_23_55_02_636842_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: 16.97945213317871 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 17:57:22.575330
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/17/56/image_19012025_17_56_02_546846_0003.jpg', '/home/pi/Desktop/images/19012025/17/57/image_19012025_17_57_02_788384_0000.jpg', '/home/pi/Desktop/images/19012025/17/57/image_19012025_17_57_02_788384_0001.jpg', '/home/pi/Desktop/images/19012025/17/57/image_19012025_17_57_02_788384_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/17/56/image_19012025_17_56_02_546846_0003.jpg
/home/pi/Desktop/images/19012025/17/57/image_19012025_17_57_02_788384_0000.jpg
/home/pi/Desktop/images/19012025/17/57/image_19012025_17_57_02_788384_0001.jpg
/home/pi/Desktop/images/19012025/17/57/image_19012025_17_57_02_788384_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-19 17:59:02.619021
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/17/56/image_19012025_17_56_02_546846_0003.jpg', '/home/pi/Desktop/images/19012025/17/57/image_19012025_17_57_02_788384_0000.jpg', '/home/pi/Desktop/images/19012025/17/57/image_19012025_17_57_02_788384_0001.jpg', '/home/pi/Desktop/images/19012025/17/57/image_19012025_17_57_02_788384_0002.jpg', '/home/pi/Desktop/images/19012025/17/57/image_19012025_17_57_02_788384_0003.jpg', '/home/pi/Desktop/images/19012025/17/58/image_19012025_17_58_02_902511_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/17/56/image_19012025_17_56_02_546846_0003.jpg
/home/pi/Desktop/images/19012025/17/57/image_19012025_17_57_02_788384_0000.jpg
/home/pi/Desktop/images/19012025/17/57/image_19012025_17_57_02_788384_0001.jpg
/home/pi/Desktop/images/19012025/17/57/image_19012025_17_57_02_788384_0002.jpg
/home/pi/Desktop/images/19012025/17/57/image_19012025_17_57_02_788384_0003.jpg
/home/pi/Desktop/images/19012025/17/58/image_19012025_17_58_02_902511_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: 17.228649854660034 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 17:59:21.851426
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/17/56/image_19012025_17_56_02_546846_0003.jpg', '/home/pi/Desktop/images/19012025/17/57/image_19012025_17_57_02_788384_0000.jpg', '/home/pi/Desktop/images/19012025/17/57/image_19012025_17_57_02_788384_0001.jpg', '/home/pi/Desktop/images/19012025/17/57/image_19012025_17_57_02_788384_0002.jpg', '/home/pi/Desktop/images/19012025/17/57/image_19012025_17_57_02_788384_0003.jpg', '/home/pi/Desktop/images/19012025/17/58/image_19012025_17_58_02_902511_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/17/56/image_19012025_17_56_02_546846_0003.jpg
/home/pi/Desktop/images/19012025/17/57/image_19012025_17_57_02_788384_0000.jpg
/home/pi/Desktop/images/19012025/17/57/image_19012025_17_57_02_788384_0001.jpg
/home/pi/Desktop/images/19012025/17/57/image_19012025_17_57_02_788384_0002.jpg
/home/pi/Desktop/images/19012025/17/57/image_19012025_17_57_02_788384_0003.jpg
/home/pi/Desktop/images/19012025/17/58/image_19012025_17_58_02_902511_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":["1330088713","1330088701","1330088710","1330088703","1330088706","1330088698"],"photo_ids_order":["1330088698","1330088701","1330088703","1330088706","1330088710","1330088713"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/2c3fc11ec56cf6e7d02e8cf8f913bc5b.jpg","text":"TemporaryFile(/tmp/multipartBody3808807939651127785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737306039402,"filename":"image_19012025_17_58_02_902511_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/c39ab5e9c5c3d5afe608615e82ada384.jpg","text":"TemporaryFile(/tmp/multipartBody5877480187666350749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737306039402,"filename":"image_19012025_17_57_02_788384_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/920ac799bd721d656685301d75a7fd8b.jpg","text":"TemporaryFile(/tmp/multipartBody1418872938890892813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737306039402,"filename":"image_19012025_17_57_02_788384_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/96e11bff4591d08401429fb5592cdcc6.jpg","text":"TemporaryFile(/tmp/multipartBody9076680557630448932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737306039402,"filename":"image_19012025_17_57_02_788384_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/1c42e78eac4ce33936fae248e431cc8c.jpg","text":"TemporaryFile(/tmp/multipartBody6468736613306203476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737306039402,"filename":"image_19012025_17_57_02_788384_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/71049586a3cca215687e5ebc729906fb.jpg","text":"TemporaryFile(/tmp/multipartBody7799759028154389675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737306039402,"filename":"image_19012025_17_56_02_546846_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330088703","file1":"1330088701","file0":"1330088698","file4":"1330088710","file5":"1330088713","file3":"1330088706"},"map_files_photo_id_array":[{"photo_id":"1330088713","filename":"file5"},{"photo_id":"1330088703","filename":"file2"},{"photo_id":"1330088710","filename":"file4"},{"photo_id":"1330088701","filename":"file1"},{"photo_id":"1330088698","filename":"file0"},{"photo_id":"1330088706","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330088713":["hashtag1","hashtag2"]},{"1330088701":["hashtag1","hashtag2"]},{"1330088710":["hashtag1","hashtag2"]},{"1330088703":["hashtag1","hashtag2"]},{"1330088706":["hashtag1","hashtag2"]},{"1330088698":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330088713, 1330088701, 1330088710, 1330088703, 1330088706, 1330088698)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.380154848098755 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 18:00:21.997860
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/17/58/image_19012025_17_58_02_902511_0001.jpg', '/home/pi/Desktop/images/19012025/17/58/image_19012025_17_58_02_902511_0002.jpg', '/home/pi/Desktop/images/19012025/17/58/image_19012025_17_58_02_902511_0003.jpg', '/home/pi/Desktop/images/19012025/17/59/image_19012025_17_59_03_066372_0000.jpg', '/home/pi/Desktop/images/19012025/17/59/image_19012025_17_59_03_066372_0001.jpg', '/home/pi/Desktop/images/19012025/17/59/image_19012025_17_59_03_066372_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/17/58/image_19012025_17_58_02_902511_0001.jpg
/home/pi/Desktop/images/19012025/17/58/image_19012025_17_58_02_902511_0002.jpg
/home/pi/Desktop/images/19012025/17/58/image_19012025_17_58_02_902511_0003.jpg
/home/pi/Desktop/images/19012025/17/59/image_19012025_17_59_03_066372_0000.jpg
/home/pi/Desktop/images/19012025/17/59/image_19012025_17_59_03_066372_0001.jpg
/home/pi/Desktop/images/19012025/17/59/image_19012025_17_59_03_066372_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330088728","1330088721","1330088730","1330088724","1330088726","1330088731"],"photo_ids_order":["1330088721","1330088724","1330088726","1330088728","1330088730","1330088731"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/4b5a736f3a5567391aff6d642c3be482.jpg","text":"TemporaryFile(/tmp/multipartBody5835610504619634549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737306099557,"filename":"image_19012025_17_59_03_066372_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/6bfd7428eb6430d96ca9f34851125cc9.jpg","text":"TemporaryFile(/tmp/multipartBody7336084638034684308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737306099557,"filename":"image_19012025_17_58_02_902511_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/7216367ae39ddb54a5680519cad9f0a3.jpg","text":"TemporaryFile(/tmp/multipartBody5218257177106791210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737306099557,"filename":"image_19012025_17_59_03_066372_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/aeb80876fc5c4dfa32ef9cdf0d864512.jpg","text":"TemporaryFile(/tmp/multipartBody2276654553874393312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737306099557,"filename":"image_19012025_17_58_02_902511_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/2d76bbac558716ad537925bc909a5f72.jpg","text":"TemporaryFile(/tmp/multipartBody5361028663578982670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737306099557,"filename":"image_19012025_17_58_02_902511_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/f15e9f157d0e137e35d38a9b65925bf4.jpg","text":"TemporaryFile(/tmp/multipartBody381617350976927761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737306099557,"filename":"image_19012025_17_59_03_066372_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330088726","file1":"1330088724","file0":"1330088721","file4":"1330088730","file5":"1330088731","file3":"1330088728"},"map_files_photo_id_array":[{"photo_id":"1330088731","filename":"file5"},{"photo_id":"1330088726","filename":"file2"},{"photo_id":"1330088730","filename":"file4"},{"photo_id":"1330088724","filename":"file1"},{"photo_id":"1330088721","filename":"file0"},{"photo_id":"1330088728","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330088728":["hashtag1","hashtag2"]},{"1330088721":["hashtag1","hashtag2"]},{"1330088730":["hashtag1","hashtag2"]},{"1330088724":["hashtag1","hashtag2"]},{"1330088726":["hashtag1","hashtag2"]},{"1330088731":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330088728, 1330088721, 1330088730, 1330088724, 1330088726, 1330088731)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.113507986068726 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 18:01:22.196161
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/18/00/image_19012025_18_00_02_187346_0000.jpg', '/home/pi/Desktop/images/19012025/18/00/image_19012025_18_00_02_187346_0001.jpg', '/home/pi/Desktop/images/19012025/18/00/image_19012025_18_00_02_187346_0002.jpg', '/home/pi/Desktop/images/19012025/18/00/image_19012025_18_00_02_187346_0003.jpg', '/home/pi/Desktop/images/19012025/18/01/image_19012025_18_01_02_373940_0000.jpg', '/home/pi/Desktop/images/19012025/18/01/image_19012025_18_01_02_373940_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/18/00/image_19012025_18_00_02_187346_0000.jpg
/home/pi/Desktop/images/19012025/18/00/image_19012025_18_00_02_187346_0001.jpg
/home/pi/Desktop/images/19012025/18/00/image_19012025_18_00_02_187346_0002.jpg
/home/pi/Desktop/images/19012025/18/00/image_19012025_18_00_02_187346_0003.jpg
/home/pi/Desktop/images/19012025/18/01/image_19012025_18_01_02_373940_0000.jpg
/home/pi/Desktop/images/19012025/18/01/image_19012025_18_01_02_373940_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":["1330088750","1330088855","1330088738","1330088761","1330089145","1330088767"],"photo_ids_order":["1330088738","1330088750","1330088761","1330088767","1330088855","1330089145"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/2562c49d7b26f7cc73ff73b9e2461757.jpg","text":"TemporaryFile(/tmp/multipartBody515193777953051951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737306159761,"filename":"image_19012025_18_00_02_187346_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/cf92957da2c897d4e560b9ef07fd5fca.jpg","text":"TemporaryFile(/tmp/multipartBody306416087565040706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737306159761,"filename":"image_19012025_18_01_02_373940_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/5c034527d3124de5187c27710f37908a.jpg","text":"TemporaryFile(/tmp/multipartBody324651248295460403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737306159761,"filename":"image_19012025_18_00_02_187346_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/580afed5e7acfaa2942f040758c0e45e.jpg","text":"TemporaryFile(/tmp/multipartBody3704240841755319036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737306159761,"filename":"image_19012025_18_00_02_187346_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/08edfb2b99e384e15eaf2c7f60f1a417.jpg","text":"TemporaryFile(/tmp/multipartBody517958489051776299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737306159761,"filename":"image_19012025_18_01_02_373940_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/5f05ba0bb13f9c095e0b5b4b02b1479b.jpg","text":"TemporaryFile(/tmp/multipartBody5524431628795525768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737306159761,"filename":"image_19012025_18_00_02_187346_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330088761","file1":"1330088750","file0":"1330088738","file4":"1330088855","file5":"1330089145","file3":"1330088767"},"map_files_photo_id_array":[{"photo_id":"1330089145","filename":"file5"},{"photo_id":"1330088761","filename":"file2"},{"photo_id":"1330088855","filename":"file4"},{"photo_id":"1330088750","filename":"file1"},{"photo_id":"1330088738","filename":"file0"},{"photo_id":"1330088767","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330088750":["hashtag1","hashtag2"]},{"1330088855":["hashtag1","hashtag2"]},{"1330088738":["hashtag1","hashtag2"]},{"1330088761":["hashtag1","hashtag2"]},{"1330089145":["hashtag1","hashtag2"]},{"1330088767":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330088750, 1330088855, 1330088738, 1330088761, 1330089145, 1330088767)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.67518854141235 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 18:02:22.401439
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/18/01/image_19012025_18_01_02_373940_0002.jpg', '/home/pi/Desktop/images/19012025/18/02/image_19012025_18_02_02_559754_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/18/01/image_19012025_18_01_02_373940_0002.jpg
/home/pi/Desktop/images/19012025/18/02/image_19012025_18_02_02_559754_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":["1330089858","1330089915"],"photo_ids_order":["1330089858","1330089915"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/d8459a833cc79e4545721f4a407874ef.jpg","text":"TemporaryFile(/tmp/multipartBody7236512424195807330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737306208673,"filename":"image_19012025_18_01_02_373940_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/85987ca07780c530f12eb9a08ac74348.jpg","text":"TemporaryFile(/tmp/multipartBody3428663533228332255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737306208673,"filename":"image_19012025_18_02_02_559754_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1330089915","file0":"1330089858"},"map_files_photo_id_array":[{"photo_id":"1330089915","filename":"file1"},{"photo_id":"1330089858","filename":"file0"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330089858":["hashtag1","hashtag2"]},{"1330089915":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330089858, 1330089915)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 28.082850217819214 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-19 18:02:52.316455
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
  port_id : 19698700
  datou_current_id : 2490825
in upload_from_sqlite, uploading in 19698700
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17012025/23/53/image_17012025_23_53_02_277764_0003.jpg', '/home/pi/Desktop/images/17012025/23/54/image_17012025_23_54_02_462608_0000.jpg', '/home/pi/Desktop/images/17012025/23/54/image_17012025_23_54_02_462608_0001.jpg', '/home/pi/Desktop/images/17012025/23/54/image_17012025_23_54_02_462608_0002.jpg', '/home/pi/Desktop/images/17012025/23/54/image_17012025_23_54_02_462608_0003.jpg', '/home/pi/Desktop/images/17012025/23/55/image_17012025_23_55_02_636842_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2490825&datou=0
/home/pi/Desktop/images/17012025/23/53/image_17012025_23_53_02_277764_0003.jpg
/home/pi/Desktop/images/17012025/23/54/image_17012025_23_54_02_462608_0000.jpg
/home/pi/Desktop/images/17012025/23/54/image_17012025_23_54_02_462608_0001.jpg
/home/pi/Desktop/images/17012025/23/54/image_17012025_23_54_02_462608_0002.jpg
/home/pi/Desktop/images/17012025/23/54/image_17012025_23_54_02_462608_0003.jpg
/home/pi/Desktop/images/17012025/23/55/image_17012025_23_55_02_636842_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":["1330089924","1330089923","1330089929","1330089934","1330089931","1330089925"],"photo_ids_order":["1330089923","1330089924","1330089925","1330089929","1330089931","1330089934"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/17cb633dd62a25e37a35a417cb7ed536.jpg","text":"TemporaryFile(/tmp/multipartBody6737838618947135937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737306249445,"filename":"image_17012025_23_54_02_462608_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/3a8aef846ddd1b754075ca51e50723e0.jpg","text":"TemporaryFile(/tmp/multipartBody6594619047653687799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737306249445,"filename":"image_17012025_23_53_02_277764_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/8c1ee7190511f6aaf8ccffc3b62584b7.jpg","text":"TemporaryFile(/tmp/multipartBody98645561790099249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737306249445,"filename":"image_17012025_23_54_02_462608_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/7bd61148bd1403c856326c4ba5b07c61.jpg","text":"TemporaryFile(/tmp/multipartBody1875486254475279838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737306249445,"filename":"image_17012025_23_55_02_636842_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/1f99db3eb08a04a4dedf3ce698aa37ec.jpg","text":"TemporaryFile(/tmp/multipartBody4173959132055138347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737306249445,"filename":"image_17012025_23_54_02_462608_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/6bdb0fc090ad3f5977b88e0aed33b58e.jpg","text":"TemporaryFile(/tmp/multipartBody2192091187338552717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737306249445,"filename":"image_17012025_23_54_02_462608_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330089925","file1":"1330089924","file0":"1330089923","file4":"1330089931","file5":"1330089934","file3":"1330089929"},"map_files_photo_id_array":[{"photo_id":"1330089934","filename":"file5"},{"photo_id":"1330089925","filename":"file2"},{"photo_id":"1330089931","filename":"file4"},{"photo_id":"1330089924","filename":"file1"},{"photo_id":"1330089923","filename":"file0"},{"photo_id":"1330089929","filename":"file3"}],"portfolio_id":19698700,"hashtag_by_photo_ids":[{"1330089924":["hashtag1","hashtag2"]},{"1330089923":["hashtag1","hashtag2"]},{"1330089929":["hashtag1","hashtag2"]},{"1330089934":["hashtag1","hashtag2"]},{"1330089931":["hashtag1","hashtag2"]},{"1330089925":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698700 used, photo_id : ArrayBuffer(1330089924, 1330089923, 1330089929, 1330089934, 1330089931, 1330089925)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.591164112091064 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-19 18:03:52.522814
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/18/02/image_19012025_18_02_02_559754_0003.jpg', '/home/pi/Desktop/images/19012025/18/03/image_19012025_18_03_02_789345_0000.jpg', '/home/pi/Desktop/images/19012025/18/03/image_19012025_18_03_02_789345_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/18/02/image_19012025_18_02_02_559754_0003.jpg
/home/pi/Desktop/images/19012025/18/03/image_19012025_18_03_02_789345_0000.jpg
/home/pi/Desktop/images/19012025/18/03/image_19012025_18_03_02_789345_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":["1330090455","1330090577","1330090576"],"photo_ids_order":["1330090455","1330090576","1330090577"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/6397f17fbe33922d4d2932fc905cd543.jpg","text":"TemporaryFile(/tmp/multipartBody2042153799088378750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737306301682,"filename":"image_19012025_18_02_02_559754_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/2aa97f438f7d72dcbd7279f41ffd6ea4.jpg","text":"TemporaryFile(/tmp/multipartBody9199021974365222691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737306301682,"filename":"image_19012025_18_03_02_789345_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/c13f2c7abb9859bcd04729976594a9af.jpg","text":"TemporaryFile(/tmp/multipartBody6687059133193023047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737306301682,"filename":"image_19012025_18_03_02_789345_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330090577","file1":"1330090576","file0":"1330090455"},"map_files_photo_id_array":[{"photo_id":"1330090577","filename":"file2"},{"photo_id":"1330090576","filename":"file1"},{"photo_id":"1330090455","filename":"file0"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330090455":["hashtag1","hashtag2"]},{"1330090577":["hashtag1","hashtag2"]},{"1330090576":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330090455, 1330090577, 1330090576)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.968287467956543 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-19 18:04:32.660584
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/18/03/image_19012025_18_03_02_789345_0003.jpg', '/home/pi/Desktop/images/19012025/18/04/image_19012025_18_04_02_866949_0001.jpg', '/home/pi/Desktop/images/19012025/18/04/image_19012025_18_04_02_866949_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/18/03/image_19012025_18_03_02_789345_0003.jpg
/home/pi/Desktop/images/19012025/18/04/image_19012025_18_04_02_866949_0001.jpg
/home/pi/Desktop/images/19012025/18/04/image_19012025_18_04_02_866949_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330091631","1330091526","1330091343"],"photo_ids_order":["1330091343","1330091526","1330091631"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/9a3cd8877c03acc664f54cfbbcd0b0f3.jpg","text":"TemporaryFile(/tmp/multipartBody6350928484062004926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737306341777,"filename":"image_19012025_18_04_02_866949_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/14f41dd6bee47cf304e7747886ba57b9.jpg","text":"TemporaryFile(/tmp/multipartBody5859797687068746462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737306341777,"filename":"image_19012025_18_04_02_866949_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/270d7663d24f2c9639b3d7ed81c10a6b.jpg","text":"TemporaryFile(/tmp/multipartBody4525620776670389829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737306341777,"filename":"image_19012025_18_03_02_789345_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330091631","file1":"1330091526","file0":"1330091343"},"map_files_photo_id_array":[{"photo_id":"1330091631","filename":"file2"},{"photo_id":"1330091526","filename":"file1"},{"photo_id":"1330091343","filename":"file0"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330091631":["hashtag1","hashtag2"]},{"1330091526":["hashtag1","hashtag2"]},{"1330091343":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330091631, 1330091526, 1330091343)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 32.41966009140015 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 18:05:21.876085
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/18/04/image_19012025_18_04_02_866949_0003.jpg', '/home/pi/Desktop/images/19012025/18/05/image_19012025_18_05_03_034390_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/18/04/image_19012025_18_04_02_866949_0003.jpg
/home/pi/Desktop/images/19012025/18/05/image_19012025_18_05_03_034390_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":["1330092402","1330092399"],"photo_ids_order":["1330092399","1330092402"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/872d75c1ae2d1961015dd0bc5e3aa37f.jpg","text":"TemporaryFile(/tmp/multipartBody4002774998057759005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737306388237,"filename":"image_19012025_18_05_03_034390_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/2fe6070d77f841b9d4601ec0647988e1.jpg","text":"TemporaryFile(/tmp/multipartBody3943113995453400630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737306388237,"filename":"image_19012025_18_04_02_866949_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1330092402","file0":"1330092399"},"map_files_photo_id_array":[{"photo_id":"1330092402","filename":"file1"},{"photo_id":"1330092399","filename":"file0"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330092402":["hashtag1","hashtag2"]},{"1330092399":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330092402, 1330092399)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 23.854317903518677 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-19 18:05:51.881095
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
  port_id : 19698700
  datou_current_id : 2490825
in upload_from_sqlite, uploading in 19698700
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17012025/23/55/image_17012025_23_55_02_636842_0001.jpg', '/home/pi/Desktop/images/17012025/23/55/image_17012025_23_55_02_636842_0002.jpg', '/home/pi/Desktop/images/17012025/23/55/image_17012025_23_55_02_636842_0003.jpg', '/home/pi/Desktop/images/17012025/23/56/image_17012025_23_56_02_802306_0000.jpg', '/home/pi/Desktop/images/17012025/23/56/image_17012025_23_56_02_802306_0001.jpg', '/home/pi/Desktop/images/17012025/23/56/image_17012025_23_56_02_802306_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2490825&datou=0
/home/pi/Desktop/images/17012025/23/55/image_17012025_23_55_02_636842_0001.jpg
/home/pi/Desktop/images/17012025/23/55/image_17012025_23_55_02_636842_0002.jpg
/home/pi/Desktop/images/17012025/23/55/image_17012025_23_55_02_636842_0003.jpg
/home/pi/Desktop/images/17012025/23/56/image_17012025_23_56_02_802306_0000.jpg
/home/pi/Desktop/images/17012025/23/56/image_17012025_23_56_02_802306_0001.jpg
/home/pi/Desktop/images/17012025/23/56/image_17012025_23_56_02_802306_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 16.78510046005249 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 18:06:22.072410
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/18/05/image_19012025_18_05_03_034390_0002.jpg', '/home/pi/Desktop/images/19012025/18/06/image_19012025_18_06_02_270827_0000.jpg', '/home/pi/Desktop/images/19012025/18/06/image_19012025_18_06_02_270827_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/18/05/image_19012025_18_05_03_034390_0002.jpg
/home/pi/Desktop/images/19012025/18/06/image_19012025_18_06_02_270827_0000.jpg
/home/pi/Desktop/images/19012025/18/06/image_19012025_18_06_02_270827_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":["1330092761","1330092758","1330092753"],"photo_ids_order":["1330092753","1330092758","1330092761"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/bfdfd6fd478a6bc6af2ef8a5e9025a05.jpg","text":"TemporaryFile(/tmp/multipartBody8418237598604694537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737306451215,"filename":"image_19012025_18_06_02_270827_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/ce329977511c0b64d784b82f0a5117bd.jpg","text":"TemporaryFile(/tmp/multipartBody4424971304132823328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737306451215,"filename":"image_19012025_18_06_02_270827_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/1668fb2d139474638fbf8fedb523b5d8.jpg","text":"TemporaryFile(/tmp/multipartBody7788921361149328801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737306451215,"filename":"image_19012025_18_05_03_034390_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330092761","file1":"1330092758","file0":"1330092753"},"map_files_photo_id_array":[{"photo_id":"1330092761","filename":"file2"},{"photo_id":"1330092758","filename":"file1"},{"photo_id":"1330092753","filename":"file0"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330092761":["hashtag1","hashtag2"]},{"1330092758":["hashtag1","hashtag2"]},{"1330092753":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330092761, 1330092758, 1330092753)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 33.277637004852295 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 18:07:02.941028
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
  port_id : 19698700
  datou_current_id : 2490825
in upload_from_sqlite, uploading in 19698700
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17012025/23/55/image_17012025_23_55_02_636842_0001.jpg', '/home/pi/Desktop/images/17012025/23/55/image_17012025_23_55_02_636842_0002.jpg', '/home/pi/Desktop/images/17012025/23/55/image_17012025_23_55_02_636842_0003.jpg', '/home/pi/Desktop/images/17012025/23/56/image_17012025_23_56_02_802306_0000.jpg', '/home/pi/Desktop/images/17012025/23/56/image_17012025_23_56_02_802306_0001.jpg', '/home/pi/Desktop/images/17012025/23/56/image_17012025_23_56_02_802306_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2490825&datou=0
/home/pi/Desktop/images/17012025/23/55/image_17012025_23_55_02_636842_0001.jpg
/home/pi/Desktop/images/17012025/23/55/image_17012025_23_55_02_636842_0002.jpg
/home/pi/Desktop/images/17012025/23/55/image_17012025_23_55_02_636842_0003.jpg
/home/pi/Desktop/images/17012025/23/56/image_17012025_23_56_02_802306_0000.jpg
/home/pi/Desktop/images/17012025/23/56/image_17012025_23_56_02_802306_0001.jpg
/home/pi/Desktop/images/17012025/23/56/image_17012025_23_56_02_802306_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 16.715494394302368 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 18:07:22.404186
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/18/06/image_19012025_18_06_02_270827_0002.jpg', '/home/pi/Desktop/images/19012025/18/07/image_19012025_18_07_02_435645_0000.jpg', '/home/pi/Desktop/images/19012025/18/07/image_19012025_18_07_02_435645_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/18/06/image_19012025_18_06_02_270827_0002.jpg
/home/pi/Desktop/images/19012025/18/07/image_19012025_18_07_02_435645_0000.jpg
/home/pi/Desktop/images/19012025/18/07/image_19012025_18_07_02_435645_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":["1330092788","1330092820","1330092792"],"photo_ids_order":["1330092788","1330092792","1330092820"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/8627d9d20d77521d25f5e69fa87a53d5.jpg","text":"TemporaryFile(/tmp/multipartBody5811293433091527615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737306511508,"filename":"image_19012025_18_06_02_270827_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/d2a1b5dd590af6c2d8c0db45ab1f36fb.jpg","text":"TemporaryFile(/tmp/multipartBody6954924045859438633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737306511508,"filename":"image_19012025_18_07_02_435645_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/c2d364e9399c67521bbbb105c8c69282.jpg","text":"TemporaryFile(/tmp/multipartBody1193445711255575864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737306511508,"filename":"image_19012025_18_07_02_435645_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330092820","file1":"1330092792","file0":"1330092788"},"map_files_photo_id_array":[{"photo_id":"1330092820","filename":"file2"},{"photo_id":"1330092792","filename":"file1"},{"photo_id":"1330092788","filename":"file0"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330092788":["hashtag1","hashtag2"]},{"1330092820":["hashtag1","hashtag2"]},{"1330092792":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330092788, 1330092820, 1330092792)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.45220637321472 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 18:08:02.911800
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
  port_id : 19698700
  datou_current_id : 2490825
in upload_from_sqlite, uploading in 19698700
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17012025/23/55/image_17012025_23_55_02_636842_0001.jpg', '/home/pi/Desktop/images/17012025/23/55/image_17012025_23_55_02_636842_0002.jpg', '/home/pi/Desktop/images/17012025/23/55/image_17012025_23_55_02_636842_0003.jpg', '/home/pi/Desktop/images/17012025/23/56/image_17012025_23_56_02_802306_0000.jpg', '/home/pi/Desktop/images/17012025/23/56/image_17012025_23_56_02_802306_0001.jpg', '/home/pi/Desktop/images/17012025/23/56/image_17012025_23_56_02_802306_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2490825&datou=0
/home/pi/Desktop/images/17012025/23/55/image_17012025_23_55_02_636842_0001.jpg
/home/pi/Desktop/images/17012025/23/55/image_17012025_23_55_02_636842_0002.jpg
/home/pi/Desktop/images/17012025/23/55/image_17012025_23_55_02_636842_0003.jpg
/home/pi/Desktop/images/17012025/23/56/image_17012025_23_56_02_802306_0000.jpg
/home/pi/Desktop/images/17012025/23/56/image_17012025_23_56_02_802306_0001.jpg
/home/pi/Desktop/images/17012025/23/56/image_17012025_23_56_02_802306_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330092887","1330092881","1330092884","1330092878","1330092863","1330092876"],"photo_ids_order":["1330092863","1330092876","1330092878","1330092881","1330092884","1330092887"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/7e00d78ae0776aadc1b459a0d52f9227.jpg","text":"TemporaryFile(/tmp/multipartBody1694331575634751355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737306559999,"filename":"image_17012025_23_56_02_802306_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/8a73bb9923524ee3313e82aab67ae416.jpg","text":"TemporaryFile(/tmp/multipartBody5993997460070972577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737306559999,"filename":"image_17012025_23_56_02_802306_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/d4db84bffdd36556b2fac1fa981a1250.jpg","text":"TemporaryFile(/tmp/multipartBody6565859632354449213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737306559999,"filename":"image_17012025_23_56_02_802306_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/f2ce1928136cfca5c4752bb5d0158a5d.jpg","text":"TemporaryFile(/tmp/multipartBody3849463084726905659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737306559999,"filename":"image_17012025_23_55_02_636842_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/cd555e432f68a8e61a45a96c011ad76f.jpg","text":"TemporaryFile(/tmp/multipartBody349258416029769599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737306559999,"filename":"image_17012025_23_55_02_636842_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/d6d717e5d03f2a0b1cb07a3ac7f63d5e.jpg","text":"TemporaryFile(/tmp/multipartBody6215635300552695452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737306559999,"filename":"image_17012025_23_55_02_636842_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330092878","file1":"1330092876","file0":"1330092863","file4":"1330092884","file5":"1330092887","file3":"1330092881"},"map_files_photo_id_array":[{"photo_id":"1330092887","filename":"file5"},{"photo_id":"1330092878","filename":"file2"},{"photo_id":"1330092884","filename":"file4"},{"photo_id":"1330092876","filename":"file1"},{"photo_id":"1330092863","filename":"file0"},{"photo_id":"1330092881","filename":"file3"}],"portfolio_id":19698700,"hashtag_by_photo_ids":[{"1330092887":["hashtag1","hashtag2"]},{"1330092881":["hashtag1","hashtag2"]},{"1330092884":["hashtag1","hashtag2"]},{"1330092878":["hashtag1","hashtag2"]},{"1330092863":["hashtag1","hashtag2"]},{"1330092876":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698700 used, photo_id : ArrayBuffer(1330092887, 1330092881, 1330092884, 1330092878, 1330092863, 1330092876)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.93845582008362 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 18:09:03.294539
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/18/07/image_19012025_18_07_02_435645_0003.jpg', '/home/pi/Desktop/images/19012025/18/08/image_19012025_18_08_02_698855_0000.jpg', '/home/pi/Desktop/images/19012025/18/08/image_19012025_18_08_02_698855_0001.jpg', '/home/pi/Desktop/images/19012025/18/08/image_19012025_18_08_02_698855_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/18/07/image_19012025_18_07_02_435645_0003.jpg
/home/pi/Desktop/images/19012025/18/08/image_19012025_18_08_02_698855_0000.jpg
/home/pi/Desktop/images/19012025/18/08/image_19012025_18_08_02_698855_0001.jpg
/home/pi/Desktop/images/19012025/18/08/image_19012025_18_08_02_698855_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 11.13408875465393 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 18:09:22.639829
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/18/07/image_19012025_18_07_02_435645_0003.jpg', '/home/pi/Desktop/images/19012025/18/08/image_19012025_18_08_02_698855_0000.jpg', '/home/pi/Desktop/images/19012025/18/08/image_19012025_18_08_02_698855_0001.jpg', '/home/pi/Desktop/images/19012025/18/08/image_19012025_18_08_02_698855_0002.jpg', '/home/pi/Desktop/images/19012025/18/08/image_19012025_18_08_02_698855_0003.jpg', '/home/pi/Desktop/images/19012025/18/09/image_19012025_18_09_02_847095_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/18/07/image_19012025_18_07_02_435645_0003.jpg
/home/pi/Desktop/images/19012025/18/08/image_19012025_18_08_02_698855_0000.jpg
/home/pi/Desktop/images/19012025/18/08/image_19012025_18_08_02_698855_0001.jpg
/home/pi/Desktop/images/19012025/18/08/image_19012025_18_08_02_698855_0002.jpg
/home/pi/Desktop/images/19012025/18/08/image_19012025_18_08_02_698855_0003.jpg
/home/pi/Desktop/images/19012025/18/09/image_19012025_18_09_02_847095_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":["1330092974","1330092968","1330092970","1330092963","1330092972","1330092966"],"photo_ids_order":["1330092963","1330092966","1330092968","1330092970","1330092972","1330092974"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/52ae951cadb6322774a801e7aff8406f.jpg","text":"TemporaryFile(/tmp/multipartBody1333465005276996679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737306639028,"filename":"image_19012025_18_09_02_847095_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/542c3c83e931e661592b04c97644971f.jpg","text":"TemporaryFile(/tmp/multipartBody8539070201520346662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737306639028,"filename":"image_19012025_18_08_02_698855_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/cc2ca696f1fb34585daa65b62895c516.jpg","text":"TemporaryFile(/tmp/multipartBody2034284628468138988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737306639028,"filename":"image_19012025_18_08_02_698855_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/7b821ba22189962d7852ca1859eb4d87.jpg","text":"TemporaryFile(/tmp/multipartBody4606701401959326517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737306639028,"filename":"image_19012025_18_07_02_435645_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/4379e02d52619a79857ac84eb3d80b56.jpg","text":"TemporaryFile(/tmp/multipartBody1714713715158385924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737306639028,"filename":"image_19012025_18_08_02_698855_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/929f6ea86035d83101a9390efa4fa71d.jpg","text":"TemporaryFile(/tmp/multipartBody7100131806243093269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737306639028,"filename":"image_19012025_18_08_02_698855_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330092968","file1":"1330092966","file0":"1330092963","file4":"1330092972","file5":"1330092974","file3":"1330092970"},"map_files_photo_id_array":[{"photo_id":"1330092974","filename":"file5"},{"photo_id":"1330092968","filename":"file2"},{"photo_id":"1330092972","filename":"file4"},{"photo_id":"1330092966","filename":"file1"},{"photo_id":"1330092963","filename":"file0"},{"photo_id":"1330092970","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330092974":["hashtag1","hashtag2"]},{"1330092968":["hashtag1","hashtag2"]},{"1330092970":["hashtag1","hashtag2"]},{"1330092963":["hashtag1","hashtag2"]},{"1330092972":["hashtag1","hashtag2"]},{"1330092966":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330092974, 1330092968, 1330092970, 1330092963, 1330092972, 1330092966)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.13911461830139 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 18:10:21.929340
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/18/09/image_19012025_18_09_02_847095_0001.jpg', '/home/pi/Desktop/images/19012025/18/09/image_19012025_18_09_02_847095_0002.jpg', '/home/pi/Desktop/images/19012025/18/10/image_19012025_18_10_03_050366_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/18/09/image_19012025_18_09_02_847095_0001.jpg
/home/pi/Desktop/images/19012025/18/09/image_19012025_18_09_02_847095_0002.jpg
/home/pi/Desktop/images/19012025/18/10/image_19012025_18_10_03_050366_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330093007","1330093009","1330093012"],"photo_ids_order":["1330093007","1330093009","1330093012"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/b6377dc26f9a7ecbed56d850b3511efe.jpg","text":"TemporaryFile(/tmp/multipartBody6192781236828980013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737306690109,"filename":"image_19012025_18_09_02_847095_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/219dc3e87833c4c5aebffd3fcaadb049.jpg","text":"TemporaryFile(/tmp/multipartBody6783655055578159991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737306690109,"filename":"image_19012025_18_09_02_847095_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/133004f4b1d33c346ec70670eb24faa6.jpg","text":"TemporaryFile(/tmp/multipartBody1855760309179845437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737306690109,"filename":"image_19012025_18_10_03_050366_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330093012","file1":"1330093009","file0":"1330093007"},"map_files_photo_id_array":[{"photo_id":"1330093012","filename":"file2"},{"photo_id":"1330093009","filename":"file1"},{"photo_id":"1330093007","filename":"file0"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330093007":["hashtag1","hashtag2"]},{"1330093009":["hashtag1","hashtag2"]},{"1330093012":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330093007, 1330093009, 1330093012)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.256357431411743 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 18:11:02.591253
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
  port_id : 19698700
  datou_current_id : 2490825
in upload_from_sqlite, uploading in 19698700
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17012025/23/56/image_17012025_23_56_02_802306_0003.jpg', '/home/pi/Desktop/images/17012025/23/57/image_17012025_23_57_03_023084_0000.jpg', '/home/pi/Desktop/images/17012025/23/57/image_17012025_23_57_03_023084_0001.jpg', '/home/pi/Desktop/images/17012025/23/57/image_17012025_23_57_03_023084_0002.jpg', '/home/pi/Desktop/images/17012025/23/57/image_17012025_23_57_03_023084_0003.jpg', '/home/pi/Desktop/images/17012025/23/58/image_17012025_23_58_02_191145_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2490825&datou=0
/home/pi/Desktop/images/17012025/23/56/image_17012025_23_56_02_802306_0003.jpg
/home/pi/Desktop/images/17012025/23/57/image_17012025_23_57_03_023084_0000.jpg
/home/pi/Desktop/images/17012025/23/57/image_17012025_23_57_03_023084_0001.jpg
/home/pi/Desktop/images/17012025/23/57/image_17012025_23_57_03_023084_0002.jpg
/home/pi/Desktop/images/17012025/23/57/image_17012025_23_57_03_023084_0003.jpg
/home/pi/Desktop/images/17012025/23/58/image_17012025_23_58_02_191145_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":["1330093028","1330093039","1330093033","1330093036","1330093030","1330093041"],"photo_ids_order":["1330093028","1330093030","1330093033","1330093036","1330093039","1330093041"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/05433247c8967235a086fd96f941b2af.jpg","text":"TemporaryFile(/tmp/multipartBody4509080501827123461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737306739996,"filename":"image_17012025_23_56_02_802306_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/bcce3fdbf26c12fcbf42be1bd768cc60.jpg","text":"TemporaryFile(/tmp/multipartBody2617275866025242979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737306739996,"filename":"image_17012025_23_57_03_023084_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/687b575903b9797e7bc5c55dc5641232.jpg","text":"TemporaryFile(/tmp/multipartBody7829373153833252725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737306739996,"filename":"image_17012025_23_57_03_023084_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/7c8de311dd5d54d828ef6908bd18bdc3.jpg","text":"TemporaryFile(/tmp/multipartBody6285861326636990070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737306739996,"filename":"image_17012025_23_57_03_023084_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/373ec84a08fe1efa91a5f4bbefb21ff0.jpg","text":"TemporaryFile(/tmp/multipartBody7361165838858498014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737306739996,"filename":"image_17012025_23_57_03_023084_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/da36d05a41ba80aafbfa959dd711ffdc.jpg","text":"TemporaryFile(/tmp/multipartBody6995816271719767089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737306739996,"filename":"image_17012025_23_58_02_191145_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330093033","file1":"1330093030","file0":"1330093028","file4":"1330093039","file5":"1330093041","file3":"1330093036"},"map_files_photo_id_array":[{"photo_id":"1330093041","filename":"file5"},{"photo_id":"1330093033","filename":"file2"},{"photo_id":"1330093039","filename":"file4"},{"photo_id":"1330093030","filename":"file1"},{"photo_id":"1330093028","filename":"file0"},{"photo_id":"1330093036","filename":"file3"}],"portfolio_id":19698700,"hashtag_by_photo_ids":[{"1330093028":["hashtag1","hashtag2"]},{"1330093039":["hashtag1","hashtag2"]},{"1330093033":["hashtag1","hashtag2"]},{"1330093036":["hashtag1","hashtag2"]},{"1330093030":["hashtag1","hashtag2"]},{"1330093041":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698700 used, photo_id : ArrayBuffer(1330093028, 1330093039, 1330093033, 1330093036, 1330093030, 1330093041)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.01463270187378 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 18:12:22.139445
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/18/10/image_19012025_18_10_03_050366_0003.jpg', '/home/pi/Desktop/images/19012025/18/11/image_19012025_18_11_02_155194_0000.jpg', '/home/pi/Desktop/images/19012025/18/11/image_19012025_18_11_02_155194_0001.jpg', '/home/pi/Desktop/images/19012025/18/11/image_19012025_18_11_02_155194_0002.jpg', '/home/pi/Desktop/images/19012025/18/11/image_19012025_18_11_02_155194_0003.jpg', '/home/pi/Desktop/images/19012025/18/12/image_19012025_18_12_02_315445_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/18/10/image_19012025_18_10_03_050366_0003.jpg
/home/pi/Desktop/images/19012025/18/11/image_19012025_18_11_02_155194_0000.jpg
/home/pi/Desktop/images/19012025/18/11/image_19012025_18_11_02_155194_0001.jpg
/home/pi/Desktop/images/19012025/18/11/image_19012025_18_11_02_155194_0002.jpg
/home/pi/Desktop/images/19012025/18/11/image_19012025_18_11_02_155194_0003.jpg
/home/pi/Desktop/images/19012025/18/12/image_19012025_18_12_02_315445_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: 16.339333534240723 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-19 18:12:42.271654
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/18/10/image_19012025_18_10_03_050366_0003.jpg', '/home/pi/Desktop/images/19012025/18/11/image_19012025_18_11_02_155194_0000.jpg', '/home/pi/Desktop/images/19012025/18/11/image_19012025_18_11_02_155194_0001.jpg', '/home/pi/Desktop/images/19012025/18/11/image_19012025_18_11_02_155194_0002.jpg', '/home/pi/Desktop/images/19012025/18/11/image_19012025_18_11_02_155194_0003.jpg', '/home/pi/Desktop/images/19012025/18/12/image_19012025_18_12_02_315445_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/18/10/image_19012025_18_10_03_050366_0003.jpg
/home/pi/Desktop/images/19012025/18/11/image_19012025_18_11_02_155194_0000.jpg
/home/pi/Desktop/images/19012025/18/11/image_19012025_18_11_02_155194_0001.jpg
/home/pi/Desktop/images/19012025/18/11/image_19012025_18_11_02_155194_0002.jpg
/home/pi/Desktop/images/19012025/18/11/image_19012025_18_11_02_155194_0003.jpg
/home/pi/Desktop/images/19012025/18/12/image_19012025_18_12_02_315445_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":["1330093067","1330093061","1330093064","1330093058","1330093063","1330093066"],"photo_ids_order":["1330093058","1330093061","1330093063","1330093064","1330093066","1330093067"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/c148bb1e94e68e323e376b6c212be834.jpg","text":"TemporaryFile(/tmp/multipartBody6518904460196792270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737306839055,"filename":"image_19012025_18_12_02_315445_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/0d7f97642601d7c687d077898a5b9cd0.jpg","text":"TemporaryFile(/tmp/multipartBody3369584749348589317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737306839055,"filename":"image_19012025_18_11_02_155194_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/c4354d50959922878f6ccb5b24e2a037.jpg","text":"TemporaryFile(/tmp/multipartBody7807166332996751291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737306839055,"filename":"image_19012025_18_11_02_155194_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/1f9506e89b0170bcf1dd41f352725ac7.jpg","text":"TemporaryFile(/tmp/multipartBody8543589307894273240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737306839055,"filename":"image_19012025_18_10_03_050366_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/c48c173580421fb572bf32ed65f46cb6.jpg","text":"TemporaryFile(/tmp/multipartBody5826013765670714589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737306839055,"filename":"image_19012025_18_11_02_155194_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/af1e90daf1dd3e42b99be6c50734c896.jpg","text":"TemporaryFile(/tmp/multipartBody7627507915821425485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737306839055,"filename":"image_19012025_18_11_02_155194_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330093063","file1":"1330093061","file0":"1330093058","file4":"1330093066","file5":"1330093067","file3":"1330093064"},"map_files_photo_id_array":[{"photo_id":"1330093067","filename":"file5"},{"photo_id":"1330093063","filename":"file2"},{"photo_id":"1330093066","filename":"file4"},{"photo_id":"1330093061","filename":"file1"},{"photo_id":"1330093058","filename":"file0"},{"photo_id":"1330093064","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330093067":["hashtag1","hashtag2"]},{"1330093061":["hashtag1","hashtag2"]},{"1330093064":["hashtag1","hashtag2"]},{"1330093058":["hashtag1","hashtag2"]},{"1330093063":["hashtag1","hashtag2"]},{"1330093066":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330093067, 1330093061, 1330093064, 1330093058, 1330093063, 1330093066)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.807541370391846 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-19 18:13:42.396045
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/18/12/image_19012025_18_12_02_315445_0001.jpg', '/home/pi/Desktop/images/19012025/18/12/image_19012025_18_12_02_315445_0002.jpg', '/home/pi/Desktop/images/19012025/18/12/image_19012025_18_12_02_315445_0003.jpg', '/home/pi/Desktop/images/19012025/18/13/image_19012025_18_13_02_552827_0000.jpg', '/home/pi/Desktop/images/19012025/18/13/image_19012025_18_13_02_552827_0001.jpg', '/home/pi/Desktop/images/19012025/18/13/image_19012025_18_13_02_552827_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/18/12/image_19012025_18_12_02_315445_0001.jpg
/home/pi/Desktop/images/19012025/18/12/image_19012025_18_12_02_315445_0002.jpg
/home/pi/Desktop/images/19012025/18/12/image_19012025_18_12_02_315445_0003.jpg
/home/pi/Desktop/images/19012025/18/13/image_19012025_18_13_02_552827_0000.jpg
/home/pi/Desktop/images/19012025/18/13/image_19012025_18_13_02_552827_0001.jpg
/home/pi/Desktop/images/19012025/18/13/image_19012025_18_13_02_552827_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 16.479241371154785 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 18:14:03.018092
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/18/12/image_19012025_18_12_02_315445_0001.jpg', '/home/pi/Desktop/images/19012025/18/12/image_19012025_18_12_02_315445_0002.jpg', '/home/pi/Desktop/images/19012025/18/12/image_19012025_18_12_02_315445_0003.jpg', '/home/pi/Desktop/images/19012025/18/13/image_19012025_18_13_02_552827_0000.jpg', '/home/pi/Desktop/images/19012025/18/13/image_19012025_18_13_02_552827_0001.jpg', '/home/pi/Desktop/images/19012025/18/13/image_19012025_18_13_02_552827_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/18/12/image_19012025_18_12_02_315445_0001.jpg
/home/pi/Desktop/images/19012025/18/12/image_19012025_18_12_02_315445_0002.jpg
/home/pi/Desktop/images/19012025/18/12/image_19012025_18_12_02_315445_0003.jpg
/home/pi/Desktop/images/19012025/18/13/image_19012025_18_13_02_552827_0000.jpg
/home/pi/Desktop/images/19012025/18/13/image_19012025_18_13_02_552827_0001.jpg
/home/pi/Desktop/images/19012025/18/13/image_19012025_18_13_02_552827_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330093205","1330093208","1330093191","1330093203","1330093196","1330093199"],"photo_ids_order":["1330093191","1330093196","1330093199","1330093203","1330093205","1330093208"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/326f6a9c89d7e3ac611a5a24a77fbf31.jpg","text":"TemporaryFile(/tmp/multipartBody7625182007699651696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737306919920,"filename":"image_19012025_18_13_02_552827_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/672ffff523b62ec9fd6fae47b1148c8a.jpg","text":"TemporaryFile(/tmp/multipartBody3415568959635009806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737306919920,"filename":"image_19012025_18_13_02_552827_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/021aef556e7b1e651cdd4f57a29ee7e7.jpg","text":"TemporaryFile(/tmp/multipartBody6059519551568800207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737306919920,"filename":"image_19012025_18_12_02_315445_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/b68708d063888d4e214b9c5ee3c92abe.jpg","text":"TemporaryFile(/tmp/multipartBody2204623384547045487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737306919920,"filename":"image_19012025_18_13_02_552827_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/db43757ee9ba02d54820c70c35d1f079.jpg","text":"TemporaryFile(/tmp/multipartBody7909000173772568907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737306919920,"filename":"image_19012025_18_12_02_315445_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/46f079d4da4532328b76db794d3b0014.jpg","text":"TemporaryFile(/tmp/multipartBody883617717370346753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737306919920,"filename":"image_19012025_18_12_02_315445_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330093199","file1":"1330093196","file0":"1330093191","file4":"1330093205","file5":"1330093208","file3":"1330093203"},"map_files_photo_id_array":[{"photo_id":"1330093208","filename":"file5"},{"photo_id":"1330093199","filename":"file2"},{"photo_id":"1330093205","filename":"file4"},{"photo_id":"1330093196","filename":"file1"},{"photo_id":"1330093191","filename":"file0"},{"photo_id":"1330093203","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330093205":["hashtag1","hashtag2"]},{"1330093208":["hashtag1","hashtag2"]},{"1330093191":["hashtag1","hashtag2"]},{"1330093203":["hashtag1","hashtag2"]},{"1330093196":["hashtag1","hashtag2"]},{"1330093199":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330093205, 1330093208, 1330093191, 1330093203, 1330093196, 1330093199)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.83378744125366 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 18:15:03.275275
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/18/13/image_19012025_18_13_02_552827_0003.jpg', '/home/pi/Desktop/images/19012025/18/14/image_19012025_18_14_02_726464_0000.jpg', '/home/pi/Desktop/images/19012025/18/14/image_19012025_18_14_02_726464_0001.jpg', '/home/pi/Desktop/images/19012025/18/14/image_19012025_18_14_02_726464_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/18/13/image_19012025_18_13_02_552827_0003.jpg
/home/pi/Desktop/images/19012025/18/14/image_19012025_18_14_02_726464_0000.jpg
/home/pi/Desktop/images/19012025/18/14/image_19012025_18_14_02_726464_0001.jpg
/home/pi/Desktop/images/19012025/18/14/image_19012025_18_14_02_726464_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330093319","1330093318","1330093321","1330093323"],"photo_ids_order":["1330093318","1330093319","1330093321","1330093323"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/4179b74c6b78355657a3074e10a9096c.jpg","text":"TemporaryFile(/tmp/multipartBody1517544055361115116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737306974692,"filename":"image_19012025_18_14_02_726464_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/04b3eafc2a117c4023c7dac91cdc14d6.jpg","text":"TemporaryFile(/tmp/multipartBody4760241202939168386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737306974692,"filename":"image_19012025_18_13_02_552827_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/9dc0743d5922df47262b10b21328105d.jpg","text":"TemporaryFile(/tmp/multipartBody5592703920049704293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737306974692,"filename":"image_19012025_18_14_02_726464_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/38d3b1f01c763629743bd809c399081a.jpg","text":"TemporaryFile(/tmp/multipartBody3810477812126124555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737306974692,"filename":"image_19012025_18_14_02_726464_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330093321","file1":"1330093319","file0":"1330093318","file3":"1330093323"},"map_files_photo_id_array":[{"photo_id":"1330093321","filename":"file2"},{"photo_id":"1330093319","filename":"file1"},{"photo_id":"1330093318","filename":"file0"},{"photo_id":"1330093323","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330093319":["hashtag1","hashtag2"]},{"1330093318":["hashtag1","hashtag2"]},{"1330093321":["hashtag1","hashtag2"]},{"1330093323":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330093319, 1330093318, 1330093321, 1330093323)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.64564561843872 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-19 18:15:52.668149
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/18/14/image_19012025_18_14_02_726464_0003.jpg', '/home/pi/Desktop/images/19012025/18/15/image_19012025_18_15_02_948237_0000.jpg', '/home/pi/Desktop/images/19012025/18/15/image_19012025_18_15_02_948237_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/18/14/image_19012025_18_14_02_726464_0003.jpg
/home/pi/Desktop/images/19012025/18/15/image_19012025_18_15_02_948237_0000.jpg
/home/pi/Desktop/images/19012025/18/15/image_19012025_18_15_02_948237_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":["1330093331","1330093587","1330093443"],"photo_ids_order":["1330093331","1330093443","1330093587"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/0c38498030b8e3b9d9b8eb3fd0ac10b2.jpg","text":"TemporaryFile(/tmp/multipartBody2539541020762096737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737307021417,"filename":"image_19012025_18_14_02_726464_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/8dc65a2415fceb3cd0c945b7696bdae3.jpg","text":"TemporaryFile(/tmp/multipartBody1497266425409552548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737307021417,"filename":"image_19012025_18_15_02_948237_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/6f4d0fb9c1714100aacc6df9c0be8934.jpg","text":"TemporaryFile(/tmp/multipartBody6713378842746561593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737307021417,"filename":"image_19012025_18_15_02_948237_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330093587","file1":"1330093443","file0":"1330093331"},"map_files_photo_id_array":[{"photo_id":"1330093587","filename":"file2"},{"photo_id":"1330093443","filename":"file1"},{"photo_id":"1330093331","filename":"file0"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330093331":["hashtag1","hashtag2"]},{"1330093587":["hashtag1","hashtag2"]},{"1330093443":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330093331, 1330093587, 1330093443)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 32.28758454322815 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-19 18:16:31.929486
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/18/15/image_19012025_18_15_02_948237_0003.jpg', '/home/pi/Desktop/images/19012025/18/16/image_19012025_18_16_03_079841_0000.jpg', '/home/pi/Desktop/images/19012025/18/16/image_19012025_18_16_03_079841_0001.jpg', '/home/pi/Desktop/images/19012025/18/16/image_19012025_18_16_03_079841_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/18/15/image_19012025_18_15_02_948237_0003.jpg
/home/pi/Desktop/images/19012025/18/16/image_19012025_18_16_03_079841_0000.jpg
/home/pi/Desktop/images/19012025/18/16/image_19012025_18_16_03_079841_0001.jpg
/home/pi/Desktop/images/19012025/18/16/image_19012025_18_16_03_079841_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330093763","1330093850","1330093739","1330093735"],"photo_ids_order":["1330093735","1330093739","1330093763","1330093850"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/0f90b721fe9cf5aeff8590eb10ddb894.jpg","text":"TemporaryFile(/tmp/multipartBody1120675339511639917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737307063921,"filename":"image_19012025_18_16_03_079841_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/0d22faf99a2a060fe0d53e92de824208.jpg","text":"TemporaryFile(/tmp/multipartBody6512927976941815465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737307063921,"filename":"image_19012025_18_16_03_079841_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/84d4caa9bdc9e5caf8387e7bcdf9a2a5.jpg","text":"TemporaryFile(/tmp/multipartBody8964543061225651320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737307063921,"filename":"image_19012025_18_16_03_079841_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/6b52661c17f28eff9554c5eea05647f7.jpg","text":"TemporaryFile(/tmp/multipartBody2029804475939820247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737307063921,"filename":"image_19012025_18_15_02_948237_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330093763","file1":"1330093739","file0":"1330093735","file3":"1330093850"},"map_files_photo_id_array":[{"photo_id":"1330093763","filename":"file2"},{"photo_id":"1330093739","filename":"file1"},{"photo_id":"1330093735","filename":"file0"},{"photo_id":"1330093850","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330093763":["hashtag1","hashtag2"]},{"1330093850":["hashtag1","hashtag2"]},{"1330093739":["hashtag1","hashtag2"]},{"1330093735":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330093763, 1330093850, 1330093739, 1330093735)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.934122800827026 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 18:17:22.039016
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/18/16/image_19012025_18_16_03_079841_0003.jpg', '/home/pi/Desktop/images/19012025/18/17/image_19012025_18_17_02_302273_0000.jpg', '/home/pi/Desktop/images/19012025/18/17/image_19012025_18_17_02_302273_0001.jpg', '/home/pi/Desktop/images/19012025/18/17/image_19012025_18_17_02_302273_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/18/16/image_19012025_18_16_03_079841_0003.jpg
/home/pi/Desktop/images/19012025/18/17/image_19012025_18_17_02_302273_0000.jpg
/home/pi/Desktop/images/19012025/18/17/image_19012025_18_17_02_302273_0001.jpg
/home/pi/Desktop/images/19012025/18/17/image_19012025_18_17_02_302273_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330094120","1330094044","1330094130","1330094046"],"photo_ids_order":["1330094044","1330094046","1330094120","1330094130"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/a1e1b89426f5476a95a7853522b7f7e6.jpg","text":"TemporaryFile(/tmp/multipartBody345366206154977254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737307117505,"filename":"image_19012025_18_17_02_302273_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/1a19b6335c9601d6c853bf3a7f38467e.jpg","text":"TemporaryFile(/tmp/multipartBody3751725309792710418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737307117505,"filename":"image_19012025_18_16_03_079841_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/95a029a23216a2f604ed78ae990393ab.jpg","text":"TemporaryFile(/tmp/multipartBody1101596395667770264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737307117505,"filename":"image_19012025_18_17_02_302273_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/6e6a48d60ab72dc2383601ec894f340e.jpg","text":"TemporaryFile(/tmp/multipartBody4323173562625400501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737307117505,"filename":"image_19012025_18_17_02_302273_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330094120","file1":"1330094046","file0":"1330094044","file3":"1330094130"},"map_files_photo_id_array":[{"photo_id":"1330094120","filename":"file2"},{"photo_id":"1330094046","filename":"file1"},{"photo_id":"1330094044","filename":"file0"},{"photo_id":"1330094130","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330094120":["hashtag1","hashtag2"]},{"1330094044":["hashtag1","hashtag2"]},{"1330094130":["hashtag1","hashtag2"]},{"1330094046":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330094120, 1330094044, 1330094130, 1330094046)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.718953371047974 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 18:18:22.238348
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/18/17/image_19012025_18_17_02_302273_0003.jpg', '/home/pi/Desktop/images/19012025/18/18/image_19012025_18_18_02_465647_0000.jpg', '/home/pi/Desktop/images/19012025/18/18/image_19012025_18_18_02_465647_0001.jpg', '/home/pi/Desktop/images/19012025/18/18/image_19012025_18_18_02_465647_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/18/17/image_19012025_18_17_02_302273_0003.jpg
/home/pi/Desktop/images/19012025/18/18/image_19012025_18_18_02_465647_0000.jpg
/home/pi/Desktop/images/19012025/18/18/image_19012025_18_18_02_465647_0001.jpg
/home/pi/Desktop/images/19012025/18/18/image_19012025_18_18_02_465647_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.724961996078491 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-19 18:18:42.272181
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/18/17/image_19012025_18_17_02_302273_0003.jpg', '/home/pi/Desktop/images/19012025/18/18/image_19012025_18_18_02_465647_0000.jpg', '/home/pi/Desktop/images/19012025/18/18/image_19012025_18_18_02_465647_0001.jpg', '/home/pi/Desktop/images/19012025/18/18/image_19012025_18_18_02_465647_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/18/17/image_19012025_18_17_02_302273_0003.jpg
/home/pi/Desktop/images/19012025/18/18/image_19012025_18_18_02_465647_0000.jpg
/home/pi/Desktop/images/19012025/18/18/image_19012025_18_18_02_465647_0001.jpg
/home/pi/Desktop/images/19012025/18/18/image_19012025_18_18_02_465647_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":["1330094185","1330094187","1330094189","1330094183"],"photo_ids_order":["1330094183","1330094185","1330094187","1330094189"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/02a0fe860221139f480b47ef35736246.jpg","text":"TemporaryFile(/tmp/multipartBody3910674496028374239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737307193374,"filename":"image_19012025_18_18_02_465647_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/cb2ed1696443223b0c3c7c968212269b.jpg","text":"TemporaryFile(/tmp/multipartBody3898342577721874761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737307193374,"filename":"image_19012025_18_18_02_465647_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/e5a81e8fb3d361f8ec7681467fae14d6.jpg","text":"TemporaryFile(/tmp/multipartBody157797615221729255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737307193374,"filename":"image_19012025_18_18_02_465647_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/97267e2147ee91efe4b3e18467d1ab0f.jpg","text":"TemporaryFile(/tmp/multipartBody6353256375747117285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737307193374,"filename":"image_19012025_18_17_02_302273_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330094187","file1":"1330094185","file0":"1330094183","file3":"1330094189"},"map_files_photo_id_array":[{"photo_id":"1330094187","filename":"file2"},{"photo_id":"1330094185","filename":"file1"},{"photo_id":"1330094183","filename":"file0"},{"photo_id":"1330094189","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330094185":["hashtag1","hashtag2"]},{"1330094187":["hashtag1","hashtag2"]},{"1330094189":["hashtag1","hashtag2"]},{"1330094183":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330094185, 1330094187, 1330094189, 1330094183)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.90016794204712 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 18:19:22.597963
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/18/18/image_19012025_18_18_02_465647_0003.jpg', '/home/pi/Desktop/images/19012025/18/19/image_19012025_18_19_02_655293_0000.jpg', '/home/pi/Desktop/images/19012025/18/19/image_19012025_18_19_02_655293_0001.jpg', '/home/pi/Desktop/images/19012025/18/19/image_19012025_18_19_02_655293_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/18/18/image_19012025_18_18_02_465647_0003.jpg
/home/pi/Desktop/images/19012025/18/19/image_19012025_18_19_02_655293_0000.jpg
/home/pi/Desktop/images/19012025/18/19/image_19012025_18_19_02_655293_0001.jpg
/home/pi/Desktop/images/19012025/18/19/image_19012025_18_19_02_655293_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330094251","1330094209","1330094214","1330094211"],"photo_ids_order":["1330094209","1330094211","1330094214","1330094251"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/3c7c4a064c73d1f58581100d2e3bc3ff.jpg","text":"TemporaryFile(/tmp/multipartBody5624316235491115998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737307233910,"filename":"image_19012025_18_19_02_655293_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/a52baa3c20fef8d292461fad5155f74b.jpg","text":"TemporaryFile(/tmp/multipartBody1819989699278406415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737307233910,"filename":"image_19012025_18_18_02_465647_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/64b0c02df61be09b3e5c9abd7cc12509.jpg","text":"TemporaryFile(/tmp/multipartBody7380194392103995754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737307233910,"filename":"image_19012025_18_19_02_655293_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/10c0ba7d6ad1291e53263b6b2245ad8b.jpg","text":"TemporaryFile(/tmp/multipartBody1226913430363037950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737307233910,"filename":"image_19012025_18_19_02_655293_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330094214","file1":"1330094211","file0":"1330094209","file3":"1330094251"},"map_files_photo_id_array":[{"photo_id":"1330094214","filename":"file2"},{"photo_id":"1330094211","filename":"file1"},{"photo_id":"1330094209","filename":"file0"},{"photo_id":"1330094251","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330094251":["hashtag1","hashtag2"]},{"1330094209":["hashtag1","hashtag2"]},{"1330094214":["hashtag1","hashtag2"]},{"1330094211":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330094251, 1330094209, 1330094214, 1330094211)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.291324853897095 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 18:20:22.635152
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/18/19/image_19012025_18_19_02_655293_0003.jpg', '/home/pi/Desktop/images/19012025/18/20/image_19012025_18_20_02_829319_0000.jpg', '/home/pi/Desktop/images/19012025/18/20/image_19012025_18_20_02_829319_0001.jpg', '/home/pi/Desktop/images/19012025/18/20/image_19012025_18_20_02_829319_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/18/19/image_19012025_18_19_02_655293_0003.jpg
/home/pi/Desktop/images/19012025/18/20/image_19012025_18_20_02_829319_0000.jpg
/home/pi/Desktop/images/19012025/18/20/image_19012025_18_20_02_829319_0001.jpg
/home/pi/Desktop/images/19012025/18/20/image_19012025_18_20_02_829319_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330094266","1330094263","1330094268","1330094261"],"photo_ids_order":["1330094261","1330094263","1330094266","1330094268"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/db06b439d6e607515d51d66208b9855c.jpg","text":"TemporaryFile(/tmp/multipartBody3351376892862676118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737307293955,"filename":"image_19012025_18_20_02_829319_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/30804df6cb2456e02f30777d5f6443dc.jpg","text":"TemporaryFile(/tmp/multipartBody47912009380887561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737307293955,"filename":"image_19012025_18_20_02_829319_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/f7a4aff7238c45e125b478c7dea62d69.jpg","text":"TemporaryFile(/tmp/multipartBody3190768913352528752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737307293955,"filename":"image_19012025_18_20_02_829319_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/410363006e059e9fd6c94c326d705778.jpg","text":"TemporaryFile(/tmp/multipartBody5499242103713246042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737307293955,"filename":"image_19012025_18_19_02_655293_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330094266","file1":"1330094263","file0":"1330094261","file3":"1330094268"},"map_files_photo_id_array":[{"photo_id":"1330094266","filename":"file2"},{"photo_id":"1330094263","filename":"file1"},{"photo_id":"1330094261","filename":"file0"},{"photo_id":"1330094268","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330094266":["hashtag1","hashtag2"]},{"1330094263":["hashtag1","hashtag2"]},{"1330094268":["hashtag1","hashtag2"]},{"1330094261":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330094266, 1330094263, 1330094268, 1330094261)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.388903856277466 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 18:21:21.850914
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/18/20/image_19012025_18_20_02_829319_0003.jpg', '/home/pi/Desktop/images/19012025/18/21/image_19012025_18_21_02_995941_0000.jpg', '/home/pi/Desktop/images/19012025/18/21/image_19012025_18_21_02_995941_0001.jpg', '/home/pi/Desktop/images/19012025/18/21/image_19012025_18_21_02_995941_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/18/20/image_19012025_18_20_02_829319_0003.jpg
/home/pi/Desktop/images/19012025/18/21/image_19012025_18_21_02_995941_0000.jpg
/home/pi/Desktop/images/19012025/18/21/image_19012025_18_21_02_995941_0001.jpg
/home/pi/Desktop/images/19012025/18/21/image_19012025_18_21_02_995941_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330094278","1330094280","1330094274","1330094282"],"photo_ids_order":["1330094274","1330094278","1330094280","1330094282"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/3d3b67920ebcdce0775ab562f2066577.jpg","text":"TemporaryFile(/tmp/multipartBody3217742977127226655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737307352936,"filename":"image_19012025_18_21_02_995941_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/00d76efe8df7e700a9310a9d27cb2997.jpg","text":"TemporaryFile(/tmp/multipartBody6745707810319594905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737307352936,"filename":"image_19012025_18_21_02_995941_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/806db0e187fbbadcc75e9e4669fc09ff.jpg","text":"TemporaryFile(/tmp/multipartBody7973944082313498263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737307352936,"filename":"image_19012025_18_20_02_829319_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/588aa46ec68888966be1545a77836f0a.jpg","text":"TemporaryFile(/tmp/multipartBody5224084797252840719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737307352936,"filename":"image_19012025_18_21_02_995941_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330094280","file1":"1330094278","file0":"1330094274","file3":"1330094282"},"map_files_photo_id_array":[{"photo_id":"1330094280","filename":"file2"},{"photo_id":"1330094278","filename":"file1"},{"photo_id":"1330094274","filename":"file0"},{"photo_id":"1330094282","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330094278":["hashtag1","hashtag2"]},{"1330094280":["hashtag1","hashtag2"]},{"1330094274":["hashtag1","hashtag2"]},{"1330094282":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330094278, 1330094280, 1330094274, 1330094282)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.366029024124146 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 18:22:22.081936
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/18/21/image_19012025_18_21_02_995941_0003.jpg', '/home/pi/Desktop/images/19012025/18/22/image_19012025_18_22_02_278060_0000.jpg', '/home/pi/Desktop/images/19012025/18/22/image_19012025_18_22_02_278060_0001.jpg', '/home/pi/Desktop/images/19012025/18/22/image_19012025_18_22_02_278060_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/18/21/image_19012025_18_21_02_995941_0003.jpg
/home/pi/Desktop/images/19012025/18/22/image_19012025_18_22_02_278060_0000.jpg
/home/pi/Desktop/images/19012025/18/22/image_19012025_18_22_02_278060_0001.jpg
/home/pi/Desktop/images/19012025/18/22/image_19012025_18_22_02_278060_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330094329","1330094332","1330094340","1330094336"],"photo_ids_order":["1330094329","1330094332","1330094336","1330094340"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/cc8ba142aa16e59583cb6795201115b9.jpg","text":"TemporaryFile(/tmp/multipartBody3543706822172555312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737307413375,"filename":"image_19012025_18_21_02_995941_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/bfd534a501600e2f7ddd7ce862f52fb8.jpg","text":"TemporaryFile(/tmp/multipartBody1491932703350128964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737307413375,"filename":"image_19012025_18_22_02_278060_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/89046af499095f36bbef952e5f26ba17.jpg","text":"TemporaryFile(/tmp/multipartBody4142975843925578338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737307413375,"filename":"image_19012025_18_22_02_278060_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/4d57f8b51b01e3d78dc8a07c347d7975.jpg","text":"TemporaryFile(/tmp/multipartBody3448892217102315260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737307413375,"filename":"image_19012025_18_22_02_278060_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330094336","file1":"1330094332","file0":"1330094329","file3":"1330094340"},"map_files_photo_id_array":[{"photo_id":"1330094336","filename":"file2"},{"photo_id":"1330094332","filename":"file1"},{"photo_id":"1330094329","filename":"file0"},{"photo_id":"1330094340","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330094329":["hashtag1","hashtag2"]},{"1330094332":["hashtag1","hashtag2"]},{"1330094340":["hashtag1","hashtag2"]},{"1330094336":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330094329, 1330094332, 1330094340, 1330094336)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.70091700553894 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-19 18:23:22.261622
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/18/22/image_19012025_18_22_02_278060_0003.jpg', '/home/pi/Desktop/images/19012025/18/23/image_19012025_18_23_02_360209_0000.jpg', '/home/pi/Desktop/images/19012025/18/23/image_19012025_18_23_02_360209_0001.jpg', '/home/pi/Desktop/images/19012025/18/23/image_19012025_18_23_02_360209_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/18/22/image_19012025_18_22_02_278060_0003.jpg
/home/pi/Desktop/images/19012025/18/23/image_19012025_18_23_02_360209_0000.jpg
/home/pi/Desktop/images/19012025/18/23/image_19012025_18_23_02_360209_0001.jpg
/home/pi/Desktop/images/19012025/18/23/image_19012025_18_23_02_360209_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330094429","1330094408","1330094431","1330094424"],"photo_ids_order":["1330094408","1330094424","1330094429","1330094431"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/b1f30661be6afa2cb4940e8113538159.jpg","text":"TemporaryFile(/tmp/multipartBody1397325975068238326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737307473416,"filename":"image_19012025_18_23_02_360209_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/0072278ee386e71657b6ad795f93a4b2.jpg","text":"TemporaryFile(/tmp/multipartBody6551840627000849941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737307473416,"filename":"image_19012025_18_22_02_278060_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/e4fcbbf9316fa619782436bd179f7f38.jpg","text":"TemporaryFile(/tmp/multipartBody8313661198622743197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737307473416,"filename":"image_19012025_18_23_02_360209_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/ce2a74054433a13fb6c77e15120bfa82.jpg","text":"TemporaryFile(/tmp/multipartBody4938442407657410545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737307473416,"filename":"image_19012025_18_23_02_360209_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330094429","file1":"1330094424","file0":"1330094408","file3":"1330094431"},"map_files_photo_id_array":[{"photo_id":"1330094429","filename":"file2"},{"photo_id":"1330094424","filename":"file1"},{"photo_id":"1330094408","filename":"file0"},{"photo_id":"1330094431","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330094429":["hashtag1","hashtag2"]},{"1330094408":["hashtag1","hashtag2"]},{"1330094431":["hashtag1","hashtag2"]},{"1330094424":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330094429, 1330094408, 1330094431, 1330094424)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.259214639663696 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 18:24:22.481311
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/18/23/image_19012025_18_23_02_360209_0003.jpg', '/home/pi/Desktop/images/19012025/18/24/image_19012025_18_24_02_582020_0000.jpg', '/home/pi/Desktop/images/19012025/18/24/image_19012025_18_24_02_582020_0001.jpg', '/home/pi/Desktop/images/19012025/18/24/image_19012025_18_24_02_582020_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/18/23/image_19012025_18_23_02_360209_0003.jpg
/home/pi/Desktop/images/19012025/18/24/image_19012025_18_24_02_582020_0000.jpg
/home/pi/Desktop/images/19012025/18/24/image_19012025_18_24_02_582020_0001.jpg
/home/pi/Desktop/images/19012025/18/24/image_19012025_18_24_02_582020_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 11.15224552154541 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-19 18:24:42.455619
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/18/23/image_19012025_18_23_02_360209_0003.jpg', '/home/pi/Desktop/images/19012025/18/24/image_19012025_18_24_02_582020_0000.jpg', '/home/pi/Desktop/images/19012025/18/24/image_19012025_18_24_02_582020_0001.jpg', '/home/pi/Desktop/images/19012025/18/24/image_19012025_18_24_02_582020_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/18/23/image_19012025_18_23_02_360209_0003.jpg
/home/pi/Desktop/images/19012025/18/24/image_19012025_18_24_02_582020_0000.jpg
/home/pi/Desktop/images/19012025/18/24/image_19012025_18_24_02_582020_0001.jpg
/home/pi/Desktop/images/19012025/18/24/image_19012025_18_24_02_582020_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":["1330094691","1330094706","1330094591","1330094627"],"photo_ids_order":["1330094591","1330094627","1330094691","1330094706"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/57cd9a8115d5cb1007dcf67942085e65.jpg","text":"TemporaryFile(/tmp/multipartBody4183782649924047812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737307554015,"filename":"image_19012025_18_24_02_582020_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/0db7c135b5f0e4aab95d896e90823fb0.jpg","text":"TemporaryFile(/tmp/multipartBody6595696090997348742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737307554015,"filename":"image_19012025_18_24_02_582020_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/50a729d4c456918cdd9c9eb7b247d588.jpg","text":"TemporaryFile(/tmp/multipartBody4658253348167651375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737307554015,"filename":"image_19012025_18_23_02_360209_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/393020339d4bf37b68747cf4b1acedc8.jpg","text":"TemporaryFile(/tmp/multipartBody3046785819203710171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737307554015,"filename":"image_19012025_18_24_02_582020_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330094691","file1":"1330094627","file0":"1330094591","file3":"1330094706"},"map_files_photo_id_array":[{"photo_id":"1330094691","filename":"file2"},{"photo_id":"1330094627","filename":"file1"},{"photo_id":"1330094591","filename":"file0"},{"photo_id":"1330094706","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330094691":["hashtag1","hashtag2"]},{"1330094706":["hashtag1","hashtag2"]},{"1330094591":["hashtag1","hashtag2"]},{"1330094627":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330094691, 1330094706, 1330094591, 1330094627)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.9991672039032 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 18:25:22.611904
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/18/24/image_19012025_18_24_02_582020_0003.jpg', '/home/pi/Desktop/images/19012025/18/25/image_19012025_18_25_02_873430_0000.jpg', '/home/pi/Desktop/images/19012025/18/25/image_19012025_18_25_02_873430_0001.jpg', '/home/pi/Desktop/images/19012025/18/25/image_19012025_18_25_02_873430_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/18/24/image_19012025_18_24_02_582020_0003.jpg
/home/pi/Desktop/images/19012025/18/25/image_19012025_18_25_02_873430_0000.jpg
/home/pi/Desktop/images/19012025/18/25/image_19012025_18_25_02_873430_0001.jpg
/home/pi/Desktop/images/19012025/18/25/image_19012025_18_25_02_873430_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330094755","1330094758","1330094766","1330094762"],"photo_ids_order":["1330094755","1330094758","1330094762","1330094766"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/780ede5968108ab36f61c52c8459a48b.jpg","text":"TemporaryFile(/tmp/multipartBody9067481181971337149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737307593549,"filename":"image_19012025_18_24_02_582020_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/66af9160f13f2bf67b93f66abdbff73d.jpg","text":"TemporaryFile(/tmp/multipartBody8532657550049083893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737307593549,"filename":"image_19012025_18_25_02_873430_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/d7fed8677ce6264d96eb691916e244f8.jpg","text":"TemporaryFile(/tmp/multipartBody8498544041685991436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737307593549,"filename":"image_19012025_18_25_02_873430_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/43d27e497d7d928aec89b9dfa053337e.jpg","text":"TemporaryFile(/tmp/multipartBody8140439044116682290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737307593549,"filename":"image_19012025_18_25_02_873430_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330094762","file1":"1330094758","file0":"1330094755","file3":"1330094766"},"map_files_photo_id_array":[{"photo_id":"1330094762","filename":"file2"},{"photo_id":"1330094758","filename":"file1"},{"photo_id":"1330094755","filename":"file0"},{"photo_id":"1330094766","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330094755":["hashtag1","hashtag2"]},{"1330094758":["hashtag1","hashtag2"]},{"1330094766":["hashtag1","hashtag2"]},{"1330094762":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330094755, 1330094758, 1330094766, 1330094762)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.4970588684082 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 18:26:21.791553
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/18/25/image_19012025_18_25_02_873430_0003.jpg', '/home/pi/Desktop/images/19012025/18/26/image_19012025_18_26_03_051767_0000.jpg', '/home/pi/Desktop/images/19012025/18/26/image_19012025_18_26_03_051767_0001.jpg', '/home/pi/Desktop/images/19012025/18/26/image_19012025_18_26_03_051767_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/18/25/image_19012025_18_25_02_873430_0003.jpg
/home/pi/Desktop/images/19012025/18/26/image_19012025_18_26_03_051767_0000.jpg
/home/pi/Desktop/images/19012025/18/26/image_19012025_18_26_03_051767_0001.jpg
/home/pi/Desktop/images/19012025/18/26/image_19012025_18_26_03_051767_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330094782","1330094778","1330094775","1330094780"],"photo_ids_order":["1330094775","1330094778","1330094780","1330094782"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/28de887c53d18d6cff875d317198c1cf.jpg","text":"TemporaryFile(/tmp/multipartBody4782096728113896168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737307652997,"filename":"image_19012025_18_26_03_051767_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/40477a9418cc9e9e4533e5829457b33d.jpg","text":"TemporaryFile(/tmp/multipartBody3639791813230142203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737307652997,"filename":"image_19012025_18_26_03_051767_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/20eba64dd207dc4320cea38f6c8c6671.jpg","text":"TemporaryFile(/tmp/multipartBody6606573733180008580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737307652997,"filename":"image_19012025_18_25_02_873430_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/a9c30c97b8bc3aedb86a7aec12973634.jpg","text":"TemporaryFile(/tmp/multipartBody4023971271075746819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737307652997,"filename":"image_19012025_18_26_03_051767_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330094780","file1":"1330094778","file0":"1330094775","file3":"1330094782"},"map_files_photo_id_array":[{"photo_id":"1330094780","filename":"file2"},{"photo_id":"1330094778","filename":"file1"},{"photo_id":"1330094775","filename":"file0"},{"photo_id":"1330094782","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330094782":["hashtag1","hashtag2"]},{"1330094778":["hashtag1","hashtag2"]},{"1330094775":["hashtag1","hashtag2"]},{"1330094780":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330094782, 1330094778, 1330094775, 1330094780)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.26928210258484 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 18:27:21.905029
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/18/26/image_19012025_18_26_03_051767_0003.jpg', '/home/pi/Desktop/images/19012025/18/27/image_19012025_18_27_02_120481_0000.jpg', '/home/pi/Desktop/images/19012025/18/27/image_19012025_18_27_02_120481_0001.jpg', '/home/pi/Desktop/images/19012025/18/27/image_19012025_18_27_02_120481_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/18/26/image_19012025_18_26_03_051767_0003.jpg
/home/pi/Desktop/images/19012025/18/27/image_19012025_18_27_02_120481_0000.jpg
/home/pi/Desktop/images/19012025/18/27/image_19012025_18_27_02_120481_0001.jpg
/home/pi/Desktop/images/19012025/18/27/image_19012025_18_27_02_120481_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330094809","1330094787","1330094789","1330094798"],"photo_ids_order":["1330094787","1330094789","1330094798","1330094809"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/615a443f69f97dcc6a04e8a5e97486d3.jpg","text":"TemporaryFile(/tmp/multipartBody3405933028246187157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737307713023,"filename":"image_19012025_18_27_02_120481_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/94a58cae0b08e0a7106ba074096f33d6.jpg","text":"TemporaryFile(/tmp/multipartBody7430050265348296027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737307713023,"filename":"image_19012025_18_26_03_051767_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/1cdc71120fe66cc8ff01f484bcdcc7d7.jpg","text":"TemporaryFile(/tmp/multipartBody5343818724098624468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737307713023,"filename":"image_19012025_18_27_02_120481_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/cb8a9e3d928901a32f59d4eeb30515f9.jpg","text":"TemporaryFile(/tmp/multipartBody6113438808609733205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737307713023,"filename":"image_19012025_18_27_02_120481_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330094798","file1":"1330094789","file0":"1330094787","file3":"1330094809"},"map_files_photo_id_array":[{"photo_id":"1330094798","filename":"file2"},{"photo_id":"1330094789","filename":"file1"},{"photo_id":"1330094787","filename":"file0"},{"photo_id":"1330094809","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330094809":["hashtag1","hashtag2"]},{"1330094787":["hashtag1","hashtag2"]},{"1330094789":["hashtag1","hashtag2"]},{"1330094798":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330094809, 1330094787, 1330094789, 1330094798)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.961512327194214 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 18:28:02.543689
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
  port_id : 19698700
  datou_current_id : 2490825
in upload_from_sqlite, uploading in 19698700
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17012025/23/58/image_17012025_23_58_02_191145_0001.jpg', '/home/pi/Desktop/images/17012025/23/58/image_17012025_23_58_02_191145_0002.jpg', '/home/pi/Desktop/images/17012025/23/58/image_17012025_23_58_02_191145_0003.jpg', '/home/pi/Desktop/images/17012025/23/59/image_17012025_23_59_02_371414_0000.jpg', '/home/pi/Desktop/images/17012025/23/59/image_17012025_23_59_02_371414_0001.jpg', '/home/pi/Desktop/images/17012025/23/59/image_17012025_23_59_02_371414_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2490825&datou=0
/home/pi/Desktop/images/17012025/23/58/image_17012025_23_58_02_191145_0001.jpg
/home/pi/Desktop/images/17012025/23/58/image_17012025_23_58_02_191145_0002.jpg
/home/pi/Desktop/images/17012025/23/58/image_17012025_23_58_02_191145_0003.jpg
/home/pi/Desktop/images/17012025/23/59/image_17012025_23_59_02_371414_0000.jpg
/home/pi/Desktop/images/17012025/23/59/image_17012025_23_59_02_371414_0001.jpg
/home/pi/Desktop/images/17012025/23/59/image_17012025_23_59_02_371414_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330094837","1330094839","1330094830","1330094832","1330094835","1330094828"],"photo_ids_order":["1330094828","1330094830","1330094832","1330094835","1330094837","1330094839"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/8b1a3d5a761c0d33e4594d5b24f0737f.jpg","text":"TemporaryFile(/tmp/multipartBody2286664954401345366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737307760052,"filename":"image_17012025_23_59_02_371414_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/9841f492a4077df16556739dd12b34d4.jpg","text":"TemporaryFile(/tmp/multipartBody6248925362432211158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737307760052,"filename":"image_17012025_23_59_02_371414_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/4d09ce51e815b6daf7f734473b2388c7.jpg","text":"TemporaryFile(/tmp/multipartBody974228082257283663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737307760052,"filename":"image_17012025_23_58_02_191145_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/893ff8a193daf1fe0e830e58556e91a7.jpg","text":"TemporaryFile(/tmp/multipartBody5637410656639360187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737307760052,"filename":"image_17012025_23_58_02_191145_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/aee401bff946839dfe76599feaf02c0a.jpg","text":"TemporaryFile(/tmp/multipartBody6807701718383523070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737307760052,"filename":"image_17012025_23_59_02_371414_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/4cf481190d42d8ce9e42eb8fe9e9be4c.jpg","text":"TemporaryFile(/tmp/multipartBody9214130549379589898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737307760052,"filename":"image_17012025_23_58_02_191145_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330094832","file1":"1330094830","file0":"1330094828","file4":"1330094837","file5":"1330094839","file3":"1330094835"},"map_files_photo_id_array":[{"photo_id":"1330094839","filename":"file5"},{"photo_id":"1330094832","filename":"file2"},{"photo_id":"1330094837","filename":"file4"},{"photo_id":"1330094830","filename":"file1"},{"photo_id":"1330094828","filename":"file0"},{"photo_id":"1330094835","filename":"file3"}],"portfolio_id":19698700,"hashtag_by_photo_ids":[{"1330094837":["hashtag1","hashtag2"]},{"1330094839":["hashtag1","hashtag2"]},{"1330094830":["hashtag1","hashtag2"]},{"1330094832":["hashtag1","hashtag2"]},{"1330094835":["hashtag1","hashtag2"]},{"1330094828":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698700 used, photo_id : ArrayBuffer(1330094837, 1330094839, 1330094830, 1330094832, 1330094835, 1330094828)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.94019794464111 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 18:29:22.241708
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/18/27/image_19012025_18_27_02_120481_0003.jpg', '/home/pi/Desktop/images/19012025/18/28/image_19012025_18_28_02_241018_0000.jpg', '/home/pi/Desktop/images/19012025/18/28/image_19012025_18_28_02_241018_0001.jpg', '/home/pi/Desktop/images/19012025/18/28/image_19012025_18_28_02_241018_0002.jpg', '/home/pi/Desktop/images/19012025/18/28/image_19012025_18_28_02_241018_0003.jpg', '/home/pi/Desktop/images/19012025/18/29/image_19012025_18_29_02_485932_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/18/27/image_19012025_18_27_02_120481_0003.jpg
/home/pi/Desktop/images/19012025/18/28/image_19012025_18_28_02_241018_0000.jpg
/home/pi/Desktop/images/19012025/18/28/image_19012025_18_28_02_241018_0001.jpg
/home/pi/Desktop/images/19012025/18/28/image_19012025_18_28_02_241018_0002.jpg
/home/pi/Desktop/images/19012025/18/28/image_19012025_18_28_02_241018_0003.jpg
/home/pi/Desktop/images/19012025/18/29/image_19012025_18_29_02_485932_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":["1330094857","1330094859","1330094850","1330094853","1330094943","1330094855"],"photo_ids_order":["1330094850","1330094853","1330094855","1330094857","1330094859","1330094943"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/4f28ad4d3de94adc9174c08ed70721f5.jpg","text":"TemporaryFile(/tmp/multipartBody8171481711423171367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737307839287,"filename":"image_19012025_18_28_02_241018_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/78a94d8c904f5835c56eec8f32c47874.jpg","text":"TemporaryFile(/tmp/multipartBody3056192763461168189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737307839287,"filename":"image_19012025_18_28_02_241018_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/49629e6c927661bc6b92f8502deec48c.jpg","text":"TemporaryFile(/tmp/multipartBody620713018110258155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737307839287,"filename":"image_19012025_18_27_02_120481_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/bf1bc2847dfa5ff1a3b074115ac4ca90.jpg","text":"TemporaryFile(/tmp/multipartBody8210695550874498406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737307839287,"filename":"image_19012025_18_28_02_241018_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/c58e3d396a910466b2d4b6a51a682285.jpg","text":"TemporaryFile(/tmp/multipartBody6497855404936037858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737307839287,"filename":"image_19012025_18_29_02_485932_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/869e387d28b01abab2fef603dadae592.jpg","text":"TemporaryFile(/tmp/multipartBody9057538817883002256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737307839287,"filename":"image_19012025_18_28_02_241018_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330094855","file1":"1330094853","file0":"1330094850","file4":"1330094859","file5":"1330094943","file3":"1330094857"},"map_files_photo_id_array":[{"photo_id":"1330094943","filename":"file5"},{"photo_id":"1330094855","filename":"file2"},{"photo_id":"1330094859","filename":"file4"},{"photo_id":"1330094853","filename":"file1"},{"photo_id":"1330094850","filename":"file0"},{"photo_id":"1330094857","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330094857":["hashtag1","hashtag2"]},{"1330094859":["hashtag1","hashtag2"]},{"1330094850":["hashtag1","hashtag2"]},{"1330094853":["hashtag1","hashtag2"]},{"1330094943":["hashtag1","hashtag2"]},{"1330094855":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330094857, 1330094859, 1330094850, 1330094853, 1330094943, 1330094855)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.555174827575684 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 18:30:22.465189
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/18/29/image_19012025_18_29_02_485932_0001.jpg', '/home/pi/Desktop/images/19012025/18/29/image_19012025_18_29_02_485932_0002.jpg', '/home/pi/Desktop/images/19012025/18/29/image_19012025_18_29_02_485932_0003.jpg', '/home/pi/Desktop/images/19012025/18/30/image_19012025_18_30_02_592180_0000.jpg', '/home/pi/Desktop/images/19012025/18/30/image_19012025_18_30_02_592180_0001.jpg', '/home/pi/Desktop/images/19012025/18/30/image_19012025_18_30_02_592180_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/18/29/image_19012025_18_29_02_485932_0001.jpg
/home/pi/Desktop/images/19012025/18/29/image_19012025_18_29_02_485932_0002.jpg
/home/pi/Desktop/images/19012025/18/29/image_19012025_18_29_02_485932_0003.jpg
/home/pi/Desktop/images/19012025/18/30/image_19012025_18_30_02_592180_0000.jpg
/home/pi/Desktop/images/19012025/18/30/image_19012025_18_30_02_592180_0001.jpg
/home/pi/Desktop/images/19012025/18/30/image_19012025_18_30_02_592180_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330095049","1330095058","1330095087","1330095072","1330095045","1330095069"],"photo_ids_order":["1330095045","1330095049","1330095058","1330095069","1330095072","1330095087"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/fa8bfa3ea9497f62d4372a854c5766ec.jpg","text":"TemporaryFile(/tmp/multipartBody8823659434440899675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737307899408,"filename":"image_19012025_18_29_02_485932_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/cd84a70c60e142302fd474def4c67552.jpg","text":"TemporaryFile(/tmp/multipartBody7741191748981622980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737307899408,"filename":"image_19012025_18_29_02_485932_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/7e02061b32416aba34fbc55bea26a0eb.jpg","text":"TemporaryFile(/tmp/multipartBody2242180253103642505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737307899408,"filename":"image_19012025_18_30_02_592180_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/4a689ae6719b4a8ffc76d6c736194c75.jpg","text":"TemporaryFile(/tmp/multipartBody5555228089550663240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737307899408,"filename":"image_19012025_18_30_02_592180_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/3b32a8fd770779a20bf320e68c144c99.jpg","text":"TemporaryFile(/tmp/multipartBody3143475431332597491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737307899408,"filename":"image_19012025_18_29_02_485932_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/d6fa6c94e21d2b2a12006c65d117ec68.jpg","text":"TemporaryFile(/tmp/multipartBody6351091918131626040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737307899408,"filename":"image_19012025_18_30_02_592180_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330095058","file1":"1330095049","file0":"1330095045","file4":"1330095072","file5":"1330095087","file3":"1330095069"},"map_files_photo_id_array":[{"photo_id":"1330095087","filename":"file5"},{"photo_id":"1330095058","filename":"file2"},{"photo_id":"1330095072","filename":"file4"},{"photo_id":"1330095049","filename":"file1"},{"photo_id":"1330095045","filename":"file0"},{"photo_id":"1330095069","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330095049":["hashtag1","hashtag2"]},{"1330095058":["hashtag1","hashtag2"]},{"1330095087":["hashtag1","hashtag2"]},{"1330095072":["hashtag1","hashtag2"]},{"1330095045":["hashtag1","hashtag2"]},{"1330095069":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330095049, 1330095058, 1330095087, 1330095072, 1330095045, 1330095069)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.358683824539185 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 18:31:22.548373
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/18/30/image_19012025_18_30_02_592180_0003.jpg', '/home/pi/Desktop/images/19012025/18/31/image_19012025_18_31_02_777946_0000.jpg', '/home/pi/Desktop/images/19012025/18/31/image_19012025_18_31_02_777946_0001.jpg', '/home/pi/Desktop/images/19012025/18/31/image_19012025_18_31_02_777946_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/18/30/image_19012025_18_30_02_592180_0003.jpg
/home/pi/Desktop/images/19012025/18/31/image_19012025_18_31_02_777946_0000.jpg
/home/pi/Desktop/images/19012025/18/31/image_19012025_18_31_02_777946_0001.jpg
/home/pi/Desktop/images/19012025/18/31/image_19012025_18_31_02_777946_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330095100","1330095099","1330095092","1330095095"],"photo_ids_order":["1330095092","1330095095","1330095099","1330095100"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/266bc58bc2aa09796f65a3ff24b12912.jpg","text":"TemporaryFile(/tmp/multipartBody2654830972274890443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737307953712,"filename":"image_19012025_18_31_02_777946_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/639ed8fdb350ffc3222101a03946d318.jpg","text":"TemporaryFile(/tmp/multipartBody5163563399625154855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737307953712,"filename":"image_19012025_18_31_02_777946_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/6efb15ff03cf092c36784ba5fd857fb8.jpg","text":"TemporaryFile(/tmp/multipartBody4785720644720502638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737307953712,"filename":"image_19012025_18_30_02_592180_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/1f7e989f34837841b1fd12bb12bcaeca.jpg","text":"TemporaryFile(/tmp/multipartBody1151605815169701230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737307953712,"filename":"image_19012025_18_31_02_777946_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330095099","file1":"1330095095","file0":"1330095092","file3":"1330095100"},"map_files_photo_id_array":[{"photo_id":"1330095099","filename":"file2"},{"photo_id":"1330095095","filename":"file1"},{"photo_id":"1330095092","filename":"file0"},{"photo_id":"1330095100","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330095100":["hashtag1","hashtag2"]},{"1330095099":["hashtag1","hashtag2"]},{"1330095092":["hashtag1","hashtag2"]},{"1330095095":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330095100, 1330095099, 1330095092, 1330095095)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.18359971046448 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 18:32:22.719400
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/18/31/image_19012025_18_31_02_777946_0003.jpg', '/home/pi/Desktop/images/19012025/18/32/image_19012025_18_32_02_985251_0000.jpg', '/home/pi/Desktop/images/19012025/18/32/image_19012025_18_32_02_985251_0001.jpg', '/home/pi/Desktop/images/19012025/18/32/image_19012025_18_32_02_985251_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/18/31/image_19012025_18_31_02_777946_0003.jpg
/home/pi/Desktop/images/19012025/18/32/image_19012025_18_32_02_985251_0000.jpg
/home/pi/Desktop/images/19012025/18/32/image_19012025_18_32_02_985251_0001.jpg
/home/pi/Desktop/images/19012025/18/32/image_19012025_18_32_02_985251_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330095229","1330095110","1330095113","1330095107"],"photo_ids_order":["1330095107","1330095110","1330095113","1330095229"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/6390212568293d6ac19bb0a0f29c171b.jpg","text":"TemporaryFile(/tmp/multipartBody680501059955738355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737308014137,"filename":"image_19012025_18_32_02_985251_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/7b0708056f4759c71adc6ec1661a705d.jpg","text":"TemporaryFile(/tmp/multipartBody2859022771196327159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737308014137,"filename":"image_19012025_18_32_02_985251_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/7174d8659bb7cb66e8d5e4827e6a9789.jpg","text":"TemporaryFile(/tmp/multipartBody4951859156086875346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737308014137,"filename":"image_19012025_18_32_02_985251_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/fbb169e7879d5446e578f7713bac9065.jpg","text":"TemporaryFile(/tmp/multipartBody3528330841898113560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737308014137,"filename":"image_19012025_18_31_02_777946_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330095113","file1":"1330095110","file0":"1330095107","file3":"1330095229"},"map_files_photo_id_array":[{"photo_id":"1330095113","filename":"file2"},{"photo_id":"1330095110","filename":"file1"},{"photo_id":"1330095107","filename":"file0"},{"photo_id":"1330095229","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330095229":["hashtag1","hashtag2"]},{"1330095110":["hashtag1","hashtag2"]},{"1330095113":["hashtag1","hashtag2"]},{"1330095107":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330095229, 1330095110, 1330095113, 1330095107)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.76387286186218 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 18:33:21.965092
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/18/32/image_19012025_18_32_02_985251_0003.jpg', '/home/pi/Desktop/images/19012025/18/33/image_19012025_18_33_03_136928_0000.jpg', '/home/pi/Desktop/images/19012025/18/33/image_19012025_18_33_03_136928_0001.jpg', '/home/pi/Desktop/images/19012025/18/33/image_19012025_18_33_03_136928_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/18/32/image_19012025_18_32_02_985251_0003.jpg
/home/pi/Desktop/images/19012025/18/33/image_19012025_18_33_03_136928_0000.jpg
/home/pi/Desktop/images/19012025/18/33/image_19012025_18_33_03_136928_0001.jpg
/home/pi/Desktop/images/19012025/18/33/image_19012025_18_33_03_136928_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330095328","1330095324","1330095321","1330095326"],"photo_ids_order":["1330095321","1330095324","1330095326","1330095328"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/4f2c6e02608cfce9382d1e8d6e69603a.jpg","text":"TemporaryFile(/tmp/multipartBody8085170287574238096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737308073356,"filename":"image_19012025_18_33_03_136928_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/d0f24eb1b44dd0b9599ca1de9ad1a2b5.jpg","text":"TemporaryFile(/tmp/multipartBody4204180320474973443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737308073356,"filename":"image_19012025_18_33_03_136928_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/81dec8434ea4a74e665d094dbd897410.jpg","text":"TemporaryFile(/tmp/multipartBody909931805671020942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737308073356,"filename":"image_19012025_18_32_02_985251_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/b23c3732bd18d2dc2864f9bbe274e575.jpg","text":"TemporaryFile(/tmp/multipartBody8040352423251314845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737308073356,"filename":"image_19012025_18_33_03_136928_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330095326","file1":"1330095324","file0":"1330095321","file3":"1330095328"},"map_files_photo_id_array":[{"photo_id":"1330095326","filename":"file2"},{"photo_id":"1330095324","filename":"file1"},{"photo_id":"1330095321","filename":"file0"},{"photo_id":"1330095328","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330095328":["hashtag1","hashtag2"]},{"1330095324":["hashtag1","hashtag2"]},{"1330095321":["hashtag1","hashtag2"]},{"1330095326":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330095328, 1330095324, 1330095321, 1330095326)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.81284213066101 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 18:34:22.140669
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/18/33/image_19012025_18_33_03_136928_0003.jpg', '/home/pi/Desktop/images/19012025/18/34/image_19012025_18_34_02_260678_0000.jpg', '/home/pi/Desktop/images/19012025/18/34/image_19012025_18_34_02_260678_0001.jpg', '/home/pi/Desktop/images/19012025/18/34/image_19012025_18_34_02_260678_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/18/33/image_19012025_18_33_03_136928_0003.jpg
/home/pi/Desktop/images/19012025/18/34/image_19012025_18_34_02_260678_0000.jpg
/home/pi/Desktop/images/19012025/18/34/image_19012025_18_34_02_260678_0001.jpg
/home/pi/Desktop/images/19012025/18/34/image_19012025_18_34_02_260678_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 11.18132495880127 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-19 18:34:42.097013
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/18/33/image_19012025_18_33_03_136928_0003.jpg', '/home/pi/Desktop/images/19012025/18/34/image_19012025_18_34_02_260678_0000.jpg', '/home/pi/Desktop/images/19012025/18/34/image_19012025_18_34_02_260678_0001.jpg', '/home/pi/Desktop/images/19012025/18/34/image_19012025_18_34_02_260678_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/18/33/image_19012025_18_33_03_136928_0003.jpg
/home/pi/Desktop/images/19012025/18/34/image_19012025_18_34_02_260678_0000.jpg
/home/pi/Desktop/images/19012025/18/34/image_19012025_18_34_02_260678_0001.jpg
/home/pi/Desktop/images/19012025/18/34/image_19012025_18_34_02_260678_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":["1330095391","1330095390","1330095386","1330095388"],"photo_ids_order":["1330095386","1330095388","1330095390","1330095391"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/d9f4fe8bb9ab17c21e805fed1e313a4d.jpg","text":"TemporaryFile(/tmp/multipartBody3936333743409505821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737308153647,"filename":"image_19012025_18_34_02_260678_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/ae9b60bdaec407aa4e101c65bc996c2b.jpg","text":"TemporaryFile(/tmp/multipartBody6047461977470855092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737308153647,"filename":"image_19012025_18_34_02_260678_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/36a226c7cb99452ef19c5b0f24705670.jpg","text":"TemporaryFile(/tmp/multipartBody6007199785696123343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737308153647,"filename":"image_19012025_18_33_03_136928_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/5cf53498544771ae5a702bbe6981c15d.jpg","text":"TemporaryFile(/tmp/multipartBody8692772548628639146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737308153647,"filename":"image_19012025_18_34_02_260678_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330095390","file1":"1330095388","file0":"1330095386","file3":"1330095391"},"map_files_photo_id_array":[{"photo_id":"1330095390","filename":"file2"},{"photo_id":"1330095388","filename":"file1"},{"photo_id":"1330095386","filename":"file0"},{"photo_id":"1330095391","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330095391":["hashtag1","hashtag2"]},{"1330095390":["hashtag1","hashtag2"]},{"1330095386":["hashtag1","hashtag2"]},{"1330095388":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330095391, 1330095390, 1330095386, 1330095388)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.87404227256775 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 18:35:22.354317
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/18/34/image_19012025_18_34_02_260678_0003.jpg', '/home/pi/Desktop/images/19012025/18/35/image_19012025_18_35_02_443557_0000.jpg', '/home/pi/Desktop/images/19012025/18/35/image_19012025_18_35_02_443557_0001.jpg', '/home/pi/Desktop/images/19012025/18/35/image_19012025_18_35_02_443557_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/18/34/image_19012025_18_34_02_260678_0003.jpg
/home/pi/Desktop/images/19012025/18/35/image_19012025_18_35_02_443557_0000.jpg
/home/pi/Desktop/images/19012025/18/35/image_19012025_18_35_02_443557_0001.jpg
/home/pi/Desktop/images/19012025/18/35/image_19012025_18_35_02_443557_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330095400","1330095403","1330095395","1330095397"],"photo_ids_order":["1330095395","1330095397","1330095400","1330095403"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/252cc5c752c9bd4d86a4528be889fdef.jpg","text":"TemporaryFile(/tmp/multipartBody2326105773742902095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737308193899,"filename":"image_19012025_18_35_02_443557_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/6e80eed6e64948874e57542309a265b2.jpg","text":"TemporaryFile(/tmp/multipartBody1676114067405260283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737308193899,"filename":"image_19012025_18_35_02_443557_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/dae2d13b1749cb1bfc520c5be0c9ba71.jpg","text":"TemporaryFile(/tmp/multipartBody3907487299250293774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737308193899,"filename":"image_19012025_18_34_02_260678_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/19f17bb29f2ce7d321e330405856fd15.jpg","text":"TemporaryFile(/tmp/multipartBody5941434121628910140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737308193899,"filename":"image_19012025_18_35_02_443557_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330095400","file1":"1330095397","file0":"1330095395","file3":"1330095403"},"map_files_photo_id_array":[{"photo_id":"1330095400","filename":"file2"},{"photo_id":"1330095397","filename":"file1"},{"photo_id":"1330095395","filename":"file0"},{"photo_id":"1330095403","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330095400":["hashtag1","hashtag2"]},{"1330095403":["hashtag1","hashtag2"]},{"1330095395":["hashtag1","hashtag2"]},{"1330095397":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330095400, 1330095403, 1330095395, 1330095397)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.586328983306885 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-19 18:36:22.424855
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/18/35/image_19012025_18_35_02_443557_0003.jpg', '/home/pi/Desktop/images/19012025/18/36/image_19012025_18_36_02_581874_0000.jpg', '/home/pi/Desktop/images/19012025/18/36/image_19012025_18_36_02_581874_0001.jpg', '/home/pi/Desktop/images/19012025/18/36/image_19012025_18_36_02_581874_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/18/35/image_19012025_18_35_02_443557_0003.jpg
/home/pi/Desktop/images/19012025/18/36/image_19012025_18_36_02_581874_0000.jpg
/home/pi/Desktop/images/19012025/18/36/image_19012025_18_36_02_581874_0001.jpg
/home/pi/Desktop/images/19012025/18/36/image_19012025_18_36_02_581874_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330095413","1330095422","1330095416","1330095419"],"photo_ids_order":["1330095413","1330095416","1330095419","1330095422"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/8f571df37d20fb69eca9c6c84b33929f.jpg","text":"TemporaryFile(/tmp/multipartBody3988796081745479745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737308253833,"filename":"image_19012025_18_35_02_443557_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/91360226076bd99861b034a41b3ccb10.jpg","text":"TemporaryFile(/tmp/multipartBody8132736051554257100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737308253833,"filename":"image_19012025_18_36_02_581874_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/f9a04c6d519a6b1c5a4992ec206187a7.jpg","text":"TemporaryFile(/tmp/multipartBody3184766003053742690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737308253833,"filename":"image_19012025_18_36_02_581874_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/a48b0462c477fa8a1972ca34c3d2433e.jpg","text":"TemporaryFile(/tmp/multipartBody372099673026427113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737308253833,"filename":"image_19012025_18_36_02_581874_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330095419","file1":"1330095416","file0":"1330095413","file3":"1330095422"},"map_files_photo_id_array":[{"photo_id":"1330095419","filename":"file2"},{"photo_id":"1330095416","filename":"file1"},{"photo_id":"1330095413","filename":"file0"},{"photo_id":"1330095422","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330095413":["hashtag1","hashtag2"]},{"1330095422":["hashtag1","hashtag2"]},{"1330095416":["hashtag1","hashtag2"]},{"1330095419":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330095413, 1330095422, 1330095416, 1330095419)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.17001128196716 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 18:37:22.583146
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/18/36/image_19012025_18_36_02_581874_0003.jpg', '/home/pi/Desktop/images/19012025/18/37/image_19012025_18_37_02_769030_0000.jpg', '/home/pi/Desktop/images/19012025/18/37/image_19012025_18_37_02_769030_0001.jpg', '/home/pi/Desktop/images/19012025/18/37/image_19012025_18_37_02_769030_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/18/36/image_19012025_18_36_02_581874_0003.jpg
/home/pi/Desktop/images/19012025/18/37/image_19012025_18_37_02_769030_0000.jpg
/home/pi/Desktop/images/19012025/18/37/image_19012025_18_37_02_769030_0001.jpg
/home/pi/Desktop/images/19012025/18/37/image_19012025_18_37_02_769030_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330095484","1330095486","1330095479","1330095481"],"photo_ids_order":["1330095479","1330095481","1330095484","1330095486"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/90ccad422b925d46a309c3168c410d40.jpg","text":"TemporaryFile(/tmp/multipartBody3018293968533586139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737308314103,"filename":"image_19012025_18_37_02_769030_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/f3f680a6629ee179f56533c308197369.jpg","text":"TemporaryFile(/tmp/multipartBody3546694128429060389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737308314103,"filename":"image_19012025_18_37_02_769030_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/71022cbeb189de0e0158862a08c2365a.jpg","text":"TemporaryFile(/tmp/multipartBody6010753259605556817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737308314103,"filename":"image_19012025_18_36_02_581874_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/39bfe7b8a77736fd2e896d923597cfec.jpg","text":"TemporaryFile(/tmp/multipartBody6092738023006147578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737308314103,"filename":"image_19012025_18_37_02_769030_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330095484","file1":"1330095481","file0":"1330095479","file3":"1330095486"},"map_files_photo_id_array":[{"photo_id":"1330095484","filename":"file2"},{"photo_id":"1330095481","filename":"file1"},{"photo_id":"1330095479","filename":"file0"},{"photo_id":"1330095486","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330095484":["hashtag1","hashtag2"]},{"1330095486":["hashtag1","hashtag2"]},{"1330095479":["hashtag1","hashtag2"]},{"1330095481":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330095484, 1330095486, 1330095479, 1330095481)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 44.01763892173767 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 18:38:21.890112
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/18/37/image_19012025_18_37_02_769030_0003.jpg', '/home/pi/Desktop/images/19012025/18/38/image_19012025_18_38_03_050063_0000.jpg', '/home/pi/Desktop/images/19012025/18/38/image_19012025_18_38_03_050063_0001.jpg', '/home/pi/Desktop/images/19012025/18/38/image_19012025_18_38_03_050063_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/18/37/image_19012025_18_37_02_769030_0003.jpg
/home/pi/Desktop/images/19012025/18/38/image_19012025_18_38_03_050063_0000.jpg
/home/pi/Desktop/images/19012025/18/38/image_19012025_18_38_03_050063_0001.jpg
/home/pi/Desktop/images/19012025/18/38/image_19012025_18_38_03_050063_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330095498","1330095492","1330095495","1330095501"],"photo_ids_order":["1330095492","1330095495","1330095498","1330095501"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/25c95a9820e8e65ba125aa731414b4d4.jpg","text":"TemporaryFile(/tmp/multipartBody8745230653662367753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737308373298,"filename":"image_19012025_18_38_03_050063_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/4f92b29b8416dc56bd75f444403b8579.jpg","text":"TemporaryFile(/tmp/multipartBody4129283171470815810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737308373298,"filename":"image_19012025_18_37_02_769030_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/c8fdac8d4ddb426456a31892ecbb98d9.jpg","text":"TemporaryFile(/tmp/multipartBody4595262664024268539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737308373298,"filename":"image_19012025_18_38_03_050063_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/0bf05338d73c5e2cc97d01537b35e326.jpg","text":"TemporaryFile(/tmp/multipartBody8460288115896016860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737308373298,"filename":"image_19012025_18_38_03_050063_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330095498","file1":"1330095495","file0":"1330095492","file3":"1330095501"},"map_files_photo_id_array":[{"photo_id":"1330095498","filename":"file2"},{"photo_id":"1330095495","filename":"file1"},{"photo_id":"1330095492","filename":"file0"},{"photo_id":"1330095501","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330095498":["hashtag1","hashtag2"]},{"1330095492":["hashtag1","hashtag2"]},{"1330095495":["hashtag1","hashtag2"]},{"1330095501":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330095498, 1330095492, 1330095495, 1330095501)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.23727583885193 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 18:39:02.599866
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
  port_id : 19698700
  datou_current_id : 2490825
in upload_from_sqlite, uploading in 19698700
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17012025/23/59/image_17012025_23_59_02_371414_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2490825&datou=0
/home/pi/Desktop/images/17012025/23/59/image_17012025_23_59_02_371414_0003.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330095507"],"photo_id":"1330095507","photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/1cbbde2bbc4f192ead905199e41d6958.jpg","text":"TemporaryFile(/tmp/multipartBody5233721360231018508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737308406808,"filename":"image_17012025_23_59_02_371414_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file0":"1330095507"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1330095507"}],"hashtags":[],"portfolio_id":"19698700","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.2998046875 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 18:39:22.006757
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/18/38/image_19012025_18_38_03_050063_0003.jpg', '/home/pi/Desktop/images/19012025/18/39/image_19012025_18_39_02_200585_0000.jpg', '/home/pi/Desktop/images/19012025/18/39/image_19012025_18_39_02_200585_0001.jpg', '/home/pi/Desktop/images/19012025/18/39/image_19012025_18_39_02_200585_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/18/38/image_19012025_18_38_03_050063_0003.jpg
/home/pi/Desktop/images/19012025/18/39/image_19012025_18_39_02_200585_0000.jpg
/home/pi/Desktop/images/19012025/18/39/image_19012025_18_39_02_200585_0001.jpg
/home/pi/Desktop/images/19012025/18/39/image_19012025_18_39_02_200585_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330095517","1330095519","1330095512","1330095515"],"photo_ids_order":["1330095512","1330095515","1330095517","1330095519"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/a221d6ec93c2252acb2934c4442fdaf2.jpg","text":"TemporaryFile(/tmp/multipartBody7354630630614750001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737308433347,"filename":"image_19012025_18_39_02_200585_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/e69a6c2b4224b9c4466333a2c001937a.jpg","text":"TemporaryFile(/tmp/multipartBody9172722373644807331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737308433347,"filename":"image_19012025_18_39_02_200585_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/e487667f7a73472a64c4deb765823d92.jpg","text":"TemporaryFile(/tmp/multipartBody8051200553010457178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737308433347,"filename":"image_19012025_18_38_03_050063_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/00dd5d6fda6723719709e62a693013fa.jpg","text":"TemporaryFile(/tmp/multipartBody8249913385646913321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737308433347,"filename":"image_19012025_18_39_02_200585_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330095517","file1":"1330095515","file0":"1330095512","file3":"1330095519"},"map_files_photo_id_array":[{"photo_id":"1330095517","filename":"file2"},{"photo_id":"1330095515","filename":"file1"},{"photo_id":"1330095512","filename":"file0"},{"photo_id":"1330095519","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330095517":["hashtag1","hashtag2"]},{"1330095519":["hashtag1","hashtag2"]},{"1330095512":["hashtag1","hashtag2"]},{"1330095515":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330095517, 1330095519, 1330095512, 1330095515)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.34297561645508 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 18:40:22.185968
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/18/39/image_19012025_18_39_02_200585_0003.jpg', '/home/pi/Desktop/images/19012025/18/40/image_19012025_18_40_02_412017_0000.jpg', '/home/pi/Desktop/images/19012025/18/40/image_19012025_18_40_02_412017_0001.jpg', '/home/pi/Desktop/images/19012025/18/40/image_19012025_18_40_02_412017_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/18/39/image_19012025_18_39_02_200585_0003.jpg
/home/pi/Desktop/images/19012025/18/40/image_19012025_18_40_02_412017_0000.jpg
/home/pi/Desktop/images/19012025/18/40/image_19012025_18_40_02_412017_0001.jpg
/home/pi/Desktop/images/19012025/18/40/image_19012025_18_40_02_412017_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.096092700958252 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-19 18:40:42.231597
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/18/39/image_19012025_18_39_02_200585_0003.jpg', '/home/pi/Desktop/images/19012025/18/40/image_19012025_18_40_02_412017_0000.jpg', '/home/pi/Desktop/images/19012025/18/40/image_19012025_18_40_02_412017_0001.jpg', '/home/pi/Desktop/images/19012025/18/40/image_19012025_18_40_02_412017_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/18/39/image_19012025_18_39_02_200585_0003.jpg
/home/pi/Desktop/images/19012025/18/40/image_19012025_18_40_02_412017_0000.jpg
/home/pi/Desktop/images/19012025/18/40/image_19012025_18_40_02_412017_0001.jpg
/home/pi/Desktop/images/19012025/18/40/image_19012025_18_40_02_412017_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330095733","1330095718","1330095685","1330095652"],"photo_ids_order":["1330095652","1330095685","1330095718","1330095733"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/15652379af4d40cde50095c16d63fa1c.jpg","text":"TemporaryFile(/tmp/multipartBody1839612291189118853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737308512736,"filename":"image_19012025_18_40_02_412017_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/2c91165ab5eac962a6316276c6b459f3.jpg","text":"TemporaryFile(/tmp/multipartBody3126560517455396042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737308512736,"filename":"image_19012025_18_40_02_412017_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/f11932b2d2c00e630be3b6940acc82a3.jpg","text":"TemporaryFile(/tmp/multipartBody7197153227965467463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737308512736,"filename":"image_19012025_18_40_02_412017_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/7d8c0164dba0d5e82685e8d06bda4685.jpg","text":"TemporaryFile(/tmp/multipartBody6143863972793456817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737308512736,"filename":"image_19012025_18_39_02_200585_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330095718","file1":"1330095685","file0":"1330095652","file3":"1330095733"},"map_files_photo_id_array":[{"photo_id":"1330095718","filename":"file2"},{"photo_id":"1330095685","filename":"file1"},{"photo_id":"1330095652","filename":"file0"},{"photo_id":"1330095733","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330095733":["hashtag1","hashtag2"]},{"1330095718":["hashtag1","hashtag2"]},{"1330095685":["hashtag1","hashtag2"]},{"1330095652":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330095733, 1330095718, 1330095685, 1330095652)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.10887169837952 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-19 18:41:32.373054
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/18/40/image_19012025_18_40_02_412017_0003.jpg', '/home/pi/Desktop/images/19012025/18/41/image_19012025_18_41_02_543091_0000.jpg', '/home/pi/Desktop/images/19012025/18/41/image_19012025_18_41_02_543091_0001.jpg', '/home/pi/Desktop/images/19012025/18/41/image_19012025_18_41_02_543091_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/18/40/image_19012025_18_40_02_412017_0003.jpg
/home/pi/Desktop/images/19012025/18/41/image_19012025_18_41_02_543091_0000.jpg
/home/pi/Desktop/images/19012025/18/41/image_19012025_18_41_02_543091_0001.jpg
/home/pi/Desktop/images/19012025/18/41/image_19012025_18_41_02_543091_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330095775","1330095769","1330095778","1330095772"],"photo_ids_order":["1330095769","1330095772","1330095775","1330095778"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/80107e26945fea4b232e26aab3ce19fa.jpg","text":"TemporaryFile(/tmp/multipartBody4191873301896044381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737308564187,"filename":"image_19012025_18_41_02_543091_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/4f13002d83f26a479624aabf6f9c4e1c.jpg","text":"TemporaryFile(/tmp/multipartBody6788219505108573387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737308564187,"filename":"image_19012025_18_40_02_412017_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/b631784d5a67080e7d26e6749c58a185.jpg","text":"TemporaryFile(/tmp/multipartBody2059512414302619534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737308564187,"filename":"image_19012025_18_41_02_543091_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/0a2b7ed9b7f32c31e377ff55f93b0395.jpg","text":"TemporaryFile(/tmp/multipartBody3627382547469698474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737308564187,"filename":"image_19012025_18_41_02_543091_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330095775","file1":"1330095772","file0":"1330095769","file3":"1330095778"},"map_files_photo_id_array":[{"photo_id":"1330095775","filename":"file2"},{"photo_id":"1330095772","filename":"file1"},{"photo_id":"1330095769","filename":"file0"},{"photo_id":"1330095778","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330095775":["hashtag1","hashtag2"]},{"1330095769":["hashtag1","hashtag2"]},{"1330095778":["hashtag1","hashtag2"]},{"1330095772":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330095775, 1330095769, 1330095778, 1330095772)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.44710350036621 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 18:42:22.651299
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/18/41/image_19012025_18_41_02_543091_0003.jpg', '/home/pi/Desktop/images/19012025/18/42/image_19012025_18_42_02_722199_0000.jpg', '/home/pi/Desktop/images/19012025/18/42/image_19012025_18_42_02_722199_0001.jpg', '/home/pi/Desktop/images/19012025/18/42/image_19012025_18_42_02_722199_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/18/41/image_19012025_18_41_02_543091_0003.jpg
/home/pi/Desktop/images/19012025/18/42/image_19012025_18_42_02_722199_0000.jpg
/home/pi/Desktop/images/19012025/18/42/image_19012025_18_42_02_722199_0001.jpg
/home/pi/Desktop/images/19012025/18/42/image_19012025_18_42_02_722199_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330095791","1330095785","1330095788","1330095793"],"photo_ids_order":["1330095785","1330095788","1330095791","1330095793"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/e280f5758f8d3aaa68e03e63b5d5fa7b.jpg","text":"TemporaryFile(/tmp/multipartBody7760959496366821721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737308613806,"filename":"image_19012025_18_42_02_722199_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/3fd950b4ab08a53861786f5cb722d8b4.jpg","text":"TemporaryFile(/tmp/multipartBody3999173920678545874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737308613806,"filename":"image_19012025_18_41_02_543091_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/e11674774a0291a38b49f1bfbff74cc2.jpg","text":"TemporaryFile(/tmp/multipartBody9083918750659475178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737308613806,"filename":"image_19012025_18_42_02_722199_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/3d7d7b1bf30a0a4c0bb87debae74a391.jpg","text":"TemporaryFile(/tmp/multipartBody1522051897312398416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737308613806,"filename":"image_19012025_18_42_02_722199_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330095791","file1":"1330095788","file0":"1330095785","file3":"1330095793"},"map_files_photo_id_array":[{"photo_id":"1330095791","filename":"file2"},{"photo_id":"1330095788","filename":"file1"},{"photo_id":"1330095785","filename":"file0"},{"photo_id":"1330095793","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330095791":["hashtag1","hashtag2"]},{"1330095785":["hashtag1","hashtag2"]},{"1330095788":["hashtag1","hashtag2"]},{"1330095793":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330095791, 1330095785, 1330095788, 1330095793)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.78742003440857 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 18:43:22.788844
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/18/42/image_19012025_18_42_02_722199_0003.jpg', '/home/pi/Desktop/images/19012025/18/43/image_19012025_18_43_02_976656_0000.jpg', '/home/pi/Desktop/images/19012025/18/43/image_19012025_18_43_02_976656_0001.jpg', '/home/pi/Desktop/images/19012025/18/43/image_19012025_18_43_02_976656_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/18/42/image_19012025_18_42_02_722199_0003.jpg
/home/pi/Desktop/images/19012025/18/43/image_19012025_18_43_02_976656_0000.jpg
/home/pi/Desktop/images/19012025/18/43/image_19012025_18_43_02_976656_0001.jpg
/home/pi/Desktop/images/19012025/18/43/image_19012025_18_43_02_976656_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330095847","1330095813","1330095845","1330095809"],"photo_ids_order":["1330095809","1330095813","1330095845","1330095847"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/60023cab35c1bc1b7ac3a878c29122c7.jpg","text":"TemporaryFile(/tmp/multipartBody2213191936833665079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737308673612,"filename":"image_19012025_18_43_02_976656_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/e4b32b58f0ac8df4ea8a58933f45af97.jpg","text":"TemporaryFile(/tmp/multipartBody1962444343155667781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737308673612,"filename":"image_19012025_18_43_02_976656_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/85d7318359096c254ff523517f49f09f.jpg","text":"TemporaryFile(/tmp/multipartBody6068788846833460552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737308673612,"filename":"image_19012025_18_43_02_976656_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/44ee4c8bc61a1c227ed965284880ae9c.jpg","text":"TemporaryFile(/tmp/multipartBody7764259939088541711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737308673612,"filename":"image_19012025_18_42_02_722199_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330095845","file1":"1330095813","file0":"1330095809","file3":"1330095847"},"map_files_photo_id_array":[{"photo_id":"1330095845","filename":"file2"},{"photo_id":"1330095813","filename":"file1"},{"photo_id":"1330095809","filename":"file0"},{"photo_id":"1330095847","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330095847":["hashtag1","hashtag2"]},{"1330095813":["hashtag1","hashtag2"]},{"1330095845":["hashtag1","hashtag2"]},{"1330095809":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330095847, 1330095813, 1330095845, 1330095809)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.9033727645874 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 18:44:21.979398
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/18/43/image_19012025_18_43_02_976656_0003.jpg', '/home/pi/Desktop/images/19012025/18/44/image_19012025_18_44_03_131340_0000.jpg', '/home/pi/Desktop/images/19012025/18/44/image_19012025_18_44_03_131340_0001.jpg', '/home/pi/Desktop/images/19012025/18/44/image_19012025_18_44_03_131340_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/18/43/image_19012025_18_43_02_976656_0003.jpg
/home/pi/Desktop/images/19012025/18/44/image_19012025_18_44_03_131340_0000.jpg
/home/pi/Desktop/images/19012025/18/44/image_19012025_18_44_03_131340_0001.jpg
/home/pi/Desktop/images/19012025/18/44/image_19012025_18_44_03_131340_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330095862","1330095855","1330095865","1330095859"],"photo_ids_order":["1330095855","1330095859","1330095862","1330095865"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/36c42c29fe9a98d70d267c2f5f9d8cd0.jpg","text":"TemporaryFile(/tmp/multipartBody540870884659977228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737308732637,"filename":"image_19012025_18_44_03_131340_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/b52da07ad4e0241d69c9780db80e6d68.jpg","text":"TemporaryFile(/tmp/multipartBody9148682716452054645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737308732637,"filename":"image_19012025_18_43_02_976656_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/1bd3e8cd2f35c3dde657c19e5aef0ada.jpg","text":"TemporaryFile(/tmp/multipartBody2122118885177107554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737308732637,"filename":"image_19012025_18_44_03_131340_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/8205783bc0b0369d8ca19b09d152103b.jpg","text":"TemporaryFile(/tmp/multipartBody8200176010746668586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737308732637,"filename":"image_19012025_18_44_03_131340_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330095862","file1":"1330095859","file0":"1330095855","file3":"1330095865"},"map_files_photo_id_array":[{"photo_id":"1330095862","filename":"file2"},{"photo_id":"1330095859","filename":"file1"},{"photo_id":"1330095855","filename":"file0"},{"photo_id":"1330095865","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330095862":["hashtag1","hashtag2"]},{"1330095855":["hashtag1","hashtag2"]},{"1330095865":["hashtag1","hashtag2"]},{"1330095859":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330095862, 1330095855, 1330095865, 1330095859)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.44822072982788 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 18:45:02.813083
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/23/56/image_18012025_23_56_02_153007_0003.jpg', '/home/pi/Desktop/images/18012025/23/57/image_18012025_23_57_02_327082_0000.jpg', '/home/pi/Desktop/images/18012025/23/57/image_18012025_23_57_02_327082_0001.jpg', '/home/pi/Desktop/images/18012025/23/57/image_18012025_23_57_02_327082_0002.jpg', '/home/pi/Desktop/images/18012025/23/57/image_18012025_23_57_02_327082_0003.jpg', '/home/pi/Desktop/images/18012025/23/58/image_18012025_23_58_02_596192_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/23/56/image_18012025_23_56_02_153007_0003.jpg
/home/pi/Desktop/images/18012025/23/57/image_18012025_23_57_02_327082_0000.jpg
/home/pi/Desktop/images/18012025/23/57/image_18012025_23_57_02_327082_0001.jpg
/home/pi/Desktop/images/18012025/23/57/image_18012025_23_57_02_327082_0002.jpg
/home/pi/Desktop/images/18012025/23/57/image_18012025_23_57_02_327082_0003.jpg
/home/pi/Desktop/images/18012025/23/58/image_18012025_23_58_02_596192_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":["1330096050","1330096053","1330096061","1330096055","1330096058","1330096063"],"photo_ids_order":["1330096050","1330096053","1330096055","1330096058","1330096061","1330096063"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/2984fe87dc005c572155d9a23f73d3fe.jpg","text":"TemporaryFile(/tmp/multipartBody7705582833855651617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737308781132,"filename":"image_18012025_23_56_02_153007_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/6ab7c70c37680ea1a8e0ae71da327f16.jpg","text":"TemporaryFile(/tmp/multipartBody509242928360008264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737308781132,"filename":"image_18012025_23_57_02_327082_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/f9d64f5b218cce1863dd40d37326e017.jpg","text":"TemporaryFile(/tmp/multipartBody4318198576728167945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737308781132,"filename":"image_18012025_23_57_02_327082_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/2fb8919948dd345caccca9423d9becf7.jpg","text":"TemporaryFile(/tmp/multipartBody7594684187016831285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737308781132,"filename":"image_18012025_23_57_02_327082_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/0745c2a3fec435c2bd5b68c39e8a3b44.jpg","text":"TemporaryFile(/tmp/multipartBody3595242472898272031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737308781132,"filename":"image_18012025_23_57_02_327082_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/4f3add9e7f2fa998ed026fba0e5e834b.jpg","text":"TemporaryFile(/tmp/multipartBody4518262963667996936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737308781132,"filename":"image_18012025_23_58_02_596192_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330096055","file1":"1330096053","file0":"1330096050","file4":"1330096061","file5":"1330096063","file3":"1330096058"},"map_files_photo_id_array":[{"photo_id":"1330096063","filename":"file5"},{"photo_id":"1330096055","filename":"file2"},{"photo_id":"1330096061","filename":"file4"},{"photo_id":"1330096053","filename":"file1"},{"photo_id":"1330096050","filename":"file0"},{"photo_id":"1330096058","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1330096050":["hashtag1","hashtag2"]},{"1330096053":["hashtag1","hashtag2"]},{"1330096061":["hashtag1","hashtag2"]},{"1330096055":["hashtag1","hashtag2"]},{"1330096058":["hashtag1","hashtag2"]},{"1330096063":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1330096050, 1330096053, 1330096061, 1330096055, 1330096058, 1330096063)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 61.34984588623047 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 18:46:22.387932
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/18/44/image_19012025_18_44_03_131340_0003.jpg', '/home/pi/Desktop/images/19012025/18/45/image_19012025_18_45_02_339717_0000.jpg', '/home/pi/Desktop/images/19012025/18/45/image_19012025_18_45_02_339717_0001.jpg', '/home/pi/Desktop/images/19012025/18/45/image_19012025_18_45_02_339717_0002.jpg', '/home/pi/Desktop/images/19012025/18/45/image_19012025_18_45_02_339717_0003.jpg', '/home/pi/Desktop/images/19012025/18/46/image_19012025_18_46_02_517904_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/18/44/image_19012025_18_44_03_131340_0003.jpg
/home/pi/Desktop/images/19012025/18/45/image_19012025_18_45_02_339717_0000.jpg
/home/pi/Desktop/images/19012025/18/45/image_19012025_18_45_02_339717_0001.jpg
/home/pi/Desktop/images/19012025/18/45/image_19012025_18_45_02_339717_0002.jpg
/home/pi/Desktop/images/19012025/18/45/image_19012025_18_45_02_339717_0003.jpg
/home/pi/Desktop/images/19012025/18/46/image_19012025_18_46_02_517904_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: 16.18216872215271 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-19 18:46:42.358724
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/18/44/image_19012025_18_44_03_131340_0003.jpg', '/home/pi/Desktop/images/19012025/18/45/image_19012025_18_45_02_339717_0000.jpg', '/home/pi/Desktop/images/19012025/18/45/image_19012025_18_45_02_339717_0001.jpg', '/home/pi/Desktop/images/19012025/18/45/image_19012025_18_45_02_339717_0002.jpg', '/home/pi/Desktop/images/19012025/18/45/image_19012025_18_45_02_339717_0003.jpg', '/home/pi/Desktop/images/19012025/18/46/image_19012025_18_46_02_517904_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/18/44/image_19012025_18_44_03_131340_0003.jpg
/home/pi/Desktop/images/19012025/18/45/image_19012025_18_45_02_339717_0000.jpg
/home/pi/Desktop/images/19012025/18/45/image_19012025_18_45_02_339717_0001.jpg
/home/pi/Desktop/images/19012025/18/45/image_19012025_18_45_02_339717_0002.jpg
/home/pi/Desktop/images/19012025/18/45/image_19012025_18_45_02_339717_0003.jpg
/home/pi/Desktop/images/19012025/18/46/image_19012025_18_46_02_517904_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":["1330096135","1330096129","1330096134","1330096143","1330096137","1330096133"],"photo_ids_order":["1330096129","1330096133","1330096134","1330096135","1330096137","1330096143"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/dfbc0398f079d40430a278046d2381f5.jpg","text":"TemporaryFile(/tmp/multipartBody6845272931663034342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737308878925,"filename":"image_19012025_18_45_02_339717_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/7eb962717b46e099c86bf781497f26a3.jpg","text":"TemporaryFile(/tmp/multipartBody6316713000032097592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737308878925,"filename":"image_19012025_18_44_03_131340_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/6ed8edfd57ace262e9447cf290690b13.jpg","text":"TemporaryFile(/tmp/multipartBody9073410577591140127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737308878925,"filename":"image_19012025_18_45_02_339717_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/1c1e0b9041b957da7d8285ebe48fedca.jpg","text":"TemporaryFile(/tmp/multipartBody2209764032200174672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737308878925,"filename":"image_19012025_18_46_02_517904_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/b5829ed05b37348f334320f511f78a4a.jpg","text":"TemporaryFile(/tmp/multipartBody4609281704469165676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737308878925,"filename":"image_19012025_18_45_02_339717_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/caf0a744f8c9349b3e04a18a0ddd7df5.jpg","text":"TemporaryFile(/tmp/multipartBody3354467476199892066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737308878925,"filename":"image_19012025_18_45_02_339717_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330096134","file1":"1330096133","file0":"1330096129","file4":"1330096137","file5":"1330096143","file3":"1330096135"},"map_files_photo_id_array":[{"photo_id":"1330096143","filename":"file5"},{"photo_id":"1330096134","filename":"file2"},{"photo_id":"1330096137","filename":"file4"},{"photo_id":"1330096133","filename":"file1"},{"photo_id":"1330096129","filename":"file0"},{"photo_id":"1330096135","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330096135":["hashtag1","hashtag2"]},{"1330096129":["hashtag1","hashtag2"]},{"1330096134":["hashtag1","hashtag2"]},{"1330096143":["hashtag1","hashtag2"]},{"1330096137":["hashtag1","hashtag2"]},{"1330096133":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330096135, 1330096129, 1330096134, 1330096143, 1330096137, 1330096133)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.27622604370117 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-19 18:47:42.511015
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/18/46/image_19012025_18_46_02_517904_0001.jpg', '/home/pi/Desktop/images/19012025/18/46/image_19012025_18_46_02_517904_0002.jpg', '/home/pi/Desktop/images/19012025/18/46/image_19012025_18_46_02_517904_0003.jpg', '/home/pi/Desktop/images/19012025/18/47/image_19012025_18_47_02_697607_0000.jpg', '/home/pi/Desktop/images/19012025/18/47/image_19012025_18_47_02_697607_0001.jpg', '/home/pi/Desktop/images/19012025/18/47/image_19012025_18_47_02_697607_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/18/46/image_19012025_18_46_02_517904_0001.jpg
/home/pi/Desktop/images/19012025/18/46/image_19012025_18_46_02_517904_0002.jpg
/home/pi/Desktop/images/19012025/18/46/image_19012025_18_46_02_517904_0003.jpg
/home/pi/Desktop/images/19012025/18/47/image_19012025_18_47_02_697607_0000.jpg
/home/pi/Desktop/images/19012025/18/47/image_19012025_18_47_02_697607_0001.jpg
/home/pi/Desktop/images/19012025/18/47/image_19012025_18_47_02_697607_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 16.022941827774048 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 18:48:03.083281
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/18/46/image_19012025_18_46_02_517904_0001.jpg', '/home/pi/Desktop/images/19012025/18/46/image_19012025_18_46_02_517904_0002.jpg', '/home/pi/Desktop/images/19012025/18/46/image_19012025_18_46_02_517904_0003.jpg', '/home/pi/Desktop/images/19012025/18/47/image_19012025_18_47_02_697607_0000.jpg', '/home/pi/Desktop/images/19012025/18/47/image_19012025_18_47_02_697607_0001.jpg', '/home/pi/Desktop/images/19012025/18/47/image_19012025_18_47_02_697607_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/18/46/image_19012025_18_46_02_517904_0001.jpg
/home/pi/Desktop/images/19012025/18/46/image_19012025_18_46_02_517904_0002.jpg
/home/pi/Desktop/images/19012025/18/46/image_19012025_18_46_02_517904_0003.jpg
/home/pi/Desktop/images/19012025/18/47/image_19012025_18_47_02_697607_0000.jpg
/home/pi/Desktop/images/19012025/18/47/image_19012025_18_47_02_697607_0001.jpg
/home/pi/Desktop/images/19012025/18/47/image_19012025_18_47_02_697607_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330096222","1330096215","1330096224","1330096218","1330096212","1330096219"],"photo_ids_order":["1330096212","1330096215","1330096218","1330096219","1330096222","1330096224"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/8d539aa163ff30bbce752d68083ef8d0.jpg","text":"TemporaryFile(/tmp/multipartBody5790960197847458530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737308959543,"filename":"image_19012025_18_47_02_697607_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/0c20e1929d7d83a023fb0d6224b5479a.jpg","text":"TemporaryFile(/tmp/multipartBody43220207061176359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737308959543,"filename":"image_19012025_18_46_02_517904_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/0620aa9c70022b41be727579b4df4d82.jpg","text":"TemporaryFile(/tmp/multipartBody4648043133647944469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737308959543,"filename":"image_19012025_18_47_02_697607_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/3a2ac9a2bbea57059936ca427f3b6170.jpg","text":"TemporaryFile(/tmp/multipartBody7819774547524247408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737308959543,"filename":"image_19012025_18_46_02_517904_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/936a2d5d4eda38c72f8ff86f454fb478.jpg","text":"TemporaryFile(/tmp/multipartBody5366785098806369154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737308959543,"filename":"image_19012025_18_46_02_517904_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/f88847e164867472ebd27d7b125db889.jpg","text":"TemporaryFile(/tmp/multipartBody3367068590106369744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737308959543,"filename":"image_19012025_18_47_02_697607_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330096218","file1":"1330096215","file0":"1330096212","file4":"1330096222","file5":"1330096224","file3":"1330096219"},"map_files_photo_id_array":[{"photo_id":"1330096224","filename":"file5"},{"photo_id":"1330096218","filename":"file2"},{"photo_id":"1330096222","filename":"file4"},{"photo_id":"1330096215","filename":"file1"},{"photo_id":"1330096212","filename":"file0"},{"photo_id":"1330096219","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330096222":["hashtag1","hashtag2"]},{"1330096215":["hashtag1","hashtag2"]},{"1330096224":["hashtag1","hashtag2"]},{"1330096218":["hashtag1","hashtag2"]},{"1330096212":["hashtag1","hashtag2"]},{"1330096219":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330096222, 1330096215, 1330096224, 1330096218, 1330096212, 1330096219)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 61.64778661727905 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 18:49:22.026908
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/18/47/image_19012025_18_47_02_697607_0003.jpg', '/home/pi/Desktop/images/19012025/18/48/image_19012025_18_48_02_930909_0000.jpg', '/home/pi/Desktop/images/19012025/18/48/image_19012025_18_48_02_930909_0001.jpg', '/home/pi/Desktop/images/19012025/18/48/image_19012025_18_48_02_930909_0002.jpg', '/home/pi/Desktop/images/19012025/18/48/image_19012025_18_48_02_930909_0003.jpg', '/home/pi/Desktop/images/19012025/18/49/image_19012025_18_49_03_177935_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/18/47/image_19012025_18_47_02_697607_0003.jpg
/home/pi/Desktop/images/19012025/18/48/image_19012025_18_48_02_930909_0000.jpg
/home/pi/Desktop/images/19012025/18/48/image_19012025_18_48_02_930909_0001.jpg
/home/pi/Desktop/images/19012025/18/48/image_19012025_18_48_02_930909_0002.jpg
/home/pi/Desktop/images/19012025/18/48/image_19012025_18_48_02_930909_0003.jpg
/home/pi/Desktop/images/19012025/18/49/image_19012025_18_49_03_177935_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":["1330096240","1330096290","1330096260","1330096286","1330096265","1330096288"],"photo_ids_order":["1330096240","1330096260","1330096265","1330096286","1330096288","1330096290"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/bccca13897ff98c680d28f77c37efe97.jpg","text":"TemporaryFile(/tmp/multipartBody6215786491661794249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737309038416,"filename":"image_19012025_18_47_02_697607_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/1ea94d42ccfa26fc85dbd8025873dd74.jpg","text":"TemporaryFile(/tmp/multipartBody5682080911961332121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737309038416,"filename":"image_19012025_18_49_03_177935_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/fab62e28bd8f2d0442a7ee67d760349c.jpg","text":"TemporaryFile(/tmp/multipartBody2934940199745203438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737309038416,"filename":"image_19012025_18_48_02_930909_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/32d6f5c627be16da0a8d24b4a2353dda.jpg","text":"TemporaryFile(/tmp/multipartBody5303554282387032883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737309038416,"filename":"image_19012025_18_48_02_930909_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/8eea50c24be7a8dc09314c4e718044d1.jpg","text":"TemporaryFile(/tmp/multipartBody3992424021441228411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737309038416,"filename":"image_19012025_18_48_02_930909_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/da49117fa504f22350a5b2a35b6dbf7b.jpg","text":"TemporaryFile(/tmp/multipartBody4199826243356729922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737309038416,"filename":"image_19012025_18_48_02_930909_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330096265","file1":"1330096260","file0":"1330096240","file4":"1330096288","file5":"1330096290","file3":"1330096286"},"map_files_photo_id_array":[{"photo_id":"1330096290","filename":"file5"},{"photo_id":"1330096265","filename":"file2"},{"photo_id":"1330096288","filename":"file4"},{"photo_id":"1330096260","filename":"file1"},{"photo_id":"1330096240","filename":"file0"},{"photo_id":"1330096286","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330096240":["hashtag1","hashtag2"]},{"1330096290":["hashtag1","hashtag2"]},{"1330096260":["hashtag1","hashtag2"]},{"1330096286":["hashtag1","hashtag2"]},{"1330096265":["hashtag1","hashtag2"]},{"1330096288":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330096240, 1330096290, 1330096260, 1330096286, 1330096265, 1330096288)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.81470274925232 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 18:50:22.165166
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/18/49/image_19012025_18_49_03_177935_0001.jpg', '/home/pi/Desktop/images/19012025/18/49/image_19012025_18_49_03_177935_0002.jpg', '/home/pi/Desktop/images/19012025/18/49/image_19012025_18_49_03_177935_0003.jpg', '/home/pi/Desktop/images/19012025/18/50/image_19012025_18_50_02_238309_0000.jpg', '/home/pi/Desktop/images/19012025/18/50/image_19012025_18_50_02_238309_0001.jpg', '/home/pi/Desktop/images/19012025/18/50/image_19012025_18_50_02_238309_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/18/49/image_19012025_18_49_03_177935_0001.jpg
/home/pi/Desktop/images/19012025/18/49/image_19012025_18_49_03_177935_0002.jpg
/home/pi/Desktop/images/19012025/18/49/image_19012025_18_49_03_177935_0003.jpg
/home/pi/Desktop/images/19012025/18/50/image_19012025_18_50_02_238309_0000.jpg
/home/pi/Desktop/images/19012025/18/50/image_19012025_18_50_02_238309_0001.jpg
/home/pi/Desktop/images/19012025/18/50/image_19012025_18_50_02_238309_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330096306","1330096296","1330096309","1330096300","1330096303","1330096311"],"photo_ids_order":["1330096296","1330096300","1330096303","1330096306","1330096309","1330096311"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/447a0a0b66e998975833b81bb831ccd6.jpg","text":"TemporaryFile(/tmp/multipartBody5837578213953810088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737309099069,"filename":"image_19012025_18_50_02_238309_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/3ff20e6dd989f8790efd230b1750430c.jpg","text":"TemporaryFile(/tmp/multipartBody8246579451340447501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737309099069,"filename":"image_19012025_18_49_03_177935_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/cbbde46827b39aa1b1c266ed2ac6b857.jpg","text":"TemporaryFile(/tmp/multipartBody8068145418789042491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737309099069,"filename":"image_19012025_18_50_02_238309_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/c3e6f52905e88bf5c13d0eca1467134d.jpg","text":"TemporaryFile(/tmp/multipartBody5093279400901416829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737309099069,"filename":"image_19012025_18_49_03_177935_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/a603bd263f84a0a98d63f665d252f248.jpg","text":"TemporaryFile(/tmp/multipartBody7353968816907683376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737309099069,"filename":"image_19012025_18_49_03_177935_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/3b67b1f97cd6647b560e8238a936222d.jpg","text":"TemporaryFile(/tmp/multipartBody4320128204897245658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737309099069,"filename":"image_19012025_18_50_02_238309_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330096303","file1":"1330096300","file0":"1330096296","file4":"1330096309","file5":"1330096311","file3":"1330096306"},"map_files_photo_id_array":[{"photo_id":"1330096311","filename":"file5"},{"photo_id":"1330096303","filename":"file2"},{"photo_id":"1330096309","filename":"file4"},{"photo_id":"1330096300","filename":"file1"},{"photo_id":"1330096296","filename":"file0"},{"photo_id":"1330096306","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330096306":["hashtag1","hashtag2"]},{"1330096296":["hashtag1","hashtag2"]},{"1330096309":["hashtag1","hashtag2"]},{"1330096300":["hashtag1","hashtag2"]},{"1330096303":["hashtag1","hashtag2"]},{"1330096311":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330096306, 1330096296, 1330096309, 1330096300, 1330096303, 1330096311)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.38608455657959 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 18:51:22.267460
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/18/50/image_19012025_18_50_02_238309_0003.jpg', '/home/pi/Desktop/images/19012025/18/51/image_19012025_18_51_02_444281_0000.jpg', '/home/pi/Desktop/images/19012025/18/51/image_19012025_18_51_02_444281_0001.jpg', '/home/pi/Desktop/images/19012025/18/51/image_19012025_18_51_02_444281_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/18/50/image_19012025_18_50_02_238309_0003.jpg
/home/pi/Desktop/images/19012025/18/51/image_19012025_18_51_02_444281_0000.jpg
/home/pi/Desktop/images/19012025/18/51/image_19012025_18_51_02_444281_0001.jpg
/home/pi/Desktop/images/19012025/18/51/image_19012025_18_51_02_444281_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330096322","1330096316","1330096319","1330096324"],"photo_ids_order":["1330096316","1330096319","1330096322","1330096324"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/acb04f6b5606176f3f9254bc5303ac60.jpg","text":"TemporaryFile(/tmp/multipartBody8888422284856528290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737309153731,"filename":"image_19012025_18_51_02_444281_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/a7d62a9e1e347dfff1b0058a095f5242.jpg","text":"TemporaryFile(/tmp/multipartBody4162217676439265430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737309153731,"filename":"image_19012025_18_50_02_238309_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/c87536a063e55b26b8caf768d5130b85.jpg","text":"TemporaryFile(/tmp/multipartBody4714991268039156038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737309153731,"filename":"image_19012025_18_51_02_444281_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/43e32ba0e8745fc779c367d3925c3215.jpg","text":"TemporaryFile(/tmp/multipartBody6973869130803576583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737309153731,"filename":"image_19012025_18_51_02_444281_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330096322","file1":"1330096319","file0":"1330096316","file3":"1330096324"},"map_files_photo_id_array":[{"photo_id":"1330096322","filename":"file2"},{"photo_id":"1330096319","filename":"file1"},{"photo_id":"1330096316","filename":"file0"},{"photo_id":"1330096324","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330096322":["hashtag1","hashtag2"]},{"1330096316":["hashtag1","hashtag2"]},{"1330096319":["hashtag1","hashtag2"]},{"1330096324":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330096322, 1330096316, 1330096319, 1330096324)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.593735218048096 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 18:52:22.361454
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/18/51/image_19012025_18_51_02_444281_0003.jpg', '/home/pi/Desktop/images/19012025/18/52/image_19012025_18_52_02_628973_0000.jpg', '/home/pi/Desktop/images/19012025/18/52/image_19012025_18_52_02_628973_0001.jpg', '/home/pi/Desktop/images/19012025/18/52/image_19012025_18_52_02_628973_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/18/51/image_19012025_18_51_02_444281_0003.jpg
/home/pi/Desktop/images/19012025/18/52/image_19012025_18_52_02_628973_0000.jpg
/home/pi/Desktop/images/19012025/18/52/image_19012025_18_52_02_628973_0001.jpg
/home/pi/Desktop/images/19012025/18/52/image_19012025_18_52_02_628973_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 11.063111543655396 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-19 18:52:42.491535
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/18/51/image_19012025_18_51_02_444281_0003.jpg', '/home/pi/Desktop/images/19012025/18/52/image_19012025_18_52_02_628973_0000.jpg', '/home/pi/Desktop/images/19012025/18/52/image_19012025_18_52_02_628973_0001.jpg', '/home/pi/Desktop/images/19012025/18/52/image_19012025_18_52_02_628973_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/18/51/image_19012025_18_51_02_444281_0003.jpg
/home/pi/Desktop/images/19012025/18/52/image_19012025_18_52_02_628973_0000.jpg
/home/pi/Desktop/images/19012025/18/52/image_19012025_18_52_02_628973_0001.jpg
/home/pi/Desktop/images/19012025/18/52/image_19012025_18_52_02_628973_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330097087","1330097081","1330097083","1330097085"],"photo_ids_order":["1330097081","1330097083","1330097085","1330097087"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/95e2e1d3e8b58c6b87eb64e3d2890852.jpg","text":"TemporaryFile(/tmp/multipartBody6545967707314867673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737309234002,"filename":"image_19012025_18_52_02_628973_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/366a9d1fefdcd2bea3851b5042f995aa.jpg","text":"TemporaryFile(/tmp/multipartBody7258576131868218831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737309234002,"filename":"image_19012025_18_51_02_444281_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/2e21ed161a67444505320cbfd3228e2d.jpg","text":"TemporaryFile(/tmp/multipartBody7070571916655857791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737309234002,"filename":"image_19012025_18_52_02_628973_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/82ff84b097d9228be1ffb3161250df08.jpg","text":"TemporaryFile(/tmp/multipartBody3978892507541292587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737309234002,"filename":"image_19012025_18_52_02_628973_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330097085","file1":"1330097083","file0":"1330097081","file3":"1330097087"},"map_files_photo_id_array":[{"photo_id":"1330097085","filename":"file2"},{"photo_id":"1330097083","filename":"file1"},{"photo_id":"1330097081","filename":"file0"},{"photo_id":"1330097087","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330097087":["hashtag1","hashtag2"]},{"1330097081":["hashtag1","hashtag2"]},{"1330097083":["hashtag1","hashtag2"]},{"1330097085":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330097087, 1330097081, 1330097083, 1330097085)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.16079592704773 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-19 18:53:32.507003
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/18/52/image_19012025_18_52_02_628973_0003.jpg', '/home/pi/Desktop/images/19012025/18/53/image_19012025_18_53_02_718490_0000.jpg', '/home/pi/Desktop/images/19012025/18/53/image_19012025_18_53_02_718490_0001.jpg', '/home/pi/Desktop/images/19012025/18/53/image_19012025_18_53_02_718490_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/18/52/image_19012025_18_52_02_628973_0003.jpg
/home/pi/Desktop/images/19012025/18/53/image_19012025_18_53_02_718490_0000.jpg
/home/pi/Desktop/images/19012025/18/53/image_19012025_18_53_02_718490_0001.jpg
/home/pi/Desktop/images/19012025/18/53/image_19012025_18_53_02_718490_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330097352","1330097349","1330097344","1330097355"],"photo_ids_order":["1330097344","1330097349","1330097352","1330097355"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/093b5f6e1a38b1d4ea028087aa6a139d.jpg","text":"TemporaryFile(/tmp/multipartBody4248367189527888714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737309283709,"filename":"image_19012025_18_53_02_718490_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/4b95b76dbd189d5dcdeafafb8008f1a5.jpg","text":"TemporaryFile(/tmp/multipartBody1082734121577052745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737309283709,"filename":"image_19012025_18_53_02_718490_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/2e89be606381fddb8ca03db329b83e76.jpg","text":"TemporaryFile(/tmp/multipartBody131836870689267955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737309283709,"filename":"image_19012025_18_52_02_628973_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/9f2a4d75ec3bd7a1a2f277c225006a5a.jpg","text":"TemporaryFile(/tmp/multipartBody9126240478099904983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737309283709,"filename":"image_19012025_18_53_02_718490_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330097352","file1":"1330097349","file0":"1330097344","file3":"1330097355"},"map_files_photo_id_array":[{"photo_id":"1330097352","filename":"file2"},{"photo_id":"1330097349","filename":"file1"},{"photo_id":"1330097344","filename":"file0"},{"photo_id":"1330097355","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330097352":["hashtag1","hashtag2"]},{"1330097349":["hashtag1","hashtag2"]},{"1330097344":["hashtag1","hashtag2"]},{"1330097355":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330097352, 1330097349, 1330097344, 1330097355)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.79279661178589 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 18:54:22.756143
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/18/53/image_19012025_18_53_02_718490_0003.jpg', '/home/pi/Desktop/images/19012025/18/54/image_19012025_18_54_02_910625_0000.jpg', '/home/pi/Desktop/images/19012025/18/54/image_19012025_18_54_02_910625_0001.jpg', '/home/pi/Desktop/images/19012025/18/54/image_19012025_18_54_02_910625_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/18/53/image_19012025_18_53_02_718490_0003.jpg
/home/pi/Desktop/images/19012025/18/54/image_19012025_18_54_02_910625_0000.jpg
/home/pi/Desktop/images/19012025/18/54/image_19012025_18_54_02_910625_0001.jpg
/home/pi/Desktop/images/19012025/18/54/image_19012025_18_54_02_910625_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330097577","1330097582","1330097580","1330097574"],"photo_ids_order":["1330097574","1330097577","1330097580","1330097582"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/3d62773d4b4908d49be6f05223d296e8.jpg","text":"TemporaryFile(/tmp/multipartBody2535668327894373290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737309333865,"filename":"image_19012025_18_54_02_910625_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/1b4f8525918d183855680698ceb6ed10.jpg","text":"TemporaryFile(/tmp/multipartBody11176712560725797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737309333865,"filename":"image_19012025_18_54_02_910625_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/ae76fb0672a6812e5ba9c286fd96da87.jpg","text":"TemporaryFile(/tmp/multipartBody7100187126159959330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737309333865,"filename":"image_19012025_18_54_02_910625_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/69df832d6b0444e37ab79ebb7af6f0a4.jpg","text":"TemporaryFile(/tmp/multipartBody1288674619193955520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737309333865,"filename":"image_19012025_18_53_02_718490_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330097580","file1":"1330097577","file0":"1330097574","file3":"1330097582"},"map_files_photo_id_array":[{"photo_id":"1330097580","filename":"file2"},{"photo_id":"1330097577","filename":"file1"},{"photo_id":"1330097574","filename":"file0"},{"photo_id":"1330097582","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330097577":["hashtag1","hashtag2"]},{"1330097582":["hashtag1","hashtag2"]},{"1330097580":["hashtag1","hashtag2"]},{"1330097574":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330097577, 1330097582, 1330097580, 1330097574)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.6571991443634 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 18:55:21.906560
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/18/54/image_19012025_18_54_02_910625_0003.jpg', '/home/pi/Desktop/images/19012025/18/55/image_19012025_18_55_03_096420_0000.jpg', '/home/pi/Desktop/images/19012025/18/55/image_19012025_18_55_03_096420_0001.jpg', '/home/pi/Desktop/images/19012025/18/55/image_19012025_18_55_03_096420_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/18/54/image_19012025_18_54_02_910625_0003.jpg
/home/pi/Desktop/images/19012025/18/55/image_19012025_18_55_03_096420_0000.jpg
/home/pi/Desktop/images/19012025/18/55/image_19012025_18_55_03_096420_0001.jpg
/home/pi/Desktop/images/19012025/18/55/image_19012025_18_55_03_096420_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330097864","1330097825","1330097866","1330097862"],"photo_ids_order":["1330097825","1330097862","1330097864","1330097866"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/8d21223fb64eb3b077bc3657dea04b94.jpg","text":"TemporaryFile(/tmp/multipartBody6925418038835490771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737309393243,"filename":"image_19012025_18_55_03_096420_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/383b237ab698aa4537bb2661413c158a.jpg","text":"TemporaryFile(/tmp/multipartBody3660082133547967126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737309393243,"filename":"image_19012025_18_54_02_910625_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/3fdb7056df188722dbd1e19e70b0d3bc.jpg","text":"TemporaryFile(/tmp/multipartBody889659100931244975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737309393243,"filename":"image_19012025_18_55_03_096420_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/4ef5c91fc9eb38be54d09bda29693417.jpg","text":"TemporaryFile(/tmp/multipartBody5390540228516396338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737309393243,"filename":"image_19012025_18_55_03_096420_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330097864","file1":"1330097862","file0":"1330097825","file3":"1330097866"},"map_files_photo_id_array":[{"photo_id":"1330097864","filename":"file2"},{"photo_id":"1330097862","filename":"file1"},{"photo_id":"1330097825","filename":"file0"},{"photo_id":"1330097866","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330097864":["hashtag1","hashtag2"]},{"1330097825":["hashtag1","hashtag2"]},{"1330097866":["hashtag1","hashtag2"]},{"1330097862":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330097864, 1330097825, 1330097866, 1330097862)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.82272386550903 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 18:56:22.141716
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/18/55/image_19012025_18_55_03_096420_0003.jpg', '/home/pi/Desktop/images/19012025/18/56/image_19012025_18_56_02_260166_0000.jpg', '/home/pi/Desktop/images/19012025/18/56/image_19012025_18_56_02_260166_0001.jpg', '/home/pi/Desktop/images/19012025/18/56/image_19012025_18_56_02_260166_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/18/55/image_19012025_18_55_03_096420_0003.jpg
/home/pi/Desktop/images/19012025/18/56/image_19012025_18_56_02_260166_0000.jpg
/home/pi/Desktop/images/19012025/18/56/image_19012025_18_56_02_260166_0001.jpg
/home/pi/Desktop/images/19012025/18/56/image_19012025_18_56_02_260166_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 11.346696376800537 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-19 18:56:42.170612
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/18/55/image_19012025_18_55_03_096420_0003.jpg', '/home/pi/Desktop/images/19012025/18/56/image_19012025_18_56_02_260166_0000.jpg', '/home/pi/Desktop/images/19012025/18/56/image_19012025_18_56_02_260166_0001.jpg', '/home/pi/Desktop/images/19012025/18/56/image_19012025_18_56_02_260166_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/18/55/image_19012025_18_55_03_096420_0003.jpg
/home/pi/Desktop/images/19012025/18/56/image_19012025_18_56_02_260166_0000.jpg
/home/pi/Desktop/images/19012025/18/56/image_19012025_18_56_02_260166_0001.jpg
/home/pi/Desktop/images/19012025/18/56/image_19012025_18_56_02_260166_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330097910","1330097906","1330097909","1330097903"],"photo_ids_order":["1330097903","1330097906","1330097909","1330097910"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/7fdd531e984b2e365d8e29af706a7169.jpg","text":"TemporaryFile(/tmp/multipartBody8846111719377361769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737309473916,"filename":"image_19012025_18_56_02_260166_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/2d7ffa0128fc5c6d2b869bd67dec8694.jpg","text":"TemporaryFile(/tmp/multipartBody8944981886478373604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737309473916,"filename":"image_19012025_18_56_02_260166_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/fc4f7eb54f32514afc5f56bd48f3d0f0.jpg","text":"TemporaryFile(/tmp/multipartBody3300164202422707770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737309473916,"filename":"image_19012025_18_56_02_260166_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/d21700156bfad5f7881a4edb2e094377.jpg","text":"TemporaryFile(/tmp/multipartBody132058861654997037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737309473916,"filename":"image_19012025_18_55_03_096420_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330097909","file1":"1330097906","file0":"1330097903","file3":"1330097910"},"map_files_photo_id_array":[{"photo_id":"1330097909","filename":"file2"},{"photo_id":"1330097906","filename":"file1"},{"photo_id":"1330097903","filename":"file0"},{"photo_id":"1330097910","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330097910":["hashtag1","hashtag2"]},{"1330097906":["hashtag1","hashtag2"]},{"1330097909":["hashtag1","hashtag2"]},{"1330097903":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330097910, 1330097906, 1330097909, 1330097903)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.18424439430237 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-19 18:57:32.274787
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/18/56/image_19012025_18_56_02_260166_0003.jpg', '/home/pi/Desktop/images/19012025/18/57/image_19012025_18_57_02_435249_0000.jpg', '/home/pi/Desktop/images/19012025/18/57/image_19012025_18_57_02_435249_0001.jpg', '/home/pi/Desktop/images/19012025/18/57/image_19012025_18_57_02_435249_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/18/56/image_19012025_18_56_02_260166_0003.jpg
/home/pi/Desktop/images/19012025/18/57/image_19012025_18_57_02_435249_0000.jpg
/home/pi/Desktop/images/19012025/18/57/image_19012025_18_57_02_435249_0001.jpg
/home/pi/Desktop/images/19012025/18/57/image_19012025_18_57_02_435249_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 18:59:03.271779
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/18/56/image_19012025_18_56_02_260166_0003.jpg', '/home/pi/Desktop/images/19012025/18/57/image_19012025_18_57_02_435249_0000.jpg', '/home/pi/Desktop/images/19012025/18/57/image_19012025_18_57_02_435249_0001.jpg', '/home/pi/Desktop/images/19012025/18/57/image_19012025_18_57_02_435249_0002.jpg', '/home/pi/Desktop/images/19012025/18/57/image_19012025_18_57_02_435249_0003.jpg', '/home/pi/Desktop/images/19012025/18/58/image_19012025_18_58_02_601463_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/18/56/image_19012025_18_56_02_260166_0003.jpg
/home/pi/Desktop/images/19012025/18/57/image_19012025_18_57_02_435249_0000.jpg
/home/pi/Desktop/images/19012025/18/57/image_19012025_18_57_02_435249_0001.jpg
/home/pi/Desktop/images/19012025/18/57/image_19012025_18_57_02_435249_0002.jpg
/home/pi/Desktop/images/19012025/18/57/image_19012025_18_57_02_435249_0003.jpg
/home/pi/Desktop/images/19012025/18/58/image_19012025_18_58_02_601463_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":["1330097983","1330097986","1330097971","1330097980","1330097988","1330097976"],"photo_ids_order":["1330097971","1330097976","1330097980","1330097983","1330097986","1330097988"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/c0be5ba99f360475e4c8a61c0092183a.jpg","text":"TemporaryFile(/tmp/multipartBody5786937379876652185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737309620124,"filename":"image_19012025_18_57_02_435249_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/3efb0a2dd1d78787a3c1076a69e46dc1.jpg","text":"TemporaryFile(/tmp/multipartBody2170006427894179742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737309620124,"filename":"image_19012025_18_57_02_435249_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/ae66530281bf12f833f14d970eb3c05e.jpg","text":"TemporaryFile(/tmp/multipartBody4154816350151606318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737309620124,"filename":"image_19012025_18_56_02_260166_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/f5e46177c540ac921247f1ba23af8ac9.jpg","text":"TemporaryFile(/tmp/multipartBody3681498561814148220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737309620124,"filename":"image_19012025_18_57_02_435249_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/9f6f07d568d25570a7e5cb5ad97c353d.jpg","text":"TemporaryFile(/tmp/multipartBody177465944577185376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737309620124,"filename":"image_19012025_18_58_02_601463_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/45aec6dabaafd52e8e7b3109f768c92d.jpg","text":"TemporaryFile(/tmp/multipartBody7058309492699453469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737309620124,"filename":"image_19012025_18_57_02_435249_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330097980","file1":"1330097976","file0":"1330097971","file4":"1330097986","file5":"1330097988","file3":"1330097983"},"map_files_photo_id_array":[{"photo_id":"1330097988","filename":"file5"},{"photo_id":"1330097980","filename":"file2"},{"photo_id":"1330097986","filename":"file4"},{"photo_id":"1330097976","filename":"file1"},{"photo_id":"1330097971","filename":"file0"},{"photo_id":"1330097983","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330097983":["hashtag1","hashtag2"]},{"1330097986":["hashtag1","hashtag2"]},{"1330097971":["hashtag1","hashtag2"]},{"1330097980":["hashtag1","hashtag2"]},{"1330097988":["hashtag1","hashtag2"]},{"1330097976":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330097983, 1330097986, 1330097971, 1330097980, 1330097988, 1330097976)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.32285523414612 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 19:00:03.173585
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/18/58/image_19012025_18_58_02_601463_0001.jpg', '/home/pi/Desktop/images/19012025/18/58/image_19012025_18_58_02_601463_0002.jpg', '/home/pi/Desktop/images/19012025/18/58/image_19012025_18_58_02_601463_0003.jpg', '/home/pi/Desktop/images/19012025/18/59/image_19012025_18_59_02_808997_0000.jpg', '/home/pi/Desktop/images/19012025/18/59/image_19012025_18_59_02_808997_0001.jpg', '/home/pi/Desktop/images/19012025/18/59/image_19012025_18_59_02_808997_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/18/58/image_19012025_18_58_02_601463_0001.jpg
/home/pi/Desktop/images/19012025/18/58/image_19012025_18_58_02_601463_0002.jpg
/home/pi/Desktop/images/19012025/18/58/image_19012025_18_58_02_601463_0003.jpg
/home/pi/Desktop/images/19012025/18/59/image_19012025_18_59_02_808997_0000.jpg
/home/pi/Desktop/images/19012025/18/59/image_19012025_18_59_02_808997_0001.jpg
/home/pi/Desktop/images/19012025/18/59/image_19012025_18_59_02_808997_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330098884","1330098881","1330098257","1330098544","1330098001","1330097997"],"photo_ids_order":["1330097997","1330098001","1330098257","1330098544","1330098881","1330098884"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/4c13e576f2c873be10acf1c9eaf60cd2.jpg","text":"TemporaryFile(/tmp/multipartBody8539967468099008769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737309679707,"filename":"image_19012025_18_59_02_808997_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/fc2f00e7aa4804763ff72fc53168566f.jpg","text":"TemporaryFile(/tmp/multipartBody6232526577802541977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737309679707,"filename":"image_19012025_18_59_02_808997_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/6ed9837cc5333299abfcb7a7873c1a87.jpg","text":"TemporaryFile(/tmp/multipartBody6966474452437892042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737309679707,"filename":"image_19012025_18_58_02_601463_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/f30bf7b5af1ca07331874d5333b72a14.jpg","text":"TemporaryFile(/tmp/multipartBody3872146626870314247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737309679707,"filename":"image_19012025_18_59_02_808997_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/99dad3e83f3cae5586f7ecf3b4d49e25.jpg","text":"TemporaryFile(/tmp/multipartBody4921227462611394595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737309679707,"filename":"image_19012025_18_58_02_601463_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/b5e3674133d3df9af06ddbe08f9aadc1.jpg","text":"TemporaryFile(/tmp/multipartBody4964214668961768173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737309679707,"filename":"image_19012025_18_58_02_601463_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330098257","file1":"1330098001","file0":"1330097997","file4":"1330098881","file5":"1330098884","file3":"1330098544"},"map_files_photo_id_array":[{"photo_id":"1330098884","filename":"file5"},{"photo_id":"1330098257","filename":"file2"},{"photo_id":"1330098881","filename":"file4"},{"photo_id":"1330098001","filename":"file1"},{"photo_id":"1330097997","filename":"file0"},{"photo_id":"1330098544","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330098884":["hashtag1","hashtag2"]},{"1330098881":["hashtag1","hashtag2"]},{"1330098257":["hashtag1","hashtag2"]},{"1330098544":["hashtag1","hashtag2"]},{"1330098001":["hashtag1","hashtag2"]},{"1330097997":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330098884, 1330098881, 1330098257, 1330098544, 1330098001, 1330097997)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.122644901275635 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 19:01:02.491116
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/18/59/image_19012025_18_59_02_808997_0003.jpg', '/home/pi/Desktop/images/19012025/19/00/image_19012025_19_00_02_950178_0000.jpg', '/home/pi/Desktop/images/19012025/19/00/image_19012025_19_00_02_950178_0001.jpg', '/home/pi/Desktop/images/19012025/19/00/image_19012025_19_00_02_950178_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/18/59/image_19012025_18_59_02_808997_0003.jpg
/home/pi/Desktop/images/19012025/19/00/image_19012025_19_00_02_950178_0000.jpg
/home/pi/Desktop/images/19012025/19/00/image_19012025_19_00_02_950178_0001.jpg
/home/pi/Desktop/images/19012025/19/00/image_19012025_19_00_02_950178_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330098890","1330099093","1330098991","1330099062"],"photo_ids_order":["1330098890","1330098991","1330099062","1330099093"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/e6294ef6b59b71809c6adb7c77285ec8.jpg","text":"TemporaryFile(/tmp/multipartBody6406221550185612181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737309734806,"filename":"image_19012025_18_59_02_808997_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/ccceb623794036ab1a36b5c934ed51ad.jpg","text":"TemporaryFile(/tmp/multipartBody7965391973355624807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737309734806,"filename":"image_19012025_19_00_02_950178_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/0ce76b095016c2aee5ba93d1557868f1.jpg","text":"TemporaryFile(/tmp/multipartBody8804235669802734969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737309734806,"filename":"image_19012025_19_00_02_950178_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/d2d4aad8382c3de67a2e853b1d2a1b4f.jpg","text":"TemporaryFile(/tmp/multipartBody6092370600141301324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737309734806,"filename":"image_19012025_19_00_02_950178_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330099062","file1":"1330098991","file0":"1330098890","file3":"1330099093"},"map_files_photo_id_array":[{"photo_id":"1330099062","filename":"file2"},{"photo_id":"1330098991","filename":"file1"},{"photo_id":"1330098890","filename":"file0"},{"photo_id":"1330099093","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330098890":["hashtag1","hashtag2"]},{"1330099093":["hashtag1","hashtag2"]},{"1330098991":["hashtag1","hashtag2"]},{"1330099062":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330098890, 1330099093, 1330098991, 1330099062)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.81904077529907 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-19 19:01:51.927421
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/19/00/image_19012025_19_00_02_950178_0003.jpg', '/home/pi/Desktop/images/19012025/19/01/image_19012025_19_01_03_136327_0000.jpg', '/home/pi/Desktop/images/19012025/19/01/image_19012025_19_01_03_136327_0001.jpg', '/home/pi/Desktop/images/19012025/19/01/image_19012025_19_01_03_136327_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/19/00/image_19012025_19_00_02_950178_0003.jpg
/home/pi/Desktop/images/19012025/19/01/image_19012025_19_01_03_136327_0000.jpg
/home/pi/Desktop/images/19012025/19/01/image_19012025_19_01_03_136327_0001.jpg
/home/pi/Desktop/images/19012025/19/01/image_19012025_19_01_03_136327_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 11.760168313980103 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 19:02:22.131592
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/19/00/image_19012025_19_00_02_950178_0003.jpg', '/home/pi/Desktop/images/19012025/19/01/image_19012025_19_01_03_136327_0000.jpg', '/home/pi/Desktop/images/19012025/19/01/image_19012025_19_01_03_136327_0001.jpg', '/home/pi/Desktop/images/19012025/19/01/image_19012025_19_01_03_136327_0002.jpg', '/home/pi/Desktop/images/19012025/19/01/image_19012025_19_01_03_136327_0003.jpg', '/home/pi/Desktop/images/19012025/19/02/image_19012025_19_02_02_363593_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/19/00/image_19012025_19_00_02_950178_0003.jpg
/home/pi/Desktop/images/19012025/19/01/image_19012025_19_01_03_136327_0000.jpg
/home/pi/Desktop/images/19012025/19/01/image_19012025_19_01_03_136327_0001.jpg
/home/pi/Desktop/images/19012025/19/01/image_19012025_19_01_03_136327_0002.jpg
/home/pi/Desktop/images/19012025/19/01/image_19012025_19_01_03_136327_0003.jpg
/home/pi/Desktop/images/19012025/19/02/image_19012025_19_02_02_363593_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":["1330099172","1330099177","1330099708","1330099314","1330099877","1330099175"],"photo_ids_order":["1330099172","1330099175","1330099177","1330099314","1330099708","1330099877"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/c7dc955734201828f168009ab9eab34e.jpg","text":"TemporaryFile(/tmp/multipartBody3672773306629072139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737309819483,"filename":"image_19012025_19_00_02_950178_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/927c71354649af0755a9c91e8f32753b.jpg","text":"TemporaryFile(/tmp/multipartBody983642580202057081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737309819483,"filename":"image_19012025_19_01_03_136327_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/def335e3a0d9f2cbd90a80cd793b4330.jpg","text":"TemporaryFile(/tmp/multipartBody7302808241408895525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737309819483,"filename":"image_19012025_19_01_03_136327_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/e74faf52849514aa7d98520670183567.jpg","text":"TemporaryFile(/tmp/multipartBody8314964325068633174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737309819483,"filename":"image_19012025_19_01_03_136327_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/9cf86db9f7557db1955d60d96684ec06.jpg","text":"TemporaryFile(/tmp/multipartBody8191602283292063185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737309819483,"filename":"image_19012025_19_02_02_363593_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/17087163e8fdfb661f2a0e09c51b51a9.jpg","text":"TemporaryFile(/tmp/multipartBody6102225228693956475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737309819483,"filename":"image_19012025_19_01_03_136327_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330099177","file1":"1330099175","file0":"1330099172","file4":"1330099708","file5":"1330099877","file3":"1330099314"},"map_files_photo_id_array":[{"photo_id":"1330099877","filename":"file5"},{"photo_id":"1330099177","filename":"file2"},{"photo_id":"1330099708","filename":"file4"},{"photo_id":"1330099175","filename":"file1"},{"photo_id":"1330099172","filename":"file0"},{"photo_id":"1330099314","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330099172":["hashtag1","hashtag2"]},{"1330099177":["hashtag1","hashtag2"]},{"1330099708":["hashtag1","hashtag2"]},{"1330099314":["hashtag1","hashtag2"]},{"1330099877":["hashtag1","hashtag2"]},{"1330099175":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330099172, 1330099177, 1330099708, 1330099314, 1330099877, 1330099175)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.46465086936951 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 19:03:22.403514
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/19/02/image_19012025_19_02_02_363593_0001.jpg', '/home/pi/Desktop/images/19012025/19/02/image_19012025_19_02_02_363593_0002.jpg', '/home/pi/Desktop/images/19012025/19/02/image_19012025_19_02_02_363593_0003.jpg', '/home/pi/Desktop/images/19012025/19/03/image_19012025_19_03_02_451461_0000.jpg', '/home/pi/Desktop/images/19012025/19/03/image_19012025_19_03_02_451461_0001.jpg', '/home/pi/Desktop/images/19012025/19/03/image_19012025_19_03_02_451461_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/19/02/image_19012025_19_02_02_363593_0001.jpg
/home/pi/Desktop/images/19012025/19/02/image_19012025_19_02_02_363593_0002.jpg
/home/pi/Desktop/images/19012025/19/02/image_19012025_19_02_02_363593_0003.jpg
/home/pi/Desktop/images/19012025/19/03/image_19012025_19_03_02_451461_0000.jpg
/home/pi/Desktop/images/19012025/19/03/image_19012025_19_03_02_451461_0001.jpg
/home/pi/Desktop/images/19012025/19/03/image_19012025_19_03_02_451461_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330100071","1330100149","1330100145","1330100063","1330100117","1330099883"],"photo_ids_order":["1330099883","1330100063","1330100071","1330100117","1330100145","1330100149"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/c06fd4d67b52c62a70ae31598c8c6259.jpg","text":"TemporaryFile(/tmp/multipartBody175723824955048244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737309879170,"filename":"image_19012025_19_02_02_363593_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/226a1b2242f97d801803f6995021f19f.jpg","text":"TemporaryFile(/tmp/multipartBody5880610982465403132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737309879170,"filename":"image_19012025_19_03_02_451461_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/d8723f202e4744431ad440beaaf71e09.jpg","text":"TemporaryFile(/tmp/multipartBody3440261769436834572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737309879170,"filename":"image_19012025_19_03_02_451461_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/50cf03fa7cec0de134393de6ed70d825.jpg","text":"TemporaryFile(/tmp/multipartBody4036965700578308421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737309879170,"filename":"image_19012025_19_02_02_363593_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/ad7567ed3ce81c8aa5221e482d7886b2.jpg","text":"TemporaryFile(/tmp/multipartBody1030215227007358678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737309879170,"filename":"image_19012025_19_03_02_451461_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/1afe2a91cc7892290bd74b274f87044d.jpg","text":"TemporaryFile(/tmp/multipartBody8555834102689055012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737309879170,"filename":"image_19012025_19_02_02_363593_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330100071","file1":"1330100063","file0":"1330099883","file4":"1330100145","file5":"1330100149","file3":"1330100117"},"map_files_photo_id_array":[{"photo_id":"1330100149","filename":"file5"},{"photo_id":"1330100071","filename":"file2"},{"photo_id":"1330100145","filename":"file4"},{"photo_id":"1330100063","filename":"file1"},{"photo_id":"1330099883","filename":"file0"},{"photo_id":"1330100117","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330100071":["hashtag1","hashtag2"]},{"1330100149":["hashtag1","hashtag2"]},{"1330100145":["hashtag1","hashtag2"]},{"1330100063":["hashtag1","hashtag2"]},{"1330100117":["hashtag1","hashtag2"]},{"1330099883":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330100071, 1330100149, 1330100145, 1330100063, 1330100117, 1330099883)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.90558314323425 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 19:04:22.518596
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/19/03/image_19012025_19_03_02_451461_0003.jpg', '/home/pi/Desktop/images/19012025/19/04/image_19012025_19_04_02_762750_0000.jpg', '/home/pi/Desktop/images/19012025/19/04/image_19012025_19_04_02_762750_0001.jpg', '/home/pi/Desktop/images/19012025/19/04/image_19012025_19_04_02_762750_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/19/03/image_19012025_19_03_02_451461_0003.jpg
/home/pi/Desktop/images/19012025/19/04/image_19012025_19_04_02_762750_0000.jpg
/home/pi/Desktop/images/19012025/19/04/image_19012025_19_04_02_762750_0001.jpg
/home/pi/Desktop/images/19012025/19/04/image_19012025_19_04_02_762750_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330100169","1330100163","1330100165","1330100174"],"photo_ids_order":["1330100163","1330100165","1330100169","1330100174"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/2d32bd7385c5b53e7f43a03485e25fc4.jpg","text":"TemporaryFile(/tmp/multipartBody4771042035250872923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737309933951,"filename":"image_19012025_19_04_02_762750_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/5ac384df0cd078c68796b29047db7a9f.jpg","text":"TemporaryFile(/tmp/multipartBody8598071120458171635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737309933951,"filename":"image_19012025_19_03_02_451461_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/19d6703c8ba868721a05fb0add0beab6.jpg","text":"TemporaryFile(/tmp/multipartBody4704392161371220684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737309933951,"filename":"image_19012025_19_04_02_762750_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/63d319627fc0430f1e75b47318e74b43.jpg","text":"TemporaryFile(/tmp/multipartBody2048368018041346996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737309933951,"filename":"image_19012025_19_04_02_762750_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330100169","file1":"1330100165","file0":"1330100163","file3":"1330100174"},"map_files_photo_id_array":[{"photo_id":"1330100169","filename":"file2"},{"photo_id":"1330100165","filename":"file1"},{"photo_id":"1330100163","filename":"file0"},{"photo_id":"1330100174","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330100169":["hashtag1","hashtag2"]},{"1330100163":["hashtag1","hashtag2"]},{"1330100165":["hashtag1","hashtag2"]},{"1330100174":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330100169, 1330100163, 1330100165, 1330100174)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.66351509094238 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 19:05:22.707450
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/19/04/image_19012025_19_04_02_762750_0003.jpg', '/home/pi/Desktop/images/19012025/19/05/image_19012025_19_05_02_857386_0000.jpg', '/home/pi/Desktop/images/19012025/19/05/image_19012025_19_05_02_857386_0001.jpg', '/home/pi/Desktop/images/19012025/19/05/image_19012025_19_05_02_857386_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/19/04/image_19012025_19_04_02_762750_0003.jpg
/home/pi/Desktop/images/19012025/19/05/image_19012025_19_05_02_857386_0000.jpg
/home/pi/Desktop/images/19012025/19/05/image_19012025_19_05_02_857386_0001.jpg
/home/pi/Desktop/images/19012025/19/05/image_19012025_19_05_02_857386_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330100323","1330100326","1330100295","1330100316"],"photo_ids_order":["1330100295","1330100316","1330100323","1330100326"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/7c1deb7e8ac7633ea1a3db751688e28e.jpg","text":"TemporaryFile(/tmp/multipartBody7251366864892153247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737309994190,"filename":"image_19012025_19_05_02_857386_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/fef2413b1a69c0fa6ceeacbb5b26872f.jpg","text":"TemporaryFile(/tmp/multipartBody6323706302652161585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737309994190,"filename":"image_19012025_19_05_02_857386_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/a7acbe8a52eafc658a35af71de57e09c.jpg","text":"TemporaryFile(/tmp/multipartBody1777748161554908979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737309994190,"filename":"image_19012025_19_04_02_762750_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/7cef25aa6977243629463b02d9789122.jpg","text":"TemporaryFile(/tmp/multipartBody6613654134809963151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737309994190,"filename":"image_19012025_19_05_02_857386_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330100323","file1":"1330100316","file0":"1330100295","file3":"1330100326"},"map_files_photo_id_array":[{"photo_id":"1330100323","filename":"file2"},{"photo_id":"1330100316","filename":"file1"},{"photo_id":"1330100295","filename":"file0"},{"photo_id":"1330100326","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330100323":["hashtag1","hashtag2"]},{"1330100326":["hashtag1","hashtag2"]},{"1330100295":["hashtag1","hashtag2"]},{"1330100316":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330100323, 1330100326, 1330100295, 1330100316)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.088947772979736 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 19:06:21.940558
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/19/05/image_19012025_19_05_02_857386_0003.jpg', '/home/pi/Desktop/images/19012025/19/06/image_19012025_19_06_03_053148_0000.jpg', '/home/pi/Desktop/images/19012025/19/06/image_19012025_19_06_03_053148_0001.jpg', '/home/pi/Desktop/images/19012025/19/06/image_19012025_19_06_03_053148_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/19/05/image_19012025_19_05_02_857386_0003.jpg
/home/pi/Desktop/images/19012025/19/06/image_19012025_19_06_03_053148_0000.jpg
/home/pi/Desktop/images/19012025/19/06/image_19012025_19_06_03_053148_0001.jpg
/home/pi/Desktop/images/19012025/19/06/image_19012025_19_06_03_053148_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330101445","1330101438","1330101441","1330101448"],"photo_ids_order":["1330101438","1330101441","1330101445","1330101448"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/2efa53354bb507627725f2dca740148f.jpg","text":"TemporaryFile(/tmp/multipartBody1213656054610789855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737310053063,"filename":"image_19012025_19_06_03_053148_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/d5dedac1b86059617631d01cb19d5d5b.jpg","text":"TemporaryFile(/tmp/multipartBody6771013560958507840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737310053063,"filename":"image_19012025_19_05_02_857386_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/b34b2a7504a14fd37024d3acd1c62d56.jpg","text":"TemporaryFile(/tmp/multipartBody3646855782760815506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737310053063,"filename":"image_19012025_19_06_03_053148_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/92ec861bde2e0f5c121abb742f7d521a.jpg","text":"TemporaryFile(/tmp/multipartBody8715003482981639277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737310053063,"filename":"image_19012025_19_06_03_053148_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330101445","file1":"1330101441","file0":"1330101438","file3":"1330101448"},"map_files_photo_id_array":[{"photo_id":"1330101445","filename":"file2"},{"photo_id":"1330101441","filename":"file1"},{"photo_id":"1330101438","filename":"file0"},{"photo_id":"1330101448","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330101445":["hashtag1","hashtag2"]},{"1330101438":["hashtag1","hashtag2"]},{"1330101441":["hashtag1","hashtag2"]},{"1330101448":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330101445, 1330101438, 1330101441, 1330101448)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.092122077941895 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 19:07:02.603447
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/23/58/image_18012025_23_58_02_596192_0001.jpg', '/home/pi/Desktop/images/18012025/23/58/image_18012025_23_58_02_596192_0002.jpg', '/home/pi/Desktop/images/18012025/23/58/image_18012025_23_58_02_596192_0003.jpg', '/home/pi/Desktop/images/18012025/23/59/image_18012025_23_59_02_716834_0000.jpg', '/home/pi/Desktop/images/18012025/23/59/image_18012025_23_59_02_716834_0001.jpg', '/home/pi/Desktop/images/18012025/23/59/image_18012025_23_59_02_716834_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/23/58/image_18012025_23_58_02_596192_0001.jpg
/home/pi/Desktop/images/18012025/23/58/image_18012025_23_58_02_596192_0002.jpg
/home/pi/Desktop/images/18012025/23/58/image_18012025_23_58_02_596192_0003.jpg
/home/pi/Desktop/images/18012025/23/59/image_18012025_23_59_02_716834_0000.jpg
/home/pi/Desktop/images/18012025/23/59/image_18012025_23_59_02_716834_0001.jpg
/home/pi/Desktop/images/18012025/23/59/image_18012025_23_59_02_716834_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330101489","1330101491","1330101494","1330101497","1330101503","1330101500"],"photo_ids_order":["1330101489","1330101491","1330101494","1330101497","1330101500","1330101503"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/8c4bf53fa4f4696ac83707097146880d.jpg","text":"TemporaryFile(/tmp/multipartBody4899784737385170016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737310100444,"filename":"image_18012025_23_58_02_596192_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/830cc6ad82aa68bf917edea375161cfd.jpg","text":"TemporaryFile(/tmp/multipartBody8984876462149632850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737310100444,"filename":"image_18012025_23_58_02_596192_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/e810a1f5f5338f0791fd30de53d4d927.jpg","text":"TemporaryFile(/tmp/multipartBody3545514196698966901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737310100444,"filename":"image_18012025_23_58_02_596192_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/cfa7e9ad405daa42bac74b3e935b54ac.jpg","text":"TemporaryFile(/tmp/multipartBody12272270256156592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737310100444,"filename":"image_18012025_23_59_02_716834_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/10b0a2d6403ccae1e2fc1af4fabc9505.jpg","text":"TemporaryFile(/tmp/multipartBody3442084886682572170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737310100444,"filename":"image_18012025_23_59_02_716834_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/0a30edd5ef3259899a582b3473f2b823.jpg","text":"TemporaryFile(/tmp/multipartBody5056351707662170098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737310100444,"filename":"image_18012025_23_59_02_716834_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330101494","file1":"1330101491","file0":"1330101489","file4":"1330101500","file5":"1330101503","file3":"1330101497"},"map_files_photo_id_array":[{"photo_id":"1330101503","filename":"file5"},{"photo_id":"1330101494","filename":"file2"},{"photo_id":"1330101500","filename":"file4"},{"photo_id":"1330101491","filename":"file1"},{"photo_id":"1330101489","filename":"file0"},{"photo_id":"1330101497","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1330101489":["hashtag1","hashtag2"]},{"1330101491":["hashtag1","hashtag2"]},{"1330101494":["hashtag1","hashtag2"]},{"1330101497":["hashtag1","hashtag2"]},{"1330101503":["hashtag1","hashtag2"]},{"1330101500":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1330101489, 1330101491, 1330101494, 1330101497, 1330101503, 1330101500)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.189069986343384 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 19:08:22.320218
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/19/06/image_19012025_19_06_03_053148_0003.jpg', '/home/pi/Desktop/images/19012025/19/07/image_19012025_19_07_02_292850_0000.jpg', '/home/pi/Desktop/images/19012025/19/07/image_19012025_19_07_02_292850_0001.jpg', '/home/pi/Desktop/images/19012025/19/07/image_19012025_19_07_02_292850_0002.jpg', '/home/pi/Desktop/images/19012025/19/07/image_19012025_19_07_02_292850_0003.jpg', '/home/pi/Desktop/images/19012025/19/08/image_19012025_19_08_02_442071_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/19/06/image_19012025_19_06_03_053148_0003.jpg
/home/pi/Desktop/images/19012025/19/07/image_19012025_19_07_02_292850_0000.jpg
/home/pi/Desktop/images/19012025/19/07/image_19012025_19_07_02_292850_0001.jpg
/home/pi/Desktop/images/19012025/19/07/image_19012025_19_07_02_292850_0002.jpg
/home/pi/Desktop/images/19012025/19/07/image_19012025_19_07_02_292850_0003.jpg
/home/pi/Desktop/images/19012025/19/08/image_19012025_19_08_02_442071_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: 16.4604229927063 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-19 19:08:42.289460
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/19/06/image_19012025_19_06_03_053148_0003.jpg', '/home/pi/Desktop/images/19012025/19/07/image_19012025_19_07_02_292850_0000.jpg', '/home/pi/Desktop/images/19012025/19/07/image_19012025_19_07_02_292850_0001.jpg', '/home/pi/Desktop/images/19012025/19/07/image_19012025_19_07_02_292850_0002.jpg', '/home/pi/Desktop/images/19012025/19/07/image_19012025_19_07_02_292850_0003.jpg', '/home/pi/Desktop/images/19012025/19/08/image_19012025_19_08_02_442071_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/19/06/image_19012025_19_06_03_053148_0003.jpg
/home/pi/Desktop/images/19012025/19/07/image_19012025_19_07_02_292850_0000.jpg
/home/pi/Desktop/images/19012025/19/07/image_19012025_19_07_02_292850_0001.jpg
/home/pi/Desktop/images/19012025/19/07/image_19012025_19_07_02_292850_0002.jpg
/home/pi/Desktop/images/19012025/19/07/image_19012025_19_07_02_292850_0003.jpg
/home/pi/Desktop/images/19012025/19/08/image_19012025_19_08_02_442071_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":["1330102227","1330102434","1330102163","1330102166","1330102406","1330102405"],"photo_ids_order":["1330102163","1330102166","1330102227","1330102405","1330102406","1330102434"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/370db9ee4a29bd40bc5814eae0bcd485.jpg","text":"TemporaryFile(/tmp/multipartBody1447371685696659889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737310199180,"filename":"image_19012025_19_07_02_292850_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/2431f2ec2193791f8cbaa0e8e4d8bd60.jpg","text":"TemporaryFile(/tmp/multipartBody6825234704326938983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737310199180,"filename":"image_19012025_19_08_02_442071_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/0a0ed793d42fce25c4d14c61f40c80e2.jpg","text":"TemporaryFile(/tmp/multipartBody4270365176531045939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737310199180,"filename":"image_19012025_19_06_03_053148_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/e7a05f52de67110dea2d3e2a56a91cda.jpg","text":"TemporaryFile(/tmp/multipartBody3039124017441349498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737310199180,"filename":"image_19012025_19_07_02_292850_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/c6403017ba5bff467408cb6484296d0f.jpg","text":"TemporaryFile(/tmp/multipartBody340948710884917727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737310199180,"filename":"image_19012025_19_07_02_292850_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/95f79639d924fec74c80839931a794d4.jpg","text":"TemporaryFile(/tmp/multipartBody5696079145615786092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737310199180,"filename":"image_19012025_19_07_02_292850_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330102227","file1":"1330102166","file0":"1330102163","file4":"1330102406","file5":"1330102434","file3":"1330102405"},"map_files_photo_id_array":[{"photo_id":"1330102434","filename":"file5"},{"photo_id":"1330102227","filename":"file2"},{"photo_id":"1330102406","filename":"file4"},{"photo_id":"1330102166","filename":"file1"},{"photo_id":"1330102163","filename":"file0"},{"photo_id":"1330102405","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330102227":["hashtag1","hashtag2"]},{"1330102434":["hashtag1","hashtag2"]},{"1330102163":["hashtag1","hashtag2"]},{"1330102166":["hashtag1","hashtag2"]},{"1330102406":["hashtag1","hashtag2"]},{"1330102405":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330102227, 1330102434, 1330102163, 1330102166, 1330102406, 1330102405)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.87525749206543 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-19 19:09:42.531814
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/19/08/image_19012025_19_08_02_442071_0001.jpg', '/home/pi/Desktop/images/19012025/19/08/image_19012025_19_08_02_442071_0002.jpg', '/home/pi/Desktop/images/19012025/19/08/image_19012025_19_08_02_442071_0003.jpg', '/home/pi/Desktop/images/19012025/19/09/image_19012025_19_09_02_655369_0000.jpg', '/home/pi/Desktop/images/19012025/19/09/image_19012025_19_09_02_655369_0001.jpg', '/home/pi/Desktop/images/19012025/19/09/image_19012025_19_09_02_655369_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/19/08/image_19012025_19_08_02_442071_0001.jpg
/home/pi/Desktop/images/19012025/19/08/image_19012025_19_08_02_442071_0002.jpg
/home/pi/Desktop/images/19012025/19/08/image_19012025_19_08_02_442071_0003.jpg
/home/pi/Desktop/images/19012025/19/09/image_19012025_19_09_02_655369_0000.jpg
/home/pi/Desktop/images/19012025/19/09/image_19012025_19_09_02_655369_0001.jpg
/home/pi/Desktop/images/19012025/19/09/image_19012025_19_09_02_655369_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 16.13270330429077 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 19:10:02.992875
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/19/08/image_19012025_19_08_02_442071_0001.jpg', '/home/pi/Desktop/images/19012025/19/08/image_19012025_19_08_02_442071_0002.jpg', '/home/pi/Desktop/images/19012025/19/08/image_19012025_19_08_02_442071_0003.jpg', '/home/pi/Desktop/images/19012025/19/09/image_19012025_19_09_02_655369_0000.jpg', '/home/pi/Desktop/images/19012025/19/09/image_19012025_19_09_02_655369_0001.jpg', '/home/pi/Desktop/images/19012025/19/09/image_19012025_19_09_02_655369_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/19/08/image_19012025_19_08_02_442071_0001.jpg
/home/pi/Desktop/images/19012025/19/08/image_19012025_19_08_02_442071_0002.jpg
/home/pi/Desktop/images/19012025/19/08/image_19012025_19_08_02_442071_0003.jpg
/home/pi/Desktop/images/19012025/19/09/image_19012025_19_09_02_655369_0000.jpg
/home/pi/Desktop/images/19012025/19/09/image_19012025_19_09_02_655369_0001.jpg
/home/pi/Desktop/images/19012025/19/09/image_19012025_19_09_02_655369_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330102689","1330102704","1330102739","1330102798","1330102817","1330102765"],"photo_ids_order":["1330102689","1330102704","1330102739","1330102765","1330102798","1330102817"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/af7e2e1a5e01c9fa04ffa7e75103bb37.jpg","text":"TemporaryFile(/tmp/multipartBody2766302987600551916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737310279552,"filename":"image_19012025_19_08_02_442071_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/e9afef173ab9b46e63b4b34a5df87fb9.jpg","text":"TemporaryFile(/tmp/multipartBody6379972578533469453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737310279552,"filename":"image_19012025_19_08_02_442071_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/67f17b35329c976a94069cd5b381e134.jpg","text":"TemporaryFile(/tmp/multipartBody2870072674472266565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737310279552,"filename":"image_19012025_19_08_02_442071_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/7a0050f23723ba024bcb6e82556d3a96.jpg","text":"TemporaryFile(/tmp/multipartBody6198740318934159418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737310279552,"filename":"image_19012025_19_09_02_655369_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/d7e2add7ed2f689b6df9837ca5ebd495.jpg","text":"TemporaryFile(/tmp/multipartBody3811071463716703621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737310279552,"filename":"image_19012025_19_09_02_655369_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/ad094812e2a1bd0d237978151b5273cc.jpg","text":"TemporaryFile(/tmp/multipartBody7031567414355215751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737310279552,"filename":"image_19012025_19_09_02_655369_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330102739","file1":"1330102704","file0":"1330102689","file4":"1330102798","file5":"1330102817","file3":"1330102765"},"map_files_photo_id_array":[{"photo_id":"1330102817","filename":"file5"},{"photo_id":"1330102739","filename":"file2"},{"photo_id":"1330102798","filename":"file4"},{"photo_id":"1330102704","filename":"file1"},{"photo_id":"1330102689","filename":"file0"},{"photo_id":"1330102765","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330102689":["hashtag1","hashtag2"]},{"1330102704":["hashtag1","hashtag2"]},{"1330102739":["hashtag1","hashtag2"]},{"1330102798":["hashtag1","hashtag2"]},{"1330102817":["hashtag1","hashtag2"]},{"1330102765":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330102689, 1330102704, 1330102739, 1330102798, 1330102817, 1330102765)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.02232766151428 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 19:11:03.312576
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/19/09/image_19012025_19_09_02_655369_0003.jpg', '/home/pi/Desktop/images/19012025/19/10/image_19012025_19_10_02_868300_0000.jpg', '/home/pi/Desktop/images/19012025/19/10/image_19012025_19_10_02_868300_0001.jpg', '/home/pi/Desktop/images/19012025/19/10/image_19012025_19_10_02_868300_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/19/09/image_19012025_19_09_02_655369_0003.jpg
/home/pi/Desktop/images/19012025/19/10/image_19012025_19_10_02_868300_0000.jpg
/home/pi/Desktop/images/19012025/19/10/image_19012025_19_10_02_868300_0001.jpg
/home/pi/Desktop/images/19012025/19/10/image_19012025_19_10_02_868300_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330102851","1330102854","1330102852","1330102857"],"photo_ids_order":["1330102851","1330102852","1330102854","1330102857"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/3e5cff52b84c4dfd2dc15db57be30225.jpg","text":"TemporaryFile(/tmp/multipartBody4893017288282968053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737310334798,"filename":"image_19012025_19_09_02_655369_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/fb27c366b30979b2076788ec51b4474e.jpg","text":"TemporaryFile(/tmp/multipartBody5675514529547328935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737310334798,"filename":"image_19012025_19_10_02_868300_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/4d57ee465ec6692729bded014b96e1f5.jpg","text":"TemporaryFile(/tmp/multipartBody8505695400241798683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737310334798,"filename":"image_19012025_19_10_02_868300_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/8ace605b3c13d4a53013a351c9801909.jpg","text":"TemporaryFile(/tmp/multipartBody1941389793594011218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737310334798,"filename":"image_19012025_19_10_02_868300_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330102854","file1":"1330102852","file0":"1330102851","file3":"1330102857"},"map_files_photo_id_array":[{"photo_id":"1330102854","filename":"file2"},{"photo_id":"1330102852","filename":"file1"},{"photo_id":"1330102851","filename":"file0"},{"photo_id":"1330102857","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330102851":["hashtag1","hashtag2"]},{"1330102854":["hashtag1","hashtag2"]},{"1330102852":["hashtag1","hashtag2"]},{"1330102857":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330102851, 1330102854, 1330102852, 1330102857)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.123955726623535 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-19 19:11:52.710707
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/19/10/image_19012025_19_10_02_868300_0003.jpg', '/home/pi/Desktop/images/19012025/19/11/image_19012025_19_11_02_930416_0000.jpg', '/home/pi/Desktop/images/19012025/19/11/image_19012025_19_11_02_930416_0001.jpg', '/home/pi/Desktop/images/19012025/19/11/image_19012025_19_11_02_930416_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/19/10/image_19012025_19_10_02_868300_0003.jpg
/home/pi/Desktop/images/19012025/19/11/image_19012025_19_11_02_930416_0000.jpg
/home/pi/Desktop/images/19012025/19/11/image_19012025_19_11_02_930416_0001.jpg
/home/pi/Desktop/images/19012025/19/11/image_19012025_19_11_02_930416_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330102866","1330102868","1330102870","1330102867"],"photo_ids_order":["1330102866","1330102867","1330102868","1330102870"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/b7946f70333f7ba67c9f180a87a1044c.jpg","text":"TemporaryFile(/tmp/multipartBody89939167417963314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737310384071,"filename":"image_19012025_19_10_02_868300_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/6cf50b304c00dbbb545ba78a9ec4ea51.jpg","text":"TemporaryFile(/tmp/multipartBody2006612043667384778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737310384071,"filename":"image_19012025_19_11_02_930416_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/2f9579294a8f00cff84aab451037f265.jpg","text":"TemporaryFile(/tmp/multipartBody7310713016289006803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737310384071,"filename":"image_19012025_19_11_02_930416_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/16357fd903317bd8dfb0d6a917451825.jpg","text":"TemporaryFile(/tmp/multipartBody2790108028435313570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737310384071,"filename":"image_19012025_19_11_02_930416_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330102868","file1":"1330102867","file0":"1330102866","file3":"1330102870"},"map_files_photo_id_array":[{"photo_id":"1330102868","filename":"file2"},{"photo_id":"1330102867","filename":"file1"},{"photo_id":"1330102866","filename":"file0"},{"photo_id":"1330102870","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330102866":["hashtag1","hashtag2"]},{"1330102868":["hashtag1","hashtag2"]},{"1330102870":["hashtag1","hashtag2"]},{"1330102867":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330102866, 1330102868, 1330102870, 1330102867)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.74877333641052 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-19 19:12:41.937511
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/19/11/image_19012025_19_11_02_930416_0003.jpg', '/home/pi/Desktop/images/19012025/19/12/image_19012025_19_12_03_092641_0000.jpg', '/home/pi/Desktop/images/19012025/19/12/image_19012025_19_12_03_092641_0001.jpg', '/home/pi/Desktop/images/19012025/19/12/image_19012025_19_12_03_092641_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/19/11/image_19012025_19_11_02_930416_0003.jpg
/home/pi/Desktop/images/19012025/19/12/image_19012025_19_12_03_092641_0000.jpg
/home/pi/Desktop/images/19012025/19/12/image_19012025_19_12_03_092641_0001.jpg
/home/pi/Desktop/images/19012025/19/12/image_19012025_19_12_03_092641_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 11.207308769226074 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 19:13:02.602453
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/19/11/image_19012025_19_11_02_930416_0003.jpg', '/home/pi/Desktop/images/19012025/19/12/image_19012025_19_12_03_092641_0000.jpg', '/home/pi/Desktop/images/19012025/19/12/image_19012025_19_12_03_092641_0001.jpg', '/home/pi/Desktop/images/19012025/19/12/image_19012025_19_12_03_092641_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/19/11/image_19012025_19_11_02_930416_0003.jpg
/home/pi/Desktop/images/19012025/19/12/image_19012025_19_12_03_092641_0000.jpg
/home/pi/Desktop/images/19012025/19/12/image_19012025_19_12_03_092641_0001.jpg
/home/pi/Desktop/images/19012025/19/12/image_19012025_19_12_03_092641_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330102920","1330102923","1330102925","1330102921"],"photo_ids_order":["1330102920","1330102921","1330102923","1330102925"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/8cbe201caaa0359c6ee0e11625bab918.jpg","text":"TemporaryFile(/tmp/multipartBody6309531213620589820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737310454296,"filename":"image_19012025_19_11_02_930416_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/fb5b321f9ab8e14960249321149d9d1a.jpg","text":"TemporaryFile(/tmp/multipartBody8957740962149777175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737310454296,"filename":"image_19012025_19_12_03_092641_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/88ce0f9555997943b7b26d9f26ac26ce.jpg","text":"TemporaryFile(/tmp/multipartBody163411311671216477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737310454296,"filename":"image_19012025_19_12_03_092641_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/eb51c2e87e9cef9ae28639e117efdb5f.jpg","text":"TemporaryFile(/tmp/multipartBody5734649122830661687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737310454296,"filename":"image_19012025_19_12_03_092641_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330102923","file1":"1330102921","file0":"1330102920","file3":"1330102925"},"map_files_photo_id_array":[{"photo_id":"1330102923","filename":"file2"},{"photo_id":"1330102921","filename":"file1"},{"photo_id":"1330102920","filename":"file0"},{"photo_id":"1330102925","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330102920":["hashtag1","hashtag2"]},{"1330102923":["hashtag1","hashtag2"]},{"1330102925":["hashtag1","hashtag2"]},{"1330102921":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330102920, 1330102923, 1330102925, 1330102921)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.65099620819092 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-19 19:13:52.071133
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/19/12/image_19012025_19_12_03_092641_0003.jpg', '/home/pi/Desktop/images/19012025/19/13/image_19012025_19_13_02_259490_0000.jpg', '/home/pi/Desktop/images/19012025/19/13/image_19012025_19_13_02_259490_0001.jpg', '/home/pi/Desktop/images/19012025/19/13/image_19012025_19_13_02_259490_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/19/12/image_19012025_19_12_03_092641_0003.jpg
/home/pi/Desktop/images/19012025/19/13/image_19012025_19_13_02_259490_0000.jpg
/home/pi/Desktop/images/19012025/19/13/image_19012025_19_13_02_259490_0001.jpg
/home/pi/Desktop/images/19012025/19/13/image_19012025_19_13_02_259490_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330102935","1330102933","1330102936","1330102939"],"photo_ids_order":["1330102933","1330102935","1330102936","1330102939"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/929bbe99cc6b474b25db84b445b3157c.jpg","text":"TemporaryFile(/tmp/multipartBody1425111765534246273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737310503396,"filename":"image_19012025_19_13_02_259490_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/7753e204983e6b811ddeb15d9691586f.jpg","text":"TemporaryFile(/tmp/multipartBody8916040737852720739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737310503396,"filename":"image_19012025_19_12_03_092641_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/fef654338ac045ab4382112d9b9e0930.jpg","text":"TemporaryFile(/tmp/multipartBody7995105351614290262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737310503396,"filename":"image_19012025_19_13_02_259490_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/5f5bbfc40dbcdd29b3dae402fd9ebbc2.jpg","text":"TemporaryFile(/tmp/multipartBody3790558451222480671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737310503396,"filename":"image_19012025_19_13_02_259490_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330102936","file1":"1330102935","file0":"1330102933","file3":"1330102939"},"map_files_photo_id_array":[{"photo_id":"1330102936","filename":"file2"},{"photo_id":"1330102935","filename":"file1"},{"photo_id":"1330102933","filename":"file0"},{"photo_id":"1330102939","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330102935":["hashtag1","hashtag2"]},{"1330102933":["hashtag1","hashtag2"]},{"1330102936":["hashtag1","hashtag2"]},{"1330102939":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330102935, 1330102933, 1330102936, 1330102939)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.104065895080566 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-19 19:14:42.318681
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/19/13/image_19012025_19_13_02_259490_0003.jpg', '/home/pi/Desktop/images/19012025/19/14/image_19012025_19_14_02_473344_0000.jpg', '/home/pi/Desktop/images/19012025/19/14/image_19012025_19_14_02_473344_0001.jpg', '/home/pi/Desktop/images/19012025/19/14/image_19012025_19_14_02_473344_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/19/13/image_19012025_19_13_02_259490_0003.jpg
/home/pi/Desktop/images/19012025/19/14/image_19012025_19_14_02_473344_0000.jpg
/home/pi/Desktop/images/19012025/19/14/image_19012025_19_14_02_473344_0001.jpg
/home/pi/Desktop/images/19012025/19/14/image_19012025_19_14_02_473344_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330103084","1330103003","1330103105","1330103037"],"photo_ids_order":["1330103003","1330103037","1330103084","1330103105"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/56cac8e26e7082b6aeaeaa7fe5528d85.jpg","text":"TemporaryFile(/tmp/multipartBody6720047559706057381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737310553318,"filename":"image_19012025_19_14_02_473344_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/9e9ecb3df4191cc463b878daaec0bd77.jpg","text":"TemporaryFile(/tmp/multipartBody1061033270114110723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737310553318,"filename":"image_19012025_19_13_02_259490_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/2ba5a76dfa9b6dfb8db1f3226258918e.jpg","text":"TemporaryFile(/tmp/multipartBody6284901494132820320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737310553318,"filename":"image_19012025_19_14_02_473344_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/e8d0951d3c3a54d61bb82d2768015a4a.jpg","text":"TemporaryFile(/tmp/multipartBody5969170494657081963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737310553318,"filename":"image_19012025_19_14_02_473344_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330103084","file1":"1330103037","file0":"1330103003","file3":"1330103105"},"map_files_photo_id_array":[{"photo_id":"1330103084","filename":"file2"},{"photo_id":"1330103037","filename":"file1"},{"photo_id":"1330103003","filename":"file0"},{"photo_id":"1330103105","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330103084":["hashtag1","hashtag2"]},{"1330103003":["hashtag1","hashtag2"]},{"1330103105":["hashtag1","hashtag2"]},{"1330103037":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330103084, 1330103003, 1330103105, 1330103037)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.1793007850647 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-19 19:15:32.499147
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/19/14/image_19012025_19_14_02_473344_0003.jpg', '/home/pi/Desktop/images/19012025/19/15/image_19012025_19_15_02_651540_0000.jpg', '/home/pi/Desktop/images/19012025/19/15/image_19012025_19_15_02_651540_0001.jpg', '/home/pi/Desktop/images/19012025/19/15/image_19012025_19_15_02_651540_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/19/14/image_19012025_19_14_02_473344_0003.jpg
/home/pi/Desktop/images/19012025/19/15/image_19012025_19_15_02_651540_0000.jpg
/home/pi/Desktop/images/19012025/19/15/image_19012025_19_15_02_651540_0001.jpg
/home/pi/Desktop/images/19012025/19/15/image_19012025_19_15_02_651540_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330103252","1330103255","1330103315","1330103300"],"photo_ids_order":["1330103252","1330103255","1330103300","1330103315"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/965f6fdc2f3bcf5cb626eb3b93d70df7.jpg","text":"TemporaryFile(/tmp/multipartBody5032973183408216529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737310603261,"filename":"image_19012025_19_14_02_473344_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/003a05546ae3b80871ceaa8c72b14ae9.jpg","text":"TemporaryFile(/tmp/multipartBody2942443187396303330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737310603261,"filename":"image_19012025_19_15_02_651540_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/f29d615f027ac1532f94d9321a4add99.jpg","text":"TemporaryFile(/tmp/multipartBody1526395271654671219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737310603261,"filename":"image_19012025_19_15_02_651540_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/09a578235d4cb1d3415c04af637df63c.jpg","text":"TemporaryFile(/tmp/multipartBody646080211819061114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737310603261,"filename":"image_19012025_19_15_02_651540_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330103300","file1":"1330103255","file0":"1330103252","file3":"1330103315"},"map_files_photo_id_array":[{"photo_id":"1330103300","filename":"file2"},{"photo_id":"1330103255","filename":"file1"},{"photo_id":"1330103252","filename":"file0"},{"photo_id":"1330103315","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330103252":["hashtag1","hashtag2"]},{"1330103255":["hashtag1","hashtag2"]},{"1330103315":["hashtag1","hashtag2"]},{"1330103300":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330103252, 1330103255, 1330103315, 1330103300)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.72341012954712 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 19:16:22.763330
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/19/15/image_19012025_19_15_02_651540_0003.jpg', '/home/pi/Desktop/images/19012025/19/16/image_19012025_19_16_02_893333_0000.jpg', '/home/pi/Desktop/images/19012025/19/16/image_19012025_19_16_02_893333_0001.jpg', '/home/pi/Desktop/images/19012025/19/16/image_19012025_19_16_02_893333_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/19/15/image_19012025_19_15_02_651540_0003.jpg
/home/pi/Desktop/images/19012025/19/16/image_19012025_19_16_02_893333_0000.jpg
/home/pi/Desktop/images/19012025/19/16/image_19012025_19_16_02_893333_0001.jpg
/home/pi/Desktop/images/19012025/19/16/image_19012025_19_16_02_893333_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330103432","1330103429","1330103434","1330103437"],"photo_ids_order":["1330103429","1330103432","1330103434","1330103437"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/2713bd27fc1c6710298c1d429adbd6c5.jpg","text":"TemporaryFile(/tmp/multipartBody8077040663625661457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737310653954,"filename":"image_19012025_19_16_02_893333_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/42b82629e2a5c20b6f1cea5f97b3aa14.jpg","text":"TemporaryFile(/tmp/multipartBody7544624067819865307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737310653954,"filename":"image_19012025_19_15_02_651540_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/3e1aebfd4ce1a5a29e4506dd2c44a53e.jpg","text":"TemporaryFile(/tmp/multipartBody1823430995192290032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737310653954,"filename":"image_19012025_19_16_02_893333_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/fb785b6496286e5d802c89d20ec5dc23.jpg","text":"TemporaryFile(/tmp/multipartBody6493261710425387662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737310653954,"filename":"image_19012025_19_16_02_893333_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330103434","file1":"1330103432","file0":"1330103429","file3":"1330103437"},"map_files_photo_id_array":[{"photo_id":"1330103434","filename":"file2"},{"photo_id":"1330103432","filename":"file1"},{"photo_id":"1330103429","filename":"file0"},{"photo_id":"1330103437","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330103432":["hashtag1","hashtag2"]},{"1330103429":["hashtag1","hashtag2"]},{"1330103434":["hashtag1","hashtag2"]},{"1330103437":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330103432, 1330103429, 1330103434, 1330103437)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.01871871948242 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 19:17:21.850326
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/19/16/image_19012025_19_16_02_893333_0003.jpg', '/home/pi/Desktop/images/19012025/19/17/image_19012025_19_17_03_094871_0000.jpg', '/home/pi/Desktop/images/19012025/19/17/image_19012025_19_17_03_094871_0001.jpg', '/home/pi/Desktop/images/19012025/19/17/image_19012025_19_17_03_094871_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/19/16/image_19012025_19_16_02_893333_0003.jpg
/home/pi/Desktop/images/19012025/19/17/image_19012025_19_17_03_094871_0000.jpg
/home/pi/Desktop/images/19012025/19/17/image_19012025_19_17_03_094871_0001.jpg
/home/pi/Desktop/images/19012025/19/17/image_19012025_19_17_03_094871_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330103449","1330103443","1330103446","1330103451"],"photo_ids_order":["1330103443","1330103446","1330103449","1330103451"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/deded4eeab0a9291f31c13364d5f684d.jpg","text":"TemporaryFile(/tmp/multipartBody1946981061142294902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737310712666,"filename":"image_19012025_19_17_03_094871_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/7307e869cda42a3fb85aa31f0b7addd0.jpg","text":"TemporaryFile(/tmp/multipartBody635874865449226796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737310712666,"filename":"image_19012025_19_16_02_893333_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/190e28ae55452a76ffccbbd6cb41e659.jpg","text":"TemporaryFile(/tmp/multipartBody5431695800210264117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737310712666,"filename":"image_19012025_19_17_03_094871_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/ca5f2f2e613c71fb088da8f7d43a97f4.jpg","text":"TemporaryFile(/tmp/multipartBody2960216832385173191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737310712666,"filename":"image_19012025_19_17_03_094871_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330103449","file1":"1330103446","file0":"1330103443","file3":"1330103451"},"map_files_photo_id_array":[{"photo_id":"1330103449","filename":"file2"},{"photo_id":"1330103446","filename":"file1"},{"photo_id":"1330103443","filename":"file0"},{"photo_id":"1330103451","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330103449":["hashtag1","hashtag2"]},{"1330103443":["hashtag1","hashtag2"]},{"1330103446":["hashtag1","hashtag2"]},{"1330103451":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330103449, 1330103443, 1330103446, 1330103451)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.0849609375 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 19:18:02.363983
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/23/59/image_18012025_23_59_02_716834_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/23/59/image_18012025_23_59_02_716834_0003.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330103456"],"photo_id":"1330103456","photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/3b18969c06036396ecdd1e9a33047085.jpg","text":"TemporaryFile(/tmp/multipartBody1724843678180179878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737310746382,"filename":"image_18012025_23_59_02_716834_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file0":"1330103456"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1330103456"}],"hashtags":[],"portfolio_id":"19724253","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.404445886611938 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 19:18:21.989907
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/19/17/image_19012025_19_17_03_094871_0003.jpg', '/home/pi/Desktop/images/19012025/19/18/image_19012025_19_18_02_200385_0000.jpg', '/home/pi/Desktop/images/19012025/19/18/image_19012025_19_18_02_200385_0001.jpg', '/home/pi/Desktop/images/19012025/19/18/image_19012025_19_18_02_200385_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/19/17/image_19012025_19_17_03_094871_0003.jpg
/home/pi/Desktop/images/19012025/19/18/image_19012025_19_18_02_200385_0000.jpg
/home/pi/Desktop/images/19012025/19/18/image_19012025_19_18_02_200385_0001.jpg
/home/pi/Desktop/images/19012025/19/18/image_19012025_19_18_02_200385_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.845048427581787 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-19 19:18:41.982416
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/19/17/image_19012025_19_17_03_094871_0003.jpg', '/home/pi/Desktop/images/19012025/19/18/image_19012025_19_18_02_200385_0000.jpg', '/home/pi/Desktop/images/19012025/19/18/image_19012025_19_18_02_200385_0001.jpg', '/home/pi/Desktop/images/19012025/19/18/image_19012025_19_18_02_200385_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/19/17/image_19012025_19_17_03_094871_0003.jpg
/home/pi/Desktop/images/19012025/19/18/image_19012025_19_18_02_200385_0000.jpg
/home/pi/Desktop/images/19012025/19/18/image_19012025_19_18_02_200385_0001.jpg
/home/pi/Desktop/images/19012025/19/18/image_19012025_19_18_02_200385_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":["1330104011","1330103833","1330103823","1330103910"],"photo_ids_order":["1330103823","1330103833","1330103910","1330104011"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/556fa2907cf5d3f7c00b10efebbe5970.jpg","text":"TemporaryFile(/tmp/multipartBody8486301316205349861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737310793215,"filename":"image_19012025_19_18_02_200385_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/2592ddd3de40e908b9e7916bf99d6021.jpg","text":"TemporaryFile(/tmp/multipartBody4006893434410855195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737310793215,"filename":"image_19012025_19_18_02_200385_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/0169c0a58e319dafe1f1fc3f5067dc98.jpg","text":"TemporaryFile(/tmp/multipartBody2514255458137176205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737310793215,"filename":"image_19012025_19_17_03_094871_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/3daa1e694437f876e071e44378c593f3.jpg","text":"TemporaryFile(/tmp/multipartBody780797347440199878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737310793215,"filename":"image_19012025_19_18_02_200385_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330103910","file1":"1330103833","file0":"1330103823","file3":"1330104011"},"map_files_photo_id_array":[{"photo_id":"1330103910","filename":"file2"},{"photo_id":"1330103833","filename":"file1"},{"photo_id":"1330103823","filename":"file0"},{"photo_id":"1330104011","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330104011":["hashtag1","hashtag2"]},{"1330103833":["hashtag1","hashtag2"]},{"1330103823":["hashtag1","hashtag2"]},{"1330103910":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330104011, 1330103833, 1330103823, 1330103910)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.28448510169983 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 19:19:22.199012
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/19/18/image_19012025_19_18_02_200385_0003.jpg', '/home/pi/Desktop/images/19012025/19/19/image_19012025_19_19_02_353701_0000.jpg', '/home/pi/Desktop/images/19012025/19/19/image_19012025_19_19_02_353701_0001.jpg', '/home/pi/Desktop/images/19012025/19/19/image_19012025_19_19_02_353701_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/19/18/image_19012025_19_18_02_200385_0003.jpg
/home/pi/Desktop/images/19012025/19/19/image_19012025_19_19_02_353701_0000.jpg
/home/pi/Desktop/images/19012025/19/19/image_19012025_19_19_02_353701_0001.jpg
/home/pi/Desktop/images/19012025/19/19/image_19012025_19_19_02_353701_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330104146","1330104194","1330104197","1330104083"],"photo_ids_order":["1330104083","1330104146","1330104194","1330104197"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/e54b6c1a4e8c09c7e3c905a874e7b748.jpg","text":"TemporaryFile(/tmp/multipartBody2275932960953729075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737310833641,"filename":"image_19012025_19_19_02_353701_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/2d82ed194775a89f20d1f09ba93aa076.jpg","text":"TemporaryFile(/tmp/multipartBody4200513271235720904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737310833641,"filename":"image_19012025_19_19_02_353701_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/818bafb17952a6073a8d18f6e0293b73.jpg","text":"TemporaryFile(/tmp/multipartBody5534614050465825155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737310833641,"filename":"image_19012025_19_19_02_353701_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/a6a220f2abfa586137347992dcc959a1.jpg","text":"TemporaryFile(/tmp/multipartBody2475329421321117538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737310833641,"filename":"image_19012025_19_18_02_200385_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330104194","file1":"1330104146","file0":"1330104083","file3":"1330104197"},"map_files_photo_id_array":[{"photo_id":"1330104194","filename":"file2"},{"photo_id":"1330104146","filename":"file1"},{"photo_id":"1330104083","filename":"file0"},{"photo_id":"1330104197","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330104146":["hashtag1","hashtag2"]},{"1330104194":["hashtag1","hashtag2"]},{"1330104197":["hashtag1","hashtag2"]},{"1330104083":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330104146, 1330104194, 1330104197, 1330104083)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.34582185745239 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 19:20:22.513093
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/19/19/image_19012025_19_19_02_353701_0003.jpg', '/home/pi/Desktop/images/19012025/19/20/image_19012025_19_20_02_623955_0000.jpg', '/home/pi/Desktop/images/19012025/19/20/image_19012025_19_20_02_623955_0001.jpg', '/home/pi/Desktop/images/19012025/19/20/image_19012025_19_20_02_623955_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/19/19/image_19012025_19_19_02_353701_0003.jpg
/home/pi/Desktop/images/19012025/19/20/image_19012025_19_20_02_623955_0000.jpg
/home/pi/Desktop/images/19012025/19/20/image_19012025_19_20_02_623955_0001.jpg
/home/pi/Desktop/images/19012025/19/20/image_19012025_19_20_02_623955_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330104308","1330104298","1330104354","1330104303"],"photo_ids_order":["1330104298","1330104303","1330104308","1330104354"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/6b2a8752364b001d608b8abbe64fbc65.jpg","text":"TemporaryFile(/tmp/multipartBody3937109846564262606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737310893738,"filename":"image_19012025_19_20_02_623955_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/965b375c25ad507b4154159da3fe9174.jpg","text":"TemporaryFile(/tmp/multipartBody1616613934605616312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737310893738,"filename":"image_19012025_19_19_02_353701_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/62e12d21a1f79440e2a312777ddd49c4.jpg","text":"TemporaryFile(/tmp/multipartBody4255834870185527084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737310893738,"filename":"image_19012025_19_20_02_623955_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/2430828038523a519527d3ce986af88a.jpg","text":"TemporaryFile(/tmp/multipartBody3021672413694843609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737310893738,"filename":"image_19012025_19_20_02_623955_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330104308","file1":"1330104303","file0":"1330104298","file3":"1330104354"},"map_files_photo_id_array":[{"photo_id":"1330104308","filename":"file2"},{"photo_id":"1330104303","filename":"file1"},{"photo_id":"1330104298","filename":"file0"},{"photo_id":"1330104354","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330104308":["hashtag1","hashtag2"]},{"1330104298":["hashtag1","hashtag2"]},{"1330104354":["hashtag1","hashtag2"]},{"1330104303":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330104308, 1330104298, 1330104354, 1330104303)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 44.196176528930664 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 19:21:22.598323
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/19/20/image_19012025_19_20_02_623955_0003.jpg', '/home/pi/Desktop/images/19012025/19/21/image_19012025_19_21_02_745021_0000.jpg', '/home/pi/Desktop/images/19012025/19/21/image_19012025_19_21_02_745021_0001.jpg', '/home/pi/Desktop/images/19012025/19/21/image_19012025_19_21_02_745021_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/19/20/image_19012025_19_20_02_623955_0003.jpg
/home/pi/Desktop/images/19012025/19/21/image_19012025_19_21_02_745021_0000.jpg
/home/pi/Desktop/images/19012025/19/21/image_19012025_19_21_02_745021_0001.jpg
/home/pi/Desktop/images/19012025/19/21/image_19012025_19_21_02_745021_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330104415","1330104409","1330104412","1330104406"],"photo_ids_order":["1330104406","1330104409","1330104412","1330104415"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/afb2a81133d92eb2602794113dd2f340.jpg","text":"TemporaryFile(/tmp/multipartBody2466317691807389814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737310953485,"filename":"image_19012025_19_21_02_745021_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/1f440f5866eaaf986ad4b65370f75566.jpg","text":"TemporaryFile(/tmp/multipartBody5501042802884416900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737310953485,"filename":"image_19012025_19_21_02_745021_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/8dc287b7fb79e6600a6fee84f7925d89.jpg","text":"TemporaryFile(/tmp/multipartBody5147459734188447705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737310953485,"filename":"image_19012025_19_21_02_745021_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/16d4f74393e5479d89349b5e0d73922b.jpg","text":"TemporaryFile(/tmp/multipartBody787931358972680686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737310953485,"filename":"image_19012025_19_20_02_623955_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330104412","file1":"1330104409","file0":"1330104406","file3":"1330104415"},"map_files_photo_id_array":[{"photo_id":"1330104412","filename":"file2"},{"photo_id":"1330104409","filename":"file1"},{"photo_id":"1330104406","filename":"file0"},{"photo_id":"1330104415","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330104415":["hashtag1","hashtag2"]},{"1330104409":["hashtag1","hashtag2"]},{"1330104412":["hashtag1","hashtag2"]},{"1330104406":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330104415, 1330104409, 1330104412, 1330104406)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.11443209648132 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 19:22:02.970714
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 19:22:22.670310
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/19/21/image_19012025_19_21_02_745021_0003.jpg', '/home/pi/Desktop/images/19012025/19/22/image_19012025_19_22_02_933558_0000.jpg', '/home/pi/Desktop/images/19012025/19/22/image_19012025_19_22_02_933558_0001.jpg', '/home/pi/Desktop/images/19012025/19/22/image_19012025_19_22_02_933558_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/19/21/image_19012025_19_21_02_745021_0003.jpg
/home/pi/Desktop/images/19012025/19/22/image_19012025_19_22_02_933558_0000.jpg
/home/pi/Desktop/images/19012025/19/22/image_19012025_19_22_02_933558_0001.jpg
/home/pi/Desktop/images/19012025/19/22/image_19012025_19_22_02_933558_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330104451","1330104460","1330104448","1330104456"],"photo_ids_order":["1330104448","1330104451","1330104456","1330104460"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/d7cbb5375a6135c7441e671b7716e99e.jpg","text":"TemporaryFile(/tmp/multipartBody4084501922402652789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737311013766,"filename":"image_19012025_19_22_02_933558_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/bc347c4a1cba20ca73ef735cf0fc03a4.jpg","text":"TemporaryFile(/tmp/multipartBody2206869489841312110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737311013766,"filename":"image_19012025_19_22_02_933558_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/23a1723a1b994230482c50b943b6af5c.jpg","text":"TemporaryFile(/tmp/multipartBody1742858461741217908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737311013766,"filename":"image_19012025_19_21_02_745021_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/8f65bc1a0e850d3f6433d38bb67943a4.jpg","text":"TemporaryFile(/tmp/multipartBody7538505670826581776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737311013766,"filename":"image_19012025_19_22_02_933558_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330104456","file1":"1330104451","file0":"1330104448","file3":"1330104460"},"map_files_photo_id_array":[{"photo_id":"1330104456","filename":"file2"},{"photo_id":"1330104451","filename":"file1"},{"photo_id":"1330104448","filename":"file0"},{"photo_id":"1330104460","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330104451":["hashtag1","hashtag2"]},{"1330104460":["hashtag1","hashtag2"]},{"1330104448":["hashtag1","hashtag2"]},{"1330104456":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330104451, 1330104460, 1330104448, 1330104456)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.62423825263977 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-19 19:23:21.942044
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/19/22/image_19012025_19_22_02_933558_0003.jpg', '/home/pi/Desktop/images/19012025/19/23/image_19012025_19_23_03_111211_0000.jpg', '/home/pi/Desktop/images/19012025/19/23/image_19012025_19_23_03_111211_0001.jpg', '/home/pi/Desktop/images/19012025/19/23/image_19012025_19_23_03_111211_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/19/22/image_19012025_19_22_02_933558_0003.jpg
/home/pi/Desktop/images/19012025/19/23/image_19012025_19_23_03_111211_0000.jpg
/home/pi/Desktop/images/19012025/19/23/image_19012025_19_23_03_111211_0001.jpg
/home/pi/Desktop/images/19012025/19/23/image_19012025_19_23_03_111211_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330104475","1330104480","1330104477","1330104473"],"photo_ids_order":["1330104473","1330104475","1330104477","1330104480"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/abf14a11af867c126e3b35a315d857d2.jpg","text":"TemporaryFile(/tmp/multipartBody1952902969772224557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737311072824,"filename":"image_19012025_19_23_03_111211_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/2a5729e1008f4964d9a4e5740377bbeb.jpg","text":"TemporaryFile(/tmp/multipartBody5433111889036151729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737311072824,"filename":"image_19012025_19_23_03_111211_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/a325f1ad78786129a4adf7022634983e.jpg","text":"TemporaryFile(/tmp/multipartBody5166335212502824902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737311072824,"filename":"image_19012025_19_23_03_111211_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/094954b4ced69d3fcec8eb9fafe9cf94.jpg","text":"TemporaryFile(/tmp/multipartBody1023766411370222823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737311072824,"filename":"image_19012025_19_22_02_933558_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330104477","file1":"1330104475","file0":"1330104473","file3":"1330104480"},"map_files_photo_id_array":[{"photo_id":"1330104477","filename":"file2"},{"photo_id":"1330104475","filename":"file1"},{"photo_id":"1330104473","filename":"file0"},{"photo_id":"1330104480","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330104475":["hashtag1","hashtag2"]},{"1330104480":["hashtag1","hashtag2"]},{"1330104477":["hashtag1","hashtag2"]},{"1330104473":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330104475, 1330104480, 1330104477, 1330104473)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.38072061538696 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 19:24:22.213525
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/19/23/image_19012025_19_23_03_111211_0003.jpg', '/home/pi/Desktop/images/19012025/19/24/image_19012025_19_24_02_268763_0000.jpg', '/home/pi/Desktop/images/19012025/19/24/image_19012025_19_24_02_268763_0001.jpg', '/home/pi/Desktop/images/19012025/19/24/image_19012025_19_24_02_268763_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/19/23/image_19012025_19_23_03_111211_0003.jpg
/home/pi/Desktop/images/19012025/19/24/image_19012025_19_24_02_268763_0000.jpg
/home/pi/Desktop/images/19012025/19/24/image_19012025_19_24_02_268763_0001.jpg
/home/pi/Desktop/images/19012025/19/24/image_19012025_19_24_02_268763_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330104490","1330104492","1330104486","1330104488"],"photo_ids_order":["1330104486","1330104488","1330104490","1330104492"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/c4cd66a0901281fc340e043229ad7ff7.jpg","text":"TemporaryFile(/tmp/multipartBody8666068321300293186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737311134102,"filename":"image_19012025_19_24_02_268763_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/7e8b6c61c599d871e1f1c15580736a65.jpg","text":"TemporaryFile(/tmp/multipartBody6598868080007023321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737311134102,"filename":"image_19012025_19_24_02_268763_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/32d37bfceca4d486e66d59a40963b50e.jpg","text":"TemporaryFile(/tmp/multipartBody8734611727254181185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737311134102,"filename":"image_19012025_19_23_03_111211_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/e64656b762ae7ac19cecb325ed58ad45.jpg","text":"TemporaryFile(/tmp/multipartBody4425486715776193272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737311134102,"filename":"image_19012025_19_24_02_268763_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330104490","file1":"1330104488","file0":"1330104486","file3":"1330104492"},"map_files_photo_id_array":[{"photo_id":"1330104490","filename":"file2"},{"photo_id":"1330104488","filename":"file1"},{"photo_id":"1330104486","filename":"file0"},{"photo_id":"1330104492","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330104490":["hashtag1","hashtag2"]},{"1330104492":["hashtag1","hashtag2"]},{"1330104486":["hashtag1","hashtag2"]},{"1330104488":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330104490, 1330104492, 1330104486, 1330104488)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 46.90205645561218 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 19:25:22.296191
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/19/24/image_19012025_19_24_02_268763_0003.jpg', '/home/pi/Desktop/images/19012025/19/25/image_19012025_19_25_02_533423_0000.jpg', '/home/pi/Desktop/images/19012025/19/25/image_19012025_19_25_02_533423_0001.jpg', '/home/pi/Desktop/images/19012025/19/25/image_19012025_19_25_02_533423_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/19/24/image_19012025_19_24_02_268763_0003.jpg
/home/pi/Desktop/images/19012025/19/25/image_19012025_19_25_02_533423_0000.jpg
/home/pi/Desktop/images/19012025/19/25/image_19012025_19_25_02_533423_0001.jpg
/home/pi/Desktop/images/19012025/19/25/image_19012025_19_25_02_533423_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330104533","1330104542","1330104540","1330104537"],"photo_ids_order":["1330104533","1330104537","1330104540","1330104542"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/2c925a6e5ad9540293bc5bbac80b57ed.jpg","text":"TemporaryFile(/tmp/multipartBody2461381079781070483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737311193624,"filename":"image_19012025_19_24_02_268763_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/23e152518371b61cd9715dab7bba31e6.jpg","text":"TemporaryFile(/tmp/multipartBody3510773808043502102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737311193624,"filename":"image_19012025_19_25_02_533423_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/09b078b06c2907c53219333fd6196d89.jpg","text":"TemporaryFile(/tmp/multipartBody4370497672307908609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737311193624,"filename":"image_19012025_19_25_02_533423_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/0bc39ab620ffac6e3a45ceeac7ba440f.jpg","text":"TemporaryFile(/tmp/multipartBody7113042870429268594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737311193624,"filename":"image_19012025_19_25_02_533423_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330104540","file1":"1330104537","file0":"1330104533","file3":"1330104542"},"map_files_photo_id_array":[{"photo_id":"1330104540","filename":"file2"},{"photo_id":"1330104537","filename":"file1"},{"photo_id":"1330104533","filename":"file0"},{"photo_id":"1330104542","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330104533":["hashtag1","hashtag2"]},{"1330104542":["hashtag1","hashtag2"]},{"1330104540":["hashtag1","hashtag2"]},{"1330104537":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330104533, 1330104542, 1330104540, 1330104537)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.64255881309509 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-19 19:26:22.500254
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/19/25/image_19012025_19_25_02_533423_0003.jpg', '/home/pi/Desktop/images/19012025/19/26/image_19012025_19_26_02_706667_0000.jpg', '/home/pi/Desktop/images/19012025/19/26/image_19012025_19_26_02_706667_0001.jpg', '/home/pi/Desktop/images/19012025/19/26/image_19012025_19_26_02_706667_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/19/25/image_19012025_19_25_02_533423_0003.jpg
/home/pi/Desktop/images/19012025/19/26/image_19012025_19_26_02_706667_0000.jpg
/home/pi/Desktop/images/19012025/19/26/image_19012025_19_26_02_706667_0001.jpg
/home/pi/Desktop/images/19012025/19/26/image_19012025_19_26_02_706667_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330104559","1330104556","1330104549","1330104552"],"photo_ids_order":["1330104549","1330104552","1330104556","1330104559"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/a6e16d65fc3facf0947c0f2b2de60e2a.jpg","text":"TemporaryFile(/tmp/multipartBody9181276430887792622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737311253531,"filename":"image_19012025_19_26_02_706667_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/0f5a2ebfc42794887e0ad55bac3af576.jpg","text":"TemporaryFile(/tmp/multipartBody8116841198151911783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737311253531,"filename":"image_19012025_19_26_02_706667_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/3beb714d5eb8acf42521a6e3945ce541.jpg","text":"TemporaryFile(/tmp/multipartBody6693350777930736056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737311253531,"filename":"image_19012025_19_25_02_533423_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/481577c15b289190994ba44c5ddd45b9.jpg","text":"TemporaryFile(/tmp/multipartBody4552864402311901367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737311253531,"filename":"image_19012025_19_26_02_706667_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330104556","file1":"1330104552","file0":"1330104549","file3":"1330104559"},"map_files_photo_id_array":[{"photo_id":"1330104556","filename":"file2"},{"photo_id":"1330104552","filename":"file1"},{"photo_id":"1330104549","filename":"file0"},{"photo_id":"1330104559","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330104559":["hashtag1","hashtag2"]},{"1330104556":["hashtag1","hashtag2"]},{"1330104549":["hashtag1","hashtag2"]},{"1330104552":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330104559, 1330104556, 1330104549, 1330104552)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.02893686294556 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 19:27:22.738915
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/19/26/image_19012025_19_26_02_706667_0003.jpg', '/home/pi/Desktop/images/19012025/19/27/image_19012025_19_27_02_791492_0000.jpg', '/home/pi/Desktop/images/19012025/19/27/image_19012025_19_27_02_791492_0001.jpg', '/home/pi/Desktop/images/19012025/19/27/image_19012025_19_27_02_791492_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/19/26/image_19012025_19_26_02_706667_0003.jpg
/home/pi/Desktop/images/19012025/19/27/image_19012025_19_27_02_791492_0000.jpg
/home/pi/Desktop/images/19012025/19/27/image_19012025_19_27_02_791492_0001.jpg
/home/pi/Desktop/images/19012025/19/27/image_19012025_19_27_02_791492_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330104573","1330104576","1330104570","1330104578"],"photo_ids_order":["1330104570","1330104573","1330104576","1330104578"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/2862aa3f85dcaea589ee53fa162fc454.jpg","text":"TemporaryFile(/tmp/multipartBody3967434835585806267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737311314055,"filename":"image_19012025_19_27_02_791492_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/a11cf92932847657334b77a7d2e22167.jpg","text":"TemporaryFile(/tmp/multipartBody8249609749916689583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737311314055,"filename":"image_19012025_19_27_02_791492_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/d672cc532095ba65924773850f541ac5.jpg","text":"TemporaryFile(/tmp/multipartBody1754119995819457293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737311314055,"filename":"image_19012025_19_26_02_706667_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/9cd53d9ac5b9354245297278aec0d6b7.jpg","text":"TemporaryFile(/tmp/multipartBody1630561328735330490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737311314055,"filename":"image_19012025_19_27_02_791492_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330104576","file1":"1330104573","file0":"1330104570","file3":"1330104578"},"map_files_photo_id_array":[{"photo_id":"1330104576","filename":"file2"},{"photo_id":"1330104573","filename":"file1"},{"photo_id":"1330104570","filename":"file0"},{"photo_id":"1330104578","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330104573":["hashtag1","hashtag2"]},{"1330104576":["hashtag1","hashtag2"]},{"1330104570":["hashtag1","hashtag2"]},{"1330104578":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330104573, 1330104576, 1330104570, 1330104578)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.11046075820923 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 19:28:21.802435
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/19/27/image_19012025_19_27_02_791492_0003.jpg', '/home/pi/Desktop/images/19012025/19/28/image_19012025_19_28_03_090459_0000.jpg', '/home/pi/Desktop/images/19012025/19/28/image_19012025_19_28_03_090459_0001.jpg', '/home/pi/Desktop/images/19012025/19/28/image_19012025_19_28_03_090459_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/19/27/image_19012025_19_27_02_791492_0003.jpg
/home/pi/Desktop/images/19012025/19/28/image_19012025_19_28_03_090459_0000.jpg
/home/pi/Desktop/images/19012025/19/28/image_19012025_19_28_03_090459_0001.jpg
/home/pi/Desktop/images/19012025/19/28/image_19012025_19_28_03_090459_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.599640846252441 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-19 19:28:41.913563
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/19/27/image_19012025_19_27_02_791492_0003.jpg', '/home/pi/Desktop/images/19012025/19/28/image_19012025_19_28_03_090459_0000.jpg', '/home/pi/Desktop/images/19012025/19/28/image_19012025_19_28_03_090459_0001.jpg', '/home/pi/Desktop/images/19012025/19/28/image_19012025_19_28_03_090459_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/19/27/image_19012025_19_27_02_791492_0003.jpg
/home/pi/Desktop/images/19012025/19/28/image_19012025_19_28_03_090459_0000.jpg
/home/pi/Desktop/images/19012025/19/28/image_19012025_19_28_03_090459_0001.jpg
/home/pi/Desktop/images/19012025/19/28/image_19012025_19_28_03_090459_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":["1330104598","1330104616","1330104594","1330104596"],"photo_ids_order":["1330104594","1330104596","1330104598","1330104616"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/7c8e9206752c294dc2ef5b75223d8d9c.jpg","text":"TemporaryFile(/tmp/multipartBody5167317550442637526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737311392873,"filename":"image_19012025_19_28_03_090459_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/f44d891bf2d14cf77243a1784308427d.jpg","text":"TemporaryFile(/tmp/multipartBody5760641698162388949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737311392873,"filename":"image_19012025_19_28_03_090459_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/27ec80484fff38c6fb3e254c0f6f2c67.jpg","text":"TemporaryFile(/tmp/multipartBody6573208697096626885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737311392873,"filename":"image_19012025_19_27_02_791492_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/453eb5a348f9c5ecab0254c761015439.jpg","text":"TemporaryFile(/tmp/multipartBody1177450251853927138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737311392873,"filename":"image_19012025_19_28_03_090459_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330104598","file1":"1330104596","file0":"1330104594","file3":"1330104616"},"map_files_photo_id_array":[{"photo_id":"1330104598","filename":"file2"},{"photo_id":"1330104596","filename":"file1"},{"photo_id":"1330104594","filename":"file0"},{"photo_id":"1330104616","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330104598":["hashtag1","hashtag2"]},{"1330104616":["hashtag1","hashtag2"]},{"1330104594":["hashtag1","hashtag2"]},{"1330104596":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330104598, 1330104616, 1330104594, 1330104596)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.50705313682556 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 19:29:22.082424
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/19/28/image_19012025_19_28_03_090459_0003.jpg', '/home/pi/Desktop/images/19012025/19/29/image_19012025_19_29_02_195949_0000.jpg', '/home/pi/Desktop/images/19012025/19/29/image_19012025_19_29_02_195949_0001.jpg', '/home/pi/Desktop/images/19012025/19/29/image_19012025_19_29_02_195949_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/19/28/image_19012025_19_28_03_090459_0003.jpg
/home/pi/Desktop/images/19012025/19/29/image_19012025_19_29_02_195949_0000.jpg
/home/pi/Desktop/images/19012025/19/29/image_19012025_19_29_02_195949_0001.jpg
/home/pi/Desktop/images/19012025/19/29/image_19012025_19_29_02_195949_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330105618","1330105612","1330105615","1330105609"],"photo_ids_order":["1330105609","1330105612","1330105615","1330105618"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/01b3074b7c431ca3d66ab1717e0c4b55.jpg","text":"TemporaryFile(/tmp/multipartBody3124157597392647770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737311433144,"filename":"image_19012025_19_29_02_195949_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/54cd8e05d7e0e1993afd1012d179d070.jpg","text":"TemporaryFile(/tmp/multipartBody2962043896093953344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737311433144,"filename":"image_19012025_19_29_02_195949_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/b10d3e807184f4bb35ba53692920f7a1.jpg","text":"TemporaryFile(/tmp/multipartBody6980427410000206141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737311433144,"filename":"image_19012025_19_29_02_195949_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/5460a70f81ee8ddd02a2404a853cc5e3.jpg","text":"TemporaryFile(/tmp/multipartBody6446941668308676796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737311433144,"filename":"image_19012025_19_28_03_090459_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330105615","file1":"1330105612","file0":"1330105609","file3":"1330105618"},"map_files_photo_id_array":[{"photo_id":"1330105615","filename":"file2"},{"photo_id":"1330105612","filename":"file1"},{"photo_id":"1330105609","filename":"file0"},{"photo_id":"1330105618","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330105618":["hashtag1","hashtag2"]},{"1330105612":["hashtag1","hashtag2"]},{"1330105615":["hashtag1","hashtag2"]},{"1330105609":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330105618, 1330105612, 1330105615, 1330105609)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.968411922454834 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 19:30:22.224026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/19/29/image_19012025_19_29_02_195949_0003.jpg', '/home/pi/Desktop/images/19012025/19/30/image_19012025_19_30_02_481910_0000.jpg', '/home/pi/Desktop/images/19012025/19/30/image_19012025_19_30_02_481910_0001.jpg', '/home/pi/Desktop/images/19012025/19/30/image_19012025_19_30_02_481910_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/19/29/image_19012025_19_29_02_195949_0003.jpg
/home/pi/Desktop/images/19012025/19/30/image_19012025_19_30_02_481910_0000.jpg
/home/pi/Desktop/images/19012025/19/30/image_19012025_19_30_02_481910_0001.jpg
/home/pi/Desktop/images/19012025/19/30/image_19012025_19_30_02_481910_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330105882","1330105939","1330105953","1330105979"],"photo_ids_order":["1330105882","1330105939","1330105953","1330105979"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/c537334495fbf6efe528aefeddba2d63.jpg","text":"TemporaryFile(/tmp/multipartBody7779290084483425580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737311493167,"filename":"image_19012025_19_29_02_195949_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/96cb7b86c834a008ab238a05b933b61f.jpg","text":"TemporaryFile(/tmp/multipartBody2382335115652061409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737311493167,"filename":"image_19012025_19_30_02_481910_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/bcf8fbffec251f36ea388ae748977d47.jpg","text":"TemporaryFile(/tmp/multipartBody33204026082314510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737311493167,"filename":"image_19012025_19_30_02_481910_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/c93aa15c1aae417076f65bb235c73281.jpg","text":"TemporaryFile(/tmp/multipartBody5367724523580082424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737311493167,"filename":"image_19012025_19_30_02_481910_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330105953","file1":"1330105939","file0":"1330105882","file3":"1330105979"},"map_files_photo_id_array":[{"photo_id":"1330105953","filename":"file2"},{"photo_id":"1330105939","filename":"file1"},{"photo_id":"1330105882","filename":"file0"},{"photo_id":"1330105979","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330105882":["hashtag1","hashtag2"]},{"1330105939":["hashtag1","hashtag2"]},{"1330105953":["hashtag1","hashtag2"]},{"1330105979":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330105882, 1330105939, 1330105953, 1330105979)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 44.157514810562134 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 19:31:22.474914
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/19/30/image_19012025_19_30_02_481910_0003.jpg', '/home/pi/Desktop/images/19012025/19/31/image_19012025_19_31_02_621931_0000.jpg', '/home/pi/Desktop/images/19012025/19/31/image_19012025_19_31_02_621931_0001.jpg', '/home/pi/Desktop/images/19012025/19/31/image_19012025_19_31_02_621931_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/19/30/image_19012025_19_30_02_481910_0003.jpg
/home/pi/Desktop/images/19012025/19/31/image_19012025_19_31_02_621931_0000.jpg
/home/pi/Desktop/images/19012025/19/31/image_19012025_19_31_02_621931_0001.jpg
/home/pi/Desktop/images/19012025/19/31/image_19012025_19_31_02_621931_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330105989","1330106007","1330106009","1330106000"],"photo_ids_order":["1330105989","1330106000","1330106007","1330106009"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/29448c33e976b8ed41c537b2fb14b7ae.jpg","text":"TemporaryFile(/tmp/multipartBody5176888434482963464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737311553699,"filename":"image_19012025_19_30_02_481910_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/bc1ed3d745d8c9b4b5df21cdae914d7a.jpg","text":"TemporaryFile(/tmp/multipartBody8887849357116438215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737311553699,"filename":"image_19012025_19_31_02_621931_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/d97d1e13ffdf79b95659f9e2464f4148.jpg","text":"TemporaryFile(/tmp/multipartBody8426580624683559334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737311553699,"filename":"image_19012025_19_31_02_621931_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/ebdf6672bfbdab5825b70d2f0387453a.jpg","text":"TemporaryFile(/tmp/multipartBody4420861834677327677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737311553699,"filename":"image_19012025_19_31_02_621931_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330106007","file1":"1330106000","file0":"1330105989","file3":"1330106009"},"map_files_photo_id_array":[{"photo_id":"1330106007","filename":"file2"},{"photo_id":"1330106000","filename":"file1"},{"photo_id":"1330105989","filename":"file0"},{"photo_id":"1330106009","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330105989":["hashtag1","hashtag2"]},{"1330106007":["hashtag1","hashtag2"]},{"1330106009":["hashtag1","hashtag2"]},{"1330106000":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330105989, 1330106007, 1330106009, 1330106000)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.44738173484802 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 19:32:03.103859
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 19:32:22.691460
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/19/31/image_19012025_19_31_02_621931_0003.jpg', '/home/pi/Desktop/images/19012025/19/32/image_19012025_19_32_02_839487_0000.jpg', '/home/pi/Desktop/images/19012025/19/32/image_19012025_19_32_02_839487_0001.jpg', '/home/pi/Desktop/images/19012025/19/32/image_19012025_19_32_02_839487_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/19/31/image_19012025_19_31_02_621931_0003.jpg
/home/pi/Desktop/images/19012025/19/32/image_19012025_19_32_02_839487_0000.jpg
/home/pi/Desktop/images/19012025/19/32/image_19012025_19_32_02_839487_0001.jpg
/home/pi/Desktop/images/19012025/19/32/image_19012025_19_32_02_839487_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330106067","1330106054","1330106057","1330106062"],"photo_ids_order":["1330106054","1330106057","1330106062","1330106067"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/b7d27b97b8ccca2b5339b810b78a4ec0.jpg","text":"TemporaryFile(/tmp/multipartBody7991200118002720986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737311613821,"filename":"image_19012025_19_32_02_839487_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/0f6035f4d270d01c1b980ad3d14398aa.jpg","text":"TemporaryFile(/tmp/multipartBody1774553166881819667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737311613821,"filename":"image_19012025_19_31_02_621931_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/2a3cfa5dfe73ee8744bf6c7ad02f3818.jpg","text":"TemporaryFile(/tmp/multipartBody2364710848426432208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737311613821,"filename":"image_19012025_19_32_02_839487_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/5c08d469abd79e102be3464f9a00b32f.jpg","text":"TemporaryFile(/tmp/multipartBody1449267057742618355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737311613821,"filename":"image_19012025_19_32_02_839487_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330106062","file1":"1330106057","file0":"1330106054","file3":"1330106067"},"map_files_photo_id_array":[{"photo_id":"1330106062","filename":"file2"},{"photo_id":"1330106057","filename":"file1"},{"photo_id":"1330106054","filename":"file0"},{"photo_id":"1330106067","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330106067":["hashtag1","hashtag2"]},{"1330106054":["hashtag1","hashtag2"]},{"1330106057":["hashtag1","hashtag2"]},{"1330106062":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330106067, 1330106054, 1330106057, 1330106062)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.09485220909119 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 19:33:21.840766
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/19/32/image_19012025_19_32_02_839487_0003.jpg', '/home/pi/Desktop/images/19012025/19/33/image_19012025_19_33_02_990647_0000.jpg', '/home/pi/Desktop/images/19012025/19/33/image_19012025_19_33_02_990647_0001.jpg', '/home/pi/Desktop/images/19012025/19/33/image_19012025_19_33_02_990647_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/19/32/image_19012025_19_32_02_839487_0003.jpg
/home/pi/Desktop/images/19012025/19/33/image_19012025_19_33_02_990647_0000.jpg
/home/pi/Desktop/images/19012025/19/33/image_19012025_19_33_02_990647_0001.jpg
/home/pi/Desktop/images/19012025/19/33/image_19012025_19_33_02_990647_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330106865","1330106861","1330106863","1330106644"],"photo_ids_order":["1330106644","1330106861","1330106863","1330106865"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/966b3e9614d383469a157b43ecce3292.jpg","text":"TemporaryFile(/tmp/multipartBody7183678766808042522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737311672941,"filename":"image_19012025_19_33_02_990647_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/7af8c81fdc64ca4abf5cd38075fc0914.jpg","text":"TemporaryFile(/tmp/multipartBody4027622982137144097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737311672941,"filename":"image_19012025_19_33_02_990647_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/91f79f1f264b5544e7729a82e4520d2f.jpg","text":"TemporaryFile(/tmp/multipartBody923906938358980265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737311672941,"filename":"image_19012025_19_33_02_990647_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/1a38512c26320edc6d362fdd73153ebe.jpg","text":"TemporaryFile(/tmp/multipartBody6641061553929029285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737311672941,"filename":"image_19012025_19_32_02_839487_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330106863","file1":"1330106861","file0":"1330106644","file3":"1330106865"},"map_files_photo_id_array":[{"photo_id":"1330106863","filename":"file2"},{"photo_id":"1330106861","filename":"file1"},{"photo_id":"1330106644","filename":"file0"},{"photo_id":"1330106865","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330106865":["hashtag1","hashtag2"]},{"1330106861":["hashtag1","hashtag2"]},{"1330106863":["hashtag1","hashtag2"]},{"1330106644":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330106865, 1330106861, 1330106863, 1330106644)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.01469111442566 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 19:34:22.088704
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/19/33/image_19012025_19_33_02_990647_0003.jpg', '/home/pi/Desktop/images/19012025/19/34/image_19012025_19_34_02_201817_0000.jpg', '/home/pi/Desktop/images/19012025/19/34/image_19012025_19_34_02_201817_0001.jpg', '/home/pi/Desktop/images/19012025/19/34/image_19012025_19_34_02_201817_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/19/33/image_19012025_19_33_02_990647_0003.jpg
/home/pi/Desktop/images/19012025/19/34/image_19012025_19_34_02_201817_0000.jpg
/home/pi/Desktop/images/19012025/19/34/image_19012025_19_34_02_201817_0001.jpg
/home/pi/Desktop/images/19012025/19/34/image_19012025_19_34_02_201817_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.72723388671875 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-19 19:34:42.009227
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/19/33/image_19012025_19_33_02_990647_0003.jpg', '/home/pi/Desktop/images/19012025/19/34/image_19012025_19_34_02_201817_0000.jpg', '/home/pi/Desktop/images/19012025/19/34/image_19012025_19_34_02_201817_0001.jpg', '/home/pi/Desktop/images/19012025/19/34/image_19012025_19_34_02_201817_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/19/33/image_19012025_19_33_02_990647_0003.jpg
/home/pi/Desktop/images/19012025/19/34/image_19012025_19_34_02_201817_0000.jpg
/home/pi/Desktop/images/19012025/19/34/image_19012025_19_34_02_201817_0001.jpg
/home/pi/Desktop/images/19012025/19/34/image_19012025_19_34_02_201817_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330107599","1330107839","1330107886","1330107719"],"photo_ids_order":["1330107599","1330107719","1330107839","1330107886"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/c210013f1a8a9ff2d8a61a546566ef6f.jpg","text":"TemporaryFile(/tmp/multipartBody9126517678879512210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737311753123,"filename":"image_19012025_19_33_02_990647_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/dc13761c6cb06e6db7c4552acd4ec5ab.jpg","text":"TemporaryFile(/tmp/multipartBody791994596367330057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737311753123,"filename":"image_19012025_19_34_02_201817_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/3aa505b5cc18eca80b7a0963eabf5a72.jpg","text":"TemporaryFile(/tmp/multipartBody8454953229725771745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737311753123,"filename":"image_19012025_19_34_02_201817_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/d14ba71ff2c6bb346c04959a9454d762.jpg","text":"TemporaryFile(/tmp/multipartBody644243801765218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737311753123,"filename":"image_19012025_19_34_02_201817_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330107839","file1":"1330107719","file0":"1330107599","file3":"1330107886"},"map_files_photo_id_array":[{"photo_id":"1330107839","filename":"file2"},{"photo_id":"1330107719","filename":"file1"},{"photo_id":"1330107599","filename":"file0"},{"photo_id":"1330107886","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330107599":["hashtag1","hashtag2"]},{"1330107839":["hashtag1","hashtag2"]},{"1330107886":["hashtag1","hashtag2"]},{"1330107719":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330107599, 1330107839, 1330107886, 1330107719)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.230305194854736 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-19 19:35:32.170044
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/19/34/image_19012025_19_34_02_201817_0003.jpg', '/home/pi/Desktop/images/19012025/19/35/image_19012025_19_35_02_389538_0000.jpg', '/home/pi/Desktop/images/19012025/19/35/image_19012025_19_35_02_389538_0001.jpg', '/home/pi/Desktop/images/19012025/19/35/image_19012025_19_35_02_389538_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/19/34/image_19012025_19_34_02_201817_0003.jpg
/home/pi/Desktop/images/19012025/19/35/image_19012025_19_35_02_389538_0000.jpg
/home/pi/Desktop/images/19012025/19/35/image_19012025_19_35_02_389538_0001.jpg
/home/pi/Desktop/images/19012025/19/35/image_19012025_19_35_02_389538_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.389771699905396 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-19 19:35:52.161755
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/19/34/image_19012025_19_34_02_201817_0003.jpg', '/home/pi/Desktop/images/19012025/19/35/image_19012025_19_35_02_389538_0000.jpg', '/home/pi/Desktop/images/19012025/19/35/image_19012025_19_35_02_389538_0001.jpg', '/home/pi/Desktop/images/19012025/19/35/image_19012025_19_35_02_389538_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/19/34/image_19012025_19_34_02_201817_0003.jpg
/home/pi/Desktop/images/19012025/19/35/image_19012025_19_35_02_389538_0000.jpg
/home/pi/Desktop/images/19012025/19/35/image_19012025_19_35_02_389538_0001.jpg
/home/pi/Desktop/images/19012025/19/35/image_19012025_19_35_02_389538_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":["1330108944","1330109021","1330109023","1330109022"],"photo_ids_order":["1330108944","1330109021","1330109022","1330109023"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/ca1efdfc61666aef2fa673147131ac47.jpg","text":"TemporaryFile(/tmp/multipartBody678384852660769291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737311822964,"filename":"image_19012025_19_34_02_201817_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/b6c4036f3d76d77fec34969d1cbb669a.jpg","text":"TemporaryFile(/tmp/multipartBody7346817533237397235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737311822964,"filename":"image_19012025_19_35_02_389538_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/125d6f132f72713ceaea8eea8411d41b.jpg","text":"TemporaryFile(/tmp/multipartBody3186368048184904286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737311822964,"filename":"image_19012025_19_35_02_389538_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/30f87a3fac17838b462cd2112d54ee36.jpg","text":"TemporaryFile(/tmp/multipartBody7130885357379501161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737311822964,"filename":"image_19012025_19_35_02_389538_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330109022","file1":"1330109021","file0":"1330108944","file3":"1330109023"},"map_files_photo_id_array":[{"photo_id":"1330109022","filename":"file2"},{"photo_id":"1330109021","filename":"file1"},{"photo_id":"1330108944","filename":"file0"},{"photo_id":"1330109023","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330108944":["hashtag1","hashtag2"]},{"1330109021":["hashtag1","hashtag2"]},{"1330109023":["hashtag1","hashtag2"]},{"1330109022":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330108944, 1330109021, 1330109023, 1330109022)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.12613582611084 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-19 19:36:32.298666
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/19/35/image_19012025_19_35_02_389538_0003.jpg', '/home/pi/Desktop/images/19012025/19/36/image_19012025_19_36_02_534110_0000.jpg', '/home/pi/Desktop/images/19012025/19/36/image_19012025_19_36_02_534110_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/19/35/image_19012025_19_35_02_389538_0003.jpg
/home/pi/Desktop/images/19012025/19/36/image_19012025_19_36_02_534110_0000.jpg
/home/pi/Desktop/images/19012025/19/36/image_19012025_19_36_02_534110_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330109032","1330109035","1330109029"],"photo_ids_order":["1330109029","1330109032","1330109035"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/12e892e6406754aeb7da41cdf3391c41.jpg","text":"TemporaryFile(/tmp/multipartBody1133595938273702508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737311860566,"filename":"image_19012025_19_36_02_534110_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/c77e0775aa2b8b50b1f113e4747cdbfa.jpg","text":"TemporaryFile(/tmp/multipartBody3372224237480577783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737311860566,"filename":"image_19012025_19_36_02_534110_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/69d5c0d708316230defafa2b56e90eb5.jpg","text":"TemporaryFile(/tmp/multipartBody6117380248012406129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737311860566,"filename":"image_19012025_19_35_02_389538_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330109035","file1":"1330109032","file0":"1330109029"},"map_files_photo_id_array":[{"photo_id":"1330109035","filename":"file2"},{"photo_id":"1330109032","filename":"file1"},{"photo_id":"1330109029","filename":"file0"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330109032":["hashtag1","hashtag2"]},{"1330109035":["hashtag1","hashtag2"]},{"1330109029":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330109032, 1330109035, 1330109029)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.24724769592285 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 19:37:22.628486
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/19/36/image_19012025_19_36_02_534110_0003.jpg', '/home/pi/Desktop/images/19012025/19/37/image_19012025_19_37_02_704245_0000.jpg', '/home/pi/Desktop/images/19012025/19/37/image_19012025_19_37_02_704245_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/19/36/image_19012025_19_36_02_534110_0003.jpg
/home/pi/Desktop/images/19012025/19/37/image_19012025_19_37_02_704245_0000.jpg
/home/pi/Desktop/images/19012025/19/37/image_19012025_19_37_02_704245_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330109048","1330109044","1330109046"],"photo_ids_order":["1330109044","1330109046","1330109048"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/8a6671833c5830a6084f4a46fc8723b4.jpg","text":"TemporaryFile(/tmp/multipartBody3676957281251489420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737311910775,"filename":"image_19012025_19_37_02_704245_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/85582188ebfc4d0fdec04d000f2d13bb.jpg","text":"TemporaryFile(/tmp/multipartBody5097042054280996557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737311910775,"filename":"image_19012025_19_36_02_534110_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/9efae491393afc3f1712347e202f0ad7.jpg","text":"TemporaryFile(/tmp/multipartBody3916698509669694103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737311910775,"filename":"image_19012025_19_37_02_704245_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330109048","file1":"1330109046","file0":"1330109044"},"map_files_photo_id_array":[{"photo_id":"1330109048","filename":"file2"},{"photo_id":"1330109046","filename":"file1"},{"photo_id":"1330109044","filename":"file0"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330109048":["hashtag1","hashtag2"]},{"1330109044":["hashtag1","hashtag2"]},{"1330109046":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330109048, 1330109044, 1330109046)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.336616277694702 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 19:38:03.089872
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 19:38:22.802998
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/19/37/image_19012025_19_37_02_704245_0003.jpg', '/home/pi/Desktop/images/19012025/19/38/image_19012025_19_38_02_895186_0000.jpg', '/home/pi/Desktop/images/19012025/19/38/image_19012025_19_38_02_895186_0001.jpg', '/home/pi/Desktop/images/19012025/19/38/image_19012025_19_38_02_895186_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/19/37/image_19012025_19_37_02_704245_0003.jpg
/home/pi/Desktop/images/19012025/19/38/image_19012025_19_38_02_895186_0000.jpg
/home/pi/Desktop/images/19012025/19/38/image_19012025_19_38_02_895186_0001.jpg
/home/pi/Desktop/images/19012025/19/38/image_19012025_19_38_02_895186_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330109654","1330109761","1330109532","1330109415"],"photo_ids_order":["1330109415","1330109532","1330109654","1330109761"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/1d09fdeb7b31430d6e0397091a68cc12.jpg","text":"TemporaryFile(/tmp/multipartBody968797149664235007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737311974207,"filename":"image_19012025_19_38_02_895186_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/153fb970f81d344cde20938d137084e9.jpg","text":"TemporaryFile(/tmp/multipartBody6801953203817006393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737311974207,"filename":"image_19012025_19_38_02_895186_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/3d587bb1d3cff55034abcefd71e05048.jpg","text":"TemporaryFile(/tmp/multipartBody5988271321615131217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737311974207,"filename":"image_19012025_19_38_02_895186_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/c478b4c91c7e305d01b1468010a97c35.jpg","text":"TemporaryFile(/tmp/multipartBody2124383429128839036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737311974207,"filename":"image_19012025_19_37_02_704245_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330109654","file1":"1330109532","file0":"1330109415","file3":"1330109761"},"map_files_photo_id_array":[{"photo_id":"1330109654","filename":"file2"},{"photo_id":"1330109532","filename":"file1"},{"photo_id":"1330109415","filename":"file0"},{"photo_id":"1330109761","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330109654":["hashtag1","hashtag2"]},{"1330109761":["hashtag1","hashtag2"]},{"1330109532":["hashtag1","hashtag2"]},{"1330109415":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330109654, 1330109761, 1330109532, 1330109415)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.522467851638794 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 19:39:02.529404
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 19:39:21.951987
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/19/38/image_19012025_19_38_02_895186_0003.jpg', '/home/pi/Desktop/images/19012025/19/39/image_19012025_19_39_03_072895_0000.jpg', '/home/pi/Desktop/images/19012025/19/39/image_19012025_19_39_03_072895_0001.jpg', '/home/pi/Desktop/images/19012025/19/39/image_19012025_19_39_03_072895_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/19/38/image_19012025_19_38_02_895186_0003.jpg
/home/pi/Desktop/images/19012025/19/39/image_19012025_19_39_03_072895_0000.jpg
/home/pi/Desktop/images/19012025/19/39/image_19012025_19_39_03_072895_0001.jpg
/home/pi/Desktop/images/19012025/19/39/image_19012025_19_39_03_072895_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330109798","1330109777","1330109779","1330109931"],"photo_ids_order":["1330109777","1330109779","1330109798","1330109931"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/93f3a8e4d0643914e934adaf7d2dec83.jpg","text":"TemporaryFile(/tmp/multipartBody5726622482521857295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737312033619,"filename":"image_19012025_19_39_03_072895_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/a91fca13059b2e5ef9375249dfe24244.jpg","text":"TemporaryFile(/tmp/multipartBody7139255641686771474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737312033619,"filename":"image_19012025_19_38_02_895186_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/6d2a429c9eea0abaa1728d62567e72b6.jpg","text":"TemporaryFile(/tmp/multipartBody3949161834112967539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737312033619,"filename":"image_19012025_19_39_03_072895_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/ef89fbabd6e535bc3071a7d721917855.jpg","text":"TemporaryFile(/tmp/multipartBody2682922793480284678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737312033619,"filename":"image_19012025_19_39_03_072895_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330109798","file1":"1330109779","file0":"1330109777","file3":"1330109931"},"map_files_photo_id_array":[{"photo_id":"1330109798","filename":"file2"},{"photo_id":"1330109779","filename":"file1"},{"photo_id":"1330109777","filename":"file0"},{"photo_id":"1330109931","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330109798":["hashtag1","hashtag2"]},{"1330109777":["hashtag1","hashtag2"]},{"1330109779":["hashtag1","hashtag2"]},{"1330109931":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330109798, 1330109777, 1330109779, 1330109931)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.10883164405823 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 19:40:22.150247
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/19/39/image_19012025_19_39_03_072895_0003.jpg', '/home/pi/Desktop/images/19012025/19/40/image_19012025_19_40_02_289614_0000.jpg', '/home/pi/Desktop/images/19012025/19/40/image_19012025_19_40_02_289614_0001.jpg', '/home/pi/Desktop/images/19012025/19/40/image_19012025_19_40_02_289614_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/19/39/image_19012025_19_39_03_072895_0003.jpg
/home/pi/Desktop/images/19012025/19/40/image_19012025_19_40_02_289614_0000.jpg
/home/pi/Desktop/images/19012025/19/40/image_19012025_19_40_02_289614_0001.jpg
/home/pi/Desktop/images/19012025/19/40/image_19012025_19_40_02_289614_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.827617883682251 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-19 19:40:42.119157
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/19/39/image_19012025_19_39_03_072895_0003.jpg', '/home/pi/Desktop/images/19012025/19/40/image_19012025_19_40_02_289614_0000.jpg', '/home/pi/Desktop/images/19012025/19/40/image_19012025_19_40_02_289614_0001.jpg', '/home/pi/Desktop/images/19012025/19/40/image_19012025_19_40_02_289614_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/19/39/image_19012025_19_39_03_072895_0003.jpg
/home/pi/Desktop/images/19012025/19/40/image_19012025_19_40_02_289614_0000.jpg
/home/pi/Desktop/images/19012025/19/40/image_19012025_19_40_02_289614_0001.jpg
/home/pi/Desktop/images/19012025/19/40/image_19012025_19_40_02_289614_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330110863","1330111028","1330110920","1330110774"],"photo_ids_order":["1330110774","1330110863","1330110920","1330111028"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/033d425ee0a80254d9833ffdfa54a002.jpg","text":"TemporaryFile(/tmp/multipartBody2458437282432972673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737312113341,"filename":"image_19012025_19_40_02_289614_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/e8f7d03077d437ead491e3d599fa81cc.jpg","text":"TemporaryFile(/tmp/multipartBody4777665264720234521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737312113341,"filename":"image_19012025_19_40_02_289614_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/1124b749dc1e6fddbb198adfd911fe48.jpg","text":"TemporaryFile(/tmp/multipartBody9028094041224210484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737312113341,"filename":"image_19012025_19_40_02_289614_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/381db5e20955c2723cc7786ff6f7c48e.jpg","text":"TemporaryFile(/tmp/multipartBody2823119122483504853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737312113341,"filename":"image_19012025_19_39_03_072895_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330110920","file1":"1330110863","file0":"1330110774","file3":"1330111028"},"map_files_photo_id_array":[{"photo_id":"1330110920","filename":"file2"},{"photo_id":"1330110863","filename":"file1"},{"photo_id":"1330110774","filename":"file0"},{"photo_id":"1330111028","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330110863":["hashtag1","hashtag2"]},{"1330111028":["hashtag1","hashtag2"]},{"1330110920":["hashtag1","hashtag2"]},{"1330110774":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330110863, 1330111028, 1330110920, 1330110774)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.3617217540741 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-19 19:41:32.264509
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/19/40/image_19012025_19_40_02_289614_0003.jpg', '/home/pi/Desktop/images/19012025/19/41/image_19012025_19_41_02_524695_0000.jpg', '/home/pi/Desktop/images/19012025/19/41/image_19012025_19_41_02_524695_0001.jpg', '/home/pi/Desktop/images/19012025/19/41/image_19012025_19_41_02_524695_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/19/40/image_19012025_19_40_02_289614_0003.jpg
/home/pi/Desktop/images/19012025/19/41/image_19012025_19_41_02_524695_0000.jpg
/home/pi/Desktop/images/19012025/19/41/image_19012025_19_41_02_524695_0001.jpg
/home/pi/Desktop/images/19012025/19/41/image_19012025_19_41_02_524695_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330111226","1330111222","1330111230","1330111233"],"photo_ids_order":["1330111222","1330111226","1330111230","1330111233"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/0eda70965b12ce3a03e1bb5f46d5e2ba.jpg","text":"TemporaryFile(/tmp/multipartBody4706078203253793817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737312163594,"filename":"image_19012025_19_41_02_524695_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/332320891a0c93ebfeb7bc07a9048b99.jpg","text":"TemporaryFile(/tmp/multipartBody7359415871061956832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737312163594,"filename":"image_19012025_19_40_02_289614_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/0771c796589faf6e0ed3d5d3f00e6835.jpg","text":"TemporaryFile(/tmp/multipartBody7806880395028347389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737312163594,"filename":"image_19012025_19_41_02_524695_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/1efc3bf76f69daca3145b7e52c420c00.jpg","text":"TemporaryFile(/tmp/multipartBody5463455832425322387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737312163594,"filename":"image_19012025_19_41_02_524695_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330111230","file1":"1330111226","file0":"1330111222","file3":"1330111233"},"map_files_photo_id_array":[{"photo_id":"1330111230","filename":"file2"},{"photo_id":"1330111226","filename":"file1"},{"photo_id":"1330111222","filename":"file0"},{"photo_id":"1330111233","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330111226":["hashtag1","hashtag2"]},{"1330111222":["hashtag1","hashtag2"]},{"1330111230":["hashtag1","hashtag2"]},{"1330111233":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330111226, 1330111222, 1330111230, 1330111233)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.20809841156006 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 19:42:22.440896
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/19/41/image_19012025_19_41_02_524695_0003.jpg', '/home/pi/Desktop/images/19012025/19/42/image_19012025_19_42_02_638792_0000.jpg', '/home/pi/Desktop/images/19012025/19/42/image_19012025_19_42_02_638792_0001.jpg', '/home/pi/Desktop/images/19012025/19/42/image_19012025_19_42_02_638792_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/19/41/image_19012025_19_41_02_524695_0003.jpg
/home/pi/Desktop/images/19012025/19/42/image_19012025_19_42_02_638792_0000.jpg
/home/pi/Desktop/images/19012025/19/42/image_19012025_19_42_02_638792_0001.jpg
/home/pi/Desktop/images/19012025/19/42/image_19012025_19_42_02_638792_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330111597","1330111591","1330111594","1330111600"],"photo_ids_order":["1330111591","1330111594","1330111597","1330111600"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/5b3a7a5f04004a949a8f5dff19be6700.jpg","text":"TemporaryFile(/tmp/multipartBody202483045209330349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737312213236,"filename":"image_19012025_19_42_02_638792_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/396f97db3ceefe5acf0feeaaa4b39af3.jpg","text":"TemporaryFile(/tmp/multipartBody3030524410180104640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737312213236,"filename":"image_19012025_19_41_02_524695_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/0bd3a127ef67f5292886949f39ec655c.jpg","text":"TemporaryFile(/tmp/multipartBody1650428637528662109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737312213236,"filename":"image_19012025_19_42_02_638792_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/05198ff800830c9479f9c8d250682b15.jpg","text":"TemporaryFile(/tmp/multipartBody3490165251608743629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737312213236,"filename":"image_19012025_19_42_02_638792_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330111597","file1":"1330111594","file0":"1330111591","file3":"1330111600"},"map_files_photo_id_array":[{"photo_id":"1330111597","filename":"file2"},{"photo_id":"1330111594","filename":"file1"},{"photo_id":"1330111591","filename":"file0"},{"photo_id":"1330111600","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330111597":["hashtag1","hashtag2"]},{"1330111591":["hashtag1","hashtag2"]},{"1330111594":["hashtag1","hashtag2"]},{"1330111600":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330111597, 1330111591, 1330111594, 1330111600)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.185213565826416 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 19:43:03.233537
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 19:43:22.520129
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/19/42/image_19012025_19_42_02_638792_0003.jpg', '/home/pi/Desktop/images/19012025/19/43/image_19012025_19_43_02_795768_0000.jpg', '/home/pi/Desktop/images/19012025/19/43/image_19012025_19_43_02_795768_0001.jpg', '/home/pi/Desktop/images/19012025/19/43/image_19012025_19_43_02_795768_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/19/42/image_19012025_19_42_02_638792_0003.jpg
/home/pi/Desktop/images/19012025/19/43/image_19012025_19_43_02_795768_0000.jpg
/home/pi/Desktop/images/19012025/19/43/image_19012025_19_43_02_795768_0001.jpg
/home/pi/Desktop/images/19012025/19/43/image_19012025_19_43_02_795768_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330111766","1330111763","1330111832","1330111733"],"photo_ids_order":["1330111733","1330111763","1330111766","1330111832"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/87476a44e2a2a43a2c07c6f2f3ee2570.jpg","text":"TemporaryFile(/tmp/multipartBody5454832289998917796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737312273644,"filename":"image_19012025_19_43_02_795768_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/73a2a50d1ae045f4e4670e15164715c1.jpg","text":"TemporaryFile(/tmp/multipartBody5732134353749729900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737312273644,"filename":"image_19012025_19_43_02_795768_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/f7cd0fe5411f24cb532029d22711eaca.jpg","text":"TemporaryFile(/tmp/multipartBody3895734636530636206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737312273644,"filename":"image_19012025_19_43_02_795768_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/5568a5521062895fe2f93986a057f6cc.jpg","text":"TemporaryFile(/tmp/multipartBody4328994865932980791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737312273644,"filename":"image_19012025_19_42_02_638792_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330111766","file1":"1330111763","file0":"1330111733","file3":"1330111832"},"map_files_photo_id_array":[{"photo_id":"1330111766","filename":"file2"},{"photo_id":"1330111763","filename":"file1"},{"photo_id":"1330111733","filename":"file0"},{"photo_id":"1330111832","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330111766":["hashtag1","hashtag2"]},{"1330111763":["hashtag1","hashtag2"]},{"1330111832":["hashtag1","hashtag2"]},{"1330111733":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330111766, 1330111763, 1330111832, 1330111733)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.79419994354248 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 19:44:21.810989
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/19/43/image_19012025_19_43_02_795768_0003.jpg', '/home/pi/Desktop/images/19012025/19/44/image_19012025_19_44_03_053752_0000.jpg', '/home/pi/Desktop/images/19012025/19/44/image_19012025_19_44_03_053752_0001.jpg', '/home/pi/Desktop/images/19012025/19/44/image_19012025_19_44_03_053752_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/19/43/image_19012025_19_43_02_795768_0003.jpg
/home/pi/Desktop/images/19012025/19/44/image_19012025_19_44_03_053752_0000.jpg
/home/pi/Desktop/images/19012025/19/44/image_19012025_19_44_03_053752_0001.jpg
/home/pi/Desktop/images/19012025/19/44/image_19012025_19_44_03_053752_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.757508993148804 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-19 19:44:41.892809
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/19/43/image_19012025_19_43_02_795768_0003.jpg', '/home/pi/Desktop/images/19012025/19/44/image_19012025_19_44_03_053752_0000.jpg', '/home/pi/Desktop/images/19012025/19/44/image_19012025_19_44_03_053752_0001.jpg', '/home/pi/Desktop/images/19012025/19/44/image_19012025_19_44_03_053752_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/19/43/image_19012025_19_43_02_795768_0003.jpg
/home/pi/Desktop/images/19012025/19/44/image_19012025_19_44_03_053752_0000.jpg
/home/pi/Desktop/images/19012025/19/44/image_19012025_19_44_03_053752_0001.jpg
/home/pi/Desktop/images/19012025/19/44/image_19012025_19_44_03_053752_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":["1330112057","1330112053","1330112055","1330112051"],"photo_ids_order":["1330112051","1330112053","1330112055","1330112057"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/1350c9165fa55f844dd08eb5dbaa61ae.jpg","text":"TemporaryFile(/tmp/multipartBody329784517044148059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737312353034,"filename":"image_19012025_19_44_03_053752_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/43f63be67ba5f9e4acb298b8aea3ec3d.jpg","text":"TemporaryFile(/tmp/multipartBody6023901279569087230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737312353034,"filename":"image_19012025_19_44_03_053752_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/3abd42c25467aa29a446278cbc4b2b0f.jpg","text":"TemporaryFile(/tmp/multipartBody6777645093962845450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737312353034,"filename":"image_19012025_19_44_03_053752_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/1ecb23e44fa89d981b247f192b68dc51.jpg","text":"TemporaryFile(/tmp/multipartBody5340019454116829539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737312353034,"filename":"image_19012025_19_43_02_795768_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330112055","file1":"1330112053","file0":"1330112051","file3":"1330112057"},"map_files_photo_id_array":[{"photo_id":"1330112055","filename":"file2"},{"photo_id":"1330112053","filename":"file1"},{"photo_id":"1330112051","filename":"file0"},{"photo_id":"1330112057","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330112057":["hashtag1","hashtag2"]},{"1330112053":["hashtag1","hashtag2"]},{"1330112055":["hashtag1","hashtag2"]},{"1330112051":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330112057, 1330112053, 1330112055, 1330112051)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.93259358406067 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 19:45:21.995466
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/19/44/image_19012025_19_44_03_053752_0003.jpg', '/home/pi/Desktop/images/19012025/19/45/image_19012025_19_45_02_184164_0000.jpg', '/home/pi/Desktop/images/19012025/19/45/image_19012025_19_45_02_184164_0001.jpg', '/home/pi/Desktop/images/19012025/19/45/image_19012025_19_45_02_184164_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/19/44/image_19012025_19_44_03_053752_0003.jpg
/home/pi/Desktop/images/19012025/19/45/image_19012025_19_45_02_184164_0000.jpg
/home/pi/Desktop/images/19012025/19/45/image_19012025_19_45_02_184164_0001.jpg
/home/pi/Desktop/images/19012025/19/45/image_19012025_19_45_02_184164_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330112069","1330112065","1330112073","1330112061"],"photo_ids_order":["1330112061","1330112065","1330112069","1330112073"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/9e6f9dc9fb139a8cb0d542a5310ee4a1.jpg","text":"TemporaryFile(/tmp/multipartBody2900256662583879061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737312393272,"filename":"image_19012025_19_45_02_184164_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/60ae9fda759002854672c20f3724f71e.jpg","text":"TemporaryFile(/tmp/multipartBody4578778428529649192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737312393272,"filename":"image_19012025_19_45_02_184164_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/962555aee30159d0e1f5292476411e39.jpg","text":"TemporaryFile(/tmp/multipartBody7688775984799518068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737312393272,"filename":"image_19012025_19_45_02_184164_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/8699ec4ef3fded523657409fc9b0bce2.jpg","text":"TemporaryFile(/tmp/multipartBody157578578522272741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737312393272,"filename":"image_19012025_19_44_03_053752_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330112069","file1":"1330112065","file0":"1330112061","file3":"1330112073"},"map_files_photo_id_array":[{"photo_id":"1330112069","filename":"file2"},{"photo_id":"1330112065","filename":"file1"},{"photo_id":"1330112061","filename":"file0"},{"photo_id":"1330112073","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330112069":["hashtag1","hashtag2"]},{"1330112065":["hashtag1","hashtag2"]},{"1330112073":["hashtag1","hashtag2"]},{"1330112061":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330112069, 1330112065, 1330112073, 1330112061)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.851266860961914 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 19:46:02.568907
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 19:46:22.204441
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/19/45/image_19012025_19_45_02_184164_0003.jpg', '/home/pi/Desktop/images/19012025/19/46/image_19012025_19_46_02_456939_0000.jpg', '/home/pi/Desktop/images/19012025/19/46/image_19012025_19_46_02_456939_0001.jpg', '/home/pi/Desktop/images/19012025/19/46/image_19012025_19_46_02_456939_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/19/45/image_19012025_19_45_02_184164_0003.jpg
/home/pi/Desktop/images/19012025/19/46/image_19012025_19_46_02_456939_0000.jpg
/home/pi/Desktop/images/19012025/19/46/image_19012025_19_46_02_456939_0001.jpg
/home/pi/Desktop/images/19012025/19/46/image_19012025_19_46_02_456939_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330112296","1330112298","1330112292","1330112261"],"photo_ids_order":["1330112261","1330112292","1330112296","1330112298"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/b8d8d1c9062f1ffaa59ad76253cb77b1.jpg","text":"TemporaryFile(/tmp/multipartBody4619424537012180314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737312453290,"filename":"image_19012025_19_46_02_456939_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/e91be7bc446565ac9f81c229d398faa1.jpg","text":"TemporaryFile(/tmp/multipartBody4978234269231368463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737312453290,"filename":"image_19012025_19_46_02_456939_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/42afc3fd3e43b930fca347012e0dad57.jpg","text":"TemporaryFile(/tmp/multipartBody6359734238936439079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737312453290,"filename":"image_19012025_19_46_02_456939_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/cf0353f1c270bf640b8d4ca99a0f0c88.jpg","text":"TemporaryFile(/tmp/multipartBody2602929581467530748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737312453290,"filename":"image_19012025_19_45_02_184164_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330112296","file1":"1330112292","file0":"1330112261","file3":"1330112298"},"map_files_photo_id_array":[{"photo_id":"1330112296","filename":"file2"},{"photo_id":"1330112292","filename":"file1"},{"photo_id":"1330112261","filename":"file0"},{"photo_id":"1330112298","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330112296":["hashtag1","hashtag2"]},{"1330112298":["hashtag1","hashtag2"]},{"1330112292":["hashtag1","hashtag2"]},{"1330112261":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330112296, 1330112298, 1330112292, 1330112261)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 4 photos
time to upload: 39.741233110427856 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 19:47:22.415144
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/19/46/image_19012025_19_46_02_456939_0003.jpg', '/home/pi/Desktop/images/19012025/19/47/image_19012025_19_47_02_508714_0000.jpg', '/home/pi/Desktop/images/19012025/19/47/image_19012025_19_47_02_508714_0001.jpg', '/home/pi/Desktop/images/19012025/19/47/image_19012025_19_47_02_508714_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/19/46/image_19012025_19_46_02_456939_0003.jpg
/home/pi/Desktop/images/19012025/19/47/image_19012025_19_47_02_508714_0000.jpg
/home/pi/Desktop/images/19012025/19/47/image_19012025_19_47_02_508714_0001.jpg
/home/pi/Desktop/images/19012025/19/47/image_19012025_19_47_02_508714_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330112366","1330112371","1330112369","1330112363"],"photo_ids_order":["1330112363","1330112366","1330112369","1330112371"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/eed2967ef143940f4802d08f965c73b1.jpg","text":"TemporaryFile(/tmp/multipartBody4488503063978547734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737312513766,"filename":"image_19012025_19_47_02_508714_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/c5d8b3580abf029f113bf281bba3a5b0.jpg","text":"TemporaryFile(/tmp/multipartBody272779624957973233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737312513766,"filename":"image_19012025_19_47_02_508714_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/9711adfa3664e2214d455bd54f0872dd.jpg","text":"TemporaryFile(/tmp/multipartBody3952053834112768014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737312513766,"filename":"image_19012025_19_47_02_508714_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/3776fdadd8bb6e1fa870e59e65592475.jpg","text":"TemporaryFile(/tmp/multipartBody5943194976506688567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737312513766,"filename":"image_19012025_19_46_02_456939_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330112369","file1":"1330112366","file0":"1330112363","file3":"1330112371"},"map_files_photo_id_array":[{"photo_id":"1330112369","filename":"file2"},{"photo_id":"1330112366","filename":"file1"},{"photo_id":"1330112363","filename":"file0"},{"photo_id":"1330112371","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330112366":["hashtag1","hashtag2"]},{"1330112371":["hashtag1","hashtag2"]},{"1330112369":["hashtag1","hashtag2"]},{"1330112363":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330112366, 1330112371, 1330112369, 1330112363)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.42044544219971 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 19:48:22.807640
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/19/47/image_19012025_19_47_02_508714_0003.jpg', '/home/pi/Desktop/images/19012025/19/48/image_19012025_19_48_02_721156_0000.jpg', '/home/pi/Desktop/images/19012025/19/48/image_19012025_19_48_02_721156_0001.jpg', '/home/pi/Desktop/images/19012025/19/48/image_19012025_19_48_02_721156_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/19/47/image_19012025_19_47_02_508714_0003.jpg
/home/pi/Desktop/images/19012025/19/48/image_19012025_19_48_02_721156_0000.jpg
/home/pi/Desktop/images/19012025/19/48/image_19012025_19_48_02_721156_0001.jpg
/home/pi/Desktop/images/19012025/19/48/image_19012025_19_48_02_721156_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330112405","1330112400","1330112396","1330112378"],"photo_ids_order":["1330112378","1330112396","1330112400","1330112405"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/80b3d07d256ca0f749dd46a2360d7ee2.jpg","text":"TemporaryFile(/tmp/multipartBody5754042743794938055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737312573915,"filename":"image_19012025_19_48_02_721156_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/8320ca68d46b0fe0c4573e8f05210c8b.jpg","text":"TemporaryFile(/tmp/multipartBody4236404603876358844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737312573915,"filename":"image_19012025_19_48_02_721156_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/ffce578a375e5c5f5eccf63415334f33.jpg","text":"TemporaryFile(/tmp/multipartBody6711477927743827438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737312573915,"filename":"image_19012025_19_48_02_721156_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/7c868bd144ad77ba94120afb647fbd8b.jpg","text":"TemporaryFile(/tmp/multipartBody3636587920607299900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737312573915,"filename":"image_19012025_19_47_02_508714_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330112400","file1":"1330112396","file0":"1330112378","file3":"1330112405"},"map_files_photo_id_array":[{"photo_id":"1330112400","filename":"file2"},{"photo_id":"1330112396","filename":"file1"},{"photo_id":"1330112378","filename":"file0"},{"photo_id":"1330112405","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330112405":["hashtag1","hashtag2"]},{"1330112400":["hashtag1","hashtag2"]},{"1330112396":["hashtag1","hashtag2"]},{"1330112378":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330112405, 1330112400, 1330112396, 1330112378)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.80888271331787 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 19:49:21.983322
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/19/48/image_19012025_19_48_02_721156_0003.jpg', '/home/pi/Desktop/images/19012025/19/49/image_19012025_19_49_03_128737_0000.jpg', '/home/pi/Desktop/images/19012025/19/49/image_19012025_19_49_03_128737_0001.jpg', '/home/pi/Desktop/images/19012025/19/49/image_19012025_19_49_03_128737_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/19/48/image_19012025_19_48_02_721156_0003.jpg
/home/pi/Desktop/images/19012025/19/49/image_19012025_19_49_03_128737_0000.jpg
/home/pi/Desktop/images/19012025/19/49/image_19012025_19_49_03_128737_0001.jpg
/home/pi/Desktop/images/19012025/19/49/image_19012025_19_49_03_128737_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330112497","1330112501","1330112487","1330112499"],"photo_ids_order":["1330112487","1330112497","1330112499","1330112501"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/d322aa5ca19e09f0a723419501eb01ce.jpg","text":"TemporaryFile(/tmp/multipartBody7661242407900228625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737312633384,"filename":"image_19012025_19_49_03_128737_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/6ce5b89cb73b6ae061a2fa0f4aeb3d1b.jpg","text":"TemporaryFile(/tmp/multipartBody4683298330218868574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737312633384,"filename":"image_19012025_19_49_03_128737_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/9a9b2f2e7abe3c396fc570ffed6390cf.jpg","text":"TemporaryFile(/tmp/multipartBody523467789908780321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737312633384,"filename":"image_19012025_19_48_02_721156_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/ba003ee24e8dba3601ddb64ab1e21885.jpg","text":"TemporaryFile(/tmp/multipartBody7068851541432355599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737312633384,"filename":"image_19012025_19_49_03_128737_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330112499","file1":"1330112497","file0":"1330112487","file3":"1330112501"},"map_files_photo_id_array":[{"photo_id":"1330112499","filename":"file2"},{"photo_id":"1330112497","filename":"file1"},{"photo_id":"1330112487","filename":"file0"},{"photo_id":"1330112501","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330112497":["hashtag1","hashtag2"]},{"1330112501":["hashtag1","hashtag2"]},{"1330112487":["hashtag1","hashtag2"]},{"1330112499":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330112497, 1330112501, 1330112487, 1330112499)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.4456889629364 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 19:50:22.213281
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/19/49/image_19012025_19_49_03_128737_0003.jpg', '/home/pi/Desktop/images/19012025/19/50/image_19012025_19_50_02_293824_0000.jpg', '/home/pi/Desktop/images/19012025/19/50/image_19012025_19_50_02_293824_0001.jpg', '/home/pi/Desktop/images/19012025/19/50/image_19012025_19_50_02_293824_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/19/49/image_19012025_19_49_03_128737_0003.jpg
/home/pi/Desktop/images/19012025/19/50/image_19012025_19_50_02_293824_0000.jpg
/home/pi/Desktop/images/19012025/19/50/image_19012025_19_50_02_293824_0001.jpg
/home/pi/Desktop/images/19012025/19/50/image_19012025_19_50_02_293824_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.689825296401978 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-19 19:50:42.114331
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/19/49/image_19012025_19_49_03_128737_0003.jpg', '/home/pi/Desktop/images/19012025/19/50/image_19012025_19_50_02_293824_0000.jpg', '/home/pi/Desktop/images/19012025/19/50/image_19012025_19_50_02_293824_0001.jpg', '/home/pi/Desktop/images/19012025/19/50/image_19012025_19_50_02_293824_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/19/49/image_19012025_19_49_03_128737_0003.jpg
/home/pi/Desktop/images/19012025/19/50/image_19012025_19_50_02_293824_0000.jpg
/home/pi/Desktop/images/19012025/19/50/image_19012025_19_50_02_293824_0001.jpg
/home/pi/Desktop/images/19012025/19/50/image_19012025_19_50_02_293824_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330112563","1330112568","1330112565","1330112567"],"photo_ids_order":["1330112563","1330112565","1330112567","1330112568"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/559c78bb8d0d970a373aaad48d5443d6.jpg","text":"TemporaryFile(/tmp/multipartBody2598835212884867556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737312713207,"filename":"image_19012025_19_49_03_128737_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/a73fb87d350ba21e5b8c522bebe69260.jpg","text":"TemporaryFile(/tmp/multipartBody5525864299189720176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737312713207,"filename":"image_19012025_19_50_02_293824_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/cd1b31aed49e8a104e7e590a2eb1ef4e.jpg","text":"TemporaryFile(/tmp/multipartBody941859460496017173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737312713207,"filename":"image_19012025_19_50_02_293824_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/b2a7b7520ccc02523182640708000dc0.jpg","text":"TemporaryFile(/tmp/multipartBody5468450494159308755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737312713207,"filename":"image_19012025_19_50_02_293824_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330112567","file1":"1330112565","file0":"1330112563","file3":"1330112568"},"map_files_photo_id_array":[{"photo_id":"1330112567","filename":"file2"},{"photo_id":"1330112565","filename":"file1"},{"photo_id":"1330112563","filename":"file0"},{"photo_id":"1330112568","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330112563":["hashtag1","hashtag2"]},{"1330112568":["hashtag1","hashtag2"]},{"1330112565":["hashtag1","hashtag2"]},{"1330112567":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330112563, 1330112568, 1330112565, 1330112567)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.3973114490509 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-19 19:51:32.292959
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/19/50/image_19012025_19_50_02_293824_0003.jpg', '/home/pi/Desktop/images/19012025/19/51/image_19012025_19_51_02_480434_0000.jpg', '/home/pi/Desktop/images/19012025/19/51/image_19012025_19_51_02_480434_0001.jpg', '/home/pi/Desktop/images/19012025/19/51/image_19012025_19_51_02_480434_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/19/50/image_19012025_19_50_02_293824_0003.jpg
/home/pi/Desktop/images/19012025/19/51/image_19012025_19_51_02_480434_0000.jpg
/home/pi/Desktop/images/19012025/19/51/image_19012025_19_51_02_480434_0001.jpg
/home/pi/Desktop/images/19012025/19/51/image_19012025_19_51_02_480434_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330112586","1330112580","1330112583","1330112576"],"photo_ids_order":["1330112576","1330112580","1330112583","1330112586"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/36f2e532fef3506157cf814511a497bf.jpg","text":"TemporaryFile(/tmp/multipartBody7780858247064913648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737312763489,"filename":"image_19012025_19_51_02_480434_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/67c073aeaf752de25a15c55c593c229d.jpg","text":"TemporaryFile(/tmp/multipartBody2268095495988299753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737312763489,"filename":"image_19012025_19_51_02_480434_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/89766dd7c46575a8f41ef03f9596e636.jpg","text":"TemporaryFile(/tmp/multipartBody1750765811483568941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737312763489,"filename":"image_19012025_19_51_02_480434_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/98949fb4ec0ff6a4001e8eb609396f95.jpg","text":"TemporaryFile(/tmp/multipartBody8232980345742188093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737312763489,"filename":"image_19012025_19_50_02_293824_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330112583","file1":"1330112580","file0":"1330112576","file3":"1330112586"},"map_files_photo_id_array":[{"photo_id":"1330112583","filename":"file2"},{"photo_id":"1330112580","filename":"file1"},{"photo_id":"1330112576","filename":"file0"},{"photo_id":"1330112586","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330112586":["hashtag1","hashtag2"]},{"1330112580":["hashtag1","hashtag2"]},{"1330112583":["hashtag1","hashtag2"]},{"1330112576":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330112586, 1330112580, 1330112583, 1330112576)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.49277186393738 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 19:52:22.398744
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/19/51/image_19012025_19_51_02_480434_0003.jpg', '/home/pi/Desktop/images/19012025/19/52/image_19012025_19_52_02_611075_0000.jpg', '/home/pi/Desktop/images/19012025/19/52/image_19012025_19_52_02_611075_0001.jpg', '/home/pi/Desktop/images/19012025/19/52/image_19012025_19_52_02_611075_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/19/51/image_19012025_19_51_02_480434_0003.jpg
/home/pi/Desktop/images/19012025/19/52/image_19012025_19_52_02_611075_0000.jpg
/home/pi/Desktop/images/19012025/19/52/image_19012025_19_52_02_611075_0001.jpg
/home/pi/Desktop/images/19012025/19/52/image_19012025_19_52_02_611075_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330112596","1330112598","1330112591","1330112594"],"photo_ids_order":["1330112591","1330112594","1330112596","1330112598"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/84ac261cea0d013c8a86f355610bd5bc.jpg","text":"TemporaryFile(/tmp/multipartBody2049407521494244753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737312813004,"filename":"image_19012025_19_52_02_611075_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/803d23077f978cf9100268de215c8f97.jpg","text":"TemporaryFile(/tmp/multipartBody2081960191149301714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737312813004,"filename":"image_19012025_19_52_02_611075_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/c35b671f5eec61d2340da41e3e55ef80.jpg","text":"TemporaryFile(/tmp/multipartBody4618151281647658010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737312813004,"filename":"image_19012025_19_51_02_480434_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/c612a6c64ae7b234cb2216afce40d1de.jpg","text":"TemporaryFile(/tmp/multipartBody2685712866256904992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737312813004,"filename":"image_19012025_19_52_02_611075_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330112596","file1":"1330112594","file0":"1330112591","file3":"1330112598"},"map_files_photo_id_array":[{"photo_id":"1330112596","filename":"file2"},{"photo_id":"1330112594","filename":"file1"},{"photo_id":"1330112591","filename":"file0"},{"photo_id":"1330112598","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330112596":["hashtag1","hashtag2"]},{"1330112598":["hashtag1","hashtag2"]},{"1330112591":["hashtag1","hashtag2"]},{"1330112594":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330112596, 1330112598, 1330112591, 1330112594)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.90584182739258 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 19:53:03.228808
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 19:53:22.552919
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/19/52/image_19012025_19_52_02_611075_0003.jpg', '/home/pi/Desktop/images/19012025/19/53/image_19012025_19_53_02_800652_0000.jpg', '/home/pi/Desktop/images/19012025/19/53/image_19012025_19_53_02_800652_0001.jpg', '/home/pi/Desktop/images/19012025/19/53/image_19012025_19_53_02_800652_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/19/52/image_19012025_19_52_02_611075_0003.jpg
/home/pi/Desktop/images/19012025/19/53/image_19012025_19_53_02_800652_0000.jpg
/home/pi/Desktop/images/19012025/19/53/image_19012025_19_53_02_800652_0001.jpg
/home/pi/Desktop/images/19012025/19/53/image_19012025_19_53_02_800652_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330112657","1330112650","1330112653","1330112655"],"photo_ids_order":["1330112650","1330112653","1330112655","1330112657"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/48cbecec32e195417d29324872eeac35.jpg","text":"TemporaryFile(/tmp/multipartBody3676867646736263723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737312873341,"filename":"image_19012025_19_53_02_800652_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/3ba2c8ca24b3e4b16180e0480368e14e.jpg","text":"TemporaryFile(/tmp/multipartBody4544918142745558992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737312873341,"filename":"image_19012025_19_52_02_611075_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/6ff0ea050ac89a8839310f1abbd419bf.jpg","text":"TemporaryFile(/tmp/multipartBody5870329801048839581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737312873341,"filename":"image_19012025_19_53_02_800652_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/536791c6eaaf56f6fff6693d82817901.jpg","text":"TemporaryFile(/tmp/multipartBody40321434533396747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737312873341,"filename":"image_19012025_19_53_02_800652_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330112655","file1":"1330112653","file0":"1330112650","file3":"1330112657"},"map_files_photo_id_array":[{"photo_id":"1330112655","filename":"file2"},{"photo_id":"1330112653","filename":"file1"},{"photo_id":"1330112650","filename":"file0"},{"photo_id":"1330112657","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330112657":["hashtag1","hashtag2"]},{"1330112650":["hashtag1","hashtag2"]},{"1330112653":["hashtag1","hashtag2"]},{"1330112655":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330112657, 1330112650, 1330112653, 1330112655)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.090248107910156 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 19:54:03.005759
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 19:54:22.616565
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/19/53/image_19012025_19_53_02_800652_0003.jpg', '/home/pi/Desktop/images/19012025/19/54/image_19012025_19_54_02_915320_0000.jpg', '/home/pi/Desktop/images/19012025/19/54/image_19012025_19_54_02_915320_0001.jpg', '/home/pi/Desktop/images/19012025/19/54/image_19012025_19_54_02_915320_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/19/53/image_19012025_19_53_02_800652_0003.jpg
/home/pi/Desktop/images/19012025/19/54/image_19012025_19_54_02_915320_0000.jpg
/home/pi/Desktop/images/19012025/19/54/image_19012025_19_54_02_915320_0001.jpg
/home/pi/Desktop/images/19012025/19/54/image_19012025_19_54_02_915320_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330112735","1330112824","1330112821","1330112709"],"photo_ids_order":["1330112709","1330112735","1330112821","1330112824"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/780039a04f555cee73b490a00b636fa0.jpg","text":"TemporaryFile(/tmp/multipartBody7352195236389003550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737312934262,"filename":"image_19012025_19_54_02_915320_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/424f1ec085591f4bde606701396bc015.jpg","text":"TemporaryFile(/tmp/multipartBody1888351970546476106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737312934262,"filename":"image_19012025_19_54_02_915320_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/257185cc5e372959b71a7908cb2737bf.jpg","text":"TemporaryFile(/tmp/multipartBody8240476273467301307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737312934262,"filename":"image_19012025_19_54_02_915320_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/6042833faa0f2f61d14f2960b82018fb.jpg","text":"TemporaryFile(/tmp/multipartBody3289071163480644126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737312934262,"filename":"image_19012025_19_53_02_800652_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330112821","file1":"1330112735","file0":"1330112709","file3":"1330112824"},"map_files_photo_id_array":[{"photo_id":"1330112821","filename":"file2"},{"photo_id":"1330112735","filename":"file1"},{"photo_id":"1330112709","filename":"file0"},{"photo_id":"1330112824","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330112735":["hashtag1","hashtag2"]},{"1330112824":["hashtag1","hashtag2"]},{"1330112821":["hashtag1","hashtag2"]},{"1330112709":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330112735, 1330112824, 1330112821, 1330112709)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.36200284957886 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 19:55:21.845979
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/19/54/image_19012025_19_54_02_915320_0003.jpg', '/home/pi/Desktop/images/19012025/19/55/image_19012025_19_55_03_067583_0000.jpg', '/home/pi/Desktop/images/19012025/19/55/image_19012025_19_55_03_067583_0001.jpg', '/home/pi/Desktop/images/19012025/19/55/image_19012025_19_55_03_067583_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/19/54/image_19012025_19_54_02_915320_0003.jpg
/home/pi/Desktop/images/19012025/19/55/image_19012025_19_55_03_067583_0000.jpg
/home/pi/Desktop/images/19012025/19/55/image_19012025_19_55_03_067583_0001.jpg
/home/pi/Desktop/images/19012025/19/55/image_19012025_19_55_03_067583_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330112840","1330112834","1330112837","1330112842"],"photo_ids_order":["1330112834","1330112837","1330112840","1330112842"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/0f7dc35f61fbbc37b378b27755ee5fd6.jpg","text":"TemporaryFile(/tmp/multipartBody5315900802690641918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737312992715,"filename":"image_19012025_19_55_03_067583_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/65ed19504d3f6b250da392934f59499a.jpg","text":"TemporaryFile(/tmp/multipartBody6933124279029270224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737312992715,"filename":"image_19012025_19_54_02_915320_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/dccc82648a60b8d940a5255fb0165624.jpg","text":"TemporaryFile(/tmp/multipartBody5241985530722745809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737312992715,"filename":"image_19012025_19_55_03_067583_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/8bcca78ed180e85e13bb45a605f16941.jpg","text":"TemporaryFile(/tmp/multipartBody562183708897732012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737312992715,"filename":"image_19012025_19_55_03_067583_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330112840","file1":"1330112837","file0":"1330112834","file3":"1330112842"},"map_files_photo_id_array":[{"photo_id":"1330112840","filename":"file2"},{"photo_id":"1330112837","filename":"file1"},{"photo_id":"1330112834","filename":"file0"},{"photo_id":"1330112842","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330112840":["hashtag1","hashtag2"]},{"1330112834":["hashtag1","hashtag2"]},{"1330112837":["hashtag1","hashtag2"]},{"1330112842":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330112840, 1330112834, 1330112837, 1330112842)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.36891222000122 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 19:56:02.372538
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 19:56:22.042854
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/19/55/image_19012025_19_55_03_067583_0003.jpg', '/home/pi/Desktop/images/19012025/19/56/image_19012025_19_56_02_244498_0000.jpg', '/home/pi/Desktop/images/19012025/19/56/image_19012025_19_56_02_244498_0001.jpg', '/home/pi/Desktop/images/19012025/19/56/image_19012025_19_56_02_244498_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/19/55/image_19012025_19_55_03_067583_0003.jpg
/home/pi/Desktop/images/19012025/19/56/image_19012025_19_56_02_244498_0000.jpg
/home/pi/Desktop/images/19012025/19/56/image_19012025_19_56_02_244498_0001.jpg
/home/pi/Desktop/images/19012025/19/56/image_19012025_19_56_02_244498_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.866436004638672 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-19 19:56:42.010972
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/19/55/image_19012025_19_55_03_067583_0003.jpg', '/home/pi/Desktop/images/19012025/19/56/image_19012025_19_56_02_244498_0000.jpg', '/home/pi/Desktop/images/19012025/19/56/image_19012025_19_56_02_244498_0001.jpg', '/home/pi/Desktop/images/19012025/19/56/image_19012025_19_56_02_244498_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/19/55/image_19012025_19_55_03_067583_0003.jpg
/home/pi/Desktop/images/19012025/19/56/image_19012025_19_56_02_244498_0000.jpg
/home/pi/Desktop/images/19012025/19/56/image_19012025_19_56_02_244498_0001.jpg
/home/pi/Desktop/images/19012025/19/56/image_19012025_19_56_02_244498_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":["1330112855","1330112857","1330112853","1330112859"],"photo_ids_order":["1330112853","1330112855","1330112857","1330112859"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/ccac6d0307494b6fb957320746bace63.jpg","text":"TemporaryFile(/tmp/multipartBody6767577551950064242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737313073267,"filename":"image_19012025_19_56_02_244498_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/56926b07417d9b3cc3f1d5a426388f7a.jpg","text":"TemporaryFile(/tmp/multipartBody2069101918926820068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737313073267,"filename":"image_19012025_19_56_02_244498_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/83eacc4243200ad7a04e17d84c61e61c.jpg","text":"TemporaryFile(/tmp/multipartBody7714481378362320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737313073267,"filename":"image_19012025_19_55_03_067583_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/a7659a6860db6c7bbe96b7333a31a71c.jpg","text":"TemporaryFile(/tmp/multipartBody371997467427282843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737313073267,"filename":"image_19012025_19_56_02_244498_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330112857","file1":"1330112855","file0":"1330112853","file3":"1330112859"},"map_files_photo_id_array":[{"photo_id":"1330112857","filename":"file2"},{"photo_id":"1330112855","filename":"file1"},{"photo_id":"1330112853","filename":"file0"},{"photo_id":"1330112859","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330112855":["hashtag1","hashtag2"]},{"1330112857":["hashtag1","hashtag2"]},{"1330112853":["hashtag1","hashtag2"]},{"1330112859":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330112855, 1330112857, 1330112853, 1330112859)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.43194270133972 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 19:57:22.294450
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/19/56/image_19012025_19_56_02_244498_0003.jpg', '/home/pi/Desktop/images/19012025/19/57/image_19012025_19_57_02_331385_0000.jpg', '/home/pi/Desktop/images/19012025/19/57/image_19012025_19_57_02_331385_0001.jpg', '/home/pi/Desktop/images/19012025/19/57/image_19012025_19_57_02_331385_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/19/56/image_19012025_19_56_02_244498_0003.jpg
/home/pi/Desktop/images/19012025/19/57/image_19012025_19_57_02_331385_0000.jpg
/home/pi/Desktop/images/19012025/19/57/image_19012025_19_57_02_331385_0001.jpg
/home/pi/Desktop/images/19012025/19/57/image_19012025_19_57_02_331385_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-19 19:59:03.396986
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/19/56/image_19012025_19_56_02_244498_0003.jpg', '/home/pi/Desktop/images/19012025/19/57/image_19012025_19_57_02_331385_0000.jpg', '/home/pi/Desktop/images/19012025/19/57/image_19012025_19_57_02_331385_0001.jpg', '/home/pi/Desktop/images/19012025/19/57/image_19012025_19_57_02_331385_0002.jpg', '/home/pi/Desktop/images/19012025/19/57/image_19012025_19_57_02_331385_0003.jpg', '/home/pi/Desktop/images/19012025/19/58/image_19012025_19_58_02_566596_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/19/56/image_19012025_19_56_02_244498_0003.jpg
/home/pi/Desktop/images/19012025/19/57/image_19012025_19_57_02_331385_0000.jpg
/home/pi/Desktop/images/19012025/19/57/image_19012025_19_57_02_331385_0001.jpg
/home/pi/Desktop/images/19012025/19/57/image_19012025_19_57_02_331385_0002.jpg
/home/pi/Desktop/images/19012025/19/57/image_19012025_19_57_02_331385_0003.jpg
/home/pi/Desktop/images/19012025/19/58/image_19012025_19_58_02_566596_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: 16.471479177474976 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 19:59:22.640215
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/19/56/image_19012025_19_56_02_244498_0003.jpg', '/home/pi/Desktop/images/19012025/19/57/image_19012025_19_57_02_331385_0000.jpg', '/home/pi/Desktop/images/19012025/19/57/image_19012025_19_57_02_331385_0001.jpg', '/home/pi/Desktop/images/19012025/19/57/image_19012025_19_57_02_331385_0002.jpg', '/home/pi/Desktop/images/19012025/19/57/image_19012025_19_57_02_331385_0003.jpg', '/home/pi/Desktop/images/19012025/19/58/image_19012025_19_58_02_566596_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/19/56/image_19012025_19_56_02_244498_0003.jpg
/home/pi/Desktop/images/19012025/19/57/image_19012025_19_57_02_331385_0000.jpg
/home/pi/Desktop/images/19012025/19/57/image_19012025_19_57_02_331385_0001.jpg
/home/pi/Desktop/images/19012025/19/57/image_19012025_19_57_02_331385_0002.jpg
/home/pi/Desktop/images/19012025/19/57/image_19012025_19_57_02_331385_0003.jpg
/home/pi/Desktop/images/19012025/19/58/image_19012025_19_58_02_566596_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":["1330113199","1330113193","1330113183","1330113009","1330113201","1330113197"],"photo_ids_order":["1330113009","1330113183","1330113193","1330113197","1330113199","1330113201"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/91ee86a7e85061cbf71824e7e2e61bf9.jpg","text":"TemporaryFile(/tmp/multipartBody1923674731557352847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737313239454,"filename":"image_19012025_19_57_02_331385_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/ff3edbc5c564f04f98a0be681b269fcc.jpg","text":"TemporaryFile(/tmp/multipartBody6361874582050931648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737313239454,"filename":"image_19012025_19_57_02_331385_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/c17d5cc7d5c1d9f1552fcbe943911ad6.jpg","text":"TemporaryFile(/tmp/multipartBody4705649504297929295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737313239454,"filename":"image_19012025_19_57_02_331385_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/2fff5da60e711edc21c9c5b3f32a4340.jpg","text":"TemporaryFile(/tmp/multipartBody3760726714044871409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737313239454,"filename":"image_19012025_19_56_02_244498_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/735e38b8e3070b0977aeaa5ff5856ad3.jpg","text":"TemporaryFile(/tmp/multipartBody9071935929413671548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737313239454,"filename":"image_19012025_19_58_02_566596_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/b8525f1579b849696188af842208b8d6.jpg","text":"TemporaryFile(/tmp/multipartBody2130492495753147014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737313239454,"filename":"image_19012025_19_57_02_331385_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330113193","file1":"1330113183","file0":"1330113009","file4":"1330113199","file5":"1330113201","file3":"1330113197"},"map_files_photo_id_array":[{"photo_id":"1330113201","filename":"file5"},{"photo_id":"1330113193","filename":"file2"},{"photo_id":"1330113199","filename":"file4"},{"photo_id":"1330113183","filename":"file1"},{"photo_id":"1330113009","filename":"file0"},{"photo_id":"1330113197","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330113199":["hashtag1","hashtag2"]},{"1330113193":["hashtag1","hashtag2"]},{"1330113183":["hashtag1","hashtag2"]},{"1330113009":["hashtag1","hashtag2"]},{"1330113201":["hashtag1","hashtag2"]},{"1330113197":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330113199, 1330113193, 1330113183, 1330113009, 1330113201, 1330113197)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.80343818664551 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-19 20:00:31.851932
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/19/58/image_19012025_19_58_02_566596_0001.jpg', '/home/pi/Desktop/images/19012025/19/58/image_19012025_19_58_02_566596_0002.jpg', '/home/pi/Desktop/images/19012025/19/58/image_19012025_19_58_02_566596_0003.jpg', '/home/pi/Desktop/images/19012025/19/59/image_19012025_19_59_02_838948_0000.jpg', '/home/pi/Desktop/images/19012025/19/59/image_19012025_19_59_02_838948_0001.jpg', '/home/pi/Desktop/images/19012025/19/59/image_19012025_19_59_02_838948_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/19/58/image_19012025_19_58_02_566596_0001.jpg
/home/pi/Desktop/images/19012025/19/58/image_19012025_19_58_02_566596_0002.jpg
/home/pi/Desktop/images/19012025/19/58/image_19012025_19_58_02_566596_0003.jpg
/home/pi/Desktop/images/19012025/19/59/image_19012025_19_59_02_838948_0000.jpg
/home/pi/Desktop/images/19012025/19/59/image_19012025_19_59_02_838948_0001.jpg
/home/pi/Desktop/images/19012025/19/59/image_19012025_19_59_02_838948_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330113220","1330113214","1330113216","1330113210","1330113218","1330113212"],"photo_ids_order":["1330113210","1330113212","1330113214","1330113216","1330113218","1330113220"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/d73cda77d901c98918a6fafe9851a1f9.jpg","text":"TemporaryFile(/tmp/multipartBody8825543798229560573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737313308696,"filename":"image_19012025_19_59_02_838948_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/bd992cc4ed103c98fef9f133d3808dc5.jpg","text":"TemporaryFile(/tmp/multipartBody9147964214881525356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737313308696,"filename":"image_19012025_19_58_02_566596_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/2a4f9f7badbcf62cb792ea5c4dd6c92f.jpg","text":"TemporaryFile(/tmp/multipartBody8076990475871406962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737313308696,"filename":"image_19012025_19_59_02_838948_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/27044279414b5935bc70e6e4d1425dc5.jpg","text":"TemporaryFile(/tmp/multipartBody7295411971990406633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737313308696,"filename":"image_19012025_19_58_02_566596_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/386838e77ea5b5659d5145b13e6dfada.jpg","text":"TemporaryFile(/tmp/multipartBody6359516611512874921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737313308696,"filename":"image_19012025_19_59_02_838948_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/2d1efd2f0eed59d0308ab9d5c129dc9c.jpg","text":"TemporaryFile(/tmp/multipartBody85364692521825939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737313308696,"filename":"image_19012025_19_58_02_566596_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330113214","file1":"1330113212","file0":"1330113210","file4":"1330113218","file5":"1330113220","file3":"1330113216"},"map_files_photo_id_array":[{"photo_id":"1330113220","filename":"file5"},{"photo_id":"1330113214","filename":"file2"},{"photo_id":"1330113218","filename":"file4"},{"photo_id":"1330113212","filename":"file1"},{"photo_id":"1330113210","filename":"file0"},{"photo_id":"1330113216","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330113220":["hashtag1","hashtag2"]},{"1330113214":["hashtag1","hashtag2"]},{"1330113216":["hashtag1","hashtag2"]},{"1330113210":["hashtag1","hashtag2"]},{"1330113218":["hashtag1","hashtag2"]},{"1330113212":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330113220, 1330113214, 1330113216, 1330113210, 1330113218, 1330113212)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.397133111953735 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-19 20:01:32.003900
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/19/59/image_19012025_19_59_02_838948_0003.jpg', '/home/pi/Desktop/images/19012025/20/00/image_19012025_20_00_02_960257_0000.jpg', '/home/pi/Desktop/images/19012025/20/00/image_19012025_20_00_02_960257_0001.jpg', '/home/pi/Desktop/images/19012025/20/00/image_19012025_20_00_02_960257_0002.jpg', '/home/pi/Desktop/images/19012025/20/00/image_19012025_20_00_02_960257_0003.jpg', '/home/pi/Desktop/images/19012025/20/01/image_19012025_20_01_02_262812_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/19/59/image_19012025_19_59_02_838948_0003.jpg
/home/pi/Desktop/images/19012025/20/00/image_19012025_20_00_02_960257_0000.jpg
/home/pi/Desktop/images/19012025/20/00/image_19012025_20_00_02_960257_0001.jpg
/home/pi/Desktop/images/19012025/20/00/image_19012025_20_00_02_960257_0002.jpg
/home/pi/Desktop/images/19012025/20/00/image_19012025_20_00_02_960257_0003.jpg
/home/pi/Desktop/images/19012025/20/01/image_19012025_20_01_02_262812_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":["1330113256","1330113516","1330113234","1330113266","1330113281","1330113269"],"photo_ids_order":["1330113234","1330113256","1330113266","1330113269","1330113281","1330113516"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/484c764e60ac32293c0e784d33b6b3b5.jpg","text":"TemporaryFile(/tmp/multipartBody382271595562372232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737313368593,"filename":"image_19012025_20_00_02_960257_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/77469f03ba7a6eb9255d82d33de3e10f.jpg","text":"TemporaryFile(/tmp/multipartBody7908316089670209377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737313368593,"filename":"image_19012025_20_01_02_262812_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/66b51b48b401bfed6c336507fc0fbe23.jpg","text":"TemporaryFile(/tmp/multipartBody1285415633735252899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737313368593,"filename":"image_19012025_19_59_02_838948_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/245e4bab10fe73f30fc440e1eef944e3.jpg","text":"TemporaryFile(/tmp/multipartBody122757354849653832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737313368593,"filename":"image_19012025_20_00_02_960257_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/77e25675292441bf33025af35e00dc39.jpg","text":"TemporaryFile(/tmp/multipartBody422900409264402718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737313368593,"filename":"image_19012025_20_00_02_960257_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/16e86808a23731bbee3ed57abe0493c8.jpg","text":"TemporaryFile(/tmp/multipartBody7201299896351723052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737313368593,"filename":"image_19012025_20_00_02_960257_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330113266","file1":"1330113256","file0":"1330113234","file4":"1330113281","file5":"1330113516","file3":"1330113269"},"map_files_photo_id_array":[{"photo_id":"1330113516","filename":"file5"},{"photo_id":"1330113266","filename":"file2"},{"photo_id":"1330113281","filename":"file4"},{"photo_id":"1330113256","filename":"file1"},{"photo_id":"1330113234","filename":"file0"},{"photo_id":"1330113269","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330113256":["hashtag1","hashtag2"]},{"1330113516":["hashtag1","hashtag2"]},{"1330113234":["hashtag1","hashtag2"]},{"1330113266":["hashtag1","hashtag2"]},{"1330113281":["hashtag1","hashtag2"]},{"1330113269":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330113256, 1330113516, 1330113234, 1330113266, 1330113281, 1330113269)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.55375623703003 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-19 20:02:42.227781
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/20/01/image_19012025_20_01_02_262812_0001.jpg', '/home/pi/Desktop/images/19012025/20/01/image_19012025_20_01_02_262812_0002.jpg', '/home/pi/Desktop/images/19012025/20/01/image_19012025_20_01_02_262812_0003.jpg', '/home/pi/Desktop/images/19012025/20/02/image_19012025_20_02_02_471145_0000.jpg', '/home/pi/Desktop/images/19012025/20/02/image_19012025_20_02_02_471145_0001.jpg', '/home/pi/Desktop/images/19012025/20/02/image_19012025_20_02_02_471145_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/20/01/image_19012025_20_01_02_262812_0001.jpg
/home/pi/Desktop/images/19012025/20/01/image_19012025_20_01_02_262812_0002.jpg
/home/pi/Desktop/images/19012025/20/01/image_19012025_20_01_02_262812_0003.jpg
/home/pi/Desktop/images/19012025/20/02/image_19012025_20_02_02_471145_0000.jpg
/home/pi/Desktop/images/19012025/20/02/image_19012025_20_02_02_471145_0001.jpg
/home/pi/Desktop/images/19012025/20/02/image_19012025_20_02_02_471145_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 16.382773637771606 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 20:03:03.105123
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/20/01/image_19012025_20_01_02_262812_0001.jpg', '/home/pi/Desktop/images/19012025/20/01/image_19012025_20_01_02_262812_0002.jpg', '/home/pi/Desktop/images/19012025/20/01/image_19012025_20_01_02_262812_0003.jpg', '/home/pi/Desktop/images/19012025/20/02/image_19012025_20_02_02_471145_0000.jpg', '/home/pi/Desktop/images/19012025/20/02/image_19012025_20_02_02_471145_0001.jpg', '/home/pi/Desktop/images/19012025/20/02/image_19012025_20_02_02_471145_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/20/01/image_19012025_20_01_02_262812_0001.jpg
/home/pi/Desktop/images/19012025/20/01/image_19012025_20_01_02_262812_0002.jpg
/home/pi/Desktop/images/19012025/20/01/image_19012025_20_01_02_262812_0003.jpg
/home/pi/Desktop/images/19012025/20/02/image_19012025_20_02_02_471145_0000.jpg
/home/pi/Desktop/images/19012025/20/02/image_19012025_20_02_02_471145_0001.jpg
/home/pi/Desktop/images/19012025/20/02/image_19012025_20_02_02_471145_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330115178","1330115181","1330115183","1330115186","1330115191","1330115188"],"photo_ids_order":["1330115178","1330115181","1330115183","1330115186","1330115188","1330115191"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/33523cae57a5b8af3a724020abeb3645.jpg","text":"TemporaryFile(/tmp/multipartBody1036277305478488231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737313459925,"filename":"image_19012025_20_01_02_262812_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/08cdabb3e074096cbce8002c0c0b5dc6.jpg","text":"TemporaryFile(/tmp/multipartBody2600278941094114476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737313459925,"filename":"image_19012025_20_01_02_262812_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/8c70ed929c83f958a0039238f7bd66bd.jpg","text":"TemporaryFile(/tmp/multipartBody1914709864609286553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737313459925,"filename":"image_19012025_20_01_02_262812_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/97bef11551e857a6fe2223e3e28a09eb.jpg","text":"TemporaryFile(/tmp/multipartBody4497696669960947517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737313459925,"filename":"image_19012025_20_02_02_471145_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/89d886c3289d2307688a5aece308fc9d.jpg","text":"TemporaryFile(/tmp/multipartBody8142246630655604560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737313459925,"filename":"image_19012025_20_02_02_471145_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/e79f18587cae1a748ecbc7111c8a60f5.jpg","text":"TemporaryFile(/tmp/multipartBody927726678664212994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737313459925,"filename":"image_19012025_20_02_02_471145_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330115183","file1":"1330115181","file0":"1330115178","file4":"1330115188","file5":"1330115191","file3":"1330115186"},"map_files_photo_id_array":[{"photo_id":"1330115191","filename":"file5"},{"photo_id":"1330115183","filename":"file2"},{"photo_id":"1330115188","filename":"file4"},{"photo_id":"1330115181","filename":"file1"},{"photo_id":"1330115178","filename":"file0"},{"photo_id":"1330115186","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330115178":["hashtag1","hashtag2"]},{"1330115181":["hashtag1","hashtag2"]},{"1330115183":["hashtag1","hashtag2"]},{"1330115186":["hashtag1","hashtag2"]},{"1330115191":["hashtag1","hashtag2"]},{"1330115188":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330115178, 1330115181, 1330115183, 1330115186, 1330115191, 1330115188)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.55765247344971 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 20:04:02.965529
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/20/02/image_19012025_20_02_02_471145_0003.jpg', '/home/pi/Desktop/images/19012025/20/03/image_19012025_20_03_02_598521_0000.jpg', '/home/pi/Desktop/images/19012025/20/03/image_19012025_20_03_02_598521_0001.jpg', '/home/pi/Desktop/images/19012025/20/03/image_19012025_20_03_02_598521_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/20/02/image_19012025_20_02_02_471145_0003.jpg
/home/pi/Desktop/images/19012025/20/03/image_19012025_20_03_02_598521_0000.jpg
/home/pi/Desktop/images/19012025/20/03/image_19012025_20_03_02_598521_0001.jpg
/home/pi/Desktop/images/19012025/20/03/image_19012025_20_03_02_598521_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330116024","1330115424","1330115678","1330116030"],"photo_ids_order":["1330115424","1330115678","1330116024","1330116030"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/85ef184cbf2d1751a9184c78d22f43d1.jpg","text":"TemporaryFile(/tmp/multipartBody1496207256492254829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737313513874,"filename":"image_19012025_20_03_02_598521_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/079e42dcd186d810ef829bbe3e91fc3a.jpg","text":"TemporaryFile(/tmp/multipartBody360664506772868827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737313513874,"filename":"image_19012025_20_02_02_471145_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/16c5242e657298504d762dc23d9834f8.jpg","text":"TemporaryFile(/tmp/multipartBody1098514220503376179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737313513874,"filename":"image_19012025_20_03_02_598521_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/3278c15bdb72cc2b4b627b28e22a0ed1.jpg","text":"TemporaryFile(/tmp/multipartBody8311552347561963459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737313513874,"filename":"image_19012025_20_03_02_598521_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330116024","file1":"1330115678","file0":"1330115424","file3":"1330116030"},"map_files_photo_id_array":[{"photo_id":"1330116024","filename":"file2"},{"photo_id":"1330115678","filename":"file1"},{"photo_id":"1330115424","filename":"file0"},{"photo_id":"1330116030","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330116024":["hashtag1","hashtag2"]},{"1330115424":["hashtag1","hashtag2"]},{"1330115678":["hashtag1","hashtag2"]},{"1330116030":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330116024, 1330115424, 1330115678, 1330116030)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 46.254962682724 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-19 20:04:52.611728
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/20/03/image_19012025_20_03_02_598521_0003.jpg', '/home/pi/Desktop/images/19012025/20/04/image_19012025_20_04_02_812800_0000.jpg', '/home/pi/Desktop/images/19012025/20/04/image_19012025_20_04_02_812800_0001.jpg', '/home/pi/Desktop/images/19012025/20/04/image_19012025_20_04_02_812800_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/20/03/image_19012025_20_03_02_598521_0003.jpg
/home/pi/Desktop/images/19012025/20/04/image_19012025_20_04_02_812800_0000.jpg
/home/pi/Desktop/images/19012025/20/04/image_19012025_20_04_02_812800_0001.jpg
/home/pi/Desktop/images/19012025/20/04/image_19012025_20_04_02_812800_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330116158","1330116154","1330116156","1330116159"],"photo_ids_order":["1330116154","1330116156","1330116158","1330116159"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/6f69ca93f8c2104451ac66b47fd7c77e.jpg","text":"TemporaryFile(/tmp/multipartBody4644479237642211413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737313563536,"filename":"image_19012025_20_04_02_812800_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/a7f343d86f47f1e1a47c164559ae37bd.jpg","text":"TemporaryFile(/tmp/multipartBody6067728470288520612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737313563536,"filename":"image_19012025_20_03_02_598521_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/2c7e09378b3d267300907c176d4e903c.jpg","text":"TemporaryFile(/tmp/multipartBody6211373050812275323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737313563536,"filename":"image_19012025_20_04_02_812800_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/cbbd00fc16a11677ab56a6a3d5c7f5bc.jpg","text":"TemporaryFile(/tmp/multipartBody7002135759994788214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737313563536,"filename":"image_19012025_20_04_02_812800_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330116158","file1":"1330116156","file0":"1330116154","file3":"1330116159"},"map_files_photo_id_array":[{"photo_id":"1330116158","filename":"file2"},{"photo_id":"1330116156","filename":"file1"},{"photo_id":"1330116154","filename":"file0"},{"photo_id":"1330116159","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330116158":["hashtag1","hashtag2"]},{"1330116154":["hashtag1","hashtag2"]},{"1330116156":["hashtag1","hashtag2"]},{"1330116159":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330116158, 1330116154, 1330116156, 1330116159)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.21085977554321 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-19 20:05:41.780623
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/20/04/image_19012025_20_04_02_812800_0003.jpg', '/home/pi/Desktop/images/19012025/20/05/image_19012025_20_05_02_948133_0000.jpg', '/home/pi/Desktop/images/19012025/20/05/image_19012025_20_05_02_948133_0001.jpg', '/home/pi/Desktop/images/19012025/20/05/image_19012025_20_05_02_948133_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/20/04/image_19012025_20_04_02_812800_0003.jpg
/home/pi/Desktop/images/19012025/20/05/image_19012025_20_05_02_948133_0000.jpg
/home/pi/Desktop/images/19012025/20/05/image_19012025_20_05_02_948133_0001.jpg
/home/pi/Desktop/images/19012025/20/05/image_19012025_20_05_02_948133_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 11.337266445159912 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 20:06:02.383825
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/20/04/image_19012025_20_04_02_812800_0003.jpg', '/home/pi/Desktop/images/19012025/20/05/image_19012025_20_05_02_948133_0000.jpg', '/home/pi/Desktop/images/19012025/20/05/image_19012025_20_05_02_948133_0001.jpg', '/home/pi/Desktop/images/19012025/20/05/image_19012025_20_05_02_948133_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/20/04/image_19012025_20_04_02_812800_0003.jpg
/home/pi/Desktop/images/19012025/20/05/image_19012025_20_05_02_948133_0000.jpg
/home/pi/Desktop/images/19012025/20/05/image_19012025_20_05_02_948133_0001.jpg
/home/pi/Desktop/images/19012025/20/05/image_19012025_20_05_02_948133_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330116176","1330116178","1330116175","1330116180"],"photo_ids_order":["1330116175","1330116176","1330116178","1330116180"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/a0d97601d55ba013db394646b99d6c22.jpg","text":"TemporaryFile(/tmp/multipartBody9029646925607017384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737313634164,"filename":"image_19012025_20_05_02_948133_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/e5a74fb28210484149f20cbb891027fd.jpg","text":"TemporaryFile(/tmp/multipartBody6792517416083031107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737313634164,"filename":"image_19012025_20_05_02_948133_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/7afc712e4eef5b6d9c6b20dce2cb8549.jpg","text":"TemporaryFile(/tmp/multipartBody6069475210871032015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737313634164,"filename":"image_19012025_20_04_02_812800_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/b34e0d1319d21dbe826c137695706f60.jpg","text":"TemporaryFile(/tmp/multipartBody8124287133936842830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737313634164,"filename":"image_19012025_20_05_02_948133_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330116178","file1":"1330116176","file0":"1330116175","file3":"1330116180"},"map_files_photo_id_array":[{"photo_id":"1330116178","filename":"file2"},{"photo_id":"1330116176","filename":"file1"},{"photo_id":"1330116175","filename":"file0"},{"photo_id":"1330116180","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330116176":["hashtag1","hashtag2"]},{"1330116178":["hashtag1","hashtag2"]},{"1330116175":["hashtag1","hashtag2"]},{"1330116180":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330116176, 1330116178, 1330116175, 1330116180)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.8729681968689 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-19 20:06:51.897450
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/20/05/image_19012025_20_05_02_948133_0003.jpg', '/home/pi/Desktop/images/19012025/20/06/image_19012025_20_06_02_140731_0000.jpg', '/home/pi/Desktop/images/19012025/20/06/image_19012025_20_06_02_140731_0001.jpg', '/home/pi/Desktop/images/19012025/20/06/image_19012025_20_06_02_140731_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/20/05/image_19012025_20_05_02_948133_0003.jpg
/home/pi/Desktop/images/19012025/20/06/image_19012025_20_06_02_140731_0000.jpg
/home/pi/Desktop/images/19012025/20/06/image_19012025_20_06_02_140731_0001.jpg
/home/pi/Desktop/images/19012025/20/06/image_19012025_20_06_02_140731_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330116201","1330116212","1330116196","1330116208"],"photo_ids_order":["1330116196","1330116201","1330116208","1330116212"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/79f031cdeae0b5ac9401d50f772e05dc.jpg","text":"TemporaryFile(/tmp/multipartBody537940882972468470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737313684159,"filename":"image_19012025_20_06_02_140731_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/2d85a213853782202c01822cb4cd1302.jpg","text":"TemporaryFile(/tmp/multipartBody4973794818389179392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737313684159,"filename":"image_19012025_20_06_02_140731_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/ad521d9f8a5ad96e9b996ffe24368a69.jpg","text":"TemporaryFile(/tmp/multipartBody743847575682553635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737313684159,"filename":"image_19012025_20_05_02_948133_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/4fa1512fb201c6df33c38efa593d2ed9.jpg","text":"TemporaryFile(/tmp/multipartBody4279321654233139473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737313684159,"filename":"image_19012025_20_06_02_140731_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330116208","file1":"1330116201","file0":"1330116196","file3":"1330116212"},"map_files_photo_id_array":[{"photo_id":"1330116208","filename":"file2"},{"photo_id":"1330116201","filename":"file1"},{"photo_id":"1330116196","filename":"file0"},{"photo_id":"1330116212","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330116201":["hashtag1","hashtag2"]},{"1330116212":["hashtag1","hashtag2"]},{"1330116196":["hashtag1","hashtag2"]},{"1330116208":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330116201, 1330116212, 1330116196, 1330116208)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.210546016693115 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-19 20:07:42.138703
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/20/06/image_19012025_20_06_02_140731_0003.jpg', '/home/pi/Desktop/images/19012025/20/07/image_19012025_20_07_02_265957_0000.jpg', '/home/pi/Desktop/images/19012025/20/07/image_19012025_20_07_02_265957_0001.jpg', '/home/pi/Desktop/images/19012025/20/07/image_19012025_20_07_02_265957_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/20/06/image_19012025_20_06_02_140731_0003.jpg
/home/pi/Desktop/images/19012025/20/07/image_19012025_20_07_02_265957_0000.jpg
/home/pi/Desktop/images/19012025/20/07/image_19012025_20_07_02_265957_0001.jpg
/home/pi/Desktop/images/19012025/20/07/image_19012025_20_07_02_265957_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":["1330116246","1330116242","1330116244","1330116247"],"photo_ids_order":["1330116242","1330116244","1330116246","1330116247"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/6293b993560d0c27d85deb67fb37c3af.jpg","text":"TemporaryFile(/tmp/multipartBody5182287596890492521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737313733376,"filename":"image_19012025_20_07_02_265957_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/2528951f2b27cfc957b55e9075d63cb9.jpg","text":"TemporaryFile(/tmp/multipartBody2048954280022823271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737313733376,"filename":"image_19012025_20_06_02_140731_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/b65c6f492203c73ea0414c6b091a1915.jpg","text":"TemporaryFile(/tmp/multipartBody3099386502645815762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737313733376,"filename":"image_19012025_20_07_02_265957_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/9156afcbf1e9402e617d9d32d29536f3.jpg","text":"TemporaryFile(/tmp/multipartBody1541000397258184883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737313733376,"filename":"image_19012025_20_07_02_265957_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330116246","file1":"1330116244","file0":"1330116242","file3":"1330116247"},"map_files_photo_id_array":[{"photo_id":"1330116246","filename":"file2"},{"photo_id":"1330116244","filename":"file1"},{"photo_id":"1330116242","filename":"file0"},{"photo_id":"1330116247","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330116246":["hashtag1","hashtag2"]},{"1330116242":["hashtag1","hashtag2"]},{"1330116244":["hashtag1","hashtag2"]},{"1330116247":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330116246, 1330116242, 1330116244, 1330116247)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.990726947784424 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 20:08:22.407545
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/20/07/image_19012025_20_07_02_265957_0003.jpg', '/home/pi/Desktop/images/19012025/20/08/image_19012025_20_08_02_469396_0000.jpg', '/home/pi/Desktop/images/19012025/20/08/image_19012025_20_08_02_469396_0001.jpg', '/home/pi/Desktop/images/19012025/20/08/image_19012025_20_08_02_469396_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/20/07/image_19012025_20_07_02_265957_0003.jpg
/home/pi/Desktop/images/19012025/20/08/image_19012025_20_08_02_469396_0000.jpg
/home/pi/Desktop/images/19012025/20/08/image_19012025_20_08_02_469396_0001.jpg
/home/pi/Desktop/images/19012025/20/08/image_19012025_20_08_02_469396_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330116251","1330116271","1330116268","1330116264"],"photo_ids_order":["1330116251","1330116264","1330116268","1330116271"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/cc24b9d5bcfb7c61cef1f9678cd5d352.jpg","text":"TemporaryFile(/tmp/multipartBody6820221587435256504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737313773948,"filename":"image_19012025_20_07_02_265957_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/93cefffb9feb0428b21f782b24637428.jpg","text":"TemporaryFile(/tmp/multipartBody1009955315409724270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737313773948,"filename":"image_19012025_20_08_02_469396_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/ee12243db0de9af410cc65e809bcfd4c.jpg","text":"TemporaryFile(/tmp/multipartBody4758166208343201607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737313773948,"filename":"image_19012025_20_08_02_469396_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/f9c96953bc045e6309424e82cfc72235.jpg","text":"TemporaryFile(/tmp/multipartBody5370012395298178503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737313773948,"filename":"image_19012025_20_08_02_469396_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330116268","file1":"1330116264","file0":"1330116251","file3":"1330116271"},"map_files_photo_id_array":[{"photo_id":"1330116268","filename":"file2"},{"photo_id":"1330116264","filename":"file1"},{"photo_id":"1330116251","filename":"file0"},{"photo_id":"1330116271","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330116251":["hashtag1","hashtag2"]},{"1330116271":["hashtag1","hashtag2"]},{"1330116268":["hashtag1","hashtag2"]},{"1330116264":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330116251, 1330116271, 1330116268, 1330116264)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.55164551734924 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 20:09:22.429022
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/20/08/image_19012025_20_08_02_469396_0003.jpg', '/home/pi/Desktop/images/19012025/20/09/image_19012025_20_09_02_694588_0000.jpg', '/home/pi/Desktop/images/19012025/20/09/image_19012025_20_09_02_694588_0001.jpg', '/home/pi/Desktop/images/19012025/20/09/image_19012025_20_09_02_694588_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/20/08/image_19012025_20_08_02_469396_0003.jpg
/home/pi/Desktop/images/19012025/20/09/image_19012025_20_09_02_694588_0000.jpg
/home/pi/Desktop/images/19012025/20/09/image_19012025_20_09_02_694588_0001.jpg
/home/pi/Desktop/images/19012025/20/09/image_19012025_20_09_02_694588_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330116290","1330116280","1330116288","1330116285"],"photo_ids_order":["1330116280","1330116285","1330116288","1330116290"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/c000b8cf53e68ffd602ab0cdd16962ea.jpg","text":"TemporaryFile(/tmp/multipartBody2453287610004649038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737313833542,"filename":"image_19012025_20_09_02_694588_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/695aec445324c29f51e24cbd97811d61.jpg","text":"TemporaryFile(/tmp/multipartBody6614471516160306520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737313833542,"filename":"image_19012025_20_08_02_469396_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/b4f6a2aff37b274ea0c0139c20fe2194.jpg","text":"TemporaryFile(/tmp/multipartBody5449696135124340130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737313833542,"filename":"image_19012025_20_09_02_694588_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/99e87c27df284f2cdcb24d32ec015e00.jpg","text":"TemporaryFile(/tmp/multipartBody5958112772590489630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737313833542,"filename":"image_19012025_20_09_02_694588_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330116288","file1":"1330116285","file0":"1330116280","file3":"1330116290"},"map_files_photo_id_array":[{"photo_id":"1330116288","filename":"file2"},{"photo_id":"1330116285","filename":"file1"},{"photo_id":"1330116280","filename":"file0"},{"photo_id":"1330116290","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330116290":["hashtag1","hashtag2"]},{"1330116280":["hashtag1","hashtag2"]},{"1330116288":["hashtag1","hashtag2"]},{"1330116285":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330116290, 1330116280, 1330116288, 1330116285)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 45.014161825180054 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 20:10:22.694804
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/20/09/image_19012025_20_09_02_694588_0003.jpg', '/home/pi/Desktop/images/19012025/20/10/image_19012025_20_10_02_788471_0000.jpg', '/home/pi/Desktop/images/19012025/20/10/image_19012025_20_10_02_788471_0001.jpg', '/home/pi/Desktop/images/19012025/20/10/image_19012025_20_10_02_788471_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/20/09/image_19012025_20_09_02_694588_0003.jpg
/home/pi/Desktop/images/19012025/20/10/image_19012025_20_10_02_788471_0000.jpg
/home/pi/Desktop/images/19012025/20/10/image_19012025_20_10_02_788471_0001.jpg
/home/pi/Desktop/images/19012025/20/10/image_19012025_20_10_02_788471_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330116341","1330116344","1330116334","1330116337"],"photo_ids_order":["1330116334","1330116337","1330116341","1330116344"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/e1db31871be0c043ebb8dd08e84e4b6f.jpg","text":"TemporaryFile(/tmp/multipartBody3661925077515761563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737313893775,"filename":"image_19012025_20_10_02_788471_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/433c7c16b60bdbb26d5a96034b59a3d9.jpg","text":"TemporaryFile(/tmp/multipartBody3615955124967517151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737313893775,"filename":"image_19012025_20_10_02_788471_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/e0c3aadd0f470ea18f8fca3b4528316f.jpg","text":"TemporaryFile(/tmp/multipartBody7331605827842414249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737313893775,"filename":"image_19012025_20_09_02_694588_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/c9c4577491434e7f966ad1595227a3dd.jpg","text":"TemporaryFile(/tmp/multipartBody4263650391729446916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737313893775,"filename":"image_19012025_20_10_02_788471_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330116341","file1":"1330116337","file0":"1330116334","file3":"1330116344"},"map_files_photo_id_array":[{"photo_id":"1330116341","filename":"file2"},{"photo_id":"1330116337","filename":"file1"},{"photo_id":"1330116334","filename":"file0"},{"photo_id":"1330116344","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330116341":["hashtag1","hashtag2"]},{"1330116344":["hashtag1","hashtag2"]},{"1330116334":["hashtag1","hashtag2"]},{"1330116337":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330116341, 1330116344, 1330116334, 1330116337)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.342174768447876 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 20:11:21.928821
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/20/10/image_19012025_20_10_02_788471_0003.jpg', '/home/pi/Desktop/images/19012025/20/11/image_19012025_20_11_02_987165_0000.jpg', '/home/pi/Desktop/images/19012025/20/11/image_19012025_20_11_02_987165_0001.jpg', '/home/pi/Desktop/images/19012025/20/11/image_19012025_20_11_02_987165_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/20/10/image_19012025_20_10_02_788471_0003.jpg
/home/pi/Desktop/images/19012025/20/11/image_19012025_20_11_02_987165_0000.jpg
/home/pi/Desktop/images/19012025/20/11/image_19012025_20_11_02_987165_0001.jpg
/home/pi/Desktop/images/19012025/20/11/image_19012025_20_11_02_987165_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330116708","1330116353","1330117069","1330117228"],"photo_ids_order":["1330116353","1330116708","1330117069","1330117228"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/5e5a5580b4667efc9e2ab492d79aa7be.jpg","text":"TemporaryFile(/tmp/multipartBody7629995159673310250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737313952511,"filename":"image_19012025_20_11_02_987165_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/5f282e27fd1bafc3db18f71356036abf.jpg","text":"TemporaryFile(/tmp/multipartBody2506516688093536023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737313952511,"filename":"image_19012025_20_10_02_788471_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/530a82a87444703193fcd1296a203cf8.jpg","text":"TemporaryFile(/tmp/multipartBody7103538090634866654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737313952511,"filename":"image_19012025_20_11_02_987165_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/1ad6e24a7e107d733af5edc6a6695882.jpg","text":"TemporaryFile(/tmp/multipartBody2191717018884613160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737313952511,"filename":"image_19012025_20_11_02_987165_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330117069","file1":"1330116708","file0":"1330116353","file3":"1330117228"},"map_files_photo_id_array":[{"photo_id":"1330117069","filename":"file2"},{"photo_id":"1330116708","filename":"file1"},{"photo_id":"1330116353","filename":"file0"},{"photo_id":"1330117228","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330116708":["hashtag1","hashtag2"]},{"1330116353":["hashtag1","hashtag2"]},{"1330117069":["hashtag1","hashtag2"]},{"1330117228":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330116708, 1330116353, 1330117069, 1330117228)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.45098114013672 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 20:12:02.609810
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 20:12:22.165806
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/20/11/image_19012025_20_11_02_987165_0003.jpg', '/home/pi/Desktop/images/19012025/20/12/image_19012025_20_12_02_238657_0000.jpg', '/home/pi/Desktop/images/19012025/20/12/image_19012025_20_12_02_238657_0001.jpg', '/home/pi/Desktop/images/19012025/20/12/image_19012025_20_12_02_238657_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/20/11/image_19012025_20_11_02_987165_0003.jpg
/home/pi/Desktop/images/19012025/20/12/image_19012025_20_12_02_238657_0000.jpg
/home/pi/Desktop/images/19012025/20/12/image_19012025_20_12_02_238657_0001.jpg
/home/pi/Desktop/images/19012025/20/12/image_19012025_20_12_02_238657_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.503718852996826 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-19 20:12:42.056324
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/20/11/image_19012025_20_11_02_987165_0003.jpg', '/home/pi/Desktop/images/19012025/20/12/image_19012025_20_12_02_238657_0000.jpg', '/home/pi/Desktop/images/19012025/20/12/image_19012025_20_12_02_238657_0001.jpg', '/home/pi/Desktop/images/19012025/20/12/image_19012025_20_12_02_238657_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/20/11/image_19012025_20_11_02_987165_0003.jpg
/home/pi/Desktop/images/19012025/20/12/image_19012025_20_12_02_238657_0000.jpg
/home/pi/Desktop/images/19012025/20/12/image_19012025_20_12_02_238657_0001.jpg
/home/pi/Desktop/images/19012025/20/12/image_19012025_20_12_02_238657_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":["1330117283","1330117273","1330117284","1330117251"],"photo_ids_order":["1330117251","1330117273","1330117283","1330117284"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/a4b5a565ff21c1a96be9b0dab6ca0f60.jpg","text":"TemporaryFile(/tmp/multipartBody8389802253551467150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737314032938,"filename":"image_19012025_20_12_02_238657_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/a01703cca3319b0979a104f932bba200.jpg","text":"TemporaryFile(/tmp/multipartBody2062080579201510214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737314032938,"filename":"image_19012025_20_12_02_238657_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/7f60ca2b551f81ea4e55fa6f3a2eb5f4.jpg","text":"TemporaryFile(/tmp/multipartBody8904785540772025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737314032938,"filename":"image_19012025_20_12_02_238657_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/9cf89e8818ae85d4c360596d38dda2d5.jpg","text":"TemporaryFile(/tmp/multipartBody796604389075846969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737314032938,"filename":"image_19012025_20_11_02_987165_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330117283","file1":"1330117273","file0":"1330117251","file3":"1330117284"},"map_files_photo_id_array":[{"photo_id":"1330117283","filename":"file2"},{"photo_id":"1330117273","filename":"file1"},{"photo_id":"1330117251","filename":"file0"},{"photo_id":"1330117284","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330117283":["hashtag1","hashtag2"]},{"1330117273":["hashtag1","hashtag2"]},{"1330117284":["hashtag1","hashtag2"]},{"1330117251":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330117283, 1330117273, 1330117284, 1330117251)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.585068464279175 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 20:13:22.275642
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/20/12/image_19012025_20_12_02_238657_0003.jpg', '/home/pi/Desktop/images/19012025/20/13/image_19012025_20_13_02_508687_0000.jpg', '/home/pi/Desktop/images/19012025/20/13/image_19012025_20_13_02_508687_0001.jpg', '/home/pi/Desktop/images/19012025/20/13/image_19012025_20_13_02_508687_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/20/12/image_19012025_20_12_02_238657_0003.jpg
/home/pi/Desktop/images/19012025/20/13/image_19012025_20_13_02_508687_0000.jpg
/home/pi/Desktop/images/19012025/20/13/image_19012025_20_13_02_508687_0001.jpg
/home/pi/Desktop/images/19012025/20/13/image_19012025_20_13_02_508687_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330117288","1330117296","1330117290","1330117293"],"photo_ids_order":["1330117288","1330117290","1330117293","1330117296"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/dc6e11546fa3955a248912a8d0138f27.jpg","text":"TemporaryFile(/tmp/multipartBody8423036638441720735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737314072748,"filename":"image_19012025_20_12_02_238657_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/732fc71d0fc9b22501a1f821650dd6c9.jpg","text":"TemporaryFile(/tmp/multipartBody6122103982185792263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737314072748,"filename":"image_19012025_20_13_02_508687_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/189d3e434737031555d00c3aa0ba7b74.jpg","text":"TemporaryFile(/tmp/multipartBody6226361300989438694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737314072748,"filename":"image_19012025_20_13_02_508687_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/4f5e603d6b8a8e2cba391720e2a6f4bd.jpg","text":"TemporaryFile(/tmp/multipartBody3495600384115631237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737314072748,"filename":"image_19012025_20_13_02_508687_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330117293","file1":"1330117290","file0":"1330117288","file3":"1330117296"},"map_files_photo_id_array":[{"photo_id":"1330117293","filename":"file2"},{"photo_id":"1330117290","filename":"file1"},{"photo_id":"1330117288","filename":"file0"},{"photo_id":"1330117296","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330117288":["hashtag1","hashtag2"]},{"1330117296":["hashtag1","hashtag2"]},{"1330117290":["hashtag1","hashtag2"]},{"1330117293":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330117288, 1330117296, 1330117290, 1330117293)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.24158048629761 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 20:14:22.409693
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/20/13/image_19012025_20_13_02_508687_0003.jpg', '/home/pi/Desktop/images/19012025/20/14/image_19012025_20_14_02_622112_0000.jpg', '/home/pi/Desktop/images/19012025/20/14/image_19012025_20_14_02_622112_0001.jpg', '/home/pi/Desktop/images/19012025/20/14/image_19012025_20_14_02_622112_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/20/13/image_19012025_20_13_02_508687_0003.jpg
/home/pi/Desktop/images/19012025/20/14/image_19012025_20_14_02_622112_0000.jpg
/home/pi/Desktop/images/19012025/20/14/image_19012025_20_14_02_622112_0001.jpg
/home/pi/Desktop/images/19012025/20/14/image_19012025_20_14_02_622112_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330117313","1330117307","1330117310","1330117315"],"photo_ids_order":["1330117307","1330117310","1330117313","1330117315"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/94992ee8b3e3dce569fe390c64a99935.jpg","text":"TemporaryFile(/tmp/multipartBody8529752488969381026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737314133538,"filename":"image_19012025_20_14_02_622112_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/da327055867518cb109f721b91f13f4e.jpg","text":"TemporaryFile(/tmp/multipartBody2070427544338151231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737314133538,"filename":"image_19012025_20_13_02_508687_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/5d6a36a637a58ff2ce8e89b1d601daff.jpg","text":"TemporaryFile(/tmp/multipartBody9177731476901003220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737314133538,"filename":"image_19012025_20_14_02_622112_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/f10a764b3f2955bf90b888649fe23ef6.jpg","text":"TemporaryFile(/tmp/multipartBody3320167477371289301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737314133538,"filename":"image_19012025_20_14_02_622112_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330117313","file1":"1330117310","file0":"1330117307","file3":"1330117315"},"map_files_photo_id_array":[{"photo_id":"1330117313","filename":"file2"},{"photo_id":"1330117310","filename":"file1"},{"photo_id":"1330117307","filename":"file0"},{"photo_id":"1330117315","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330117313":["hashtag1","hashtag2"]},{"1330117307":["hashtag1","hashtag2"]},{"1330117310":["hashtag1","hashtag2"]},{"1330117315":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330117313, 1330117307, 1330117310, 1330117315)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 44.996617794036865 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 20:15:22.609515
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/20/14/image_19012025_20_14_02_622112_0003.jpg', '/home/pi/Desktop/images/19012025/20/15/image_19012025_20_15_02_718896_0000.jpg', '/home/pi/Desktop/images/19012025/20/15/image_19012025_20_15_02_718896_0001.jpg', '/home/pi/Desktop/images/19012025/20/15/image_19012025_20_15_02_718896_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/20/14/image_19012025_20_14_02_622112_0003.jpg
/home/pi/Desktop/images/19012025/20/15/image_19012025_20_15_02_718896_0000.jpg
/home/pi/Desktop/images/19012025/20/15/image_19012025_20_15_02_718896_0001.jpg
/home/pi/Desktop/images/19012025/20/15/image_19012025_20_15_02_718896_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330117331","1330117325","1330117328","1330117321"],"photo_ids_order":["1330117321","1330117325","1330117328","1330117331"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/01df100520548b075e6d960ce4f2c43d.jpg","text":"TemporaryFile(/tmp/multipartBody4414960775278832184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737314194053,"filename":"image_19012025_20_15_02_718896_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/b6aa092f12eb060e490225347974c3b2.jpg","text":"TemporaryFile(/tmp/multipartBody7529681410635220790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737314194053,"filename":"image_19012025_20_15_02_718896_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/68bdeda15475fa96e8f81855cfb3febc.jpg","text":"TemporaryFile(/tmp/multipartBody6130661149759819801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737314194053,"filename":"image_19012025_20_15_02_718896_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/8764c30d698bf65d98c20e218922af5a.jpg","text":"TemporaryFile(/tmp/multipartBody6410260431848006418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737314194053,"filename":"image_19012025_20_14_02_622112_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330117328","file1":"1330117325","file0":"1330117321","file3":"1330117331"},"map_files_photo_id_array":[{"photo_id":"1330117328","filename":"file2"},{"photo_id":"1330117325","filename":"file1"},{"photo_id":"1330117321","filename":"file0"},{"photo_id":"1330117331","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330117331":["hashtag1","hashtag2"]},{"1330117325":["hashtag1","hashtag2"]},{"1330117328":["hashtag1","hashtag2"]},{"1330117321":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330117331, 1330117325, 1330117328, 1330117321)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.61932897567749 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 20:16:22.765505
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/20/15/image_19012025_20_15_02_718896_0003.jpg', '/home/pi/Desktop/images/19012025/20/16/image_19012025_20_16_02_918123_0000.jpg', '/home/pi/Desktop/images/19012025/20/16/image_19012025_20_16_02_918123_0001.jpg', '/home/pi/Desktop/images/19012025/20/16/image_19012025_20_16_02_918123_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/20/15/image_19012025_20_15_02_718896_0003.jpg
/home/pi/Desktop/images/19012025/20/16/image_19012025_20_16_02_918123_0000.jpg
/home/pi/Desktop/images/19012025/20/16/image_19012025_20_16_02_918123_0001.jpg
/home/pi/Desktop/images/19012025/20/16/image_19012025_20_16_02_918123_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330117900","1330117383","1330117923","1330117503"],"photo_ids_order":["1330117383","1330117503","1330117900","1330117923"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/fb967d9705bf8b662790eb6392a3287a.jpg","text":"TemporaryFile(/tmp/multipartBody6728697484324147926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737314253832,"filename":"image_19012025_20_16_02_918123_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/836031c0cb51196f75ccb720ff52e462.jpg","text":"TemporaryFile(/tmp/multipartBody7885864571197135474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737314253832,"filename":"image_19012025_20_15_02_718896_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/c7e494a2edd2333b453bae4d899a7a43.jpg","text":"TemporaryFile(/tmp/multipartBody298701719107887711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737314253832,"filename":"image_19012025_20_16_02_918123_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/9495536db8eece654e064a0b69c943ff.jpg","text":"TemporaryFile(/tmp/multipartBody1097340649627830126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737314253832,"filename":"image_19012025_20_16_02_918123_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330117900","file1":"1330117503","file0":"1330117383","file3":"1330117923"},"map_files_photo_id_array":[{"photo_id":"1330117900","filename":"file2"},{"photo_id":"1330117503","filename":"file1"},{"photo_id":"1330117383","filename":"file0"},{"photo_id":"1330117923","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330117900":["hashtag1","hashtag2"]},{"1330117383":["hashtag1","hashtag2"]},{"1330117923":["hashtag1","hashtag2"]},{"1330117503":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330117900, 1330117383, 1330117923, 1330117503)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.42263078689575 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 20:17:02.500867
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 20:17:21.873198
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/20/16/image_19012025_20_16_02_918123_0003.jpg', '/home/pi/Desktop/images/19012025/20/17/image_19012025_20_17_03_079989_0000.jpg', '/home/pi/Desktop/images/19012025/20/17/image_19012025_20_17_03_079989_0001.jpg', '/home/pi/Desktop/images/19012025/20/17/image_19012025_20_17_03_079989_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/20/16/image_19012025_20_16_02_918123_0003.jpg
/home/pi/Desktop/images/19012025/20/17/image_19012025_20_17_03_079989_0000.jpg
/home/pi/Desktop/images/19012025/20/17/image_19012025_20_17_03_079989_0001.jpg
/home/pi/Desktop/images/19012025/20/17/image_19012025_20_17_03_079989_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330118161","1330118163","1330118154","1330118157"],"photo_ids_order":["1330118154","1330118157","1330118161","1330118163"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/872d677f321f2dc383aa97adad88bdb5.jpg","text":"TemporaryFile(/tmp/multipartBody6926437428188335087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737314313161,"filename":"image_19012025_20_17_03_079989_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/32d1006abb50d6a0dc127d1ea32ce647.jpg","text":"TemporaryFile(/tmp/multipartBody3263948906054555588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737314313161,"filename":"image_19012025_20_17_03_079989_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/bf2bbec64f8597fd82a4c35a9b2a05c5.jpg","text":"TemporaryFile(/tmp/multipartBody7290861494836400145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737314313161,"filename":"image_19012025_20_16_02_918123_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/9cdec3e1c1f5c68e190c376ee1270694.jpg","text":"TemporaryFile(/tmp/multipartBody4262629713296541680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737314313161,"filename":"image_19012025_20_17_03_079989_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330118161","file1":"1330118157","file0":"1330118154","file3":"1330118163"},"map_files_photo_id_array":[{"photo_id":"1330118161","filename":"file2"},{"photo_id":"1330118157","filename":"file1"},{"photo_id":"1330118154","filename":"file0"},{"photo_id":"1330118163","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330118161":["hashtag1","hashtag2"]},{"1330118163":["hashtag1","hashtag2"]},{"1330118154":["hashtag1","hashtag2"]},{"1330118157":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330118161, 1330118163, 1330118154, 1330118157)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.957505226135254 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 20:18:22.142994
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/20/17/image_19012025_20_17_03_079989_0003.jpg', '/home/pi/Desktop/images/19012025/20/18/image_19012025_20_18_02_241820_0000.jpg', '/home/pi/Desktop/images/19012025/20/18/image_19012025_20_18_02_241820_0001.jpg', '/home/pi/Desktop/images/19012025/20/18/image_19012025_20_18_02_241820_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/20/17/image_19012025_20_17_03_079989_0003.jpg
/home/pi/Desktop/images/19012025/20/18/image_19012025_20_18_02_241820_0000.jpg
/home/pi/Desktop/images/19012025/20/18/image_19012025_20_18_02_241820_0001.jpg
/home/pi/Desktop/images/19012025/20/18/image_19012025_20_18_02_241820_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.88375210762024 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-19 20:18:42.173980
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/20/17/image_19012025_20_17_03_079989_0003.jpg', '/home/pi/Desktop/images/19012025/20/18/image_19012025_20_18_02_241820_0000.jpg', '/home/pi/Desktop/images/19012025/20/18/image_19012025_20_18_02_241820_0001.jpg', '/home/pi/Desktop/images/19012025/20/18/image_19012025_20_18_02_241820_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/20/17/image_19012025_20_17_03_079989_0003.jpg
/home/pi/Desktop/images/19012025/20/18/image_19012025_20_18_02_241820_0000.jpg
/home/pi/Desktop/images/19012025/20/18/image_19012025_20_18_02_241820_0001.jpg
/home/pi/Desktop/images/19012025/20/18/image_19012025_20_18_02_241820_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330118353","1330118325","1330118354","1330118342"],"photo_ids_order":["1330118325","1330118342","1330118353","1330118354"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/88b5e04e382c7485636a1f9bcef2dcb7.jpg","text":"TemporaryFile(/tmp/multipartBody2876769457938748810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737314393461,"filename":"image_19012025_20_18_02_241820_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/c8c87e08b6e2fafc455d4f6b77bbaffe.jpg","text":"TemporaryFile(/tmp/multipartBody7905780921354690100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737314393461,"filename":"image_19012025_20_17_03_079989_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/a5e065d928dbe79bf61754afd28015bb.jpg","text":"TemporaryFile(/tmp/multipartBody1425676674398673923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737314393461,"filename":"image_19012025_20_18_02_241820_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/40ec8000be705ce6498414e9719e6d84.jpg","text":"TemporaryFile(/tmp/multipartBody39033496147479006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737314393461,"filename":"image_19012025_20_18_02_241820_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330118353","file1":"1330118342","file0":"1330118325","file3":"1330118354"},"map_files_photo_id_array":[{"photo_id":"1330118353","filename":"file2"},{"photo_id":"1330118342","filename":"file1"},{"photo_id":"1330118325","filename":"file0"},{"photo_id":"1330118354","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330118353":["hashtag1","hashtag2"]},{"1330118325":["hashtag1","hashtag2"]},{"1330118354":["hashtag1","hashtag2"]},{"1330118342":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330118353, 1330118325, 1330118354, 1330118342)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.212013483047485 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-19 20:19:32.309848
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/20/18/image_19012025_20_18_02_241820_0003.jpg', '/home/pi/Desktop/images/19012025/20/19/image_19012025_20_19_02_509208_0000.jpg', '/home/pi/Desktop/images/19012025/20/19/image_19012025_20_19_02_509208_0001.jpg', '/home/pi/Desktop/images/19012025/20/19/image_19012025_20_19_02_509208_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/20/18/image_19012025_20_18_02_241820_0003.jpg
/home/pi/Desktop/images/19012025/20/19/image_19012025_20_19_02_509208_0000.jpg
/home/pi/Desktop/images/19012025/20/19/image_19012025_20_19_02_509208_0001.jpg
/home/pi/Desktop/images/19012025/20/19/image_19012025_20_19_02_509208_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330118361","1330118370","1330118364","1330118367"],"photo_ids_order":["1330118361","1330118364","1330118367","1330118370"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/efce44d81b75d14f3e56c647881653f1.jpg","text":"TemporaryFile(/tmp/multipartBody3846786676696948662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737314443619,"filename":"image_19012025_20_18_02_241820_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/793df22aa40e649281ac203e103b6aff.jpg","text":"TemporaryFile(/tmp/multipartBody3631805593155445894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737314443619,"filename":"image_19012025_20_19_02_509208_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/0baf02ec4c0fcb9ec22b4dbfe185123d.jpg","text":"TemporaryFile(/tmp/multipartBody2915040894749714556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737314443619,"filename":"image_19012025_20_19_02_509208_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/caca476541c14d39ef7038e4625d59ca.jpg","text":"TemporaryFile(/tmp/multipartBody8950013898058981207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737314443619,"filename":"image_19012025_20_19_02_509208_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330118367","file1":"1330118364","file0":"1330118361","file3":"1330118370"},"map_files_photo_id_array":[{"photo_id":"1330118367","filename":"file2"},{"photo_id":"1330118364","filename":"file1"},{"photo_id":"1330118361","filename":"file0"},{"photo_id":"1330118370","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330118361":["hashtag1","hashtag2"]},{"1330118370":["hashtag1","hashtag2"]},{"1330118364":["hashtag1","hashtag2"]},{"1330118367":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330118361, 1330118370, 1330118364, 1330118367)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.389055490493774 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 20:20:22.622179
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/20/19/image_19012025_20_19_02_509208_0003.jpg', '/home/pi/Desktop/images/19012025/20/20/image_19012025_20_20_02_705250_0000.jpg', '/home/pi/Desktop/images/19012025/20/20/image_19012025_20_20_02_705250_0001.jpg', '/home/pi/Desktop/images/19012025/20/20/image_19012025_20_20_02_705250_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/20/19/image_19012025_20_19_02_509208_0003.jpg
/home/pi/Desktop/images/19012025/20/20/image_19012025_20_20_02_705250_0000.jpg
/home/pi/Desktop/images/19012025/20/20/image_19012025_20_20_02_705250_0001.jpg
/home/pi/Desktop/images/19012025/20/20/image_19012025_20_20_02_705250_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330118377","1330118380","1330118384","1330118387"],"photo_ids_order":["1330118377","1330118380","1330118384","1330118387"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/d307d565fdfa03b658cf1b80dfecf700.jpg","text":"TemporaryFile(/tmp/multipartBody5204185822250453734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737314493763,"filename":"image_19012025_20_19_02_509208_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/64ee480db9764181d76327d45b613847.jpg","text":"TemporaryFile(/tmp/multipartBody5973110805710789515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737314493763,"filename":"image_19012025_20_20_02_705250_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/78965e45acf1ca249b6b34239a85d6f8.jpg","text":"TemporaryFile(/tmp/multipartBody1101600647398850938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737314493763,"filename":"image_19012025_20_20_02_705250_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/99dca6118d7273538767a4cc728243c3.jpg","text":"TemporaryFile(/tmp/multipartBody6722090794131641330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737314493763,"filename":"image_19012025_20_20_02_705250_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330118384","file1":"1330118380","file0":"1330118377","file3":"1330118387"},"map_files_photo_id_array":[{"photo_id":"1330118384","filename":"file2"},{"photo_id":"1330118380","filename":"file1"},{"photo_id":"1330118377","filename":"file0"},{"photo_id":"1330118387","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330118377":["hashtag1","hashtag2"]},{"1330118380":["hashtag1","hashtag2"]},{"1330118384":["hashtag1","hashtag2"]},{"1330118387":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330118377, 1330118380, 1330118384, 1330118387)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.25310230255127 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 20:21:22.756090
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/20/20/image_19012025_20_20_02_705250_0003.jpg', '/home/pi/Desktop/images/19012025/20/21/image_19012025_20_21_02_872827_0000.jpg', '/home/pi/Desktop/images/19012025/20/21/image_19012025_20_21_02_872827_0001.jpg', '/home/pi/Desktop/images/19012025/20/21/image_19012025_20_21_02_872827_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/20/20/image_19012025_20_20_02_705250_0003.jpg
/home/pi/Desktop/images/19012025/20/21/image_19012025_20_21_02_872827_0000.jpg
/home/pi/Desktop/images/19012025/20/21/image_19012025_20_21_02_872827_0001.jpg
/home/pi/Desktop/images/19012025/20/21/image_19012025_20_21_02_872827_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330118402","1330118394","1330118397","1330118400"],"photo_ids_order":["1330118394","1330118397","1330118400","1330118402"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/2ea40522187010b9cf26ea7c8139380a.jpg","text":"TemporaryFile(/tmp/multipartBody6179468398342111863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737314554326,"filename":"image_19012025_20_21_02_872827_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/837ad629459782252c6b5419778196de.jpg","text":"TemporaryFile(/tmp/multipartBody1327956040451611757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737314554326,"filename":"image_19012025_20_20_02_705250_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/f17a92b94f7bfee403a92628e7773abb.jpg","text":"TemporaryFile(/tmp/multipartBody4074568979257729641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737314554326,"filename":"image_19012025_20_21_02_872827_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/08b1361b38a8a28edf5fe9772ad7a018.jpg","text":"TemporaryFile(/tmp/multipartBody3404421391770882350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737314554326,"filename":"image_19012025_20_21_02_872827_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330118400","file1":"1330118397","file0":"1330118394","file3":"1330118402"},"map_files_photo_id_array":[{"photo_id":"1330118400","filename":"file2"},{"photo_id":"1330118397","filename":"file1"},{"photo_id":"1330118394","filename":"file0"},{"photo_id":"1330118402","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330118402":["hashtag1","hashtag2"]},{"1330118394":["hashtag1","hashtag2"]},{"1330118397":["hashtag1","hashtag2"]},{"1330118400":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330118402, 1330118394, 1330118397, 1330118400)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 4 photos
time to upload: 38.70908284187317 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 20:22:22.364673
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/20/21/image_19012025_20_21_02_872827_0003.jpg', '/home/pi/Desktop/images/19012025/20/22/image_19012025_20_22_03_132492_0000.jpg', '/home/pi/Desktop/images/19012025/20/22/image_19012025_20_22_03_132492_0001.jpg', '/home/pi/Desktop/images/19012025/20/22/image_19012025_20_22_03_132492_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/20/21/image_19012025_20_21_02_872827_0003.jpg
/home/pi/Desktop/images/19012025/20/22/image_19012025_20_22_03_132492_0000.jpg
/home/pi/Desktop/images/19012025/20/22/image_19012025_20_22_03_132492_0001.jpg
/home/pi/Desktop/images/19012025/20/22/image_19012025_20_22_03_132492_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330118444","1330118446","1330118449","1330118442"],"photo_ids_order":["1330118442","1330118444","1330118446","1330118449"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/93aea5b1a9aee18553069c29a7c5f52a.jpg","text":"TemporaryFile(/tmp/multipartBody6631080843554444095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737314614017,"filename":"image_19012025_20_22_03_132492_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/a865f44a178a1b8f6029a1f434b55ff5.jpg","text":"TemporaryFile(/tmp/multipartBody6962330788568481327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737314614017,"filename":"image_19012025_20_22_03_132492_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/5c1602f93978fe25ffaf5f5283c1d2d9.jpg","text":"TemporaryFile(/tmp/multipartBody4370506548237017456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737314614017,"filename":"image_19012025_20_22_03_132492_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/fb09fb07f121817f8473ebe90eff6ca7.jpg","text":"TemporaryFile(/tmp/multipartBody5529349541435483054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737314614017,"filename":"image_19012025_20_21_02_872827_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330118446","file1":"1330118444","file0":"1330118442","file3":"1330118449"},"map_files_photo_id_array":[{"photo_id":"1330118446","filename":"file2"},{"photo_id":"1330118444","filename":"file1"},{"photo_id":"1330118442","filename":"file0"},{"photo_id":"1330118449","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330118444":["hashtag1","hashtag2"]},{"1330118446":["hashtag1","hashtag2"]},{"1330118449":["hashtag1","hashtag2"]},{"1330118442":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330118444, 1330118446, 1330118449, 1330118442)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.90192222595215 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 20:23:22.164783
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/20/22/image_19012025_20_22_03_132492_0003.jpg', '/home/pi/Desktop/images/19012025/20/23/image_19012025_20_23_02_282928_0000.jpg', '/home/pi/Desktop/images/19012025/20/23/image_19012025_20_23_02_282928_0001.jpg', '/home/pi/Desktop/images/19012025/20/23/image_19012025_20_23_02_282928_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/20/22/image_19012025_20_22_03_132492_0003.jpg
/home/pi/Desktop/images/19012025/20/23/image_19012025_20_23_02_282928_0000.jpg
/home/pi/Desktop/images/19012025/20/23/image_19012025_20_23_02_282928_0001.jpg
/home/pi/Desktop/images/19012025/20/23/image_19012025_20_23_02_282928_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330118458","1330118461","1330118455","1330118453"],"photo_ids_order":["1330118453","1330118455","1330118458","1330118461"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/4a013d255492d8d03afb836d44358a54.jpg","text":"TemporaryFile(/tmp/multipartBody805800901744400971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737314673164,"filename":"image_19012025_20_23_02_282928_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/9123d8aabef4825b0cbf1ab58e84d725.jpg","text":"TemporaryFile(/tmp/multipartBody9106539813220601381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737314673164,"filename":"image_19012025_20_23_02_282928_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/926f8ce500d2cca1a638f174e0e4564c.jpg","text":"TemporaryFile(/tmp/multipartBody395817605375260430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737314673164,"filename":"image_19012025_20_23_02_282928_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/32740d889113d5d5f2d1aca075b5bebc.jpg","text":"TemporaryFile(/tmp/multipartBody5111112367484591668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737314673164,"filename":"image_19012025_20_22_03_132492_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330118458","file1":"1330118455","file0":"1330118453","file3":"1330118461"},"map_files_photo_id_array":[{"photo_id":"1330118458","filename":"file2"},{"photo_id":"1330118455","filename":"file1"},{"photo_id":"1330118453","filename":"file0"},{"photo_id":"1330118461","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330118458":["hashtag1","hashtag2"]},{"1330118461":["hashtag1","hashtag2"]},{"1330118455":["hashtag1","hashtag2"]},{"1330118453":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330118458, 1330118461, 1330118455, 1330118453)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.439374923706055 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 20:24:02.697724
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 20:24:22.305710
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/20/23/image_19012025_20_23_02_282928_0003.jpg', '/home/pi/Desktop/images/19012025/20/24/image_19012025_20_24_02_494343_0000.jpg', '/home/pi/Desktop/images/19012025/20/24/image_19012025_20_24_02_494343_0001.jpg', '/home/pi/Desktop/images/19012025/20/24/image_19012025_20_24_02_494343_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/20/23/image_19012025_20_23_02_282928_0003.jpg
/home/pi/Desktop/images/19012025/20/24/image_19012025_20_24_02_494343_0000.jpg
/home/pi/Desktop/images/19012025/20/24/image_19012025_20_24_02_494343_0001.jpg
/home/pi/Desktop/images/19012025/20/24/image_19012025_20_24_02_494343_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330118476","1330118470","1330118472","1330118474"],"photo_ids_order":["1330118470","1330118472","1330118474","1330118476"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/56317d61bdbb89a971e4ea123a010395.jpg","text":"TemporaryFile(/tmp/multipartBody5213668778585115474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737314733656,"filename":"image_19012025_20_24_02_494343_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/931a4e4f28fc5946ef7420316fd8fcf4.jpg","text":"TemporaryFile(/tmp/multipartBody5541063076739979953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737314733656,"filename":"image_19012025_20_23_02_282928_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/b0eb38e80bc9850d348d25f3ac95cc44.jpg","text":"TemporaryFile(/tmp/multipartBody7727778053409608199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737314733656,"filename":"image_19012025_20_24_02_494343_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/54c2297dbc5b84057d3281a2c2e516da.jpg","text":"TemporaryFile(/tmp/multipartBody5980585593016357233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737314733656,"filename":"image_19012025_20_24_02_494343_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330118474","file1":"1330118472","file0":"1330118470","file3":"1330118476"},"map_files_photo_id_array":[{"photo_id":"1330118474","filename":"file2"},{"photo_id":"1330118472","filename":"file1"},{"photo_id":"1330118470","filename":"file0"},{"photo_id":"1330118476","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330118476":["hashtag1","hashtag2"]},{"1330118470":["hashtag1","hashtag2"]},{"1330118472":["hashtag1","hashtag2"]},{"1330118474":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330118476, 1330118470, 1330118472, 1330118474)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.40872383117676 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 20:25:22.570262
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/20/24/image_19012025_20_24_02_494343_0003.jpg', '/home/pi/Desktop/images/19012025/20/25/image_19012025_20_25_02_637607_0000.jpg', '/home/pi/Desktop/images/19012025/20/25/image_19012025_20_25_02_637607_0001.jpg', '/home/pi/Desktop/images/19012025/20/25/image_19012025_20_25_02_637607_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/20/24/image_19012025_20_24_02_494343_0003.jpg
/home/pi/Desktop/images/19012025/20/25/image_19012025_20_25_02_637607_0000.jpg
/home/pi/Desktop/images/19012025/20/25/image_19012025_20_25_02_637607_0001.jpg
/home/pi/Desktop/images/19012025/20/25/image_19012025_20_25_02_637607_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330118516","1330118512","1330118518","1330118514"],"photo_ids_order":["1330118512","1330118514","1330118516","1330118518"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/5729eb4c8efd7dc5a1006b1b9b0e911c.jpg","text":"TemporaryFile(/tmp/multipartBody5305922541960515062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737314793811,"filename":"image_19012025_20_25_02_637607_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/cb10c03301c858bc77b8b46434e8d22e.jpg","text":"TemporaryFile(/tmp/multipartBody1087513513599751482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737314793811,"filename":"image_19012025_20_24_02_494343_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/b091dcf3c738338dc8e7d53f325eb9e3.jpg","text":"TemporaryFile(/tmp/multipartBody3058378297311825071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737314793811,"filename":"image_19012025_20_25_02_637607_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/6096363f82b61743e5e788faf946f922.jpg","text":"TemporaryFile(/tmp/multipartBody645552781942979656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737314793811,"filename":"image_19012025_20_25_02_637607_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330118516","file1":"1330118514","file0":"1330118512","file3":"1330118518"},"map_files_photo_id_array":[{"photo_id":"1330118516","filename":"file2"},{"photo_id":"1330118514","filename":"file1"},{"photo_id":"1330118512","filename":"file0"},{"photo_id":"1330118518","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330118516":["hashtag1","hashtag2"]},{"1330118512":["hashtag1","hashtag2"]},{"1330118518":["hashtag1","hashtag2"]},{"1330118514":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330118516, 1330118512, 1330118518, 1330118514)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.27216958999634 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 20:26:03.105581
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 20:26:22.620526
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/20/25/image_19012025_20_25_02_637607_0003.jpg', '/home/pi/Desktop/images/19012025/20/26/image_19012025_20_26_02_883912_0000.jpg', '/home/pi/Desktop/images/19012025/20/26/image_19012025_20_26_02_883912_0001.jpg', '/home/pi/Desktop/images/19012025/20/26/image_19012025_20_26_02_883912_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/20/25/image_19012025_20_25_02_637607_0003.jpg
/home/pi/Desktop/images/19012025/20/26/image_19012025_20_26_02_883912_0000.jpg
/home/pi/Desktop/images/19012025/20/26/image_19012025_20_26_02_883912_0001.jpg
/home/pi/Desktop/images/19012025/20/26/image_19012025_20_26_02_883912_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330118531","1330118527","1330118524","1330118535"],"photo_ids_order":["1330118524","1330118527","1330118531","1330118535"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/ac10a3e303d17af150ccf7c4caa08622.jpg","text":"TemporaryFile(/tmp/multipartBody8591596297933036212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737314853811,"filename":"image_19012025_20_26_02_883912_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/d4570e518cad728eb7edcb49c87f25c5.jpg","text":"TemporaryFile(/tmp/multipartBody4346530234647624669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737314853811,"filename":"image_19012025_20_26_02_883912_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/281203ce8e1ad03f09267d017c82332d.jpg","text":"TemporaryFile(/tmp/multipartBody5632580767385246335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737314853811,"filename":"image_19012025_20_25_02_637607_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/1ace0c63c930f2aa511a66f6737e3835.jpg","text":"TemporaryFile(/tmp/multipartBody7418609325202365978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737314853811,"filename":"image_19012025_20_26_02_883912_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330118531","file1":"1330118527","file0":"1330118524","file3":"1330118535"},"map_files_photo_id_array":[{"photo_id":"1330118531","filename":"file2"},{"photo_id":"1330118527","filename":"file1"},{"photo_id":"1330118524","filename":"file0"},{"photo_id":"1330118535","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330118531":["hashtag1","hashtag2"]},{"1330118527":["hashtag1","hashtag2"]},{"1330118524":["hashtag1","hashtag2"]},{"1330118535":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330118531, 1330118527, 1330118524, 1330118535)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.56360125541687 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 20:27:02.579218
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 20:27:21.938708
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/20/26/image_19012025_20_26_02_883912_0003.jpg', '/home/pi/Desktop/images/19012025/20/27/image_19012025_20_27_02_995802_0000.jpg', '/home/pi/Desktop/images/19012025/20/27/image_19012025_20_27_02_995802_0001.jpg', '/home/pi/Desktop/images/19012025/20/27/image_19012025_20_27_02_995802_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/20/26/image_19012025_20_26_02_883912_0003.jpg
/home/pi/Desktop/images/19012025/20/27/image_19012025_20_27_02_995802_0000.jpg
/home/pi/Desktop/images/19012025/20/27/image_19012025_20_27_02_995802_0001.jpg
/home/pi/Desktop/images/19012025/20/27/image_19012025_20_27_02_995802_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330118623","1330118626","1330118620","1330118614"],"photo_ids_order":["1330118614","1330118620","1330118623","1330118626"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/27916904bdc37c493797f1a0a6efb532.jpg","text":"TemporaryFile(/tmp/multipartBody4027641453064647132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737314913417,"filename":"image_19012025_20_27_02_995802_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/1759c832231b35ce15e753a79d56140f.jpg","text":"TemporaryFile(/tmp/multipartBody7040842059559857895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737314913417,"filename":"image_19012025_20_27_02_995802_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/05733ce94b251953271fa8279c2d2f4d.jpg","text":"TemporaryFile(/tmp/multipartBody2755067814611509668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737314913417,"filename":"image_19012025_20_27_02_995802_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/5bf19d39392e198237d0c63b042cbaa2.jpg","text":"TemporaryFile(/tmp/multipartBody6329380839305946733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737314913417,"filename":"image_19012025_20_26_02_883912_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330118623","file1":"1330118620","file0":"1330118614","file3":"1330118626"},"map_files_photo_id_array":[{"photo_id":"1330118623","filename":"file2"},{"photo_id":"1330118620","filename":"file1"},{"photo_id":"1330118614","filename":"file0"},{"photo_id":"1330118626","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330118623":["hashtag1","hashtag2"]},{"1330118626":["hashtag1","hashtag2"]},{"1330118620":["hashtag1","hashtag2"]},{"1330118614":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330118623, 1330118626, 1330118620, 1330118614)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.03216290473938 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 20:28:22.059540
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/20/27/image_19012025_20_27_02_995802_0003.jpg', '/home/pi/Desktop/images/19012025/20/28/image_19012025_20_28_02_314800_0000.jpg', '/home/pi/Desktop/images/19012025/20/28/image_19012025_20_28_02_314800_0001.jpg', '/home/pi/Desktop/images/19012025/20/28/image_19012025_20_28_02_314800_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/20/27/image_19012025_20_27_02_995802_0003.jpg
/home/pi/Desktop/images/19012025/20/28/image_19012025_20_28_02_314800_0000.jpg
/home/pi/Desktop/images/19012025/20/28/image_19012025_20_28_02_314800_0001.jpg
/home/pi/Desktop/images/19012025/20/28/image_19012025_20_28_02_314800_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 11.136907577514648 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-19 20:28:42.063920
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/20/27/image_19012025_20_27_02_995802_0003.jpg', '/home/pi/Desktop/images/19012025/20/28/image_19012025_20_28_02_314800_0000.jpg', '/home/pi/Desktop/images/19012025/20/28/image_19012025_20_28_02_314800_0001.jpg', '/home/pi/Desktop/images/19012025/20/28/image_19012025_20_28_02_314800_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/20/27/image_19012025_20_27_02_995802_0003.jpg
/home/pi/Desktop/images/19012025/20/28/image_19012025_20_28_02_314800_0000.jpg
/home/pi/Desktop/images/19012025/20/28/image_19012025_20_28_02_314800_0001.jpg
/home/pi/Desktop/images/19012025/20/28/image_19012025_20_28_02_314800_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":["1330118740","1330118742","1330118745","1330118744"],"photo_ids_order":["1330118740","1330118742","1330118744","1330118745"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/17593c17833addad996c77928949b7f0.jpg","text":"TemporaryFile(/tmp/multipartBody5849534389557367743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737314993590,"filename":"image_19012025_20_27_02_995802_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/efdc364934396b9dd3c72517c01820a7.jpg","text":"TemporaryFile(/tmp/multipartBody887128719287755934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737314993590,"filename":"image_19012025_20_28_02_314800_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/8069d7e541d07336cd83e4dc77f35657.jpg","text":"TemporaryFile(/tmp/multipartBody2085326989119369851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737314993590,"filename":"image_19012025_20_28_02_314800_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/6b91db6cdaebc3ea36080bc8a833b0ae.jpg","text":"TemporaryFile(/tmp/multipartBody7301296657035735598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737314993590,"filename":"image_19012025_20_28_02_314800_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330118744","file1":"1330118742","file0":"1330118740","file3":"1330118745"},"map_files_photo_id_array":[{"photo_id":"1330118744","filename":"file2"},{"photo_id":"1330118742","filename":"file1"},{"photo_id":"1330118740","filename":"file0"},{"photo_id":"1330118745","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330118740":["hashtag1","hashtag2"]},{"1330118742":["hashtag1","hashtag2"]},{"1330118745":["hashtag1","hashtag2"]},{"1330118744":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330118740, 1330118742, 1330118745, 1330118744)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.34610939025879 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 20:29:22.239250
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/20/28/image_19012025_20_28_02_314800_0003.jpg', '/home/pi/Desktop/images/19012025/20/29/image_19012025_20_29_02_397014_0000.jpg', '/home/pi/Desktop/images/19012025/20/29/image_19012025_20_29_02_397014_0001.jpg', '/home/pi/Desktop/images/19012025/20/29/image_19012025_20_29_02_397014_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/20/28/image_19012025_20_28_02_314800_0003.jpg
/home/pi/Desktop/images/19012025/20/29/image_19012025_20_29_02_397014_0000.jpg
/home/pi/Desktop/images/19012025/20/29/image_19012025_20_29_02_397014_0001.jpg
/home/pi/Desktop/images/19012025/20/29/image_19012025_20_29_02_397014_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330118755","1330118749","1330118758","1330118752"],"photo_ids_order":["1330118749","1330118752","1330118755","1330118758"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/24b4fbf8ad1ebf5916ec47045006cd46.jpg","text":"TemporaryFile(/tmp/multipartBody6624981387370639436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737315033432,"filename":"image_19012025_20_29_02_397014_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/1b187a94c819d48af35de1b5082582cd.jpg","text":"TemporaryFile(/tmp/multipartBody9155388376819121423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737315033432,"filename":"image_19012025_20_28_02_314800_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/94cf82f47531d4789873745242095808.jpg","text":"TemporaryFile(/tmp/multipartBody1072406777560054530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737315033432,"filename":"image_19012025_20_29_02_397014_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/27bb78954f62d7b5bc11209bf3c56b21.jpg","text":"TemporaryFile(/tmp/multipartBody1684115933533959598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737315033432,"filename":"image_19012025_20_29_02_397014_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330118755","file1":"1330118752","file0":"1330118749","file3":"1330118758"},"map_files_photo_id_array":[{"photo_id":"1330118755","filename":"file2"},{"photo_id":"1330118752","filename":"file1"},{"photo_id":"1330118749","filename":"file0"},{"photo_id":"1330118758","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330118755":["hashtag1","hashtag2"]},{"1330118749":["hashtag1","hashtag2"]},{"1330118758":["hashtag1","hashtag2"]},{"1330118752":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330118755, 1330118749, 1330118758, 1330118752)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.65491008758545 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-19 20:30:22.473877
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/20/29/image_19012025_20_29_02_397014_0003.jpg', '/home/pi/Desktop/images/19012025/20/30/image_19012025_20_30_02_605187_0000.jpg', '/home/pi/Desktop/images/19012025/20/30/image_19012025_20_30_02_605187_0001.jpg', '/home/pi/Desktop/images/19012025/20/30/image_19012025_20_30_02_605187_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/20/29/image_19012025_20_29_02_397014_0003.jpg
/home/pi/Desktop/images/19012025/20/30/image_19012025_20_30_02_605187_0000.jpg
/home/pi/Desktop/images/19012025/20/30/image_19012025_20_30_02_605187_0001.jpg
/home/pi/Desktop/images/19012025/20/30/image_19012025_20_30_02_605187_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330118772","1330118769","1330118774","1330118765"],"photo_ids_order":["1330118765","1330118769","1330118772","1330118774"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/c2520aa5b6a8458031d381dad6b6d031.jpg","text":"TemporaryFile(/tmp/multipartBody2267633174018003365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737315094246,"filename":"image_19012025_20_30_02_605187_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/a6f040d46cf723926e78f8ec1e275944.jpg","text":"TemporaryFile(/tmp/multipartBody7446318082151204778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737315094246,"filename":"image_19012025_20_30_02_605187_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/695912a591e1c1b951f4cf5b8cf89c85.jpg","text":"TemporaryFile(/tmp/multipartBody8535428518710848772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737315094246,"filename":"image_19012025_20_30_02_605187_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/e56f724e0f724bedd464281dcef54673.jpg","text":"TemporaryFile(/tmp/multipartBody12356058356787810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737315094246,"filename":"image_19012025_20_29_02_397014_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330118772","file1":"1330118769","file0":"1330118765","file3":"1330118774"},"map_files_photo_id_array":[{"photo_id":"1330118772","filename":"file2"},{"photo_id":"1330118769","filename":"file1"},{"photo_id":"1330118765","filename":"file0"},{"photo_id":"1330118774","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330118772":["hashtag1","hashtag2"]},{"1330118769":["hashtag1","hashtag2"]},{"1330118774":["hashtag1","hashtag2"]},{"1330118765":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330118772, 1330118769, 1330118774, 1330118765)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.47105932235718 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 20:31:22.681711
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/20/30/image_19012025_20_30_02_605187_0003.jpg', '/home/pi/Desktop/images/19012025/20/31/image_19012025_20_31_02_795052_0000.jpg', '/home/pi/Desktop/images/19012025/20/31/image_19012025_20_31_02_795052_0001.jpg', '/home/pi/Desktop/images/19012025/20/31/image_19012025_20_31_02_795052_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/20/30/image_19012025_20_30_02_605187_0003.jpg
/home/pi/Desktop/images/19012025/20/31/image_19012025_20_31_02_795052_0000.jpg
/home/pi/Desktop/images/19012025/20/31/image_19012025_20_31_02_795052_0001.jpg
/home/pi/Desktop/images/19012025/20/31/image_19012025_20_31_02_795052_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330118785","1330118782","1330118809","1330118792"],"photo_ids_order":["1330118782","1330118785","1330118792","1330118809"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/fbf60df978719d1892e27c146b30525e.jpg","text":"TemporaryFile(/tmp/multipartBody5878745885742517642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737315153956,"filename":"image_19012025_20_31_02_795052_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/5ebe780ff4ef8efac6eb24994a95aa41.jpg","text":"TemporaryFile(/tmp/multipartBody4273775216431253033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737315153956,"filename":"image_19012025_20_30_02_605187_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/b02d2bcaad9579f428d88890f7e9ba1f.jpg","text":"TemporaryFile(/tmp/multipartBody906994229356235912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737315153956,"filename":"image_19012025_20_31_02_795052_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/6e4c954da3c7a6a67837120a528d658f.jpg","text":"TemporaryFile(/tmp/multipartBody8992240896041546724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737315153956,"filename":"image_19012025_20_31_02_795052_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330118792","file1":"1330118785","file0":"1330118782","file3":"1330118809"},"map_files_photo_id_array":[{"photo_id":"1330118792","filename":"file2"},{"photo_id":"1330118785","filename":"file1"},{"photo_id":"1330118782","filename":"file0"},{"photo_id":"1330118809","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330118785":["hashtag1","hashtag2"]},{"1330118782":["hashtag1","hashtag2"]},{"1330118809":["hashtag1","hashtag2"]},{"1330118792":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330118785, 1330118782, 1330118809, 1330118792)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.41625666618347 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 20:32:21.839971
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/20/31/image_19012025_20_31_02_795052_0003.jpg', '/home/pi/Desktop/images/19012025/20/32/image_19012025_20_32_02_994058_0000.jpg', '/home/pi/Desktop/images/19012025/20/32/image_19012025_20_32_02_994058_0001.jpg', '/home/pi/Desktop/images/19012025/20/32/image_19012025_20_32_02_994058_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/20/31/image_19012025_20_31_02_795052_0003.jpg
/home/pi/Desktop/images/19012025/20/32/image_19012025_20_32_02_994058_0000.jpg
/home/pi/Desktop/images/19012025/20/32/image_19012025_20_32_02_994058_0001.jpg
/home/pi/Desktop/images/19012025/20/32/image_19012025_20_32_02_994058_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330118850","1330118853","1330118847","1330118856"],"photo_ids_order":["1330118847","1330118850","1330118853","1330118856"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/7cbcf6ae6e03eafebbb789c1f6ac2418.jpg","text":"TemporaryFile(/tmp/multipartBody4188455529861129140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737315212979,"filename":"image_19012025_20_32_02_994058_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/ccbbb81b0977c68a39917ec51516275a.jpg","text":"TemporaryFile(/tmp/multipartBody2490279997044971751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737315212979,"filename":"image_19012025_20_32_02_994058_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/e92937caf94e77bfc79320205e110a56.jpg","text":"TemporaryFile(/tmp/multipartBody6106031219745516181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737315212979,"filename":"image_19012025_20_31_02_795052_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/a307f1c4bc7fc6e813caaa6a596fa4c5.jpg","text":"TemporaryFile(/tmp/multipartBody295912893833862784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737315212979,"filename":"image_19012025_20_32_02_994058_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330118853","file1":"1330118850","file0":"1330118847","file3":"1330118856"},"map_files_photo_id_array":[{"photo_id":"1330118853","filename":"file2"},{"photo_id":"1330118850","filename":"file1"},{"photo_id":"1330118847","filename":"file0"},{"photo_id":"1330118856","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330118850":["hashtag1","hashtag2"]},{"1330118853":["hashtag1","hashtag2"]},{"1330118847":["hashtag1","hashtag2"]},{"1330118856":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330118850, 1330118853, 1330118847, 1330118856)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.2572877407074 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 20:33:02.599444
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 20:33:22.047398
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/20/32/image_19012025_20_32_02_994058_0003.jpg', '/home/pi/Desktop/images/19012025/20/33/image_19012025_20_33_02_211951_0000.jpg', '/home/pi/Desktop/images/19012025/20/33/image_19012025_20_33_02_211951_0001.jpg', '/home/pi/Desktop/images/19012025/20/33/image_19012025_20_33_02_211951_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/20/32/image_19012025_20_32_02_994058_0003.jpg
/home/pi/Desktop/images/19012025/20/33/image_19012025_20_33_02_211951_0000.jpg
/home/pi/Desktop/images/19012025/20/33/image_19012025_20_33_02_211951_0001.jpg
/home/pi/Desktop/images/19012025/20/33/image_19012025_20_33_02_211951_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330118872","1330118874","1330118870","1330118867"],"photo_ids_order":["1330118867","1330118870","1330118872","1330118874"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/d3ca3509bf4505d42fb24178aa0e16b9.jpg","text":"TemporaryFile(/tmp/multipartBody4810944246611993531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737315273401,"filename":"image_19012025_20_33_02_211951_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/f7115fb53d264bbd7adb4e970062f0ec.jpg","text":"TemporaryFile(/tmp/multipartBody7206249971595167377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737315273401,"filename":"image_19012025_20_33_02_211951_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/4c708e626d1a12e7dfa14dc60ff20f2e.jpg","text":"TemporaryFile(/tmp/multipartBody8101618901439051796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737315273401,"filename":"image_19012025_20_33_02_211951_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/7acdf36d0a9480969f06b19721862812.jpg","text":"TemporaryFile(/tmp/multipartBody8684973391225417269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737315273401,"filename":"image_19012025_20_32_02_994058_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330118872","file1":"1330118870","file0":"1330118867","file3":"1330118874"},"map_files_photo_id_array":[{"photo_id":"1330118872","filename":"file2"},{"photo_id":"1330118870","filename":"file1"},{"photo_id":"1330118867","filename":"file0"},{"photo_id":"1330118874","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330118872":["hashtag1","hashtag2"]},{"1330118874":["hashtag1","hashtag2"]},{"1330118870":["hashtag1","hashtag2"]},{"1330118867":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330118872, 1330118874, 1330118870, 1330118867)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.02821731567383 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 20:34:22.142211
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/20/33/image_19012025_20_33_02_211951_0003.jpg', '/home/pi/Desktop/images/19012025/20/34/image_19012025_20_34_02_339029_0000.jpg', '/home/pi/Desktop/images/19012025/20/34/image_19012025_20_34_02_339029_0001.jpg', '/home/pi/Desktop/images/19012025/20/34/image_19012025_20_34_02_339029_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/20/33/image_19012025_20_33_02_211951_0003.jpg
/home/pi/Desktop/images/19012025/20/34/image_19012025_20_34_02_339029_0000.jpg
/home/pi/Desktop/images/19012025/20/34/image_19012025_20_34_02_339029_0001.jpg
/home/pi/Desktop/images/19012025/20/34/image_19012025_20_34_02_339029_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.607248306274414 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-19 20:34:42.175684
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/20/33/image_19012025_20_33_02_211951_0003.jpg', '/home/pi/Desktop/images/19012025/20/34/image_19012025_20_34_02_339029_0000.jpg', '/home/pi/Desktop/images/19012025/20/34/image_19012025_20_34_02_339029_0001.jpg', '/home/pi/Desktop/images/19012025/20/34/image_19012025_20_34_02_339029_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/20/33/image_19012025_20_33_02_211951_0003.jpg
/home/pi/Desktop/images/19012025/20/34/image_19012025_20_34_02_339029_0000.jpg
/home/pi/Desktop/images/19012025/20/34/image_19012025_20_34_02_339029_0001.jpg
/home/pi/Desktop/images/19012025/20/34/image_19012025_20_34_02_339029_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":["1330119871","1330119604","1330119884","1330119606"],"photo_ids_order":["1330119604","1330119606","1330119871","1330119884"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/89d0c88c2cad03573cc32210f52a497c.jpg","text":"TemporaryFile(/tmp/multipartBody1459086563587520308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737315353175,"filename":"image_19012025_20_34_02_339029_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/2aeff0fb0b4d04ca947d6d433500496f.jpg","text":"TemporaryFile(/tmp/multipartBody2813350431992543764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737315353175,"filename":"image_19012025_20_33_02_211951_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/77c8cef5a22dddc1ae6a86b499d66ce7.jpg","text":"TemporaryFile(/tmp/multipartBody6143660128125438770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737315353175,"filename":"image_19012025_20_34_02_339029_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/c4c55043e68a1c054784d4486a1e0c10.jpg","text":"TemporaryFile(/tmp/multipartBody8689471015088363566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737315353175,"filename":"image_19012025_20_34_02_339029_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330119871","file1":"1330119606","file0":"1330119604","file3":"1330119884"},"map_files_photo_id_array":[{"photo_id":"1330119871","filename":"file2"},{"photo_id":"1330119606","filename":"file1"},{"photo_id":"1330119604","filename":"file0"},{"photo_id":"1330119884","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330119871":["hashtag1","hashtag2"]},{"1330119604":["hashtag1","hashtag2"]},{"1330119884":["hashtag1","hashtag2"]},{"1330119606":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330119871, 1330119604, 1330119884, 1330119606)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.29209232330322 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 20:35:22.329046
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/20/34/image_19012025_20_34_02_339029_0003.jpg', '/home/pi/Desktop/images/19012025/20/35/image_19012025_20_35_02_535106_0000.jpg', '/home/pi/Desktop/images/19012025/20/35/image_19012025_20_35_02_535106_0001.jpg', '/home/pi/Desktop/images/19012025/20/35/image_19012025_20_35_02_535106_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/20/34/image_19012025_20_34_02_339029_0003.jpg
/home/pi/Desktop/images/19012025/20/35/image_19012025_20_35_02_535106_0000.jpg
/home/pi/Desktop/images/19012025/20/35/image_19012025_20_35_02_535106_0001.jpg
/home/pi/Desktop/images/19012025/20/35/image_19012025_20_35_02_535106_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330119975","1330119978","1330119986","1330119982"],"photo_ids_order":["1330119975","1330119978","1330119982","1330119986"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/55ac4c533bce358f2244d1dc360db237.jpg","text":"TemporaryFile(/tmp/multipartBody5651032369204760058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737315393586,"filename":"image_19012025_20_34_02_339029_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/aac946588da0c6d767363bd5eb9d220e.jpg","text":"TemporaryFile(/tmp/multipartBody272432887807752599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737315393586,"filename":"image_19012025_20_35_02_535106_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/266c09cafd18f6365a082159ff190546.jpg","text":"TemporaryFile(/tmp/multipartBody4701503753068587028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737315393586,"filename":"image_19012025_20_35_02_535106_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/4a99c12f6202fa74ba27c8cdbe7fe4d8.jpg","text":"TemporaryFile(/tmp/multipartBody9151311943038312569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737315393586,"filename":"image_19012025_20_35_02_535106_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330119982","file1":"1330119978","file0":"1330119975","file3":"1330119986"},"map_files_photo_id_array":[{"photo_id":"1330119982","filename":"file2"},{"photo_id":"1330119978","filename":"file1"},{"photo_id":"1330119975","filename":"file0"},{"photo_id":"1330119986","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330119975":["hashtag1","hashtag2"]},{"1330119978":["hashtag1","hashtag2"]},{"1330119986":["hashtag1","hashtag2"]},{"1330119982":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330119975, 1330119978, 1330119986, 1330119982)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.77208662033081 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 20:36:22.662121
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/20/35/image_19012025_20_35_02_535106_0003.jpg', '/home/pi/Desktop/images/19012025/20/36/image_19012025_20_36_02_729418_0000.jpg', '/home/pi/Desktop/images/19012025/20/36/image_19012025_20_36_02_729418_0001.jpg', '/home/pi/Desktop/images/19012025/20/36/image_19012025_20_36_02_729418_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/20/35/image_19012025_20_35_02_535106_0003.jpg
/home/pi/Desktop/images/19012025/20/36/image_19012025_20_36_02_729418_0000.jpg
/home/pi/Desktop/images/19012025/20/36/image_19012025_20_36_02_729418_0001.jpg
/home/pi/Desktop/images/19012025/20/36/image_19012025_20_36_02_729418_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330120251","1330120248","1330120242","1330120245"],"photo_ids_order":["1330120242","1330120245","1330120248","1330120251"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/3348f9f7156e0409b37f79c0be8e9d7f.jpg","text":"TemporaryFile(/tmp/multipartBody3460121503172597524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737315453344,"filename":"image_19012025_20_36_02_729418_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/50d4d15ab171b75321047ab5ce68daa0.jpg","text":"TemporaryFile(/tmp/multipartBody6884232640423804409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737315453344,"filename":"image_19012025_20_36_02_729418_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/f894cab5934bd22ace5e8292fa47edca.jpg","text":"TemporaryFile(/tmp/multipartBody5871071106693703017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737315453344,"filename":"image_19012025_20_35_02_535106_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/cd38732ec24f6eb004a6edeb3eade591.jpg","text":"TemporaryFile(/tmp/multipartBody5767906030101548555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737315453344,"filename":"image_19012025_20_36_02_729418_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330120248","file1":"1330120245","file0":"1330120242","file3":"1330120251"},"map_files_photo_id_array":[{"photo_id":"1330120248","filename":"file2"},{"photo_id":"1330120245","filename":"file1"},{"photo_id":"1330120242","filename":"file0"},{"photo_id":"1330120251","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330120251":["hashtag1","hashtag2"]},{"1330120248":["hashtag1","hashtag2"]},{"1330120242":["hashtag1","hashtag2"]},{"1330120245":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330120251, 1330120248, 1330120242, 1330120245)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.828635692596436 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 20:37:03.270150
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 20:37:22.625580
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/20/36/image_19012025_20_36_02_729418_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/20/36/image_19012025_20_36_02_729418_0003.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330120259"],"photo_id":"1330120259","photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/53106458c762750d0a11a17d7dd40305.jpg","text":"TemporaryFile(/tmp/multipartBody8424943217554411945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737315505669,"filename":"image_19012025_20_36_02_729418_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file0":"1330120259"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1330120259"}],"hashtags":[],"portfolio_id":"19739540","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.718926906585693 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-19 20:37:42.727581
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-19 20:37:52.671025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 20:38:02.313365
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 20:38:21.927133
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/20/38/image_19012025_20_38_03_000241_0000.jpg', '/home/pi/Desktop/images/19012025/20/38/image_19012025_20_38_03_000241_0001.jpg', '/home/pi/Desktop/images/19012025/20/38/image_19012025_20_38_03_000241_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/20/38/image_19012025_20_38_03_000241_0000.jpg
/home/pi/Desktop/images/19012025/20/38/image_19012025_20_38_03_000241_0001.jpg
/home/pi/Desktop/images/19012025/20/38/image_19012025_20_38_03_000241_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330120366","1330120369","1330120364"],"photo_ids_order":["1330120364","1330120366","1330120369"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/248a6d9bf3aed94f9c8004c8730db6f0.jpg","text":"TemporaryFile(/tmp/multipartBody6883612337989346705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737315569845,"filename":"image_19012025_20_38_03_000241_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/0eb78ec8eda58772cc79ebf443cecd59.jpg","text":"TemporaryFile(/tmp/multipartBody7853302787685906276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737315569845,"filename":"image_19012025_20_38_03_000241_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/6e764ac8891c9e09fe639abc27a41ea6.jpg","text":"TemporaryFile(/tmp/multipartBody5176144459787770382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737315569845,"filename":"image_19012025_20_38_03_000241_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330120369","file1":"1330120366","file0":"1330120364"},"map_files_photo_id_array":[{"photo_id":"1330120369","filename":"file2"},{"photo_id":"1330120366","filename":"file1"},{"photo_id":"1330120364","filename":"file0"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330120366":["hashtag1","hashtag2"]},{"1330120369":["hashtag1","hashtag2"]},{"1330120364":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330120366, 1330120369, 1330120364)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.27458429336548 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 20:39:02.664807
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 20:39:22.028596
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/20/38/image_19012025_20_38_03_000241_0003.jpg', '/home/pi/Desktop/images/19012025/20/39/image_19012025_20_39_02_233365_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/20/38/image_19012025_20_38_03_000241_0003.jpg
/home/pi/Desktop/images/19012025/20/39/image_19012025_20_39_02_233365_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":["1330120458","1330120515"],"photo_ids_order":["1330120458","1330120515"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/51334992a0308d6b734b4d1a35b495ba.jpg","text":"TemporaryFile(/tmp/multipartBody1951447383683688955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737315627404,"filename":"image_19012025_20_38_03_000241_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/5b8ebd1c247700737ff90a2c03f1b376.jpg","text":"TemporaryFile(/tmp/multipartBody4151035083726529576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737315627404,"filename":"image_19012025_20_39_02_233365_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1330120515","file0":"1330120458"},"map_files_photo_id_array":[{"photo_id":"1330120515","filename":"file1"},{"photo_id":"1330120458","filename":"file0"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330120458":["hashtag1","hashtag2"]},{"1330120515":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330120458, 1330120515)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 25.420749187469482 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-19 20:39:52.069825
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 20:40:02.773637
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 20:40:22.360162
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/20/39/image_19012025_20_39_02_233365_0003.jpg', '/home/pi/Desktop/images/19012025/20/40/image_19012025_20_40_02_481507_0000.jpg', '/home/pi/Desktop/images/19012025/20/40/image_19012025_20_40_02_481507_0001.jpg', '/home/pi/Desktop/images/19012025/20/40/image_19012025_20_40_02_481507_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/20/39/image_19012025_20_39_02_233365_0003.jpg
/home/pi/Desktop/images/19012025/20/40/image_19012025_20_40_02_481507_0000.jpg
/home/pi/Desktop/images/19012025/20/40/image_19012025_20_40_02_481507_0001.jpg
/home/pi/Desktop/images/19012025/20/40/image_19012025_20_40_02_481507_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.326999187469482 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-19 20:40:42.240748
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/20/39/image_19012025_20_39_02_233365_0003.jpg', '/home/pi/Desktop/images/19012025/20/40/image_19012025_20_40_02_481507_0000.jpg', '/home/pi/Desktop/images/19012025/20/40/image_19012025_20_40_02_481507_0001.jpg', '/home/pi/Desktop/images/19012025/20/40/image_19012025_20_40_02_481507_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/20/39/image_19012025_20_39_02_233365_0003.jpg
/home/pi/Desktop/images/19012025/20/40/image_19012025_20_40_02_481507_0000.jpg
/home/pi/Desktop/images/19012025/20/40/image_19012025_20_40_02_481507_0001.jpg
/home/pi/Desktop/images/19012025/20/40/image_19012025_20_40_02_481507_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330120596","1330120590","1330120592","1330120595"],"photo_ids_order":["1330120590","1330120592","1330120595","1330120596"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/073e3c70739f1260ec92fdd5d2a2e733.jpg","text":"TemporaryFile(/tmp/multipartBody7592176023214548298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737315712961,"filename":"image_19012025_20_40_02_481507_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/7d5e7dbcf881dce41164b5056c6edcf8.jpg","text":"TemporaryFile(/tmp/multipartBody197240495529610930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737315712961,"filename":"image_19012025_20_39_02_233365_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/ad5af0f4e6f9b371b7d7a2ab6d6c7f2c.jpg","text":"TemporaryFile(/tmp/multipartBody7304060960041009890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737315712961,"filename":"image_19012025_20_40_02_481507_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/e546aa1375c149f53aeb1e90525ff99e.jpg","text":"TemporaryFile(/tmp/multipartBody8559663090574138404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737315712961,"filename":"image_19012025_20_40_02_481507_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330120595","file1":"1330120592","file0":"1330120590","file3":"1330120596"},"map_files_photo_id_array":[{"photo_id":"1330120595","filename":"file2"},{"photo_id":"1330120592","filename":"file1"},{"photo_id":"1330120590","filename":"file0"},{"photo_id":"1330120596","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330120596":["hashtag1","hashtag2"]},{"1330120590":["hashtag1","hashtag2"]},{"1330120592":["hashtag1","hashtag2"]},{"1330120595":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330120596, 1330120590, 1330120592, 1330120595)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 46.97275924682617 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-19 20:41:32.476788
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/20/41/image_19012025_20_41_02_645701_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/20/41/image_19012025_20_41_02_645701_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330120600"],"photo_id":"1330120600","photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/1e350e67ad1b97d665c8356dbfa8927a.jpg","text":"TemporaryFile(/tmp/multipartBody23067226107582922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737315755444,"filename":"image_19012025_20_41_02_645701_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file0":"1330120600"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1330120600"}],"hashtags":[],"portfolio_id":"19739540","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 13.984445810317993 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-19 20:41:52.458864
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 20:42:03.044720
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 20:42:22.597436
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/20/41/image_19012025_20_41_02_645701_0003.jpg', '/home/pi/Desktop/images/19012025/20/42/image_19012025_20_42_02_808904_0000.jpg', '/home/pi/Desktop/images/19012025/20/42/image_19012025_20_42_02_808904_0001.jpg', '/home/pi/Desktop/images/19012025/20/42/image_19012025_20_42_02_808904_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/20/41/image_19012025_20_41_02_645701_0003.jpg
/home/pi/Desktop/images/19012025/20/42/image_19012025_20_42_02_808904_0000.jpg
/home/pi/Desktop/images/19012025/20/42/image_19012025_20_42_02_808904_0001.jpg
/home/pi/Desktop/images/19012025/20/42/image_19012025_20_42_02_808904_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330120670","1330120667","1330120661","1330120664"],"photo_ids_order":["1330120661","1330120664","1330120667","1330120670"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/d5e3066419715305f89ce6e9caf90abb.jpg","text":"TemporaryFile(/tmp/multipartBody6313373834655039246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737315812957,"filename":"image_19012025_20_42_02_808904_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/52d2bb32601420e10caf760c96613a4e.jpg","text":"TemporaryFile(/tmp/multipartBody3117339643510319604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737315812957,"filename":"image_19012025_20_42_02_808904_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/2abe41a3f614b5de749e5564d02f8b58.jpg","text":"TemporaryFile(/tmp/multipartBody870359415835004086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737315812957,"filename":"image_19012025_20_41_02_645701_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/d25b8dfffd59e3f29e31f5c9d4b8d309.jpg","text":"TemporaryFile(/tmp/multipartBody4680021766300151891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737315812957,"filename":"image_19012025_20_42_02_808904_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330120667","file1":"1330120664","file0":"1330120661","file3":"1330120670"},"map_files_photo_id_array":[{"photo_id":"1330120667","filename":"file2"},{"photo_id":"1330120664","filename":"file1"},{"photo_id":"1330120661","filename":"file0"},{"photo_id":"1330120670","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330120670":["hashtag1","hashtag2"]},{"1330120667":["hashtag1","hashtag2"]},{"1330120661":["hashtag1","hashtag2"]},{"1330120664":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330120670, 1330120667, 1330120661, 1330120664)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.96272397041321 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 20:43:21.820897
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/20/42/image_19012025_20_42_02_808904_0003.jpg', '/home/pi/Desktop/images/19012025/20/43/image_19012025_20_43_02_994007_0000.jpg', '/home/pi/Desktop/images/19012025/20/43/image_19012025_20_43_02_994007_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/20/42/image_19012025_20_42_02_808904_0003.jpg
/home/pi/Desktop/images/19012025/20/43/image_19012025_20_43_02_994007_0000.jpg
/home/pi/Desktop/images/19012025/20/43/image_19012025_20_43_02_994007_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330120718","1330120712","1330120715"],"photo_ids_order":["1330120712","1330120715","1330120718"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/114b47d1c86dac4c8daa929b54f1001a.jpg","text":"TemporaryFile(/tmp/multipartBody2304684223954342433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737315869591,"filename":"image_19012025_20_43_02_994007_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/07f3e6747648301c054b47ccf6c6502b.jpg","text":"TemporaryFile(/tmp/multipartBody7342057667262127793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737315869591,"filename":"image_19012025_20_42_02_808904_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/bb3783ed652e71b29f160be21e9e61f0.jpg","text":"TemporaryFile(/tmp/multipartBody6375500831774234210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737315869591,"filename":"image_19012025_20_43_02_994007_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330120718","file1":"1330120715","file0":"1330120712"},"map_files_photo_id_array":[{"photo_id":"1330120718","filename":"file2"},{"photo_id":"1330120715","filename":"file1"},{"photo_id":"1330120712","filename":"file0"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330120718":["hashtag1","hashtag2"]},{"1330120712":["hashtag1","hashtag2"]},{"1330120715":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330120718, 1330120712, 1330120715)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.742015838623047 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 20:44:02.332942
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 20:44:22.006856
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-19 20:44:31.926659
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-19 20:44:41.980209
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-19 20:44:51.898973
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 20:45:02.645826
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 20:45:22.043849
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-19 20:45:32.065671
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-19 20:45:42.203301
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-19 20:45:52.104020
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 20:46:02.821476
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 20:46:22.242920
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-19 20:46:32.295428
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-19 20:46:42.306283
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-19 20:46:52.289889
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 20:47:03.224098
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 20:47:22.538432
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-19 20:47:32.499702
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-19 20:47:42.535485
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-19 20:47:52.497523
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 20:48:03.125061
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 20:48:22.827486
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-19 20:48:32.646785
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-19 20:48:42.667808
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-19 20:48:52.643533
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 20:49:02.454071
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 20:49:21.901609
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-19 20:49:31.839801
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-19 20:49:41.847720
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-19 20:49:51.851361
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 20:50:02.367063
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 20:50:22.043212
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-19 20:50:31.998068
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-19 20:50:42.093816
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-19 20:50:52.010541
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 20:51:02.762573
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 20:51:22.128982
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-19 20:51:32.216118
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-19 20:51:42.240961
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-19 20:51:52.187614
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 20:52:02.803527
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 20:52:22.400455
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-19 20:52:32.375413
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-19 20:52:42.360262
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-19 20:52:52.361315
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 20:53:03.271805
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 20:53:22.586881
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-19 20:53:32.587247
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-19 20:53:42.536551
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-19 20:53:52.524010
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 20:54:03.126215
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 20:54:22.802614
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-19 20:54:32.699077
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-19 20:54:42.723573
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-19 20:54:52.719717
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 20:55:02.510134
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 20:55:21.842105
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-19 20:55:31.888659
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-19 20:55:41.903359
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-19 20:55:51.889681
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 20:56:02.475377
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 20:56:22.207161
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-19 20:56:32.020836
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-19 20:56:42.092584
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-19 20:56:52.053659
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 20:57:02.924563
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 20:57:22.228354
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-19 20:57:32.202217
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-19 20:57:42.265273
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-19 20:57:52.203648
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 20:59:03.239772
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 20:59:22.635796
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-19 20:59:32.587582
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-19 20:59:42.592838
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-19 20:59:52.571767
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 21:00:03.197380
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 21:00:22.734030
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-19 21:00:32.779302
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-19 21:00:42.768401
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-19 21:00:52.776775
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 21:01:02.701603
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 21:01:21.951487
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-19 21:01:31.919757
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-19 21:01:42.036641
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-19 21:01:51.934785
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 21:02:02.591841
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 21:02:22.146738
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-19 21:02:32.095137
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-19 21:02:42.115640
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-19 21:02:52.094222
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 21:03:02.988698
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 21:03:22.280157
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-19 21:03:32.286938
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-19 21:03:42.313586
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-19 21:03:52.375107
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 21:04:03.023309
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 21:04:22.517939
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/21/03/image_19012025_21_03_02_486173_0003.jpg', '/home/pi/Desktop/images/19012025/21/04/image_19012025_21_04_02_640977_0000.jpg', '/home/pi/Desktop/images/19012025/21/04/image_19012025_21_04_02_640977_0001.jpg', '/home/pi/Desktop/images/19012025/21/04/image_19012025_21_04_02_640977_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/21/03/image_19012025_21_03_02_486173_0003.jpg
/home/pi/Desktop/images/19012025/21/04/image_19012025_21_04_02_640977_0000.jpg
/home/pi/Desktop/images/19012025/21/04/image_19012025_21_04_02_640977_0001.jpg
/home/pi/Desktop/images/19012025/21/04/image_19012025_21_04_02_640977_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.156377077102661 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-19 21:04:42.555970
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/21/03/image_19012025_21_03_02_486173_0003.jpg', '/home/pi/Desktop/images/19012025/21/04/image_19012025_21_04_02_640977_0000.jpg', '/home/pi/Desktop/images/19012025/21/04/image_19012025_21_04_02_640977_0001.jpg', '/home/pi/Desktop/images/19012025/21/04/image_19012025_21_04_02_640977_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/21/03/image_19012025_21_03_02_486173_0003.jpg
/home/pi/Desktop/images/19012025/21/04/image_19012025_21_04_02_640977_0000.jpg
/home/pi/Desktop/images/19012025/21/04/image_19012025_21_04_02_640977_0001.jpg
/home/pi/Desktop/images/19012025/21/04/image_19012025_21_04_02_640977_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":["1330123956","1330123952","1330123954","1330123957"],"photo_ids_order":["1330123952","1330123954","1330123956","1330123957"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/bc09873a01170cff20e5a54ceff35402.jpg","text":"TemporaryFile(/tmp/multipartBody5045781758212838369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737317153099,"filename":"image_19012025_21_04_02_640977_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/705ef16e2153b1345edfaaef7d639b3b.jpg","text":"TemporaryFile(/tmp/multipartBody486348027880803274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737317153099,"filename":"image_19012025_21_03_02_486173_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/707e48c87342a34c55d70906fcd8e548.jpg","text":"TemporaryFile(/tmp/multipartBody8196433807420835140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737317153099,"filename":"image_19012025_21_04_02_640977_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/ae744600fda76855fa539e8b241b4934.jpg","text":"TemporaryFile(/tmp/multipartBody1097485093467102295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737317153099,"filename":"image_19012025_21_04_02_640977_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330123956","file1":"1330123954","file0":"1330123952","file3":"1330123957"},"map_files_photo_id_array":[{"photo_id":"1330123956","filename":"file2"},{"photo_id":"1330123954","filename":"file1"},{"photo_id":"1330123952","filename":"file0"},{"photo_id":"1330123957","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330123956":["hashtag1","hashtag2"]},{"1330123952":["hashtag1","hashtag2"]},{"1330123954":["hashtag1","hashtag2"]},{"1330123957":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330123956, 1330123952, 1330123954, 1330123957)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.67385244369507 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 21:05:22.797894
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/21/04/image_19012025_21_04_02_640977_0003.jpg', '/home/pi/Desktop/images/19012025/21/05/image_19012025_21_05_02_877317_0000.jpg', '/home/pi/Desktop/images/19012025/21/05/image_19012025_21_05_02_877317_0001.jpg', '/home/pi/Desktop/images/19012025/21/05/image_19012025_21_05_02_877317_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/21/04/image_19012025_21_04_02_640977_0003.jpg
/home/pi/Desktop/images/19012025/21/05/image_19012025_21_05_02_877317_0000.jpg
/home/pi/Desktop/images/19012025/21/05/image_19012025_21_05_02_877317_0001.jpg
/home/pi/Desktop/images/19012025/21/05/image_19012025_21_05_02_877317_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330123961","1330123964","1330124251","1330123984"],"photo_ids_order":["1330123961","1330123964","1330123984","1330124251"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/1fb01391ee799fb36f8170607a0a6b22.jpg","text":"TemporaryFile(/tmp/multipartBody1236041842893557681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737317193229,"filename":"image_19012025_21_04_02_640977_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/682897748f0131f03e9609155c585119.jpg","text":"TemporaryFile(/tmp/multipartBody6734942672672543373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737317193229,"filename":"image_19012025_21_05_02_877317_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/312d7e09f330ae7089cbc56b747f28f3.jpg","text":"TemporaryFile(/tmp/multipartBody3526179874679276749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737317193229,"filename":"image_19012025_21_05_02_877317_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/453366bcdbb4f95d9084e1826645c749.jpg","text":"TemporaryFile(/tmp/multipartBody892242239278803401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737317193229,"filename":"image_19012025_21_05_02_877317_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330123984","file1":"1330123964","file0":"1330123961","file3":"1330124251"},"map_files_photo_id_array":[{"photo_id":"1330123984","filename":"file2"},{"photo_id":"1330123964","filename":"file1"},{"photo_id":"1330123961","filename":"file0"},{"photo_id":"1330124251","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330123961":["hashtag1","hashtag2"]},{"1330123964":["hashtag1","hashtag2"]},{"1330124251":["hashtag1","hashtag2"]},{"1330123984":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330123961, 1330123964, 1330124251, 1330123984)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.71681070327759 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 21:06:21.939139
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/21/05/image_19012025_21_05_02_877317_0003.jpg', '/home/pi/Desktop/images/19012025/21/06/image_19012025_21_06_03_176036_0001.jpg', '/home/pi/Desktop/images/19012025/21/06/image_19012025_21_06_03_176036_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/21/05/image_19012025_21_05_02_877317_0003.jpg
/home/pi/Desktop/images/19012025/21/06/image_19012025_21_06_03_176036_0001.jpg
/home/pi/Desktop/images/19012025/21/06/image_19012025_21_06_03_176036_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330124334","1330124337","1330124331"],"photo_ids_order":["1330124331","1330124334","1330124337"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/ac78c926b75b15bcf49ca089ca37159c.jpg","text":"TemporaryFile(/tmp/multipartBody1311726830206984573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737317249631,"filename":"image_19012025_21_06_03_176036_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/3baf422b05af1483725c8501bceadd40.jpg","text":"TemporaryFile(/tmp/multipartBody7749313902157590679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737317249631,"filename":"image_19012025_21_06_03_176036_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/a6c68405b8fe3e28a6936013a130688e.jpg","text":"TemporaryFile(/tmp/multipartBody7732217443821047117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737317249631,"filename":"image_19012025_21_05_02_877317_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330124337","file1":"1330124334","file0":"1330124331"},"map_files_photo_id_array":[{"photo_id":"1330124337","filename":"file2"},{"photo_id":"1330124334","filename":"file1"},{"photo_id":"1330124331","filename":"file0"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330124334":["hashtag1","hashtag2"]},{"1330124337":["hashtag1","hashtag2"]},{"1330124331":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330124334, 1330124337, 1330124331)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 35.57294774055481 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 21:07:02.598430
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 21:07:22.125764
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/21/06/image_19012025_21_06_03_176036_0003.jpg', '/home/pi/Desktop/images/19012025/21/07/image_19012025_21_07_02_352494_0000.jpg', '/home/pi/Desktop/images/19012025/21/07/image_19012025_21_07_02_352494_0001.jpg', '/home/pi/Desktop/images/19012025/21/07/image_19012025_21_07_02_352494_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/21/06/image_19012025_21_06_03_176036_0003.jpg
/home/pi/Desktop/images/19012025/21/07/image_19012025_21_07_02_352494_0000.jpg
/home/pi/Desktop/images/19012025/21/07/image_19012025_21_07_02_352494_0001.jpg
/home/pi/Desktop/images/19012025/21/07/image_19012025_21_07_02_352494_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330124399","1330124403","1330124401","1330124379"],"photo_ids_order":["1330124379","1330124399","1330124401","1330124403"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/d76f7950ea3e8a36d2c2340220be21df.jpg","text":"TemporaryFile(/tmp/multipartBody4643591695794012640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737317312720,"filename":"image_19012025_21_07_02_352494_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/295cfba38a594b489eba46154cc542d0.jpg","text":"TemporaryFile(/tmp/multipartBody6570512600220336204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737317312720,"filename":"image_19012025_21_07_02_352494_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/6f10dd3099844dfb0961df539cf41ea9.jpg","text":"TemporaryFile(/tmp/multipartBody6624406856636260090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737317312720,"filename":"image_19012025_21_07_02_352494_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/4cf0e7560708ea4d7171808a64dc0bb0.jpg","text":"TemporaryFile(/tmp/multipartBody8882573130361031226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737317312720,"filename":"image_19012025_21_06_03_176036_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330124401","file1":"1330124399","file0":"1330124379","file3":"1330124403"},"map_files_photo_id_array":[{"photo_id":"1330124401","filename":"file2"},{"photo_id":"1330124399","filename":"file1"},{"photo_id":"1330124379","filename":"file0"},{"photo_id":"1330124403","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330124399":["hashtag1","hashtag2"]},{"1330124403":["hashtag1","hashtag2"]},{"1330124401":["hashtag1","hashtag2"]},{"1330124379":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330124399, 1330124403, 1330124401, 1330124379)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 45.06439733505249 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 21:08:22.325832
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/21/07/image_19012025_21_07_02_352494_0003.jpg', '/home/pi/Desktop/images/19012025/21/08/image_19012025_21_08_02_505441_0000.jpg', '/home/pi/Desktop/images/19012025/21/08/image_19012025_21_08_02_505441_0001.jpg', '/home/pi/Desktop/images/19012025/21/08/image_19012025_21_08_02_505441_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/21/07/image_19012025_21_07_02_352494_0003.jpg
/home/pi/Desktop/images/19012025/21/08/image_19012025_21_08_02_505441_0000.jpg
/home/pi/Desktop/images/19012025/21/08/image_19012025_21_08_02_505441_0001.jpg
/home/pi/Desktop/images/19012025/21/08/image_19012025_21_08_02_505441_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330124480","1330124501","1330124504","1330124499"],"photo_ids_order":["1330124480","1330124499","1330124501","1330124504"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/363c7daca189f76123ef03d9fe5f4486.jpg","text":"TemporaryFile(/tmp/multipartBody5090929325977729269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737317372709,"filename":"image_19012025_21_07_02_352494_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/d6f07708edd8ad47e637515a368dec25.jpg","text":"TemporaryFile(/tmp/multipartBody1808204444987650184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737317372709,"filename":"image_19012025_21_08_02_505441_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/b17c1eabd0bd42bb968282d2b7c3f043.jpg","text":"TemporaryFile(/tmp/multipartBody7845903929282609135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737317372709,"filename":"image_19012025_21_08_02_505441_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/cd2a4442d158be34f31404442201a718.jpg","text":"TemporaryFile(/tmp/multipartBody4934696290373419555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737317372709,"filename":"image_19012025_21_08_02_505441_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330124501","file1":"1330124499","file0":"1330124480","file3":"1330124504"},"map_files_photo_id_array":[{"photo_id":"1330124501","filename":"file2"},{"photo_id":"1330124499","filename":"file1"},{"photo_id":"1330124480","filename":"file0"},{"photo_id":"1330124504","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330124480":["hashtag1","hashtag2"]},{"1330124501":["hashtag1","hashtag2"]},{"1330124504":["hashtag1","hashtag2"]},{"1330124499":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330124480, 1330124501, 1330124504, 1330124499)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.103870153427124 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 21:09:03.068042
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 21:09:22.425310
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/21/08/image_19012025_21_08_02_505441_0003.jpg', '/home/pi/Desktop/images/19012025/21/09/image_19012025_21_09_02_663512_0000.jpg', '/home/pi/Desktop/images/19012025/21/09/image_19012025_21_09_02_663512_0001.jpg', '/home/pi/Desktop/images/19012025/21/09/image_19012025_21_09_02_663512_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/21/08/image_19012025_21_08_02_505441_0003.jpg
/home/pi/Desktop/images/19012025/21/09/image_19012025_21_09_02_663512_0000.jpg
/home/pi/Desktop/images/19012025/21/09/image_19012025_21_09_02_663512_0001.jpg
/home/pi/Desktop/images/19012025/21/09/image_19012025_21_09_02_663512_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330124585","1330124581","1330124578","1330124583"],"photo_ids_order":["1330124578","1330124581","1330124583","1330124585"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/a01695bb53246aaf5be44de493a43035.jpg","text":"TemporaryFile(/tmp/multipartBody775551370896293417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737317432859,"filename":"image_19012025_21_09_02_663512_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/c4f64d9c79720af3a75466d280fff639.jpg","text":"TemporaryFile(/tmp/multipartBody1696192252117853629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737317432859,"filename":"image_19012025_21_09_02_663512_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/736f427de8dba37c6977c47cd40fd949.jpg","text":"TemporaryFile(/tmp/multipartBody8823962452134695490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737317432859,"filename":"image_19012025_21_08_02_505441_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/d3521b9c136b6914fff57f090bfcb071.jpg","text":"TemporaryFile(/tmp/multipartBody4560737364869116658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737317432859,"filename":"image_19012025_21_09_02_663512_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330124583","file1":"1330124581","file0":"1330124578","file3":"1330124585"},"map_files_photo_id_array":[{"photo_id":"1330124583","filename":"file2"},{"photo_id":"1330124581","filename":"file1"},{"photo_id":"1330124578","filename":"file0"},{"photo_id":"1330124585","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330124585":["hashtag1","hashtag2"]},{"1330124581":["hashtag1","hashtag2"]},{"1330124578":["hashtag1","hashtag2"]},{"1330124583":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330124585, 1330124581, 1330124578, 1330124583)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.00744318962097 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 21:10:03.057084
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 21:10:22.665074
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/21/09/image_19012025_21_09_02_663512_0003.jpg', '/home/pi/Desktop/images/19012025/21/10/image_19012025_21_10_02_802282_0000.jpg', '/home/pi/Desktop/images/19012025/21/10/image_19012025_21_10_02_802282_0001.jpg', '/home/pi/Desktop/images/19012025/21/10/image_19012025_21_10_02_802282_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/21/09/image_19012025_21_09_02_663512_0003.jpg
/home/pi/Desktop/images/19012025/21/10/image_19012025_21_10_02_802282_0000.jpg
/home/pi/Desktop/images/19012025/21/10/image_19012025_21_10_02_802282_0001.jpg
/home/pi/Desktop/images/19012025/21/10/image_19012025_21_10_02_802282_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330124674","1330124671","1330124646","1330124643"],"photo_ids_order":["1330124643","1330124646","1330124671","1330124674"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/ba0774f75ef780c7cda239d92d9a1b7e.jpg","text":"TemporaryFile(/tmp/multipartBody7826834003273098819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737317493734,"filename":"image_19012025_21_10_02_802282_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/b255827a18801220b5372912f3a689fc.jpg","text":"TemporaryFile(/tmp/multipartBody2867139462585640707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737317493734,"filename":"image_19012025_21_10_02_802282_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/521301a59722ef78f4462d7da563778a.jpg","text":"TemporaryFile(/tmp/multipartBody2110683008755852423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737317493734,"filename":"image_19012025_21_10_02_802282_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/af484265a3cf68248dea578c00cbf769.jpg","text":"TemporaryFile(/tmp/multipartBody1171060993438480192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737317493734,"filename":"image_19012025_21_09_02_663512_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330124671","file1":"1330124646","file0":"1330124643","file3":"1330124674"},"map_files_photo_id_array":[{"photo_id":"1330124671","filename":"file2"},{"photo_id":"1330124646","filename":"file1"},{"photo_id":"1330124643","filename":"file0"},{"photo_id":"1330124674","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330124674":["hashtag1","hashtag2"]},{"1330124671":["hashtag1","hashtag2"]},{"1330124646":["hashtag1","hashtag2"]},{"1330124643":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330124674, 1330124671, 1330124646, 1330124643)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.0863356590271 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 21:11:22.070249
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/21/10/image_19012025_21_10_02_802282_0003.jpg', '/home/pi/Desktop/images/19012025/21/11/image_19012025_21_11_03_044731_0000.jpg', '/home/pi/Desktop/images/19012025/21/11/image_19012025_21_11_03_044731_0001.jpg', '/home/pi/Desktop/images/19012025/21/11/image_19012025_21_11_03_044731_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/21/10/image_19012025_21_10_02_802282_0003.jpg
/home/pi/Desktop/images/19012025/21/11/image_19012025_21_11_03_044731_0000.jpg
/home/pi/Desktop/images/19012025/21/11/image_19012025_21_11_03_044731_0001.jpg
/home/pi/Desktop/images/19012025/21/11/image_19012025_21_11_03_044731_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330124684","1330124687","1330124689","1330124691"],"photo_ids_order":["1330124684","1330124687","1330124689","1330124691"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/e8bd059346376b2c12ab25da245ec2b6.jpg","text":"TemporaryFile(/tmp/multipartBody6587113032694038350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737317553122,"filename":"image_19012025_21_10_02_802282_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/fdadb7b63103c466f5ac277356bccb7b.jpg","text":"TemporaryFile(/tmp/multipartBody4619065225357735417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737317553122,"filename":"image_19012025_21_11_03_044731_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/a42f18feec4457cb159417b4a56e6071.jpg","text":"TemporaryFile(/tmp/multipartBody5050448448881154564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737317553122,"filename":"image_19012025_21_11_03_044731_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/e2dd440fd8b40799f936406f5fedf26b.jpg","text":"TemporaryFile(/tmp/multipartBody6036643652920514297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737317553122,"filename":"image_19012025_21_11_03_044731_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330124689","file1":"1330124687","file0":"1330124684","file3":"1330124691"},"map_files_photo_id_array":[{"photo_id":"1330124689","filename":"file2"},{"photo_id":"1330124687","filename":"file1"},{"photo_id":"1330124684","filename":"file0"},{"photo_id":"1330124691","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330124684":["hashtag1","hashtag2"]},{"1330124687":["hashtag1","hashtag2"]},{"1330124689":["hashtag1","hashtag2"]},{"1330124691":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330124684, 1330124687, 1330124689, 1330124691)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.788387060165405 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 21:12:22.162138
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/21/11/image_19012025_21_11_03_044731_0003.jpg', '/home/pi/Desktop/images/19012025/21/12/image_19012025_21_12_02_240403_0000.jpg', '/home/pi/Desktop/images/19012025/21/12/image_19012025_21_12_02_240403_0001.jpg', '/home/pi/Desktop/images/19012025/21/12/image_19012025_21_12_02_240403_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/21/11/image_19012025_21_11_03_044731_0003.jpg
/home/pi/Desktop/images/19012025/21/12/image_19012025_21_12_02_240403_0000.jpg
/home/pi/Desktop/images/19012025/21/12/image_19012025_21_12_02_240403_0001.jpg
/home/pi/Desktop/images/19012025/21/12/image_19012025_21_12_02_240403_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.527292966842651 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-19 21:12:42.037934
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/21/11/image_19012025_21_11_03_044731_0003.jpg', '/home/pi/Desktop/images/19012025/21/12/image_19012025_21_12_02_240403_0000.jpg', '/home/pi/Desktop/images/19012025/21/12/image_19012025_21_12_02_240403_0001.jpg', '/home/pi/Desktop/images/19012025/21/12/image_19012025_21_12_02_240403_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/21/11/image_19012025_21_11_03_044731_0003.jpg
/home/pi/Desktop/images/19012025/21/12/image_19012025_21_12_02_240403_0000.jpg
/home/pi/Desktop/images/19012025/21/12/image_19012025_21_12_02_240403_0001.jpg
/home/pi/Desktop/images/19012025/21/12/image_19012025_21_12_02_240403_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":["1330124885","1330124896","1330124900","1330124887"],"photo_ids_order":["1330124885","1330124887","1330124896","1330124900"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/448fd8116c90f449c67b3008a98afc2c.jpg","text":"TemporaryFile(/tmp/multipartBody5302401234483634432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737317632934,"filename":"image_19012025_21_11_03_044731_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/58921c05244f79fb409296c8553f74d3.jpg","text":"TemporaryFile(/tmp/multipartBody4345338568390292764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737317632934,"filename":"image_19012025_21_12_02_240403_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/588a0f355eaaf4df93919072a0c2b070.jpg","text":"TemporaryFile(/tmp/multipartBody8685285398006575921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737317632934,"filename":"image_19012025_21_12_02_240403_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/49944f605eac4e27048d2180d817911b.jpg","text":"TemporaryFile(/tmp/multipartBody4294387001180634099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737317632934,"filename":"image_19012025_21_12_02_240403_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330124896","file1":"1330124887","file0":"1330124885","file3":"1330124900"},"map_files_photo_id_array":[{"photo_id":"1330124896","filename":"file2"},{"photo_id":"1330124887","filename":"file1"},{"photo_id":"1330124885","filename":"file0"},{"photo_id":"1330124900","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330124885":["hashtag1","hashtag2"]},{"1330124896":["hashtag1","hashtag2"]},{"1330124900":["hashtag1","hashtag2"]},{"1330124887":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330124885, 1330124896, 1330124900, 1330124887)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.56784915924072 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-19 21:13:32.267891
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/21/12/image_19012025_21_12_02_240403_0003.jpg', '/home/pi/Desktop/images/19012025/21/13/image_19012025_21_13_02_378475_0000.jpg', '/home/pi/Desktop/images/19012025/21/13/image_19012025_21_13_02_378475_0001.jpg', '/home/pi/Desktop/images/19012025/21/13/image_19012025_21_13_02_378475_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/21/12/image_19012025_21_12_02_240403_0003.jpg
/home/pi/Desktop/images/19012025/21/13/image_19012025_21_13_02_378475_0000.jpg
/home/pi/Desktop/images/19012025/21/13/image_19012025_21_13_02_378475_0001.jpg
/home/pi/Desktop/images/19012025/21/13/image_19012025_21_13_02_378475_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330124927","1330124932","1330124935","1330124938"],"photo_ids_order":["1330124927","1330124932","1330124935","1330124938"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/6471210d7d42ae82815dc91d9b295a08.jpg","text":"TemporaryFile(/tmp/multipartBody6730036585503598808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737317682905,"filename":"image_19012025_21_12_02_240403_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/fc2d0d982b13ec74d6abec9a2a016888.jpg","text":"TemporaryFile(/tmp/multipartBody1857799749624843232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737317682905,"filename":"image_19012025_21_13_02_378475_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/409c16dfdac0fd11254e8d712c8d589a.jpg","text":"TemporaryFile(/tmp/multipartBody4433602000552707378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737317682905,"filename":"image_19012025_21_13_02_378475_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/e32869c0a8368bbf0f162d30ef52b029.jpg","text":"TemporaryFile(/tmp/multipartBody1047750233150421027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737317682905,"filename":"image_19012025_21_13_02_378475_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330124935","file1":"1330124932","file0":"1330124927","file3":"1330124938"},"map_files_photo_id_array":[{"photo_id":"1330124935","filename":"file2"},{"photo_id":"1330124932","filename":"file1"},{"photo_id":"1330124927","filename":"file0"},{"photo_id":"1330124938","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330124927":["hashtag1","hashtag2"]},{"1330124932":["hashtag1","hashtag2"]},{"1330124935":["hashtag1","hashtag2"]},{"1330124938":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330124927, 1330124932, 1330124935, 1330124938)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.16856932640076 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 21:14:22.469637
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/21/13/image_19012025_21_13_02_378475_0003.jpg', '/home/pi/Desktop/images/19012025/21/14/image_19012025_21_14_02_627517_0000.jpg', '/home/pi/Desktop/images/19012025/21/14/image_19012025_21_14_02_627517_0001.jpg', '/home/pi/Desktop/images/19012025/21/14/image_19012025_21_14_02_627517_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/21/13/image_19012025_21_13_02_378475_0003.jpg
/home/pi/Desktop/images/19012025/21/14/image_19012025_21_14_02_627517_0000.jpg
/home/pi/Desktop/images/19012025/21/14/image_19012025_21_14_02_627517_0001.jpg
/home/pi/Desktop/images/19012025/21/14/image_19012025_21_14_02_627517_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330124950","1330124947","1330124952","1330124955"],"photo_ids_order":["1330124947","1330124950","1330124952","1330124955"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/e0be0851848953c8d866cfb1f8cede0c.jpg","text":"TemporaryFile(/tmp/multipartBody579224629393012071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737317733137,"filename":"image_19012025_21_14_02_627517_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/4ccbb4437aabcf6cd2bd277060696185.jpg","text":"TemporaryFile(/tmp/multipartBody2630955467956896192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737317733137,"filename":"image_19012025_21_13_02_378475_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/353a76853b36f76f85e4e32fc3618a7f.jpg","text":"TemporaryFile(/tmp/multipartBody6191469799747511939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737317733137,"filename":"image_19012025_21_14_02_627517_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/c3bae72c0075783af7dffb2c4d1b8ea8.jpg","text":"TemporaryFile(/tmp/multipartBody7163143576602783454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737317733137,"filename":"image_19012025_21_14_02_627517_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330124952","file1":"1330124950","file0":"1330124947","file3":"1330124955"},"map_files_photo_id_array":[{"photo_id":"1330124952","filename":"file2"},{"photo_id":"1330124950","filename":"file1"},{"photo_id":"1330124947","filename":"file0"},{"photo_id":"1330124955","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330124950":["hashtag1","hashtag2"]},{"1330124947":["hashtag1","hashtag2"]},{"1330124952":["hashtag1","hashtag2"]},{"1330124955":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330124950, 1330124947, 1330124952, 1330124955)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.6829617023468 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-19 21:15:22.629126
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/21/14/image_19012025_21_14_02_627517_0003.jpg', '/home/pi/Desktop/images/19012025/21/15/image_19012025_21_15_02_851109_0000.jpg', '/home/pi/Desktop/images/19012025/21/15/image_19012025_21_15_02_851109_0001.jpg', '/home/pi/Desktop/images/19012025/21/15/image_19012025_21_15_02_851109_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/21/14/image_19012025_21_14_02_627517_0003.jpg
/home/pi/Desktop/images/19012025/21/15/image_19012025_21_15_02_851109_0000.jpg
/home/pi/Desktop/images/19012025/21/15/image_19012025_21_15_02_851109_0001.jpg
/home/pi/Desktop/images/19012025/21/15/image_19012025_21_15_02_851109_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330124972","1330124965","1330124974","1330124968"],"photo_ids_order":["1330124965","1330124968","1330124972","1330124974"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/7e35547f1b6321c0f6837575147c5c57.jpg","text":"TemporaryFile(/tmp/multipartBody5098897893031908842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737317793417,"filename":"image_19012025_21_15_02_851109_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/0ba975917d994551f3c313ede8d3e0b9.jpg","text":"TemporaryFile(/tmp/multipartBody6360595985976842345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737317793417,"filename":"image_19012025_21_14_02_627517_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/b3300cc554b051013dfda11f60e8f388.jpg","text":"TemporaryFile(/tmp/multipartBody8324421837201360376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737317793417,"filename":"image_19012025_21_15_02_851109_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/93a1c77c99b42ede3ef43a792b541dad.jpg","text":"TemporaryFile(/tmp/multipartBody5593939812414561614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737317793417,"filename":"image_19012025_21_15_02_851109_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330124972","file1":"1330124968","file0":"1330124965","file3":"1330124974"},"map_files_photo_id_array":[{"photo_id":"1330124972","filename":"file2"},{"photo_id":"1330124968","filename":"file1"},{"photo_id":"1330124965","filename":"file0"},{"photo_id":"1330124974","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330124972":["hashtag1","hashtag2"]},{"1330124965":["hashtag1","hashtag2"]},{"1330124974":["hashtag1","hashtag2"]},{"1330124968":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330124972, 1330124965, 1330124974, 1330124968)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.852498054504395 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 21:16:02.206910
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 21:16:21.815638
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/21/15/image_19012025_21_15_02_851109_0003.jpg', '/home/pi/Desktop/images/19012025/21/16/image_19012025_21_16_03_020983_0000.jpg', '/home/pi/Desktop/images/19012025/21/16/image_19012025_21_16_03_020983_0001.jpg', '/home/pi/Desktop/images/19012025/21/16/image_19012025_21_16_03_020983_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/21/15/image_19012025_21_15_02_851109_0003.jpg
/home/pi/Desktop/images/19012025/21/16/image_19012025_21_16_03_020983_0000.jpg
/home/pi/Desktop/images/19012025/21/16/image_19012025_21_16_03_020983_0001.jpg
/home/pi/Desktop/images/19012025/21/16/image_19012025_21_16_03_020983_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330124987","1330124986","1330124989","1330124982"],"photo_ids_order":["1330124982","1330124986","1330124987","1330124989"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/c56966658688eb4e720d9238c1ac382b.jpg","text":"TemporaryFile(/tmp/multipartBody1812935919308119921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737317852730,"filename":"image_19012025_21_16_03_020983_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/f52499f986bd7910f30c258ff61e1c41.jpg","text":"TemporaryFile(/tmp/multipartBody9067344492193374165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737317852730,"filename":"image_19012025_21_16_03_020983_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/a3e70c3afc5b864dbb595d8d65f484e9.jpg","text":"TemporaryFile(/tmp/multipartBody5265048797436013231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737317852730,"filename":"image_19012025_21_16_03_020983_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/2dcc3ae70668fff8dc798c27ab6a5e1f.jpg","text":"TemporaryFile(/tmp/multipartBody4957485079661275210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737317852730,"filename":"image_19012025_21_15_02_851109_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330124987","file1":"1330124986","file0":"1330124982","file3":"1330124989"},"map_files_photo_id_array":[{"photo_id":"1330124987","filename":"file2"},{"photo_id":"1330124986","filename":"file1"},{"photo_id":"1330124982","filename":"file0"},{"photo_id":"1330124989","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330124987":["hashtag1","hashtag2"]},{"1330124986":["hashtag1","hashtag2"]},{"1330124989":["hashtag1","hashtag2"]},{"1330124982":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330124987, 1330124986, 1330124989, 1330124982)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.86678743362427 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 21:17:22.164943
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/21/16/image_19012025_21_16_03_020983_0003.jpg', '/home/pi/Desktop/images/19012025/21/17/image_19012025_21_17_02_163802_0000.jpg', '/home/pi/Desktop/images/19012025/21/17/image_19012025_21_17_02_163802_0001.jpg', '/home/pi/Desktop/images/19012025/21/17/image_19012025_21_17_02_163802_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/21/16/image_19012025_21_16_03_020983_0003.jpg
/home/pi/Desktop/images/19012025/21/17/image_19012025_21_17_02_163802_0000.jpg
/home/pi/Desktop/images/19012025/21/17/image_19012025_21_17_02_163802_0001.jpg
/home/pi/Desktop/images/19012025/21/17/image_19012025_21_17_02_163802_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330125352","1330125477","1330125480","1330125474"],"photo_ids_order":["1330125352","1330125474","1330125477","1330125480"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/687559b52a5b50aba884dee68cefb88e.jpg","text":"TemporaryFile(/tmp/multipartBody3628556910993217681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737317913131,"filename":"image_19012025_21_16_03_020983_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/59f514e1847abf8135bec29bd20c499c.jpg","text":"TemporaryFile(/tmp/multipartBody3611686496261202037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737317913131,"filename":"image_19012025_21_17_02_163802_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/24b395c0c46f2f6d4c65e298405a6c0e.jpg","text":"TemporaryFile(/tmp/multipartBody3543256770079647590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737317913131,"filename":"image_19012025_21_17_02_163802_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/8cab150a96490480d64b83f1ead02713.jpg","text":"TemporaryFile(/tmp/multipartBody6194765265676455510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737317913131,"filename":"image_19012025_21_17_02_163802_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330125477","file1":"1330125474","file0":"1330125352","file3":"1330125480"},"map_files_photo_id_array":[{"photo_id":"1330125477","filename":"file2"},{"photo_id":"1330125474","filename":"file1"},{"photo_id":"1330125352","filename":"file0"},{"photo_id":"1330125480","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330125352":["hashtag1","hashtag2"]},{"1330125477":["hashtag1","hashtag2"]},{"1330125480":["hashtag1","hashtag2"]},{"1330125474":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330125352, 1330125477, 1330125480, 1330125474)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.5221381187439 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 21:18:02.745097
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 21:18:22.381508
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/21/17/image_19012025_21_17_02_163802_0003.jpg', '/home/pi/Desktop/images/19012025/21/18/image_19012025_21_18_02_509105_0000.jpg', '/home/pi/Desktop/images/19012025/21/18/image_19012025_21_18_02_509105_0001.jpg', '/home/pi/Desktop/images/19012025/21/18/image_19012025_21_18_02_509105_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/21/17/image_19012025_21_17_02_163802_0003.jpg
/home/pi/Desktop/images/19012025/21/18/image_19012025_21_18_02_509105_0000.jpg
/home/pi/Desktop/images/19012025/21/18/image_19012025_21_18_02_509105_0001.jpg
/home/pi/Desktop/images/19012025/21/18/image_19012025_21_18_02_509105_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330125737","1330125673","1330125742","1330125735"],"photo_ids_order":["1330125673","1330125735","1330125737","1330125742"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/c987f0cd81c48a1f574979fe6312b852.jpg","text":"TemporaryFile(/tmp/multipartBody2718780876138944330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737317973553,"filename":"image_19012025_21_18_02_509105_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/57906ebcec50132cdccb2b3afa5845d5.jpg","text":"TemporaryFile(/tmp/multipartBody8584206321962016864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737317973553,"filename":"image_19012025_21_17_02_163802_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/459b50e0a8799e232eaa692ab7468c8e.jpg","text":"TemporaryFile(/tmp/multipartBody8963998141896634213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737317973553,"filename":"image_19012025_21_18_02_509105_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/30ff85aa3c1168d559fc26ae0266541b.jpg","text":"TemporaryFile(/tmp/multipartBody4133408958561474050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737317973553,"filename":"image_19012025_21_18_02_509105_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330125737","file1":"1330125735","file0":"1330125673","file3":"1330125742"},"map_files_photo_id_array":[{"photo_id":"1330125737","filename":"file2"},{"photo_id":"1330125735","filename":"file1"},{"photo_id":"1330125673","filename":"file0"},{"photo_id":"1330125742","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330125737":["hashtag1","hashtag2"]},{"1330125673":["hashtag1","hashtag2"]},{"1330125742":["hashtag1","hashtag2"]},{"1330125735":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330125737, 1330125673, 1330125742, 1330125735)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.45792603492737 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 21:19:03.277644
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 21:19:22.514514
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/21/18/image_19012025_21_18_02_509105_0003.jpg', '/home/pi/Desktop/images/19012025/21/19/image_19012025_21_19_02_682816_0000.jpg', '/home/pi/Desktop/images/19012025/21/19/image_19012025_21_19_02_682816_0001.jpg', '/home/pi/Desktop/images/19012025/21/19/image_19012025_21_19_02_682816_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/21/18/image_19012025_21_18_02_509105_0003.jpg
/home/pi/Desktop/images/19012025/21/19/image_19012025_21_19_02_682816_0000.jpg
/home/pi/Desktop/images/19012025/21/19/image_19012025_21_19_02_682816_0001.jpg
/home/pi/Desktop/images/19012025/21/19/image_19012025_21_19_02_682816_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330125980","1330125973","1330125976","1330125978"],"photo_ids_order":["1330125973","1330125976","1330125978","1330125980"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/5bf152b3fb9d8bc463fef447a750a544.jpg","text":"TemporaryFile(/tmp/multipartBody8604646408496113497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737318033278,"filename":"image_19012025_21_19_02_682816_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/06ee4719968dda38ac209be1d5da847b.jpg","text":"TemporaryFile(/tmp/multipartBody6821203508497977732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737318033278,"filename":"image_19012025_21_18_02_509105_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/23f30be30787f66cb8943f0fdb0b5430.jpg","text":"TemporaryFile(/tmp/multipartBody2905001635931036805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737318033278,"filename":"image_19012025_21_19_02_682816_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/56f406cc4aebb89cf3d83344b9205a69.jpg","text":"TemporaryFile(/tmp/multipartBody2821141559663609965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737318033278,"filename":"image_19012025_21_19_02_682816_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330125978","file1":"1330125976","file0":"1330125973","file3":"1330125980"},"map_files_photo_id_array":[{"photo_id":"1330125978","filename":"file2"},{"photo_id":"1330125976","filename":"file1"},{"photo_id":"1330125973","filename":"file0"},{"photo_id":"1330125980","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330125980":["hashtag1","hashtag2"]},{"1330125973":["hashtag1","hashtag2"]},{"1330125976":["hashtag1","hashtag2"]},{"1330125978":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330125980, 1330125973, 1330125976, 1330125978)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.597846269607544 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-19 21:20:22.655638
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/21/19/image_19012025_21_19_02_682816_0003.jpg', '/home/pi/Desktop/images/19012025/21/20/image_19012025_21_20_02_975016_0000.jpg', '/home/pi/Desktop/images/19012025/21/20/image_19012025_21_20_02_975016_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/21/19/image_19012025_21_19_02_682816_0003.jpg
/home/pi/Desktop/images/19012025/21/20/image_19012025_21_20_02_975016_0000.jpg
/home/pi/Desktop/images/19012025/21/20/image_19012025_21_20_02_975016_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330125991","1330125988","1330125985"],"photo_ids_order":["1330125985","1330125988","1330125991"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/34a46a13a0e04588230883b760a3f636.jpg","text":"TemporaryFile(/tmp/multipartBody2697956120351902186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737318090481,"filename":"image_19012025_21_20_02_975016_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/b71d245e8de818c47ca5361a45c7744d.jpg","text":"TemporaryFile(/tmp/multipartBody6417543395291427019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737318090481,"filename":"image_19012025_21_20_02_975016_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/60c279686dd92f385180fb2be255c808.jpg","text":"TemporaryFile(/tmp/multipartBody7683272055055467721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737318090481,"filename":"image_19012025_21_19_02_682816_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330125991","file1":"1330125988","file0":"1330125985"},"map_files_photo_id_array":[{"photo_id":"1330125991","filename":"file2"},{"photo_id":"1330125988","filename":"file1"},{"photo_id":"1330125985","filename":"file0"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330125991":["hashtag1","hashtag2"]},{"1330125988":["hashtag1","hashtag2"]},{"1330125985":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330125991, 1330125988, 1330125985)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.196330308914185 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 21:21:02.375492
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 21:21:21.739126
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/21/20/image_19012025_21_20_02_975016_0003.jpg', '/home/pi/Desktop/images/19012025/21/21/image_19012025_21_21_03_007525_0001.jpg', '/home/pi/Desktop/images/19012025/21/21/image_19012025_21_21_03_007525_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/21/20/image_19012025_21_20_02_975016_0003.jpg
/home/pi/Desktop/images/19012025/21/21/image_19012025_21_21_03_007525_0001.jpg
/home/pi/Desktop/images/19012025/21/21/image_19012025_21_21_03_007525_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330126030","1330126020","1330126011"],"photo_ids_order":["1330126011","1330126020","1330126030"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/be45fe20317c56e767187012dd863f38.jpg","text":"TemporaryFile(/tmp/multipartBody8665645766740665144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737318149793,"filename":"image_19012025_21_21_03_007525_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/b58053bfccb8b03279f58f811b4237c5.jpg","text":"TemporaryFile(/tmp/multipartBody2172423337037345271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737318149793,"filename":"image_19012025_21_21_03_007525_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/d74c6cc6ad8b8e65d4bb254ac39a42b1.jpg","text":"TemporaryFile(/tmp/multipartBody8226115544159888705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737318149793,"filename":"image_19012025_21_20_02_975016_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330126030","file1":"1330126020","file0":"1330126011"},"map_files_photo_id_array":[{"photo_id":"1330126030","filename":"file2"},{"photo_id":"1330126020","filename":"file1"},{"photo_id":"1330126011","filename":"file0"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330126030":["hashtag1","hashtag2"]},{"1330126020":["hashtag1","hashtag2"]},{"1330126011":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330126030, 1330126020, 1330126011)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.64208197593689 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 21:22:02.491133
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 21:22:22.070378
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/21/21/image_19012025_21_21_03_007525_0003.jpg', '/home/pi/Desktop/images/19012025/21/22/image_19012025_21_22_02_137994_0000.jpg', '/home/pi/Desktop/images/19012025/21/22/image_19012025_21_22_02_137994_0001.jpg', '/home/pi/Desktop/images/19012025/21/22/image_19012025_21_22_02_137994_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/21/21/image_19012025_21_21_03_007525_0003.jpg
/home/pi/Desktop/images/19012025/21/22/image_19012025_21_22_02_137994_0000.jpg
/home/pi/Desktop/images/19012025/21/22/image_19012025_21_22_02_137994_0001.jpg
/home/pi/Desktop/images/19012025/21/22/image_19012025_21_22_02_137994_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330126146","1330126149","1330126143","1330126097"],"photo_ids_order":["1330126097","1330126143","1330126146","1330126149"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/6a7da44a147ed859249ce1b5e13a8471.jpg","text":"TemporaryFile(/tmp/multipartBody1487730232755632080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737318212900,"filename":"image_19012025_21_22_02_137994_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/42c20743b32e136477300cb2f29b54a4.jpg","text":"TemporaryFile(/tmp/multipartBody8821684403888845534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737318212900,"filename":"image_19012025_21_22_02_137994_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/113d3e1e19323c61cd8867eced5afe1d.jpg","text":"TemporaryFile(/tmp/multipartBody7208691737707165553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737318212900,"filename":"image_19012025_21_22_02_137994_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/7bb80e28ef005566bd37be07cfd9aefd.jpg","text":"TemporaryFile(/tmp/multipartBody2911492110416494684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737318212900,"filename":"image_19012025_21_21_03_007525_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330126146","file1":"1330126143","file0":"1330126097","file3":"1330126149"},"map_files_photo_id_array":[{"photo_id":"1330126146","filename":"file2"},{"photo_id":"1330126143","filename":"file1"},{"photo_id":"1330126097","filename":"file0"},{"photo_id":"1330126149","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330126146":["hashtag1","hashtag2"]},{"1330126149":["hashtag1","hashtag2"]},{"1330126143":["hashtag1","hashtag2"]},{"1330126097":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330126146, 1330126149, 1330126143, 1330126097)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.75650763511658 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 21:23:02.857110
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 21:23:22.100843
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/21/22/image_19012025_21_22_02_137994_0003.jpg', '/home/pi/Desktop/images/19012025/21/23/image_19012025_21_23_02_379350_0000.jpg', '/home/pi/Desktop/images/19012025/21/23/image_19012025_21_23_02_379350_0001.jpg', '/home/pi/Desktop/images/19012025/21/23/image_19012025_21_23_02_379350_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/21/22/image_19012025_21_22_02_137994_0003.jpg
/home/pi/Desktop/images/19012025/21/23/image_19012025_21_23_02_379350_0000.jpg
/home/pi/Desktop/images/19012025/21/23/image_19012025_21_23_02_379350_0001.jpg
/home/pi/Desktop/images/19012025/21/23/image_19012025_21_23_02_379350_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330126168","1330126159","1330126163","1330126166"],"photo_ids_order":["1330126159","1330126163","1330126166","1330126168"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/9217cc848b5b61fa363db4b684de8d53.jpg","text":"TemporaryFile(/tmp/multipartBody710022628369360562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737318272459,"filename":"image_19012025_21_23_02_379350_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/020e71d891fdb8b317744866688ba077.jpg","text":"TemporaryFile(/tmp/multipartBody6683259224840701970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737318272459,"filename":"image_19012025_21_22_02_137994_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/28ed6ad78be890ba6d0674e2e52d13c6.jpg","text":"TemporaryFile(/tmp/multipartBody5602194448069045258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737318272459,"filename":"image_19012025_21_23_02_379350_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/232dbe346f8240ea36bfeb4696eaf621.jpg","text":"TemporaryFile(/tmp/multipartBody8141448793062142294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737318272459,"filename":"image_19012025_21_23_02_379350_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330126166","file1":"1330126163","file0":"1330126159","file3":"1330126168"},"map_files_photo_id_array":[{"photo_id":"1330126166","filename":"file2"},{"photo_id":"1330126163","filename":"file1"},{"photo_id":"1330126159","filename":"file0"},{"photo_id":"1330126168","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330126168":["hashtag1","hashtag2"]},{"1330126159":["hashtag1","hashtag2"]},{"1330126163":["hashtag1","hashtag2"]},{"1330126166":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330126168, 1330126159, 1330126163, 1330126166)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.03393054008484 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 21:24:02.867282
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 21:24:22.332688
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/21/23/image_19012025_21_23_02_379350_0003.jpg', '/home/pi/Desktop/images/19012025/21/24/image_19012025_21_24_02_485610_0000.jpg', '/home/pi/Desktop/images/19012025/21/24/image_19012025_21_24_02_485610_0001.jpg', '/home/pi/Desktop/images/19012025/21/24/image_19012025_21_24_02_485610_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/21/23/image_19012025_21_23_02_379350_0003.jpg
/home/pi/Desktop/images/19012025/21/24/image_19012025_21_24_02_485610_0000.jpg
/home/pi/Desktop/images/19012025/21/24/image_19012025_21_24_02_485610_0001.jpg
/home/pi/Desktop/images/19012025/21/24/image_19012025_21_24_02_485610_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330126241","1330126175","1330126244","1330126238"],"photo_ids_order":["1330126175","1330126238","1330126241","1330126244"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/27154abd7e782517d36e67a455c6bade.jpg","text":"TemporaryFile(/tmp/multipartBody2615102946540378779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737318333177,"filename":"image_19012025_21_24_02_485610_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/dd845f241d6cc4834023dd14133f9836.jpg","text":"TemporaryFile(/tmp/multipartBody7416711724464181837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737318333177,"filename":"image_19012025_21_23_02_379350_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/3cbd2addf5c99cf878be5ee6245b820d.jpg","text":"TemporaryFile(/tmp/multipartBody9079429829158904394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737318333177,"filename":"image_19012025_21_24_02_485610_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/bf86acef40d30ca3a2f41f6f5ef9c5ba.jpg","text":"TemporaryFile(/tmp/multipartBody4303281419669640341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737318333177,"filename":"image_19012025_21_24_02_485610_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330126241","file1":"1330126238","file0":"1330126175","file3":"1330126244"},"map_files_photo_id_array":[{"photo_id":"1330126241","filename":"file2"},{"photo_id":"1330126238","filename":"file1"},{"photo_id":"1330126175","filename":"file0"},{"photo_id":"1330126244","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330126241":["hashtag1","hashtag2"]},{"1330126175":["hashtag1","hashtag2"]},{"1330126244":["hashtag1","hashtag2"]},{"1330126238":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330126241, 1330126175, 1330126244, 1330126238)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.612866163253784 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-19 21:25:22.582941
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/21/24/image_19012025_21_24_02_485610_0003.jpg', '/home/pi/Desktop/images/19012025/21/25/image_19012025_21_25_02_694026_0000.jpg', '/home/pi/Desktop/images/19012025/21/25/image_19012025_21_25_02_694026_0001.jpg', '/home/pi/Desktop/images/19012025/21/25/image_19012025_21_25_02_694026_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/21/24/image_19012025_21_24_02_485610_0003.jpg
/home/pi/Desktop/images/19012025/21/25/image_19012025_21_25_02_694026_0000.jpg
/home/pi/Desktop/images/19012025/21/25/image_19012025_21_25_02_694026_0001.jpg
/home/pi/Desktop/images/19012025/21/25/image_19012025_21_25_02_694026_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330126307","1330126301","1330126304","1330126310"],"photo_ids_order":["1330126301","1330126304","1330126307","1330126310"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/e4b00343855498ad13378b971d3cc566.jpg","text":"TemporaryFile(/tmp/multipartBody472481284118106977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737318393350,"filename":"image_19012025_21_25_02_694026_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/9c6cb6844992c2a0cf00a2ce99265605.jpg","text":"TemporaryFile(/tmp/multipartBody2671887699236334956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737318393350,"filename":"image_19012025_21_24_02_485610_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/1c27bad03e745ccb8871943c277114af.jpg","text":"TemporaryFile(/tmp/multipartBody3665669781751796998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737318393350,"filename":"image_19012025_21_25_02_694026_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/741531b8c97b89937eb8b56e221c6fae.jpg","text":"TemporaryFile(/tmp/multipartBody7860886622830728653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737318393350,"filename":"image_19012025_21_25_02_694026_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330126307","file1":"1330126304","file0":"1330126301","file3":"1330126310"},"map_files_photo_id_array":[{"photo_id":"1330126307","filename":"file2"},{"photo_id":"1330126304","filename":"file1"},{"photo_id":"1330126301","filename":"file0"},{"photo_id":"1330126310","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330126307":["hashtag1","hashtag2"]},{"1330126301":["hashtag1","hashtag2"]},{"1330126304":["hashtag1","hashtag2"]},{"1330126310":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330126307, 1330126301, 1330126304, 1330126310)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.3545560836792 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 21:26:03.144409
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 21:26:22.793583
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/21/25/image_19012025_21_25_02_694026_0003.jpg', '/home/pi/Desktop/images/19012025/21/26/image_19012025_21_26_02_983885_0000.jpg', '/home/pi/Desktop/images/19012025/21/26/image_19012025_21_26_02_983885_0001.jpg', '/home/pi/Desktop/images/19012025/21/26/image_19012025_21_26_02_983885_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/21/25/image_19012025_21_25_02_694026_0003.jpg
/home/pi/Desktop/images/19012025/21/26/image_19012025_21_26_02_983885_0000.jpg
/home/pi/Desktop/images/19012025/21/26/image_19012025_21_26_02_983885_0001.jpg
/home/pi/Desktop/images/19012025/21/26/image_19012025_21_26_02_983885_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330126330","1330126327","1330126320","1330126325"],"photo_ids_order":["1330126320","1330126325","1330126327","1330126330"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/edd1d60fe6ffb6c6981a7ddb9e7d2b41.jpg","text":"TemporaryFile(/tmp/multipartBody7083613650494169748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737318453875,"filename":"image_19012025_21_26_02_983885_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/2fd769cf5b8d9d30f6dec46af161d0d7.jpg","text":"TemporaryFile(/tmp/multipartBody5136130979625117181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737318453875,"filename":"image_19012025_21_26_02_983885_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/544b44a0aaddc8e9dd17f4ea4dd5c659.jpg","text":"TemporaryFile(/tmp/multipartBody8844016634131891387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737318453875,"filename":"image_19012025_21_25_02_694026_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/d0b30f21751f1cb8b87f772011490e24.jpg","text":"TemporaryFile(/tmp/multipartBody8166210261187841899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737318453875,"filename":"image_19012025_21_26_02_983885_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330126327","file1":"1330126325","file0":"1330126320","file3":"1330126330"},"map_files_photo_id_array":[{"photo_id":"1330126327","filename":"file2"},{"photo_id":"1330126325","filename":"file1"},{"photo_id":"1330126320","filename":"file0"},{"photo_id":"1330126330","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330126330":["hashtag1","hashtag2"]},{"1330126327":["hashtag1","hashtag2"]},{"1330126320":["hashtag1","hashtag2"]},{"1330126325":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330126330, 1330126327, 1330126320, 1330126325)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.368178367614746 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 21:27:21.917850
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/21/26/image_19012025_21_26_02_983885_0003.jpg', '/home/pi/Desktop/images/19012025/21/27/image_19012025_21_27_03_092697_0000.jpg', '/home/pi/Desktop/images/19012025/21/27/image_19012025_21_27_03_092697_0001.jpg', '/home/pi/Desktop/images/19012025/21/27/image_19012025_21_27_03_092697_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/21/26/image_19012025_21_26_02_983885_0003.jpg
/home/pi/Desktop/images/19012025/21/27/image_19012025_21_27_03_092697_0000.jpg
/home/pi/Desktop/images/19012025/21/27/image_19012025_21_27_03_092697_0001.jpg
/home/pi/Desktop/images/19012025/21/27/image_19012025_21_27_03_092697_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330126400","1330126402","1330126404","1330126397"],"photo_ids_order":["1330126397","1330126400","1330126402","1330126404"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/0ff7ecdc8ca7723d2b3ea0986c7d7e1c.jpg","text":"TemporaryFile(/tmp/multipartBody5070575903126355900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737318513304,"filename":"image_19012025_21_27_03_092697_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/4e29b660027e6a419aa6ed96aac50239.jpg","text":"TemporaryFile(/tmp/multipartBody9213410866715183771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737318513304,"filename":"image_19012025_21_27_03_092697_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/0bb093a10e4ca2d9c6bfeed5ee43b470.jpg","text":"TemporaryFile(/tmp/multipartBody2651490721809822062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737318513304,"filename":"image_19012025_21_27_03_092697_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/c221c7bcc70b57e24e88eeeaa3d2ff50.jpg","text":"TemporaryFile(/tmp/multipartBody5357286329562962468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737318513304,"filename":"image_19012025_21_26_02_983885_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330126402","file1":"1330126400","file0":"1330126397","file3":"1330126404"},"map_files_photo_id_array":[{"photo_id":"1330126402","filename":"file2"},{"photo_id":"1330126400","filename":"file1"},{"photo_id":"1330126397","filename":"file0"},{"photo_id":"1330126404","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330126400":["hashtag1","hashtag2"]},{"1330126402":["hashtag1","hashtag2"]},{"1330126404":["hashtag1","hashtag2"]},{"1330126397":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330126400, 1330126402, 1330126404, 1330126397)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.690648794174194 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-19 21:28:22.117017
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/21/27/image_19012025_21_27_03_092697_0003.jpg', '/home/pi/Desktop/images/19012025/21/28/image_19012025_21_28_02_283129_0000.jpg', '/home/pi/Desktop/images/19012025/21/28/image_19012025_21_28_02_283129_0001.jpg', '/home/pi/Desktop/images/19012025/21/28/image_19012025_21_28_02_283129_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/21/27/image_19012025_21_27_03_092697_0003.jpg
/home/pi/Desktop/images/19012025/21/28/image_19012025_21_28_02_283129_0000.jpg
/home/pi/Desktop/images/19012025/21/28/image_19012025_21_28_02_283129_0001.jpg
/home/pi/Desktop/images/19012025/21/28/image_19012025_21_28_02_283129_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330126488","1330126490","1330126493","1330126487"],"photo_ids_order":["1330126487","1330126488","1330126490","1330126493"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/5967faad29489d953bea227dc0a875c3.jpg","text":"TemporaryFile(/tmp/multipartBody8277659519640449628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737318572763,"filename":"image_19012025_21_28_02_283129_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/9ced97ed9c49b75ceddb53a93feea3bc.jpg","text":"TemporaryFile(/tmp/multipartBody73425572789174887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737318572763,"filename":"image_19012025_21_28_02_283129_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/3d261068c7a654dd67b848519090add3.jpg","text":"TemporaryFile(/tmp/multipartBody8329312320356141480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737318572763,"filename":"image_19012025_21_28_02_283129_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/9b904ce20b5163c9c3f37ae27e01f82a.jpg","text":"TemporaryFile(/tmp/multipartBody8762403311765536446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737318572763,"filename":"image_19012025_21_27_03_092697_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330126490","file1":"1330126488","file0":"1330126487","file3":"1330126493"},"map_files_photo_id_array":[{"photo_id":"1330126490","filename":"file2"},{"photo_id":"1330126488","filename":"file1"},{"photo_id":"1330126487","filename":"file0"},{"photo_id":"1330126493","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330126488":["hashtag1","hashtag2"]},{"1330126490":["hashtag1","hashtag2"]},{"1330126493":["hashtag1","hashtag2"]},{"1330126487":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330126488, 1330126490, 1330126493, 1330126487)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.78833270072937 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 21:29:03.033883
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 21:29:22.329552
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/21/28/image_19012025_21_28_02_283129_0003.jpg', '/home/pi/Desktop/images/19012025/21/29/image_19012025_21_29_02_450370_0000.jpg', '/home/pi/Desktop/images/19012025/21/29/image_19012025_21_29_02_450370_0001.jpg', '/home/pi/Desktop/images/19012025/21/29/image_19012025_21_29_02_450370_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/21/28/image_19012025_21_28_02_283129_0003.jpg
/home/pi/Desktop/images/19012025/21/29/image_19012025_21_29_02_450370_0000.jpg
/home/pi/Desktop/images/19012025/21/29/image_19012025_21_29_02_450370_0001.jpg
/home/pi/Desktop/images/19012025/21/29/image_19012025_21_29_02_450370_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330126511","1330126513","1330126507","1330126515"],"photo_ids_order":["1330126507","1330126511","1330126513","1330126515"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/c73e28f1edc02e8897fbe0a6520f0b0c.jpg","text":"TemporaryFile(/tmp/multipartBody2397038914699108004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737318633113,"filename":"image_19012025_21_29_02_450370_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/a40123527000756a2d0b7aeb9df10336.jpg","text":"TemporaryFile(/tmp/multipartBody2051124693607138034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737318633113,"filename":"image_19012025_21_29_02_450370_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/8d59a24e542ac96b5f9fd8e3ff2b259b.jpg","text":"TemporaryFile(/tmp/multipartBody5734462552156469844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737318633113,"filename":"image_19012025_21_28_02_283129_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/951a8c1eba30b406498a34c88155eb29.jpg","text":"TemporaryFile(/tmp/multipartBody6887399347645697463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737318633113,"filename":"image_19012025_21_29_02_450370_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330126513","file1":"1330126511","file0":"1330126507","file3":"1330126515"},"map_files_photo_id_array":[{"photo_id":"1330126513","filename":"file2"},{"photo_id":"1330126511","filename":"file1"},{"photo_id":"1330126507","filename":"file0"},{"photo_id":"1330126515","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330126511":["hashtag1","hashtag2"]},{"1330126513":["hashtag1","hashtag2"]},{"1330126507":["hashtag1","hashtag2"]},{"1330126515":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330126511, 1330126513, 1330126507, 1330126515)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.52980351448059 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-19 21:30:22.509810
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/21/29/image_19012025_21_29_02_450370_0003.jpg', '/home/pi/Desktop/images/19012025/21/30/image_19012025_21_30_02_675000_0000.jpg', '/home/pi/Desktop/images/19012025/21/30/image_19012025_21_30_02_675000_0001.jpg', '/home/pi/Desktop/images/19012025/21/30/image_19012025_21_30_02_675000_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/21/29/image_19012025_21_29_02_450370_0003.jpg
/home/pi/Desktop/images/19012025/21/30/image_19012025_21_30_02_675000_0000.jpg
/home/pi/Desktop/images/19012025/21/30/image_19012025_21_30_02_675000_0001.jpg
/home/pi/Desktop/images/19012025/21/30/image_19012025_21_30_02_675000_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330126531","1330126528","1330126522","1330126525"],"photo_ids_order":["1330126522","1330126525","1330126528","1330126531"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/6def7e4e806fa8a87356668fc2eee4f6.jpg","text":"TemporaryFile(/tmp/multipartBody1368951997453329496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737318693404,"filename":"image_19012025_21_30_02_675000_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/e30d7a366f633a7b7fa78950c4f360b5.jpg","text":"TemporaryFile(/tmp/multipartBody6248067432192522134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737318693404,"filename":"image_19012025_21_30_02_675000_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/0d9f881bdf7985e1f11ea1bfae5dada4.jpg","text":"TemporaryFile(/tmp/multipartBody3038328234267311228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737318693404,"filename":"image_19012025_21_29_02_450370_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/9e67f51bf6feb3531fbc1fba79db9177.jpg","text":"TemporaryFile(/tmp/multipartBody3797368744102850692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737318693404,"filename":"image_19012025_21_30_02_675000_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330126528","file1":"1330126525","file0":"1330126522","file3":"1330126531"},"map_files_photo_id_array":[{"photo_id":"1330126528","filename":"file2"},{"photo_id":"1330126525","filename":"file1"},{"photo_id":"1330126522","filename":"file0"},{"photo_id":"1330126531","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330126531":["hashtag1","hashtag2"]},{"1330126528":["hashtag1","hashtag2"]},{"1330126522":["hashtag1","hashtag2"]},{"1330126525":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330126531, 1330126528, 1330126522, 1330126525)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.01593518257141 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 21:31:03.194197
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 21:31:22.554258
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/21/30/image_19012025_21_30_02_675000_0003.jpg', '/home/pi/Desktop/images/19012025/21/31/image_19012025_21_31_02_809351_0000.jpg', '/home/pi/Desktop/images/19012025/21/31/image_19012025_21_31_02_809351_0001.jpg', '/home/pi/Desktop/images/19012025/21/31/image_19012025_21_31_02_809351_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/21/30/image_19012025_21_30_02_675000_0003.jpg
/home/pi/Desktop/images/19012025/21/31/image_19012025_21_31_02_809351_0000.jpg
/home/pi/Desktop/images/19012025/21/31/image_19012025_21_31_02_809351_0001.jpg
/home/pi/Desktop/images/19012025/21/31/image_19012025_21_31_02_809351_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330126561","1330126587","1330126584","1330126589"],"photo_ids_order":["1330126561","1330126584","1330126587","1330126589"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/920e35dc14055d6b73901563d53771d8.jpg","text":"TemporaryFile(/tmp/multipartBody7391379416326867420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737318753208,"filename":"image_19012025_21_30_02_675000_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/e5a0b3bbe1d9a286ac7e8d52545ebc76.jpg","text":"TemporaryFile(/tmp/multipartBody5884360529846691319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737318753208,"filename":"image_19012025_21_31_02_809351_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/44dc2ad72f2ff5bbd2d3334fb3574e9d.jpg","text":"TemporaryFile(/tmp/multipartBody6748662130090474491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737318753208,"filename":"image_19012025_21_31_02_809351_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/5bdbb38f4bcdc087fa84db3c2c099c28.jpg","text":"TemporaryFile(/tmp/multipartBody4522201218100712516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737318753208,"filename":"image_19012025_21_31_02_809351_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330126587","file1":"1330126584","file0":"1330126561","file3":"1330126589"},"map_files_photo_id_array":[{"photo_id":"1330126587","filename":"file2"},{"photo_id":"1330126584","filename":"file1"},{"photo_id":"1330126561","filename":"file0"},{"photo_id":"1330126589","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330126561":["hashtag1","hashtag2"]},{"1330126587":["hashtag1","hashtag2"]},{"1330126584":["hashtag1","hashtag2"]},{"1330126589":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330126561, 1330126587, 1330126584, 1330126589)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.0517201423645 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 21:32:21.839155
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/21/31/image_19012025_21_31_02_809351_0003.jpg', '/home/pi/Desktop/images/19012025/21/32/image_19012025_21_32_02_962864_0000.jpg', '/home/pi/Desktop/images/19012025/21/32/image_19012025_21_32_02_962864_0001.jpg', '/home/pi/Desktop/images/19012025/21/32/image_19012025_21_32_02_962864_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/21/31/image_19012025_21_31_02_809351_0003.jpg
/home/pi/Desktop/images/19012025/21/32/image_19012025_21_32_02_962864_0000.jpg
/home/pi/Desktop/images/19012025/21/32/image_19012025_21_32_02_962864_0001.jpg
/home/pi/Desktop/images/19012025/21/32/image_19012025_21_32_02_962864_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.163876056671143 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-19 21:32:41.826907
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/21/31/image_19012025_21_31_02_809351_0003.jpg', '/home/pi/Desktop/images/19012025/21/32/image_19012025_21_32_02_962864_0000.jpg', '/home/pi/Desktop/images/19012025/21/32/image_19012025_21_32_02_962864_0001.jpg', '/home/pi/Desktop/images/19012025/21/32/image_19012025_21_32_02_962864_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/21/31/image_19012025_21_31_02_809351_0003.jpg
/home/pi/Desktop/images/19012025/21/32/image_19012025_21_32_02_962864_0000.jpg
/home/pi/Desktop/images/19012025/21/32/image_19012025_21_32_02_962864_0001.jpg
/home/pi/Desktop/images/19012025/21/32/image_19012025_21_32_02_962864_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":["1330126607","1330126609","1330126611","1330126605"],"photo_ids_order":["1330126605","1330126607","1330126609","1330126611"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/5f3a3467ae239ff17e201fab518e4d87.jpg","text":"TemporaryFile(/tmp/multipartBody4318964242182255195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737318832386,"filename":"image_19012025_21_32_02_962864_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/72b4e6fef4087c678d46a47e40069040.jpg","text":"TemporaryFile(/tmp/multipartBody5202270302986202477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737318832386,"filename":"image_19012025_21_32_02_962864_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/7fb2b65d759d49788883f2ef397a5e19.jpg","text":"TemporaryFile(/tmp/multipartBody6008239719113200449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737318832386,"filename":"image_19012025_21_32_02_962864_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/34785ab786006630ab8987d35764aed8.jpg","text":"TemporaryFile(/tmp/multipartBody7927084462640156438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737318832386,"filename":"image_19012025_21_31_02_809351_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330126609","file1":"1330126607","file0":"1330126605","file3":"1330126611"},"map_files_photo_id_array":[{"photo_id":"1330126609","filename":"file2"},{"photo_id":"1330126607","filename":"file1"},{"photo_id":"1330126605","filename":"file0"},{"photo_id":"1330126611","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330126607":["hashtag1","hashtag2"]},{"1330126609":["hashtag1","hashtag2"]},{"1330126611":["hashtag1","hashtag2"]},{"1330126605":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330126607, 1330126609, 1330126611, 1330126605)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.70284628868103 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 21:33:22.082009
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/21/32/image_19012025_21_32_02_962864_0003.jpg', '/home/pi/Desktop/images/19012025/21/33/image_19012025_21_33_02_186577_0000.jpg', '/home/pi/Desktop/images/19012025/21/33/image_19012025_21_33_02_186577_0001.jpg', '/home/pi/Desktop/images/19012025/21/33/image_19012025_21_33_02_186577_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/21/32/image_19012025_21_32_02_962864_0003.jpg
/home/pi/Desktop/images/19012025/21/33/image_19012025_21_33_02_186577_0000.jpg
/home/pi/Desktop/images/19012025/21/33/image_19012025_21_33_02_186577_0001.jpg
/home/pi/Desktop/images/19012025/21/33/image_19012025_21_33_02_186577_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330126615","1330126618","1330126626","1330126622"],"photo_ids_order":["1330126615","1330126618","1330126622","1330126626"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/a2b0008bed732fb20ea41fa082cfa10a.jpg","text":"TemporaryFile(/tmp/multipartBody1990408724209639219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737318872727,"filename":"image_19012025_21_32_02_962864_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/d48232d2f8807f96c5bf6c2fa7c9983d.jpg","text":"TemporaryFile(/tmp/multipartBody3436915839455210206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737318872727,"filename":"image_19012025_21_33_02_186577_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/0f9d92079966e330d6d64cd2776b6cca.jpg","text":"TemporaryFile(/tmp/multipartBody5646647616182169332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737318872727,"filename":"image_19012025_21_33_02_186577_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/95824a80921688f46d8e1314e3cd5e34.jpg","text":"TemporaryFile(/tmp/multipartBody1946275990880440174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737318872727,"filename":"image_19012025_21_33_02_186577_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330126622","file1":"1330126618","file0":"1330126615","file3":"1330126626"},"map_files_photo_id_array":[{"photo_id":"1330126622","filename":"file2"},{"photo_id":"1330126618","filename":"file1"},{"photo_id":"1330126615","filename":"file0"},{"photo_id":"1330126626","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330126615":["hashtag1","hashtag2"]},{"1330126618":["hashtag1","hashtag2"]},{"1330126626":["hashtag1","hashtag2"]},{"1330126622":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330126615, 1330126618, 1330126626, 1330126622)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.02800750732422 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 21:34:02.723628
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 21:34:22.197712
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/21/33/image_19012025_21_33_02_186577_0003.jpg', '/home/pi/Desktop/images/19012025/21/34/image_19012025_21_34_02_353765_0000.jpg', '/home/pi/Desktop/images/19012025/21/34/image_19012025_21_34_02_353765_0001.jpg', '/home/pi/Desktop/images/19012025/21/34/image_19012025_21_34_02_353765_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/21/33/image_19012025_21_33_02_186577_0003.jpg
/home/pi/Desktop/images/19012025/21/34/image_19012025_21_34_02_353765_0000.jpg
/home/pi/Desktop/images/19012025/21/34/image_19012025_21_34_02_353765_0001.jpg
/home/pi/Desktop/images/19012025/21/34/image_19012025_21_34_02_353765_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330126698","1330126692","1330126695","1330126700"],"photo_ids_order":["1330126692","1330126695","1330126698","1330126700"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/f0f2ac1d607d6f40a5bdbbab97185773.jpg","text":"TemporaryFile(/tmp/multipartBody9088714591194102448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737318932737,"filename":"image_19012025_21_34_02_353765_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/ac442c7be81e67e032b3be3114e162a8.jpg","text":"TemporaryFile(/tmp/multipartBody1632404220277454233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737318932737,"filename":"image_19012025_21_33_02_186577_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/5ce5fa263a1cfb231070c6d4f4f5c1ef.jpg","text":"TemporaryFile(/tmp/multipartBody1236227651763529193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737318932737,"filename":"image_19012025_21_34_02_353765_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/d036d1c635237e09e24fdbabd5915915.jpg","text":"TemporaryFile(/tmp/multipartBody1229758193407418117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737318932737,"filename":"image_19012025_21_34_02_353765_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330126698","file1":"1330126695","file0":"1330126692","file3":"1330126700"},"map_files_photo_id_array":[{"photo_id":"1330126698","filename":"file2"},{"photo_id":"1330126695","filename":"file1"},{"photo_id":"1330126692","filename":"file0"},{"photo_id":"1330126700","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330126698":["hashtag1","hashtag2"]},{"1330126692":["hashtag1","hashtag2"]},{"1330126695":["hashtag1","hashtag2"]},{"1330126700":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330126698, 1330126692, 1330126695, 1330126700)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.8529839515686 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 21:35:22.361485
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/21/34/image_19012025_21_34_02_353765_0003.jpg', '/home/pi/Desktop/images/19012025/21/35/image_19012025_21_35_02_575430_0000.jpg', '/home/pi/Desktop/images/19012025/21/35/image_19012025_21_35_02_575430_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/21/34/image_19012025_21_34_02_353765_0003.jpg
/home/pi/Desktop/images/19012025/21/35/image_19012025_21_35_02_575430_0000.jpg
/home/pi/Desktop/images/19012025/21/35/image_19012025_21_35_02_575430_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":["1330126706","1330126713","1330126709"],"photo_ids_order":["1330126706","1330126709","1330126713"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/4c28896066bbe9fce034f4e2bbda2811.jpg","text":"TemporaryFile(/tmp/multipartBody5703169621249063197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737318990682,"filename":"image_19012025_21_34_02_353765_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/b42bb4d06f659748644ea97a2f71e267.jpg","text":"TemporaryFile(/tmp/multipartBody5819409155429212821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737318990682,"filename":"image_19012025_21_35_02_575430_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/411cf1fdbf139c27ff2a3d49dedba3e1.jpg","text":"TemporaryFile(/tmp/multipartBody934255340024446238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737318990682,"filename":"image_19012025_21_35_02_575430_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330126713","file1":"1330126709","file0":"1330126706"},"map_files_photo_id_array":[{"photo_id":"1330126713","filename":"file2"},{"photo_id":"1330126709","filename":"file1"},{"photo_id":"1330126706","filename":"file0"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330126706":["hashtag1","hashtag2"]},{"1330126713":["hashtag1","hashtag2"]},{"1330126709":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330126706, 1330126713, 1330126709)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.30039691925049 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 21:36:02.983182
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 21:36:22.636507
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/21/36/image_19012025_21_36_02_778521_0000.jpg', '/home/pi/Desktop/images/19012025/21/36/image_19012025_21_36_02_778521_0001.jpg', '/home/pi/Desktop/images/19012025/21/36/image_19012025_21_36_02_778521_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/21/36/image_19012025_21_36_02_778521_0000.jpg
/home/pi/Desktop/images/19012025/21/36/image_19012025_21_36_02_778521_0001.jpg
/home/pi/Desktop/images/19012025/21/36/image_19012025_21_36_02_778521_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330126724","1330126722","1330126728"],"photo_ids_order":["1330126722","1330126724","1330126728"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/119010be9f7dcabe3882f821b602001c.jpg","text":"TemporaryFile(/tmp/multipartBody5850835891450484447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737319051305,"filename":"image_19012025_21_36_02_778521_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/3f734d8df07f129d8415d26023549012.jpg","text":"TemporaryFile(/tmp/multipartBody8226966682538518099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737319051305,"filename":"image_19012025_21_36_02_778521_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/ed9084ceae97472806ef4918635bfece.jpg","text":"TemporaryFile(/tmp/multipartBody3164552743047797413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737319051305,"filename":"image_19012025_21_36_02_778521_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330126728","file1":"1330126724","file0":"1330126722"},"map_files_photo_id_array":[{"photo_id":"1330126728","filename":"file2"},{"photo_id":"1330126724","filename":"file1"},{"photo_id":"1330126722","filename":"file0"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330126724":["hashtag1","hashtag2"]},{"1330126722":["hashtag1","hashtag2"]},{"1330126728":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330126724, 1330126722, 1330126728)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 34.13665318489075 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 21:37:03.290619
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 21:37:22.755046
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/21/36/image_19012025_21_36_02_778521_0003.jpg', '/home/pi/Desktop/images/19012025/21/37/image_19012025_21_37_02_894565_0000.jpg', '/home/pi/Desktop/images/19012025/21/37/image_19012025_21_37_02_894565_0001.jpg', '/home/pi/Desktop/images/19012025/21/37/image_19012025_21_37_02_894565_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/21/36/image_19012025_21_36_02_778521_0003.jpg
/home/pi/Desktop/images/19012025/21/37/image_19012025_21_37_02_894565_0000.jpg
/home/pi/Desktop/images/19012025/21/37/image_19012025_21_37_02_894565_0001.jpg
/home/pi/Desktop/images/19012025/21/37/image_19012025_21_37_02_894565_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330126840","1330126843","1330126813","1330126862"],"photo_ids_order":["1330126813","1330126840","1330126843","1330126862"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/7cc6e6ed8b87da9d89060b6b4f0364be.jpg","text":"TemporaryFile(/tmp/multipartBody4141904962148393919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737319113549,"filename":"image_19012025_21_37_02_894565_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/54bb90ce30672406d5e64dfaf55b5c38.jpg","text":"TemporaryFile(/tmp/multipartBody8278623550270277749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737319113549,"filename":"image_19012025_21_37_02_894565_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/906182eb4ac80e5ac372fb3733a80164.jpg","text":"TemporaryFile(/tmp/multipartBody1228554221327510919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737319113549,"filename":"image_19012025_21_36_02_778521_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/3809757ba0cebb51975486889feab76b.jpg","text":"TemporaryFile(/tmp/multipartBody3987620433420950757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737319113549,"filename":"image_19012025_21_37_02_894565_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330126843","file1":"1330126840","file0":"1330126813","file3":"1330126862"},"map_files_photo_id_array":[{"photo_id":"1330126843","filename":"file2"},{"photo_id":"1330126840","filename":"file1"},{"photo_id":"1330126813","filename":"file0"},{"photo_id":"1330126862","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330126840":["hashtag1","hashtag2"]},{"1330126843":["hashtag1","hashtag2"]},{"1330126813":["hashtag1","hashtag2"]},{"1330126862":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330126840, 1330126843, 1330126813, 1330126862)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.293400287628174 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 21:38:21.966817
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/21/37/image_19012025_21_37_02_894565_0003.jpg', '/home/pi/Desktop/images/19012025/21/38/image_19012025_21_38_03_104050_0000.jpg', '/home/pi/Desktop/images/19012025/21/38/image_19012025_21_38_03_104050_0001.jpg', '/home/pi/Desktop/images/19012025/21/38/image_19012025_21_38_03_104050_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/21/37/image_19012025_21_37_02_894565_0003.jpg
/home/pi/Desktop/images/19012025/21/38/image_19012025_21_38_03_104050_0000.jpg
/home/pi/Desktop/images/19012025/21/38/image_19012025_21_38_03_104050_0001.jpg
/home/pi/Desktop/images/19012025/21/38/image_19012025_21_38_03_104050_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330126922","1330126918","1330126915","1330126925"],"photo_ids_order":["1330126915","1330126918","1330126922","1330126925"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/f850d435511d31677bdfef72d59fb101.jpg","text":"TemporaryFile(/tmp/multipartBody8915026422910724954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737319172746,"filename":"image_19012025_21_38_03_104050_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/0ddc3b1c53e64b6994e91a9ff5b5ab16.jpg","text":"TemporaryFile(/tmp/multipartBody508133648090191627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737319172746,"filename":"image_19012025_21_38_03_104050_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/db87517ecedf134986bf9691e5c4aa2b.jpg","text":"TemporaryFile(/tmp/multipartBody2721402036369909076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737319172746,"filename":"image_19012025_21_37_02_894565_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/4c21227805b377b42575d6a77cecdbb4.jpg","text":"TemporaryFile(/tmp/multipartBody7450430926675035454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737319172746,"filename":"image_19012025_21_38_03_104050_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330126922","file1":"1330126918","file0":"1330126915","file3":"1330126925"},"map_files_photo_id_array":[{"photo_id":"1330126922","filename":"file2"},{"photo_id":"1330126918","filename":"file1"},{"photo_id":"1330126915","filename":"file0"},{"photo_id":"1330126925","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330126922":["hashtag1","hashtag2"]},{"1330126918":["hashtag1","hashtag2"]},{"1330126915":["hashtag1","hashtag2"]},{"1330126925":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330126922, 1330126918, 1330126915, 1330126925)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.343311071395874 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 21:39:02.533792
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 21:39:22.258339
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/21/38/image_19012025_21_38_03_104050_0003.jpg', '/home/pi/Desktop/images/19012025/21/39/image_19012025_21_39_02_252378_0000.jpg', '/home/pi/Desktop/images/19012025/21/39/image_19012025_21_39_02_252378_0001.jpg', '/home/pi/Desktop/images/19012025/21/39/image_19012025_21_39_02_252378_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/21/38/image_19012025_21_38_03_104050_0003.jpg
/home/pi/Desktop/images/19012025/21/39/image_19012025_21_39_02_252378_0000.jpg
/home/pi/Desktop/images/19012025/21/39/image_19012025_21_39_02_252378_0001.jpg
/home/pi/Desktop/images/19012025/21/39/image_19012025_21_39_02_252378_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330126943","1330126937","1330126940","1330126934"],"photo_ids_order":["1330126934","1330126937","1330126940","1330126943"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/e78b0797dab93fbfb6857fb8d0a70d35.jpg","text":"TemporaryFile(/tmp/multipartBody9087314018286609009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737319232840,"filename":"image_19012025_21_39_02_252378_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/8bcd6248f9f86f9c7ebefa3e52c9eeb8.jpg","text":"TemporaryFile(/tmp/multipartBody8553733443589340310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737319232840,"filename":"image_19012025_21_39_02_252378_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/d3c01ab0fece414a093057f5f431f406.jpg","text":"TemporaryFile(/tmp/multipartBody5483724682217758261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737319232840,"filename":"image_19012025_21_39_02_252378_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/06b76c4c6b2345a6b4b158e1a334a96c.jpg","text":"TemporaryFile(/tmp/multipartBody1132087059081344709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737319232840,"filename":"image_19012025_21_38_03_104050_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330126940","file1":"1330126937","file0":"1330126934","file3":"1330126943"},"map_files_photo_id_array":[{"photo_id":"1330126940","filename":"file2"},{"photo_id":"1330126937","filename":"file1"},{"photo_id":"1330126934","filename":"file0"},{"photo_id":"1330126943","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330126943":["hashtag1","hashtag2"]},{"1330126937":["hashtag1","hashtag2"]},{"1330126940":["hashtag1","hashtag2"]},{"1330126934":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330126943, 1330126937, 1330126940, 1330126934)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.09428834915161 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 21:40:22.294592
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/21/39/image_19012025_21_39_02_252378_0003.jpg', '/home/pi/Desktop/images/19012025/21/40/image_19012025_21_40_02_433895_0000.jpg', '/home/pi/Desktop/images/19012025/21/40/image_19012025_21_40_02_433895_0001.jpg', '/home/pi/Desktop/images/19012025/21/40/image_19012025_21_40_02_433895_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/21/39/image_19012025_21_39_02_252378_0003.jpg
/home/pi/Desktop/images/19012025/21/40/image_19012025_21_40_02_433895_0000.jpg
/home/pi/Desktop/images/19012025/21/40/image_19012025_21_40_02_433895_0001.jpg
/home/pi/Desktop/images/19012025/21/40/image_19012025_21_40_02_433895_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330126992","1330127001","1330127004","1330127006"],"photo_ids_order":["1330126992","1330127001","1330127004","1330127006"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/06e866e57ba60c77ae61ded41afad17b.jpg","text":"TemporaryFile(/tmp/multipartBody677503430647517525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737319293261,"filename":"image_19012025_21_39_02_252378_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/e4da2c71308e1db514aa214fe4387b02.jpg","text":"TemporaryFile(/tmp/multipartBody2096937814168711400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737319293261,"filename":"image_19012025_21_40_02_433895_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/de872fa95d3b27721decba8469cd4ac9.jpg","text":"TemporaryFile(/tmp/multipartBody391267438312233785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737319293261,"filename":"image_19012025_21_40_02_433895_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/687277904102c07cb763edf6b0181033.jpg","text":"TemporaryFile(/tmp/multipartBody1097980304861417093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737319293261,"filename":"image_19012025_21_40_02_433895_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330127004","file1":"1330127001","file0":"1330126992","file3":"1330127006"},"map_files_photo_id_array":[{"photo_id":"1330127004","filename":"file2"},{"photo_id":"1330127001","filename":"file1"},{"photo_id":"1330126992","filename":"file0"},{"photo_id":"1330127006","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330126992":["hashtag1","hashtag2"]},{"1330127001":["hashtag1","hashtag2"]},{"1330127004":["hashtag1","hashtag2"]},{"1330127006":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330126992, 1330127001, 1330127004, 1330127006)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.488991498947144 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 21:41:22.379255
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/21/40/image_19012025_21_40_02_433895_0003.jpg', '/home/pi/Desktop/images/19012025/21/41/image_19012025_21_41_02_608380_0000.jpg', '/home/pi/Desktop/images/19012025/21/41/image_19012025_21_41_02_608380_0001.jpg', '/home/pi/Desktop/images/19012025/21/41/image_19012025_21_41_02_608380_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/21/40/image_19012025_21_40_02_433895_0003.jpg
/home/pi/Desktop/images/19012025/21/41/image_19012025_21_41_02_608380_0000.jpg
/home/pi/Desktop/images/19012025/21/41/image_19012025_21_41_02_608380_0001.jpg
/home/pi/Desktop/images/19012025/21/41/image_19012025_21_41_02_608380_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330127029","1330127024","1330127027","1330127021"],"photo_ids_order":["1330127021","1330127024","1330127027","1330127029"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/45abae60c75fa9c334957e7503e0172b.jpg","text":"TemporaryFile(/tmp/multipartBody3373900504745698138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737319352940,"filename":"image_19012025_21_41_02_608380_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/d4cd2ff63684c3cad86205ff2d13b9d8.jpg","text":"TemporaryFile(/tmp/multipartBody8029505158408219083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737319352940,"filename":"image_19012025_21_41_02_608380_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/04c4482a5f626dbaf87da6416d1a0a31.jpg","text":"TemporaryFile(/tmp/multipartBody4745340251662416094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737319352940,"filename":"image_19012025_21_41_02_608380_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/a72159f73123374eaa43f00043839e01.jpg","text":"TemporaryFile(/tmp/multipartBody8335202828346357031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737319352940,"filename":"image_19012025_21_40_02_433895_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330127027","file1":"1330127024","file0":"1330127021","file3":"1330127029"},"map_files_photo_id_array":[{"photo_id":"1330127027","filename":"file2"},{"photo_id":"1330127024","filename":"file1"},{"photo_id":"1330127021","filename":"file0"},{"photo_id":"1330127029","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330127029":["hashtag1","hashtag2"]},{"1330127024":["hashtag1","hashtag2"]},{"1330127027":["hashtag1","hashtag2"]},{"1330127021":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330127029, 1330127024, 1330127027, 1330127021)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.5304388999939 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 21:42:22.698120
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/21/41/image_19012025_21_41_02_608380_0003.jpg', '/home/pi/Desktop/images/19012025/21/42/image_19012025_21_42_02_814767_0000.jpg', '/home/pi/Desktop/images/19012025/21/42/image_19012025_21_42_02_814767_0001.jpg', '/home/pi/Desktop/images/19012025/21/42/image_19012025_21_42_02_814767_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/21/41/image_19012025_21_41_02_608380_0003.jpg
/home/pi/Desktop/images/19012025/21/42/image_19012025_21_42_02_814767_0000.jpg
/home/pi/Desktop/images/19012025/21/42/image_19012025_21_42_02_814767_0001.jpg
/home/pi/Desktop/images/19012025/21/42/image_19012025_21_42_02_814767_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330127041","1330127043","1330127036","1330127039"],"photo_ids_order":["1330127036","1330127039","1330127041","1330127043"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/62012d5e2547c2aee314ca8a6de338e6.jpg","text":"TemporaryFile(/tmp/multipartBody654417027354163688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737319413986,"filename":"image_19012025_21_42_02_814767_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/3decafc2e1c1b6c7d15d6e03c337e784.jpg","text":"TemporaryFile(/tmp/multipartBody2977974855051804892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737319413986,"filename":"image_19012025_21_42_02_814767_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/2e874b3f2c4a99d76f725f5561833b1c.jpg","text":"TemporaryFile(/tmp/multipartBody5748679280670644169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737319413986,"filename":"image_19012025_21_41_02_608380_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/c7f5a695b5af5bb047946c9592d4999d.jpg","text":"TemporaryFile(/tmp/multipartBody5927258417182177357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737319413986,"filename":"image_19012025_21_42_02_814767_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330127041","file1":"1330127039","file0":"1330127036","file3":"1330127043"},"map_files_photo_id_array":[{"photo_id":"1330127041","filename":"file2"},{"photo_id":"1330127039","filename":"file1"},{"photo_id":"1330127036","filename":"file0"},{"photo_id":"1330127043","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330127041":["hashtag1","hashtag2"]},{"1330127043":["hashtag1","hashtag2"]},{"1330127036":["hashtag1","hashtag2"]},{"1330127039":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330127041, 1330127043, 1330127036, 1330127039)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.29447817802429 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 21:43:21.712493
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/21/42/image_19012025_21_42_02_814767_0003.jpg', '/home/pi/Desktop/images/19012025/21/43/image_19012025_21_43_03_039426_0000.jpg', '/home/pi/Desktop/images/19012025/21/43/image_19012025_21_43_03_039426_0001.jpg', '/home/pi/Desktop/images/19012025/21/43/image_19012025_21_43_03_039426_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/21/42/image_19012025_21_42_02_814767_0003.jpg
/home/pi/Desktop/images/19012025/21/43/image_19012025_21_43_03_039426_0000.jpg
/home/pi/Desktop/images/19012025/21/43/image_19012025_21_43_03_039426_0001.jpg
/home/pi/Desktop/images/19012025/21/43/image_19012025_21_43_03_039426_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330127076","1330127079","1330127073","1330127081"],"photo_ids_order":["1330127073","1330127076","1330127079","1330127081"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/c4198aabb22aae80ab1c48e34b032384.jpg","text":"TemporaryFile(/tmp/multipartBody5543411382010821620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737319472959,"filename":"image_19012025_21_43_03_039426_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/6a34d7a9e9dabf5e676039e2a7147117.jpg","text":"TemporaryFile(/tmp/multipartBody5911405130664331977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737319472959,"filename":"image_19012025_21_43_03_039426_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/7caccf9258a7aaa3861cd48404798a51.jpg","text":"TemporaryFile(/tmp/multipartBody654262867620331107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737319472959,"filename":"image_19012025_21_42_02_814767_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/56199ce23b63570dfae2f6c3724ad92c.jpg","text":"TemporaryFile(/tmp/multipartBody4204933370182689662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737319472959,"filename":"image_19012025_21_43_03_039426_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330127079","file1":"1330127076","file0":"1330127073","file3":"1330127081"},"map_files_photo_id_array":[{"photo_id":"1330127079","filename":"file2"},{"photo_id":"1330127076","filename":"file1"},{"photo_id":"1330127073","filename":"file0"},{"photo_id":"1330127081","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330127076":["hashtag1","hashtag2"]},{"1330127079":["hashtag1","hashtag2"]},{"1330127073":["hashtag1","hashtag2"]},{"1330127081":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330127076, 1330127079, 1330127073, 1330127081)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.50276017189026 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 21:44:22.008389
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/21/43/image_19012025_21_43_03_039426_0003.jpg', '/home/pi/Desktop/images/19012025/21/44/image_19012025_21_44_02_144336_0000.jpg', '/home/pi/Desktop/images/19012025/21/44/image_19012025_21_44_02_144336_0001.jpg', '/home/pi/Desktop/images/19012025/21/44/image_19012025_21_44_02_144336_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/21/43/image_19012025_21_43_03_039426_0003.jpg
/home/pi/Desktop/images/19012025/21/44/image_19012025_21_44_02_144336_0000.jpg
/home/pi/Desktop/images/19012025/21/44/image_19012025_21_44_02_144336_0001.jpg
/home/pi/Desktop/images/19012025/21/44/image_19012025_21_44_02_144336_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.71715521812439 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-19 21:44:41.938704
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/21/43/image_19012025_21_43_03_039426_0003.jpg', '/home/pi/Desktop/images/19012025/21/44/image_19012025_21_44_02_144336_0000.jpg', '/home/pi/Desktop/images/19012025/21/44/image_19012025_21_44_02_144336_0001.jpg', '/home/pi/Desktop/images/19012025/21/44/image_19012025_21_44_02_144336_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/21/43/image_19012025_21_43_03_039426_0003.jpg
/home/pi/Desktop/images/19012025/21/44/image_19012025_21_44_02_144336_0000.jpg
/home/pi/Desktop/images/19012025/21/44/image_19012025_21_44_02_144336_0001.jpg
/home/pi/Desktop/images/19012025/21/44/image_19012025_21_44_02_144336_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330127101","1330127104","1330127099","1330127103"],"photo_ids_order":["1330127099","1330127101","1330127103","1330127104"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/889a71133db5bcccc52e7b40b72c104c.jpg","text":"TemporaryFile(/tmp/multipartBody1308830824631923328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737319553081,"filename":"image_19012025_21_44_02_144336_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/2bb60c5971d6acf77b3e1c94330301e8.jpg","text":"TemporaryFile(/tmp/multipartBody3744507927455633418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737319553081,"filename":"image_19012025_21_44_02_144336_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/42d2be501912cfe9bc5d9419e2e3cf67.jpg","text":"TemporaryFile(/tmp/multipartBody8813806083773223159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737319553081,"filename":"image_19012025_21_43_03_039426_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/68960d094bc0222302e5957a65a48ae7.jpg","text":"TemporaryFile(/tmp/multipartBody5706620331208472388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737319553081,"filename":"image_19012025_21_44_02_144336_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330127103","file1":"1330127101","file0":"1330127099","file3":"1330127104"},"map_files_photo_id_array":[{"photo_id":"1330127103","filename":"file2"},{"photo_id":"1330127101","filename":"file1"},{"photo_id":"1330127099","filename":"file0"},{"photo_id":"1330127104","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330127101":["hashtag1","hashtag2"]},{"1330127104":["hashtag1","hashtag2"]},{"1330127099":["hashtag1","hashtag2"]},{"1330127103":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330127101, 1330127104, 1330127099, 1330127103)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.52248787879944 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-19 21:45:32.182957
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/21/44/image_19012025_21_44_02_144336_0003.jpg', '/home/pi/Desktop/images/19012025/21/45/image_19012025_21_45_02_390745_0000.jpg', '/home/pi/Desktop/images/19012025/21/45/image_19012025_21_45_02_390745_0001.jpg', '/home/pi/Desktop/images/19012025/21/45/image_19012025_21_45_02_390745_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/21/44/image_19012025_21_44_02_144336_0003.jpg
/home/pi/Desktop/images/19012025/21/45/image_19012025_21_45_02_390745_0000.jpg
/home/pi/Desktop/images/19012025/21/45/image_19012025_21_45_02_390745_0001.jpg
/home/pi/Desktop/images/19012025/21/45/image_19012025_21_45_02_390745_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330127112","1330127121","1330127115","1330127118"],"photo_ids_order":["1330127112","1330127115","1330127118","1330127121"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/0dc0169828179ed639280d5f7b42890b.jpg","text":"TemporaryFile(/tmp/multipartBody9153752939257252753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737319603656,"filename":"image_19012025_21_44_02_144336_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/c28682cfbaf5fe6e2fd39add33578bd6.jpg","text":"TemporaryFile(/tmp/multipartBody7739523531832637818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737319603656,"filename":"image_19012025_21_45_02_390745_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/f4de0088f2e9330fe1b98a80a9c1446f.jpg","text":"TemporaryFile(/tmp/multipartBody2674544291858000416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737319603656,"filename":"image_19012025_21_45_02_390745_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/757b1ff59972dccbcdddcbfce9234f42.jpg","text":"TemporaryFile(/tmp/multipartBody8036088071915319386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737319603656,"filename":"image_19012025_21_45_02_390745_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330127118","file1":"1330127115","file0":"1330127112","file3":"1330127121"},"map_files_photo_id_array":[{"photo_id":"1330127118","filename":"file2"},{"photo_id":"1330127115","filename":"file1"},{"photo_id":"1330127112","filename":"file0"},{"photo_id":"1330127121","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330127112":["hashtag1","hashtag2"]},{"1330127121":["hashtag1","hashtag2"]},{"1330127115":["hashtag1","hashtag2"]},{"1330127118":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330127112, 1330127121, 1330127115, 1330127118)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.19104766845703 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 21:46:22.390106
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/21/45/image_19012025_21_45_02_390745_0003.jpg', '/home/pi/Desktop/images/19012025/21/46/image_19012025_21_46_02_584125_0000.jpg', '/home/pi/Desktop/images/19012025/21/46/image_19012025_21_46_02_584125_0001.jpg', '/home/pi/Desktop/images/19012025/21/46/image_19012025_21_46_02_584125_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/21/45/image_19012025_21_45_02_390745_0003.jpg
/home/pi/Desktop/images/19012025/21/46/image_19012025_21_46_02_584125_0000.jpg
/home/pi/Desktop/images/19012025/21/46/image_19012025_21_46_02_584125_0001.jpg
/home/pi/Desktop/images/19012025/21/46/image_19012025_21_46_02_584125_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330127128","1330127130","1330127133","1330127136"],"photo_ids_order":["1330127128","1330127130","1330127133","1330127136"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/3e0c2e932c71978cd12740d6e776e6cd.jpg","text":"TemporaryFile(/tmp/multipartBody8037776981075883216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737319653497,"filename":"image_19012025_21_45_02_390745_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/3b6ab910347883577da455ee737bb760.jpg","text":"TemporaryFile(/tmp/multipartBody6710137621451051663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737319653497,"filename":"image_19012025_21_46_02_584125_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/63f68a6f4a16ca0c183af37006bb3ee9.jpg","text":"TemporaryFile(/tmp/multipartBody7239433681644604508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737319653497,"filename":"image_19012025_21_46_02_584125_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/34cd9f931c83d550f2557991171a9f89.jpg","text":"TemporaryFile(/tmp/multipartBody9154961163920535307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737319653497,"filename":"image_19012025_21_46_02_584125_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330127133","file1":"1330127130","file0":"1330127128","file3":"1330127136"},"map_files_photo_id_array":[{"photo_id":"1330127133","filename":"file2"},{"photo_id":"1330127130","filename":"file1"},{"photo_id":"1330127128","filename":"file0"},{"photo_id":"1330127136","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330127128":["hashtag1","hashtag2"]},{"1330127130":["hashtag1","hashtag2"]},{"1330127133":["hashtag1","hashtag2"]},{"1330127136":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330127128, 1330127130, 1330127133, 1330127136)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.542609453201294 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 21:47:03.127127
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 21:47:22.531362
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/21/46/image_19012025_21_46_02_584125_0003.jpg', '/home/pi/Desktop/images/19012025/21/47/image_19012025_21_47_02_752445_0000.jpg', '/home/pi/Desktop/images/19012025/21/47/image_19012025_21_47_02_752445_0001.jpg', '/home/pi/Desktop/images/19012025/21/47/image_19012025_21_47_02_752445_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/21/46/image_19012025_21_46_02_584125_0003.jpg
/home/pi/Desktop/images/19012025/21/47/image_19012025_21_47_02_752445_0000.jpg
/home/pi/Desktop/images/19012025/21/47/image_19012025_21_47_02_752445_0001.jpg
/home/pi/Desktop/images/19012025/21/47/image_19012025_21_47_02_752445_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330127188","1330127193","1330127190","1330127197"],"photo_ids_order":["1330127188","1330127190","1330127193","1330127197"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/ca72f859035596bcf17c6fcfdc9276ce.jpg","text":"TemporaryFile(/tmp/multipartBody3234715008558985610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737319713550,"filename":"image_19012025_21_46_02_584125_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/4be3e1d73f252694a9d6ff1e8651cbc4.jpg","text":"TemporaryFile(/tmp/multipartBody7942299338947327194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737319713550,"filename":"image_19012025_21_47_02_752445_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/bf1942cb927891503780966d9abc9d0d.jpg","text":"TemporaryFile(/tmp/multipartBody2901720501136319400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737319713550,"filename":"image_19012025_21_47_02_752445_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/0b4ab6ba7360d68c181def68f4bb7ea1.jpg","text":"TemporaryFile(/tmp/multipartBody189812750804189169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737319713550,"filename":"image_19012025_21_47_02_752445_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330127193","file1":"1330127190","file0":"1330127188","file3":"1330127197"},"map_files_photo_id_array":[{"photo_id":"1330127193","filename":"file2"},{"photo_id":"1330127190","filename":"file1"},{"photo_id":"1330127188","filename":"file0"},{"photo_id":"1330127197","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330127188":["hashtag1","hashtag2"]},{"1330127193":["hashtag1","hashtag2"]},{"1330127190":["hashtag1","hashtag2"]},{"1330127197":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330127188, 1330127193, 1330127190, 1330127197)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.57692909240723 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 21:48:22.779807
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/21/47/image_19012025_21_47_02_752445_0003.jpg', '/home/pi/Desktop/images/19012025/21/48/image_19012025_21_48_02_825068_0000.jpg', '/home/pi/Desktop/images/19012025/21/48/image_19012025_21_48_02_825068_0001.jpg', '/home/pi/Desktop/images/19012025/21/48/image_19012025_21_48_02_825068_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/21/47/image_19012025_21_47_02_752445_0003.jpg
/home/pi/Desktop/images/19012025/21/48/image_19012025_21_48_02_825068_0000.jpg
/home/pi/Desktop/images/19012025/21/48/image_19012025_21_48_02_825068_0001.jpg
/home/pi/Desktop/images/19012025/21/48/image_19012025_21_48_02_825068_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330127211","1330127214","1330127204","1330127207"],"photo_ids_order":["1330127204","1330127207","1330127211","1330127214"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/ddc9dbba749f716e228391ad8d5c61b8.jpg","text":"TemporaryFile(/tmp/multipartBody2808290859936399948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737319773415,"filename":"image_19012025_21_48_02_825068_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/c985de3b50e0d40eeb5bda94157c4f3c.jpg","text":"TemporaryFile(/tmp/multipartBody6683792275925023184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737319773415,"filename":"image_19012025_21_48_02_825068_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/1dbf1c9b10846ed1fd2da2c69e6b91c1.jpg","text":"TemporaryFile(/tmp/multipartBody792902988948771617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737319773415,"filename":"image_19012025_21_47_02_752445_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/b59d6b81ae0199595dfacb35e3c7632f.jpg","text":"TemporaryFile(/tmp/multipartBody4799749598643461620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737319773415,"filename":"image_19012025_21_48_02_825068_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330127211","file1":"1330127207","file0":"1330127204","file3":"1330127214"},"map_files_photo_id_array":[{"photo_id":"1330127211","filename":"file2"},{"photo_id":"1330127207","filename":"file1"},{"photo_id":"1330127204","filename":"file0"},{"photo_id":"1330127214","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330127211":["hashtag1","hashtag2"]},{"1330127214":["hashtag1","hashtag2"]},{"1330127204":["hashtag1","hashtag2"]},{"1330127207":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330127211, 1330127214, 1330127204, 1330127207)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.444193840026855 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 21:49:02.600193
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 21:49:22.077640
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/21/48/image_19012025_21_48_02_825068_0003.jpg', '/home/pi/Desktop/images/19012025/21/49/image_19012025_21_49_03_081474_0001.jpg', '/home/pi/Desktop/images/19012025/21/49/image_19012025_21_49_03_081474_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/21/48/image_19012025_21_48_02_825068_0003.jpg
/home/pi/Desktop/images/19012025/21/49/image_19012025_21_49_03_081474_0001.jpg
/home/pi/Desktop/images/19012025/21/49/image_19012025_21_49_03_081474_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330127260","1330127257","1330127240"],"photo_ids_order":["1330127240","1330127257","1330127260"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/e878d28ceb471f3cfcbdb38f07b4e101.jpg","text":"TemporaryFile(/tmp/multipartBody4465253564093779553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737319829731,"filename":"image_19012025_21_49_03_081474_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/fd96764dcb242d7e97a6583161b8b807.jpg","text":"TemporaryFile(/tmp/multipartBody1753955746413086026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737319829731,"filename":"image_19012025_21_49_03_081474_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/77588356459d0c2dca46e1885b564d53.jpg","text":"TemporaryFile(/tmp/multipartBody2655979736357065796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737319829731,"filename":"image_19012025_21_48_02_825068_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330127260","file1":"1330127257","file0":"1330127240"},"map_files_photo_id_array":[{"photo_id":"1330127260","filename":"file2"},{"photo_id":"1330127257","filename":"file1"},{"photo_id":"1330127240","filename":"file0"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330127260":["hashtag1","hashtag2"]},{"1330127257":["hashtag1","hashtag2"]},{"1330127240":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330127260, 1330127257, 1330127240)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.017160892486572 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 21:50:02.562269
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 21:50:22.190202
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/21/49/image_19012025_21_49_03_081474_0003.jpg', '/home/pi/Desktop/images/19012025/21/50/image_19012025_21_50_02_317237_0000.jpg', '/home/pi/Desktop/images/19012025/21/50/image_19012025_21_50_02_317237_0001.jpg', '/home/pi/Desktop/images/19012025/21/50/image_19012025_21_50_02_317237_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/21/49/image_19012025_21_49_03_081474_0003.jpg
/home/pi/Desktop/images/19012025/21/50/image_19012025_21_50_02_317237_0000.jpg
/home/pi/Desktop/images/19012025/21/50/image_19012025_21_50_02_317237_0001.jpg
/home/pi/Desktop/images/19012025/21/50/image_19012025_21_50_02_317237_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330127291","1330127294","1330127288","1330127299"],"photo_ids_order":["1330127288","1330127291","1330127294","1330127299"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/dc217249ea57aea242e61fc2eeb541b3.jpg","text":"TemporaryFile(/tmp/multipartBody7766583402620957144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737319892469,"filename":"image_19012025_21_50_02_317237_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/7a235a1db03490f9fde286a1f72a1fd6.jpg","text":"TemporaryFile(/tmp/multipartBody1014865010209905769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737319892469,"filename":"image_19012025_21_50_02_317237_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/ad1f6953eaa1171378d6d273376d2e04.jpg","text":"TemporaryFile(/tmp/multipartBody5101160815556045636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737319892469,"filename":"image_19012025_21_49_03_081474_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/7da830a5f91685f854ee16d17f6c8db9.jpg","text":"TemporaryFile(/tmp/multipartBody2235926950121522727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737319892469,"filename":"image_19012025_21_50_02_317237_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330127294","file1":"1330127291","file0":"1330127288","file3":"1330127299"},"map_files_photo_id_array":[{"photo_id":"1330127294","filename":"file2"},{"photo_id":"1330127291","filename":"file1"},{"photo_id":"1330127288","filename":"file0"},{"photo_id":"1330127299","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330127291":["hashtag1","hashtag2"]},{"1330127294":["hashtag1","hashtag2"]},{"1330127288":["hashtag1","hashtag2"]},{"1330127299":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330127291, 1330127294, 1330127288, 1330127299)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.93378949165344 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 21:51:22.319870
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/21/51/image_19012025_21_51_02_494185_0000.jpg', '/home/pi/Desktop/images/19012025/21/51/image_19012025_21_51_02_494185_0001.jpg', '/home/pi/Desktop/images/19012025/21/51/image_19012025_21_51_02_494185_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/21/51/image_19012025_21_51_02_494185_0000.jpg
/home/pi/Desktop/images/19012025/21/51/image_19012025_21_51_02_494185_0001.jpg
/home/pi/Desktop/images/19012025/21/51/image_19012025_21_51_02_494185_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330127431","1330127441","1330127438"],"photo_ids_order":["1330127431","1330127438","1330127441"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/b821abcfd11a5f11516ebe1099befd24.jpg","text":"TemporaryFile(/tmp/multipartBody6754894914791719193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737319950248,"filename":"image_19012025_21_51_02_494185_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/547dfab6300767945ee0ed18c7364e81.jpg","text":"TemporaryFile(/tmp/multipartBody3627393423562299282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737319950248,"filename":"image_19012025_21_51_02_494185_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/330feb08690e25fd091622d31c503738.jpg","text":"TemporaryFile(/tmp/multipartBody5709094893475419368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737319950248,"filename":"image_19012025_21_51_02_494185_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330127441","file1":"1330127438","file0":"1330127431"},"map_files_photo_id_array":[{"photo_id":"1330127441","filename":"file2"},{"photo_id":"1330127438","filename":"file1"},{"photo_id":"1330127431","filename":"file0"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330127431":["hashtag1","hashtag2"]},{"1330127441":["hashtag1","hashtag2"]},{"1330127438":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330127431, 1330127441, 1330127438)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 29.698230743408203 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 21:52:02.896804
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 21:52:22.526768
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/21/51/image_19012025_21_51_02_494185_0003.jpg', '/home/pi/Desktop/images/19012025/21/52/image_19012025_21_52_02_649998_0000.jpg', '/home/pi/Desktop/images/19012025/21/52/image_19012025_21_52_02_649998_0001.jpg', '/home/pi/Desktop/images/19012025/21/52/image_19012025_21_52_02_649998_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/21/51/image_19012025_21_51_02_494185_0003.jpg
/home/pi/Desktop/images/19012025/21/52/image_19012025_21_52_02_649998_0000.jpg
/home/pi/Desktop/images/19012025/21/52/image_19012025_21_52_02_649998_0001.jpg
/home/pi/Desktop/images/19012025/21/52/image_19012025_21_52_02_649998_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330127584","1330127592","1330127588","1330127581"],"photo_ids_order":["1330127581","1330127584","1330127588","1330127592"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/b6f39178d58d5880eb29f0ab2601a351.jpg","text":"TemporaryFile(/tmp/multipartBody5518868521692840244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737320013231,"filename":"image_19012025_21_52_02_649998_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/d05ef2213f4a4cc76b6900b1bcd3c60f.jpg","text":"TemporaryFile(/tmp/multipartBody7960733098556012530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737320013231,"filename":"image_19012025_21_52_02_649998_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/9de0beb94ffe32a933a147b463624ca0.jpg","text":"TemporaryFile(/tmp/multipartBody6392358382730879481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737320013231,"filename":"image_19012025_21_52_02_649998_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/956a33f8b51677e4d1d4cff14991b757.jpg","text":"TemporaryFile(/tmp/multipartBody5338252114064644103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737320013231,"filename":"image_19012025_21_51_02_494185_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330127588","file1":"1330127584","file0":"1330127581","file3":"1330127592"},"map_files_photo_id_array":[{"photo_id":"1330127588","filename":"file2"},{"photo_id":"1330127584","filename":"file1"},{"photo_id":"1330127581","filename":"file0"},{"photo_id":"1330127592","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330127584":["hashtag1","hashtag2"]},{"1330127592":["hashtag1","hashtag2"]},{"1330127588":["hashtag1","hashtag2"]},{"1330127581":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330127584, 1330127592, 1330127588, 1330127581)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.00637245178223 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 21:53:22.642732
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/21/52/image_19012025_21_52_02_649998_0003.jpg', '/home/pi/Desktop/images/19012025/21/53/image_19012025_21_53_02_814685_0000.jpg', '/home/pi/Desktop/images/19012025/21/53/image_19012025_21_53_02_814685_0001.jpg', '/home/pi/Desktop/images/19012025/21/53/image_19012025_21_53_02_814685_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/21/52/image_19012025_21_52_02_649998_0003.jpg
/home/pi/Desktop/images/19012025/21/53/image_19012025_21_53_02_814685_0000.jpg
/home/pi/Desktop/images/19012025/21/53/image_19012025_21_53_02_814685_0001.jpg
/home/pi/Desktop/images/19012025/21/53/image_19012025_21_53_02_814685_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330127605","1330127608","1330127754","1330127637"],"photo_ids_order":["1330127605","1330127608","1330127637","1330127754"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/a4c5759326b8ffdc10bea65a8a8b3ba6.jpg","text":"TemporaryFile(/tmp/multipartBody4926197908975303516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737320073628,"filename":"image_19012025_21_52_02_649998_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/364a5f108e1af94582add5d79b8fc235.jpg","text":"TemporaryFile(/tmp/multipartBody8575747198496257944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737320073628,"filename":"image_19012025_21_53_02_814685_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/f4693f6991ed830cdcac4c03ccb3fa86.jpg","text":"TemporaryFile(/tmp/multipartBody8831804163713759152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737320073628,"filename":"image_19012025_21_53_02_814685_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/eaeb11b1191c1f979abd58e1ad0ed4ae.jpg","text":"TemporaryFile(/tmp/multipartBody4166052775212933981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737320073628,"filename":"image_19012025_21_53_02_814685_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330127637","file1":"1330127608","file0":"1330127605","file3":"1330127754"},"map_files_photo_id_array":[{"photo_id":"1330127637","filename":"file2"},{"photo_id":"1330127608","filename":"file1"},{"photo_id":"1330127605","filename":"file0"},{"photo_id":"1330127754","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330127605":["hashtag1","hashtag2"]},{"1330127608":["hashtag1","hashtag2"]},{"1330127754":["hashtag1","hashtag2"]},{"1330127637":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330127605, 1330127608, 1330127754, 1330127637)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.21188044548035 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 21:54:21.793701
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/21/53/image_19012025_21_53_02_814685_0003.jpg', '/home/pi/Desktop/images/19012025/21/54/image_19012025_21_54_03_031622_0000.jpg', '/home/pi/Desktop/images/19012025/21/54/image_19012025_21_54_03_031622_0001.jpg', '/home/pi/Desktop/images/19012025/21/54/image_19012025_21_54_03_031622_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/21/53/image_19012025_21_53_02_814685_0003.jpg
/home/pi/Desktop/images/19012025/21/54/image_19012025_21_54_03_031622_0000.jpg
/home/pi/Desktop/images/19012025/21/54/image_19012025_21_54_03_031622_0001.jpg
/home/pi/Desktop/images/19012025/21/54/image_19012025_21_54_03_031622_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.347421884536743 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-19 21:54:41.850748
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/21/53/image_19012025_21_53_02_814685_0003.jpg', '/home/pi/Desktop/images/19012025/21/54/image_19012025_21_54_03_031622_0000.jpg', '/home/pi/Desktop/images/19012025/21/54/image_19012025_21_54_03_031622_0001.jpg', '/home/pi/Desktop/images/19012025/21/54/image_19012025_21_54_03_031622_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/21/53/image_19012025_21_53_02_814685_0003.jpg
/home/pi/Desktop/images/19012025/21/54/image_19012025_21_54_03_031622_0000.jpg
/home/pi/Desktop/images/19012025/21/54/image_19012025_21_54_03_031622_0001.jpg
/home/pi/Desktop/images/19012025/21/54/image_19012025_21_54_03_031622_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":["1330129470","1330129481","1330129495","1330129468"],"photo_ids_order":["1330129468","1330129470","1330129481","1330129495"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/2047efe21382779d582f004b480a97c6.jpg","text":"TemporaryFile(/tmp/multipartBody7383133146528405194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737320152587,"filename":"image_19012025_21_54_03_031622_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/7868e333900cf4488e63aa96c41b277c.jpg","text":"TemporaryFile(/tmp/multipartBody4705179436594767096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737320152587,"filename":"image_19012025_21_54_03_031622_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/ccfd88607c7a3d2f913dc7b340287c5f.jpg","text":"TemporaryFile(/tmp/multipartBody8258791160246870298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737320152587,"filename":"image_19012025_21_54_03_031622_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/6f70dbdba50028e1956a283f8629d47f.jpg","text":"TemporaryFile(/tmp/multipartBody4748786302829454871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737320152587,"filename":"image_19012025_21_53_02_814685_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330129481","file1":"1330129470","file0":"1330129468","file3":"1330129495"},"map_files_photo_id_array":[{"photo_id":"1330129481","filename":"file2"},{"photo_id":"1330129470","filename":"file1"},{"photo_id":"1330129468","filename":"file0"},{"photo_id":"1330129495","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330129470":["hashtag1","hashtag2"]},{"1330129481":["hashtag1","hashtag2"]},{"1330129495":["hashtag1","hashtag2"]},{"1330129468":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330129470, 1330129481, 1330129495, 1330129468)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.05541968345642 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 21:55:21.944674
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/21/54/image_19012025_21_54_03_031622_0003.jpg', '/home/pi/Desktop/images/19012025/21/55/image_19012025_21_55_02_173386_0000.jpg', '/home/pi/Desktop/images/19012025/21/55/image_19012025_21_55_02_173386_0001.jpg', '/home/pi/Desktop/images/19012025/21/55/image_19012025_21_55_02_173386_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/21/54/image_19012025_21_54_03_031622_0003.jpg
/home/pi/Desktop/images/19012025/21/55/image_19012025_21_55_02_173386_0000.jpg
/home/pi/Desktop/images/19012025/21/55/image_19012025_21_55_02_173386_0001.jpg
/home/pi/Desktop/images/19012025/21/55/image_19012025_21_55_02_173386_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330129524","1330129520","1330129513","1330129516"],"photo_ids_order":["1330129513","1330129516","1330129520","1330129524"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/bb5cf96614fc88a6b2253af8425768d1.jpg","text":"TemporaryFile(/tmp/multipartBody8746771580005660611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737320192629,"filename":"image_19012025_21_55_02_173386_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/6d407fba0a38219a3a450b5eb666095e.jpg","text":"TemporaryFile(/tmp/multipartBody1194171796096532260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737320192629,"filename":"image_19012025_21_55_02_173386_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/018a0ffa4eaa12065064ce16d0dc5626.jpg","text":"TemporaryFile(/tmp/multipartBody8621608128881426527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737320192629,"filename":"image_19012025_21_54_03_031622_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/d39527bdc08cacc490ac5e73834e6d74.jpg","text":"TemporaryFile(/tmp/multipartBody2554552432020491953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737320192629,"filename":"image_19012025_21_55_02_173386_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330129520","file1":"1330129516","file0":"1330129513","file3":"1330129524"},"map_files_photo_id_array":[{"photo_id":"1330129520","filename":"file2"},{"photo_id":"1330129516","filename":"file1"},{"photo_id":"1330129513","filename":"file0"},{"photo_id":"1330129524","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330129524":["hashtag1","hashtag2"]},{"1330129520":["hashtag1","hashtag2"]},{"1330129513":["hashtag1","hashtag2"]},{"1330129516":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330129524, 1330129520, 1330129513, 1330129516)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.065266370773315 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 21:56:02.487513
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 21:56:22.084206
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/21/55/image_19012025_21_55_02_173386_0003.jpg', '/home/pi/Desktop/images/19012025/21/56/image_19012025_21_56_02_293897_0000.jpg', '/home/pi/Desktop/images/19012025/21/56/image_19012025_21_56_02_293897_0001.jpg', '/home/pi/Desktop/images/19012025/21/56/image_19012025_21_56_02_293897_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/21/55/image_19012025_21_55_02_173386_0003.jpg
/home/pi/Desktop/images/19012025/21/56/image_19012025_21_56_02_293897_0000.jpg
/home/pi/Desktop/images/19012025/21/56/image_19012025_21_56_02_293897_0001.jpg
/home/pi/Desktop/images/19012025/21/56/image_19012025_21_56_02_293897_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330129749","1330129694","1330130112","1330129537"],"photo_ids_order":["1330129537","1330129694","1330129749","1330130112"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/b4f3fda50269a978f1939b9a1cceb535.jpg","text":"TemporaryFile(/tmp/multipartBody7452203099674554712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737320252637,"filename":"image_19012025_21_56_02_293897_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/b6c5cbb543dce27f7aa054caba932f22.jpg","text":"TemporaryFile(/tmp/multipartBody909138366954993220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737320252637,"filename":"image_19012025_21_56_02_293897_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/566bab92a8f7784d17ae869d3ce7b1c6.jpg","text":"TemporaryFile(/tmp/multipartBody8761041591901559358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737320252637,"filename":"image_19012025_21_56_02_293897_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/e6b338afbfb2290483c9e976cbf8e2cd.jpg","text":"TemporaryFile(/tmp/multipartBody896059508488366973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737320252637,"filename":"image_19012025_21_55_02_173386_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330129749","file1":"1330129694","file0":"1330129537","file3":"1330130112"},"map_files_photo_id_array":[{"photo_id":"1330129749","filename":"file2"},{"photo_id":"1330129694","filename":"file1"},{"photo_id":"1330129537","filename":"file0"},{"photo_id":"1330130112","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330129749":["hashtag1","hashtag2"]},{"1330129694":["hashtag1","hashtag2"]},{"1330130112":["hashtag1","hashtag2"]},{"1330129537":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330129749, 1330129694, 1330130112, 1330129537)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.26803946495056 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 21:57:02.866909
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 21:57:22.228389
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/21/56/image_19012025_21_56_02_293897_0003.jpg', '/home/pi/Desktop/images/19012025/21/57/image_19012025_21_57_02_438126_0000.jpg', '/home/pi/Desktop/images/19012025/21/57/image_19012025_21_57_02_438126_0001.jpg', '/home/pi/Desktop/images/19012025/21/57/image_19012025_21_57_02_438126_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/21/56/image_19012025_21_56_02_293897_0003.jpg
/home/pi/Desktop/images/19012025/21/57/image_19012025_21_57_02_438126_0000.jpg
/home/pi/Desktop/images/19012025/21/57/image_19012025_21_57_02_438126_0001.jpg
/home/pi/Desktop/images/19012025/21/57/image_19012025_21_57_02_438126_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-19 21:59:03.320503
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/21/56/image_19012025_21_56_02_293897_0003.jpg', '/home/pi/Desktop/images/19012025/21/57/image_19012025_21_57_02_438126_0000.jpg', '/home/pi/Desktop/images/19012025/21/57/image_19012025_21_57_02_438126_0001.jpg', '/home/pi/Desktop/images/19012025/21/57/image_19012025_21_57_02_438126_0002.jpg', '/home/pi/Desktop/images/19012025/21/57/image_19012025_21_57_02_438126_0003.jpg', '/home/pi/Desktop/images/19012025/21/58/image_19012025_21_58_02_605661_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/21/56/image_19012025_21_56_02_293897_0003.jpg
/home/pi/Desktop/images/19012025/21/57/image_19012025_21_57_02_438126_0000.jpg
/home/pi/Desktop/images/19012025/21/57/image_19012025_21_57_02_438126_0001.jpg
/home/pi/Desktop/images/19012025/21/57/image_19012025_21_57_02_438126_0002.jpg
/home/pi/Desktop/images/19012025/21/57/image_19012025_21_57_02_438126_0003.jpg
/home/pi/Desktop/images/19012025/21/58/image_19012025_21_58_02_605661_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: 16.540846347808838 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 21:59:22.687428
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/21/56/image_19012025_21_56_02_293897_0003.jpg', '/home/pi/Desktop/images/19012025/21/57/image_19012025_21_57_02_438126_0000.jpg', '/home/pi/Desktop/images/19012025/21/57/image_19012025_21_57_02_438126_0001.jpg', '/home/pi/Desktop/images/19012025/21/57/image_19012025_21_57_02_438126_0002.jpg', '/home/pi/Desktop/images/19012025/21/57/image_19012025_21_57_02_438126_0003.jpg', '/home/pi/Desktop/images/19012025/21/58/image_19012025_21_58_02_605661_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/21/56/image_19012025_21_56_02_293897_0003.jpg
/home/pi/Desktop/images/19012025/21/57/image_19012025_21_57_02_438126_0000.jpg
/home/pi/Desktop/images/19012025/21/57/image_19012025_21_57_02_438126_0001.jpg
/home/pi/Desktop/images/19012025/21/57/image_19012025_21_57_02_438126_0002.jpg
/home/pi/Desktop/images/19012025/21/57/image_19012025_21_57_02_438126_0003.jpg
/home/pi/Desktop/images/19012025/21/58/image_19012025_21_58_02_605661_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":["1330130885","1330130882","1330130879","1330130870","1330130887","1330130875"],"photo_ids_order":["1330130870","1330130875","1330130879","1330130882","1330130885","1330130887"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/5aee2703cdb6d218ebad17d6b2fc033c.jpg","text":"TemporaryFile(/tmp/multipartBody646526362042094618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737320439548,"filename":"image_19012025_21_57_02_438126_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/f8b066dbb014c275310a84cdb0a078cd.jpg","text":"TemporaryFile(/tmp/multipartBody4872084936100003962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737320439548,"filename":"image_19012025_21_57_02_438126_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/2385cc503d416dd162997d449046a39c.jpg","text":"TemporaryFile(/tmp/multipartBody5877057798130964315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737320439548,"filename":"image_19012025_21_57_02_438126_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/030b994027665bd14c75071657f9019a.jpg","text":"TemporaryFile(/tmp/multipartBody8358291053154601461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737320439548,"filename":"image_19012025_21_56_02_293897_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/db5e970ebda14b00afd477df83e1ae3d.jpg","text":"TemporaryFile(/tmp/multipartBody2335043775806082776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737320439548,"filename":"image_19012025_21_58_02_605661_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/cfce28dca11aca505101400b29c4c4a4.jpg","text":"TemporaryFile(/tmp/multipartBody5727022571752764155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737320439548,"filename":"image_19012025_21_57_02_438126_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330130879","file1":"1330130875","file0":"1330130870","file4":"1330130885","file5":"1330130887","file3":"1330130882"},"map_files_photo_id_array":[{"photo_id":"1330130887","filename":"file5"},{"photo_id":"1330130879","filename":"file2"},{"photo_id":"1330130885","filename":"file4"},{"photo_id":"1330130875","filename":"file1"},{"photo_id":"1330130870","filename":"file0"},{"photo_id":"1330130882","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330130885":["hashtag1","hashtag2"]},{"1330130882":["hashtag1","hashtag2"]},{"1330130879":["hashtag1","hashtag2"]},{"1330130870":["hashtag1","hashtag2"]},{"1330130887":["hashtag1","hashtag2"]},{"1330130875":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330130885, 1330130882, 1330130879, 1330130870, 1330130887, 1330130875)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.66693091392517 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-19 22:00:32.783899
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/21/58/image_19012025_21_58_02_605661_0001.jpg', '/home/pi/Desktop/images/19012025/21/58/image_19012025_21_58_02_605661_0002.jpg', '/home/pi/Desktop/images/19012025/21/58/image_19012025_21_58_02_605661_0003.jpg', '/home/pi/Desktop/images/19012025/21/59/image_19012025_21_59_02_804081_0000.jpg', '/home/pi/Desktop/images/19012025/21/59/image_19012025_21_59_02_804081_0001.jpg', '/home/pi/Desktop/images/19012025/21/59/image_19012025_21_59_02_804081_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/21/58/image_19012025_21_58_02_605661_0001.jpg
/home/pi/Desktop/images/19012025/21/58/image_19012025_21_58_02_605661_0002.jpg
/home/pi/Desktop/images/19012025/21/58/image_19012025_21_58_02_605661_0003.jpg
/home/pi/Desktop/images/19012025/21/59/image_19012025_21_59_02_804081_0000.jpg
/home/pi/Desktop/images/19012025/21/59/image_19012025_21_59_02_804081_0001.jpg
/home/pi/Desktop/images/19012025/21/59/image_19012025_21_59_02_804081_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330131884","1330131878","1330131341","1330131880","1330131622","1330131882"],"photo_ids_order":["1330131341","1330131622","1330131878","1330131880","1330131882","1330131884"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/9ce0ad795e2663970c05d296219d0bc5.jpg","text":"TemporaryFile(/tmp/multipartBody3322135516244611031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737320509387,"filename":"image_19012025_21_59_02_804081_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/56f4a5ea5a7b4c358658c38dc6f4777b.jpg","text":"TemporaryFile(/tmp/multipartBody6442320801020756686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737320509387,"filename":"image_19012025_21_58_02_605661_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/efc2d1a5b6b3ed690145064ef301dcb9.jpg","text":"TemporaryFile(/tmp/multipartBody365963550731067397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737320509387,"filename":"image_19012025_21_58_02_605661_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/eae9407ba12f0cf2b4ae890bbe5863c7.jpg","text":"TemporaryFile(/tmp/multipartBody7965616931843451973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737320509387,"filename":"image_19012025_21_59_02_804081_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/f2494201509d2edc18b59eb6a5eda174.jpg","text":"TemporaryFile(/tmp/multipartBody2758449664643434054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737320509387,"filename":"image_19012025_21_58_02_605661_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/d72adafefad89985c92b357c74c6b420.jpg","text":"TemporaryFile(/tmp/multipartBody3424893301038199120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737320509387,"filename":"image_19012025_21_59_02_804081_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330131878","file1":"1330131622","file0":"1330131341","file4":"1330131882","file5":"1330131884","file3":"1330131880"},"map_files_photo_id_array":[{"photo_id":"1330131884","filename":"file5"},{"photo_id":"1330131878","filename":"file2"},{"photo_id":"1330131882","filename":"file4"},{"photo_id":"1330131622","filename":"file1"},{"photo_id":"1330131341","filename":"file0"},{"photo_id":"1330131880","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330131884":["hashtag1","hashtag2"]},{"1330131878":["hashtag1","hashtag2"]},{"1330131341":["hashtag1","hashtag2"]},{"1330131880":["hashtag1","hashtag2"]},{"1330131622":["hashtag1","hashtag2"]},{"1330131882":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330131884, 1330131878, 1330131341, 1330131880, 1330131622, 1330131882)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.04454970359802 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-19 22:01:31.924690
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/21/59/image_19012025_21_59_02_804081_0003.jpg', '/home/pi/Desktop/images/19012025/22/00/image_19012025_22_00_02_956816_0000.jpg', '/home/pi/Desktop/images/19012025/22/00/image_19012025_22_00_02_956816_0001.jpg', '/home/pi/Desktop/images/19012025/22/00/image_19012025_22_00_02_956816_0002.jpg', '/home/pi/Desktop/images/19012025/22/00/image_19012025_22_00_02_956816_0003.jpg', '/home/pi/Desktop/images/19012025/22/01/image_19012025_22_01_03_139325_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/21/59/image_19012025_21_59_02_804081_0003.jpg
/home/pi/Desktop/images/19012025/22/00/image_19012025_22_00_02_956816_0000.jpg
/home/pi/Desktop/images/19012025/22/00/image_19012025_22_00_02_956816_0001.jpg
/home/pi/Desktop/images/19012025/22/00/image_19012025_22_00_02_956816_0002.jpg
/home/pi/Desktop/images/19012025/22/00/image_19012025_22_00_02_956816_0003.jpg
/home/pi/Desktop/images/19012025/22/01/image_19012025_22_01_03_139325_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":["1330131918","1330131899","1330132180","1330132182","1330132191","1330132041"],"photo_ids_order":["1330131899","1330131918","1330132041","1330132180","1330132182","1330132191"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/a1fca4669928b3da69b7fb91168ee987.jpg","text":"TemporaryFile(/tmp/multipartBody1069855533676510695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737320567678,"filename":"image_19012025_22_00_02_956816_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/129061bc2f8fc59b04d3e32e4bafbe13.jpg","text":"TemporaryFile(/tmp/multipartBody3684101740818819504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737320567678,"filename":"image_19012025_21_59_02_804081_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/a7ca4730baaa5e2692074a8609b84ba2.jpg","text":"TemporaryFile(/tmp/multipartBody3330998049363296630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737320567678,"filename":"image_19012025_22_00_02_956816_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/ed6599f7d0ff7380193361f9a82697b6.jpg","text":"TemporaryFile(/tmp/multipartBody3500850185017687565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737320567678,"filename":"image_19012025_22_00_02_956816_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/d3b68923ab775f4c2c7a163282995050.jpg","text":"TemporaryFile(/tmp/multipartBody3701301056463706639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737320567678,"filename":"image_19012025_22_01_03_139325_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/3d230718789c06bdaee03dcf328e24d5.jpg","text":"TemporaryFile(/tmp/multipartBody3826286690360114330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737320567678,"filename":"image_19012025_22_00_02_956816_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330132041","file1":"1330131918","file0":"1330131899","file4":"1330132182","file5":"1330132191","file3":"1330132180"},"map_files_photo_id_array":[{"photo_id":"1330132191","filename":"file5"},{"photo_id":"1330132041","filename":"file2"},{"photo_id":"1330132182","filename":"file4"},{"photo_id":"1330131918","filename":"file1"},{"photo_id":"1330131899","filename":"file0"},{"photo_id":"1330132180","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330131918":["hashtag1","hashtag2"]},{"1330131899":["hashtag1","hashtag2"]},{"1330132180":["hashtag1","hashtag2"]},{"1330132182":["hashtag1","hashtag2"]},{"1330132191":["hashtag1","hashtag2"]},{"1330132041":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330131918, 1330131899, 1330132180, 1330132182, 1330132191, 1330132041)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.636375427246094 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-19 22:02:32.076299
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/22/01/image_19012025_22_01_03_139325_0001.jpg', '/home/pi/Desktop/images/19012025/22/01/image_19012025_22_01_03_139325_0002.jpg', '/home/pi/Desktop/images/19012025/22/01/image_19012025_22_01_03_139325_0003.jpg', '/home/pi/Desktop/images/19012025/22/02/image_19012025_22_02_02_317034_0000.jpg', '/home/pi/Desktop/images/19012025/22/02/image_19012025_22_02_02_317034_0001.jpg', '/home/pi/Desktop/images/19012025/22/02/image_19012025_22_02_02_317034_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/22/01/image_19012025_22_01_03_139325_0001.jpg
/home/pi/Desktop/images/19012025/22/01/image_19012025_22_01_03_139325_0002.jpg
/home/pi/Desktop/images/19012025/22/01/image_19012025_22_01_03_139325_0003.jpg
/home/pi/Desktop/images/19012025/22/02/image_19012025_22_02_02_317034_0000.jpg
/home/pi/Desktop/images/19012025/22/02/image_19012025_22_02_02_317034_0001.jpg
/home/pi/Desktop/images/19012025/22/02/image_19012025_22_02_02_317034_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330132274","1330132277","1330132279","1330132270","1330132276","1330132272"],"photo_ids_order":["1330132270","1330132272","1330132274","1330132276","1330132277","1330132279"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/8483c1f9a2a9e34a37b0d1f9f0b97a56.jpg","text":"TemporaryFile(/tmp/multipartBody4741036051681441321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737320627837,"filename":"image_19012025_22_01_03_139325_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/a9211fa3aca988fcaf2029b88fdddc6d.jpg","text":"TemporaryFile(/tmp/multipartBody7341030403940454784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737320627837,"filename":"image_19012025_22_02_02_317034_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/992b51c43f0f726c73d778c6954c2e31.jpg","text":"TemporaryFile(/tmp/multipartBody7358045512086114223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737320627837,"filename":"image_19012025_22_02_02_317034_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/f8a03c1d95a08ede1ea7e888eded80c2.jpg","text":"TemporaryFile(/tmp/multipartBody821922839125343023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737320627837,"filename":"image_19012025_22_01_03_139325_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/607d8e7165c506e5a41fb22cbcf46410.jpg","text":"TemporaryFile(/tmp/multipartBody3287253307299366950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737320627837,"filename":"image_19012025_22_02_02_317034_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/44ff76d5b1af8029237cd8092b5a7409.jpg","text":"TemporaryFile(/tmp/multipartBody4658809968992406386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737320627837,"filename":"image_19012025_22_01_03_139325_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330132274","file1":"1330132272","file0":"1330132270","file4":"1330132277","file5":"1330132279","file3":"1330132276"},"map_files_photo_id_array":[{"photo_id":"1330132279","filename":"file5"},{"photo_id":"1330132274","filename":"file2"},{"photo_id":"1330132277","filename":"file4"},{"photo_id":"1330132272","filename":"file1"},{"photo_id":"1330132270","filename":"file0"},{"photo_id":"1330132276","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330132274":["hashtag1","hashtag2"]},{"1330132277":["hashtag1","hashtag2"]},{"1330132279":["hashtag1","hashtag2"]},{"1330132270":["hashtag1","hashtag2"]},{"1330132276":["hashtag1","hashtag2"]},{"1330132272":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330132274, 1330132277, 1330132279, 1330132270, 1330132276, 1330132272)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.682049036026 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-19 22:03:32.301015
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/22/02/image_19012025_22_02_02_317034_0003.jpg', '/home/pi/Desktop/images/19012025/22/03/image_19012025_22_03_02_492141_0000.jpg', '/home/pi/Desktop/images/19012025/22/03/image_19012025_22_03_02_492141_0001.jpg', '/home/pi/Desktop/images/19012025/22/03/image_19012025_22_03_02_492141_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/22/02/image_19012025_22_02_02_317034_0003.jpg
/home/pi/Desktop/images/19012025/22/03/image_19012025_22_03_02_492141_0000.jpg
/home/pi/Desktop/images/19012025/22/03/image_19012025_22_03_02_492141_0001.jpg
/home/pi/Desktop/images/19012025/22/03/image_19012025_22_03_02_492141_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330132292","1330132298","1330132294","1330132296"],"photo_ids_order":["1330132292","1330132294","1330132296","1330132298"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/e16ec82722502ba3159a7a67b7b3b56d.jpg","text":"TemporaryFile(/tmp/multipartBody7790344207177293368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737320683321,"filename":"image_19012025_22_02_02_317034_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/7f5d83b3465b866908095b51c4869293.jpg","text":"TemporaryFile(/tmp/multipartBody6618899223347872942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737320683321,"filename":"image_19012025_22_03_02_492141_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/973cbc44c8a19cf6817b9fe3fce0946a.jpg","text":"TemporaryFile(/tmp/multipartBody2375867409703161791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737320683321,"filename":"image_19012025_22_03_02_492141_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/6c5cc91513b81c61b76d3f36471d65f7.jpg","text":"TemporaryFile(/tmp/multipartBody7584793899655801361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737320683321,"filename":"image_19012025_22_03_02_492141_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330132296","file1":"1330132294","file0":"1330132292","file3":"1330132298"},"map_files_photo_id_array":[{"photo_id":"1330132296","filename":"file2"},{"photo_id":"1330132294","filename":"file1"},{"photo_id":"1330132292","filename":"file0"},{"photo_id":"1330132298","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330132292":["hashtag1","hashtag2"]},{"1330132298":["hashtag1","hashtag2"]},{"1330132294":["hashtag1","hashtag2"]},{"1330132296":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330132292, 1330132298, 1330132294, 1330132296)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.43244671821594 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 22:04:22.558026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/22/03/image_19012025_22_03_02_492141_0003.jpg', '/home/pi/Desktop/images/19012025/22/04/image_19012025_22_04_02_665029_0000.jpg', '/home/pi/Desktop/images/19012025/22/04/image_19012025_22_04_02_665029_0001.jpg', '/home/pi/Desktop/images/19012025/22/04/image_19012025_22_04_02_665029_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/22/03/image_19012025_22_03_02_492141_0003.jpg
/home/pi/Desktop/images/19012025/22/04/image_19012025_22_04_02_665029_0000.jpg
/home/pi/Desktop/images/19012025/22/04/image_19012025_22_04_02_665029_0001.jpg
/home/pi/Desktop/images/19012025/22/04/image_19012025_22_04_02_665029_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330132351","1330132348","1330132344","1330132326"],"photo_ids_order":["1330132326","1330132344","1330132348","1330132351"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/c6adc68fc22ee28af701b79fc78098a3.jpg","text":"TemporaryFile(/tmp/multipartBody5566079780309417229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737320733615,"filename":"image_19012025_22_04_02_665029_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/7ca935aafdee88592fee30bd9f577636.jpg","text":"TemporaryFile(/tmp/multipartBody7279291349056644167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737320733615,"filename":"image_19012025_22_04_02_665029_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/87b631f78037da9e5254386ea8732014.jpg","text":"TemporaryFile(/tmp/multipartBody3376056877065340500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737320733615,"filename":"image_19012025_22_04_02_665029_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/8efcc7183e2aeca4f00cadc3634379d1.jpg","text":"TemporaryFile(/tmp/multipartBody1380584836890935869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737320733615,"filename":"image_19012025_22_03_02_492141_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330132348","file1":"1330132344","file0":"1330132326","file3":"1330132351"},"map_files_photo_id_array":[{"photo_id":"1330132348","filename":"file2"},{"photo_id":"1330132344","filename":"file1"},{"photo_id":"1330132326","filename":"file0"},{"photo_id":"1330132351","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330132351":["hashtag1","hashtag2"]},{"1330132348":["hashtag1","hashtag2"]},{"1330132344":["hashtag1","hashtag2"]},{"1330132326":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330132351, 1330132348, 1330132344, 1330132326)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.553446531295776 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 22:05:03.587652
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 22:05:22.705730
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/22/04/image_19012025_22_04_02_665029_0003.jpg', '/home/pi/Desktop/images/19012025/22/05/image_19012025_22_05_02_869544_0000.jpg', '/home/pi/Desktop/images/19012025/22/05/image_19012025_22_05_02_869544_0001.jpg', '/home/pi/Desktop/images/19012025/22/05/image_19012025_22_05_02_869544_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/22/04/image_19012025_22_04_02_665029_0003.jpg
/home/pi/Desktop/images/19012025/22/05/image_19012025_22_05_02_869544_0000.jpg
/home/pi/Desktop/images/19012025/22/05/image_19012025_22_05_02_869544_0001.jpg
/home/pi/Desktop/images/19012025/22/05/image_19012025_22_05_02_869544_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330132436","1330133102","1330132802","1330133100"],"photo_ids_order":["1330132436","1330132802","1330133100","1330133102"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/370a99b38e09df2fb08de5ad84072407.jpg","text":"TemporaryFile(/tmp/multipartBody5813484521213065431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737320793624,"filename":"image_19012025_22_04_02_665029_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/90642a86c03737275eaa884162687489.jpg","text":"TemporaryFile(/tmp/multipartBody5309963457311772326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737320793624,"filename":"image_19012025_22_05_02_869544_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/7230910758d51f16e3b56fb2a53247ff.jpg","text":"TemporaryFile(/tmp/multipartBody2525805315622935849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737320793624,"filename":"image_19012025_22_05_02_869544_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/1cccaf0cd20022c3bd9866bff599f152.jpg","text":"TemporaryFile(/tmp/multipartBody2334002949991442595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737320793624,"filename":"image_19012025_22_05_02_869544_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330133100","file1":"1330132802","file0":"1330132436","file3":"1330133102"},"map_files_photo_id_array":[{"photo_id":"1330133100","filename":"file2"},{"photo_id":"1330132802","filename":"file1"},{"photo_id":"1330132436","filename":"file0"},{"photo_id":"1330133102","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330132436":["hashtag1","hashtag2"]},{"1330133102":["hashtag1","hashtag2"]},{"1330132802":["hashtag1","hashtag2"]},{"1330133100":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330132436, 1330133102, 1330132802, 1330133100)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.99731397628784 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 22:06:21.883705
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/22/05/image_19012025_22_05_02_869544_0003.jpg', '/home/pi/Desktop/images/19012025/22/06/image_19012025_22_06_03_093286_0000.jpg', '/home/pi/Desktop/images/19012025/22/06/image_19012025_22_06_03_093286_0001.jpg', '/home/pi/Desktop/images/19012025/22/06/image_19012025_22_06_03_093286_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/22/05/image_19012025_22_05_02_869544_0003.jpg
/home/pi/Desktop/images/19012025/22/06/image_19012025_22_06_03_093286_0000.jpg
/home/pi/Desktop/images/19012025/22/06/image_19012025_22_06_03_093286_0001.jpg
/home/pi/Desktop/images/19012025/22/06/image_19012025_22_06_03_093286_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330134316","1330133299","1330133574","1330133948"],"photo_ids_order":["1330133299","1330133574","1330133948","1330134316"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/85e1b98c67b04f9d09c58da36ec1a2af.jpg","text":"TemporaryFile(/tmp/multipartBody4330318856459179295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737320852304,"filename":"image_19012025_22_06_03_093286_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/35cc84ed6590881e132cef817b050910.jpg","text":"TemporaryFile(/tmp/multipartBody2985481669543259935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737320852304,"filename":"image_19012025_22_05_02_869544_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/ef9c2f84209a10045993399dcdf7df83.jpg","text":"TemporaryFile(/tmp/multipartBody1184592708490427434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737320852304,"filename":"image_19012025_22_06_03_093286_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/eb5598fe1fa1b72b1be13eeee636cf4a.jpg","text":"TemporaryFile(/tmp/multipartBody5498105459352367866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737320852304,"filename":"image_19012025_22_06_03_093286_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330133948","file1":"1330133574","file0":"1330133299","file3":"1330134316"},"map_files_photo_id_array":[{"photo_id":"1330133948","filename":"file2"},{"photo_id":"1330133574","filename":"file1"},{"photo_id":"1330133299","filename":"file0"},{"photo_id":"1330134316","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330134316":["hashtag1","hashtag2"]},{"1330133299":["hashtag1","hashtag2"]},{"1330133574":["hashtag1","hashtag2"]},{"1330133948":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330134316, 1330133299, 1330133574, 1330133948)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.46925401687622 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 22:07:02.674223
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 22:07:22.096316
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/22/06/image_19012025_22_06_03_093286_0003.jpg', '/home/pi/Desktop/images/19012025/22/07/image_19012025_22_07_02_361822_0000.jpg', '/home/pi/Desktop/images/19012025/22/07/image_19012025_22_07_02_361822_0001.jpg', '/home/pi/Desktop/images/19012025/22/07/image_19012025_22_07_02_361822_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/22/06/image_19012025_22_06_03_093286_0003.jpg
/home/pi/Desktop/images/19012025/22/07/image_19012025_22_07_02_361822_0000.jpg
/home/pi/Desktop/images/19012025/22/07/image_19012025_22_07_02_361822_0001.jpg
/home/pi/Desktop/images/19012025/22/07/image_19012025_22_07_02_361822_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330134574","1330134576","1330134572","1330134578"],"photo_ids_order":["1330134572","1330134574","1330134576","1330134578"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/07c2c37bb65e442cb516865777800edf.jpg","text":"TemporaryFile(/tmp/multipartBody9067362231118584261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737320912711,"filename":"image_19012025_22_07_02_361822_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/1d08f121f3551e2d820c93edd1d2379b.jpg","text":"TemporaryFile(/tmp/multipartBody5406654863948944145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737320912711,"filename":"image_19012025_22_07_02_361822_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/f458a35c5e194809643bbb483d974404.jpg","text":"TemporaryFile(/tmp/multipartBody1143209894168850659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737320912711,"filename":"image_19012025_22_06_03_093286_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/9c432f9951b3f824a190e1053cb448fc.jpg","text":"TemporaryFile(/tmp/multipartBody2470847935933539522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737320912711,"filename":"image_19012025_22_07_02_361822_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330134576","file1":"1330134574","file0":"1330134572","file3":"1330134578"},"map_files_photo_id_array":[{"photo_id":"1330134576","filename":"file2"},{"photo_id":"1330134574","filename":"file1"},{"photo_id":"1330134572","filename":"file0"},{"photo_id":"1330134578","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330134574":["hashtag1","hashtag2"]},{"1330134576":["hashtag1","hashtag2"]},{"1330134572":["hashtag1","hashtag2"]},{"1330134578":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330134574, 1330134576, 1330134572, 1330134578)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.069440603256226 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 22:08:22.243756
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/22/07/image_19012025_22_07_02_361822_0003.jpg', '/home/pi/Desktop/images/19012025/22/08/image_19012025_22_08_02_399776_0000.jpg', '/home/pi/Desktop/images/19012025/22/08/image_19012025_22_08_02_399776_0001.jpg', '/home/pi/Desktop/images/19012025/22/08/image_19012025_22_08_02_399776_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/22/07/image_19012025_22_07_02_361822_0003.jpg
/home/pi/Desktop/images/19012025/22/08/image_19012025_22_08_02_399776_0000.jpg
/home/pi/Desktop/images/19012025/22/08/image_19012025_22_08_02_399776_0001.jpg
/home/pi/Desktop/images/19012025/22/08/image_19012025_22_08_02_399776_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.246745824813843 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-19 22:08:42.250953
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/22/07/image_19012025_22_07_02_361822_0003.jpg', '/home/pi/Desktop/images/19012025/22/08/image_19012025_22_08_02_399776_0000.jpg', '/home/pi/Desktop/images/19012025/22/08/image_19012025_22_08_02_399776_0001.jpg', '/home/pi/Desktop/images/19012025/22/08/image_19012025_22_08_02_399776_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/22/07/image_19012025_22_07_02_361822_0003.jpg
/home/pi/Desktop/images/19012025/22/08/image_19012025_22_08_02_399776_0000.jpg
/home/pi/Desktop/images/19012025/22/08/image_19012025_22_08_02_399776_0001.jpg
/home/pi/Desktop/images/19012025/22/08/image_19012025_22_08_02_399776_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":["1330135261","1330135204","1330135259","1330135244"],"photo_ids_order":["1330135204","1330135244","1330135259","1330135261"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/16a7ea2ab9e55a071365b8a322aebf51.jpg","text":"TemporaryFile(/tmp/multipartBody8704338014992298745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737320992916,"filename":"image_19012025_22_08_02_399776_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/fbabb1b97e4168e720465277f6cbe377.jpg","text":"TemporaryFile(/tmp/multipartBody1021237600284421784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737320992916,"filename":"image_19012025_22_07_02_361822_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/2bbd5a606b12f9b9fde096d5ab50ec48.jpg","text":"TemporaryFile(/tmp/multipartBody8020020286552044329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737320992916,"filename":"image_19012025_22_08_02_399776_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/cb8acee9783236aaacc40ae53bf34470.jpg","text":"TemporaryFile(/tmp/multipartBody7425179730673329412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737320992916,"filename":"image_19012025_22_08_02_399776_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330135259","file1":"1330135244","file0":"1330135204","file3":"1330135261"},"map_files_photo_id_array":[{"photo_id":"1330135259","filename":"file2"},{"photo_id":"1330135244","filename":"file1"},{"photo_id":"1330135204","filename":"file0"},{"photo_id":"1330135261","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330135261":["hashtag1","hashtag2"]},{"1330135204":["hashtag1","hashtag2"]},{"1330135259":["hashtag1","hashtag2"]},{"1330135244":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330135261, 1330135204, 1330135259, 1330135244)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.43255543708801 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 22:09:22.407487
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/22/08/image_19012025_22_08_02_399776_0003.jpg', '/home/pi/Desktop/images/19012025/22/09/image_19012025_22_09_02_641058_0000.jpg', '/home/pi/Desktop/images/19012025/22/09/image_19012025_22_09_02_641058_0001.jpg', '/home/pi/Desktop/images/19012025/22/09/image_19012025_22_09_02_641058_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/22/08/image_19012025_22_08_02_399776_0003.jpg
/home/pi/Desktop/images/19012025/22/09/image_19012025_22_09_02_641058_0000.jpg
/home/pi/Desktop/images/19012025/22/09/image_19012025_22_09_02_641058_0001.jpg
/home/pi/Desktop/images/19012025/22/09/image_19012025_22_09_02_641058_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330135266","1330135292","1330135295","1330135288"],"photo_ids_order":["1330135266","1330135288","1330135292","1330135295"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/0f8b972ba9c7753fefde3dc09155f40d.jpg","text":"TemporaryFile(/tmp/multipartBody7048890086567918901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737321033436,"filename":"image_19012025_22_08_02_399776_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/bd43895edbbde7447c454ebdb310cbba.jpg","text":"TemporaryFile(/tmp/multipartBody2716378977032914607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737321033436,"filename":"image_19012025_22_09_02_641058_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/4a755ac8d433883469e8e34505ff8beb.jpg","text":"TemporaryFile(/tmp/multipartBody5850338333355020808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737321033436,"filename":"image_19012025_22_09_02_641058_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/1e2a0a807c8a1ed86c2a790b46699647.jpg","text":"TemporaryFile(/tmp/multipartBody7212894485444358759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737321033436,"filename":"image_19012025_22_09_02_641058_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330135292","file1":"1330135288","file0":"1330135266","file3":"1330135295"},"map_files_photo_id_array":[{"photo_id":"1330135292","filename":"file2"},{"photo_id":"1330135288","filename":"file1"},{"photo_id":"1330135266","filename":"file0"},{"photo_id":"1330135295","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330135266":["hashtag1","hashtag2"]},{"1330135292":["hashtag1","hashtag2"]},{"1330135295":["hashtag1","hashtag2"]},{"1330135288":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330135266, 1330135292, 1330135295, 1330135288)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.61443495750427 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 22:10:03.178935
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 22:10:22.672706
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/22/09/image_19012025_22_09_02_641058_0003.jpg', '/home/pi/Desktop/images/19012025/22/10/image_19012025_22_10_02_845751_0000.jpg', '/home/pi/Desktop/images/19012025/22/10/image_19012025_22_10_02_845751_0001.jpg', '/home/pi/Desktop/images/19012025/22/10/image_19012025_22_10_02_845751_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/22/09/image_19012025_22_09_02_641058_0003.jpg
/home/pi/Desktop/images/19012025/22/10/image_19012025_22_10_02_845751_0000.jpg
/home/pi/Desktop/images/19012025/22/10/image_19012025_22_10_02_845751_0001.jpg
/home/pi/Desktop/images/19012025/22/10/image_19012025_22_10_02_845751_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330135350","1330135344","1330135347","1330135341"],"photo_ids_order":["1330135341","1330135344","1330135347","1330135350"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/0dcbf642d5eab956e2cf488171838d74.jpg","text":"TemporaryFile(/tmp/multipartBody5278685357129785106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737321093856,"filename":"image_19012025_22_10_02_845751_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/a76d302bbd013c098325daa27225e26e.jpg","text":"TemporaryFile(/tmp/multipartBody7635243124474264929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737321093856,"filename":"image_19012025_22_10_02_845751_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/e00d3e825f377232ba96d897a7f019b2.jpg","text":"TemporaryFile(/tmp/multipartBody6877161097386319802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737321093856,"filename":"image_19012025_22_10_02_845751_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/0c0c060bf2fe48b8640fbdbf4ee374c6.jpg","text":"TemporaryFile(/tmp/multipartBody4502041908441751751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737321093856,"filename":"image_19012025_22_09_02_641058_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330135347","file1":"1330135344","file0":"1330135341","file3":"1330135350"},"map_files_photo_id_array":[{"photo_id":"1330135347","filename":"file2"},{"photo_id":"1330135344","filename":"file1"},{"photo_id":"1330135341","filename":"file0"},{"photo_id":"1330135350","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330135350":["hashtag1","hashtag2"]},{"1330135344":["hashtag1","hashtag2"]},{"1330135347":["hashtag1","hashtag2"]},{"1330135341":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330135350, 1330135344, 1330135347, 1330135341)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.46160626411438 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 22:11:02.401924
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 22:11:21.901768
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/22/10/image_19012025_22_10_02_845751_0003.jpg', '/home/pi/Desktop/images/19012025/22/11/image_19012025_22_11_02_988356_0000.jpg', '/home/pi/Desktop/images/19012025/22/11/image_19012025_22_11_02_988356_0001.jpg', '/home/pi/Desktop/images/19012025/22/11/image_19012025_22_11_02_988356_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/22/10/image_19012025_22_10_02_845751_0003.jpg
/home/pi/Desktop/images/19012025/22/11/image_19012025_22_11_02_988356_0000.jpg
/home/pi/Desktop/images/19012025/22/11/image_19012025_22_11_02_988356_0001.jpg
/home/pi/Desktop/images/19012025/22/11/image_19012025_22_11_02_988356_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330135575","1330135578","1330135580","1330135582"],"photo_ids_order":["1330135575","1330135578","1330135580","1330135582"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/fc269a950c1e820da5a9164e82d51f94.jpg","text":"TemporaryFile(/tmp/multipartBody6529396847657290039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737321152684,"filename":"image_19012025_22_10_02_845751_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/2e942901bb3b23987c59726232c250aa.jpg","text":"TemporaryFile(/tmp/multipartBody332359914409580480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737321152684,"filename":"image_19012025_22_11_02_988356_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/aabf272c98b914e7555327e75005d913.jpg","text":"TemporaryFile(/tmp/multipartBody2538014677477559918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737321152684,"filename":"image_19012025_22_11_02_988356_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/c215d345da255eeb91d8d7f01a46d14a.jpg","text":"TemporaryFile(/tmp/multipartBody418790159227624957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737321152684,"filename":"image_19012025_22_11_02_988356_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330135580","file1":"1330135578","file0":"1330135575","file3":"1330135582"},"map_files_photo_id_array":[{"photo_id":"1330135580","filename":"file2"},{"photo_id":"1330135578","filename":"file1"},{"photo_id":"1330135575","filename":"file0"},{"photo_id":"1330135582","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330135575":["hashtag1","hashtag2"]},{"1330135578":["hashtag1","hashtag2"]},{"1330135580":["hashtag1","hashtag2"]},{"1330135582":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330135575, 1330135578, 1330135580, 1330135582)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.01232409477234 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 22:12:21.984159
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/22/11/image_19012025_22_11_02_988356_0003.jpg', '/home/pi/Desktop/images/19012025/22/12/image_19012025_22_12_02_229984_0000.jpg', '/home/pi/Desktop/images/19012025/22/12/image_19012025_22_12_02_229984_0001.jpg', '/home/pi/Desktop/images/19012025/22/12/image_19012025_22_12_02_229984_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/22/11/image_19012025_22_11_02_988356_0003.jpg
/home/pi/Desktop/images/19012025/22/12/image_19012025_22_12_02_229984_0000.jpg
/home/pi/Desktop/images/19012025/22/12/image_19012025_22_12_02_229984_0001.jpg
/home/pi/Desktop/images/19012025/22/12/image_19012025_22_12_02_229984_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330135600","1330135593","1330135589","1330135597"],"photo_ids_order":["1330135589","1330135593","1330135597","1330135600"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/25dcd8c4275664a893d004f7a6d22f89.jpg","text":"TemporaryFile(/tmp/multipartBody1838860727382065440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737321212665,"filename":"image_19012025_22_12_02_229984_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/247ac3cbc72e10b010d4de3f78e22fbb.jpg","text":"TemporaryFile(/tmp/multipartBody1830259810070294836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737321212665,"filename":"image_19012025_22_12_02_229984_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/2d8db1b280929f689513196d04e5db2b.jpg","text":"TemporaryFile(/tmp/multipartBody5702064909628811650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737321212665,"filename":"image_19012025_22_11_02_988356_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/ceb8cd25d1451228774fa4c7d3e1367d.jpg","text":"TemporaryFile(/tmp/multipartBody3923135486154885102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737321212665,"filename":"image_19012025_22_12_02_229984_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330135597","file1":"1330135593","file0":"1330135589","file3":"1330135600"},"map_files_photo_id_array":[{"photo_id":"1330135597","filename":"file2"},{"photo_id":"1330135593","filename":"file1"},{"photo_id":"1330135589","filename":"file0"},{"photo_id":"1330135600","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330135600":["hashtag1","hashtag2"]},{"1330135593":["hashtag1","hashtag2"]},{"1330135589":["hashtag1","hashtag2"]},{"1330135597":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330135600, 1330135593, 1330135589, 1330135597)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.15561294555664 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 22:13:22.153894
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/22/12/image_19012025_22_12_02_229984_0003.jpg', '/home/pi/Desktop/images/19012025/22/13/image_19012025_22_13_02_337913_0000.jpg', '/home/pi/Desktop/images/19012025/22/13/image_19012025_22_13_02_337913_0001.jpg', '/home/pi/Desktop/images/19012025/22/13/image_19012025_22_13_02_337913_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/22/12/image_19012025_22_12_02_229984_0003.jpg
/home/pi/Desktop/images/19012025/22/13/image_19012025_22_13_02_337913_0000.jpg
/home/pi/Desktop/images/19012025/22/13/image_19012025_22_13_02_337913_0001.jpg
/home/pi/Desktop/images/19012025/22/13/image_19012025_22_13_02_337913_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330135726","1330135705","1330135720","1330135724"],"photo_ids_order":["1330135705","1330135720","1330135724","1330135726"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/aa84468de1fafde123398bc376e0f4df.jpg","text":"TemporaryFile(/tmp/multipartBody3795101470440866124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737321272833,"filename":"image_19012025_22_13_02_337913_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/bc2ce9f91b25f94543de21f038efe997.jpg","text":"TemporaryFile(/tmp/multipartBody4720966928265927764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737321272833,"filename":"image_19012025_22_12_02_229984_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/fb290061ada31017d6aee28230e301a9.jpg","text":"TemporaryFile(/tmp/multipartBody6277045324171058626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737321272833,"filename":"image_19012025_22_13_02_337913_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/a3cfe877dc3d47d7089842acbf538324.jpg","text":"TemporaryFile(/tmp/multipartBody3388119197501774734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737321272833,"filename":"image_19012025_22_13_02_337913_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330135724","file1":"1330135720","file0":"1330135705","file3":"1330135726"},"map_files_photo_id_array":[{"photo_id":"1330135724","filename":"file2"},{"photo_id":"1330135720","filename":"file1"},{"photo_id":"1330135705","filename":"file0"},{"photo_id":"1330135726","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330135726":["hashtag1","hashtag2"]},{"1330135705":["hashtag1","hashtag2"]},{"1330135720":["hashtag1","hashtag2"]},{"1330135724":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330135726, 1330135705, 1330135720, 1330135724)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.54792332649231 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 22:14:02.750643
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 22:14:22.360738
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/22/13/image_19012025_22_13_02_337913_0003.jpg', '/home/pi/Desktop/images/19012025/22/14/image_19012025_22_14_02_571338_0000.jpg', '/home/pi/Desktop/images/19012025/22/14/image_19012025_22_14_02_571338_0001.jpg', '/home/pi/Desktop/images/19012025/22/14/image_19012025_22_14_02_571338_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/22/13/image_19012025_22_13_02_337913_0003.jpg
/home/pi/Desktop/images/19012025/22/14/image_19012025_22_14_02_571338_0000.jpg
/home/pi/Desktop/images/19012025/22/14/image_19012025_22_14_02_571338_0001.jpg
/home/pi/Desktop/images/19012025/22/14/image_19012025_22_14_02_571338_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330135842","1330135844","1330135753","1330135840"],"photo_ids_order":["1330135753","1330135840","1330135842","1330135844"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/37d403ce247e7b01aa286457bdd28635.jpg","text":"TemporaryFile(/tmp/multipartBody539153043117080591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737321333193,"filename":"image_19012025_22_14_02_571338_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/e5092dc9450f44cc62252ca8885f9198.jpg","text":"TemporaryFile(/tmp/multipartBody8184734584053750735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737321333193,"filename":"image_19012025_22_14_02_571338_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/44be88a17a0b2e7623ef54b775a011a1.jpg","text":"TemporaryFile(/tmp/multipartBody8307410978576469440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737321333193,"filename":"image_19012025_22_13_02_337913_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/8976deef3bd87564e48791c951df61e7.jpg","text":"TemporaryFile(/tmp/multipartBody7665329908234327491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737321333193,"filename":"image_19012025_22_14_02_571338_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330135842","file1":"1330135840","file0":"1330135753","file3":"1330135844"},"map_files_photo_id_array":[{"photo_id":"1330135842","filename":"file2"},{"photo_id":"1330135840","filename":"file1"},{"photo_id":"1330135753","filename":"file0"},{"photo_id":"1330135844","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330135842":["hashtag1","hashtag2"]},{"1330135844":["hashtag1","hashtag2"]},{"1330135753":["hashtag1","hashtag2"]},{"1330135840":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330135842, 1330135844, 1330135753, 1330135840)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.209301471710205 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 22:15:22.534781
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/22/14/image_19012025_22_14_02_571338_0003.jpg', '/home/pi/Desktop/images/19012025/22/15/image_19012025_22_15_02_766742_0000.jpg', '/home/pi/Desktop/images/19012025/22/15/image_19012025_22_15_02_766742_0001.jpg', '/home/pi/Desktop/images/19012025/22/15/image_19012025_22_15_02_766742_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/22/14/image_19012025_22_14_02_571338_0003.jpg
/home/pi/Desktop/images/19012025/22/15/image_19012025_22_15_02_766742_0000.jpg
/home/pi/Desktop/images/19012025/22/15/image_19012025_22_15_02_766742_0001.jpg
/home/pi/Desktop/images/19012025/22/15/image_19012025_22_15_02_766742_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330135854","1330135848","1330135850","1330135852"],"photo_ids_order":["1330135848","1330135850","1330135852","1330135854"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/01379d89a777843a6c0685cd64df56f1.jpg","text":"TemporaryFile(/tmp/multipartBody1434873864567435001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737321393032,"filename":"image_19012025_22_15_02_766742_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/44a84c8ca95037c6039ad1e153742dbf.jpg","text":"TemporaryFile(/tmp/multipartBody3543711879823873272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737321393032,"filename":"image_19012025_22_14_02_571338_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/07de3cc6515712c9dca449ee8148906e.jpg","text":"TemporaryFile(/tmp/multipartBody7684643149110620673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737321393032,"filename":"image_19012025_22_15_02_766742_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/96004887067241fce1c929d8236c153c.jpg","text":"TemporaryFile(/tmp/multipartBody5009891019807357161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737321393032,"filename":"image_19012025_22_15_02_766742_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330135852","file1":"1330135850","file0":"1330135848","file3":"1330135854"},"map_files_photo_id_array":[{"photo_id":"1330135852","filename":"file2"},{"photo_id":"1330135850","filename":"file1"},{"photo_id":"1330135848","filename":"file0"},{"photo_id":"1330135854","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330135854":["hashtag1","hashtag2"]},{"1330135848":["hashtag1","hashtag2"]},{"1330135850":["hashtag1","hashtag2"]},{"1330135852":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330135854, 1330135848, 1330135850, 1330135852)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.55424880981445 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 22:16:03.203180
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 22:16:22.846589
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/22/15/image_19012025_22_15_02_766742_0003.jpg', '/home/pi/Desktop/images/19012025/22/16/image_19012025_22_16_02_925417_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/22/15/image_19012025_22_15_02_766742_0003.jpg
/home/pi/Desktop/images/19012025/22/16/image_19012025_22_16_02_925417_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":["1330135893","1330135892"],"photo_ids_order":["1330135892","1330135893"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/991618e6e512b98f2593591b022bdef1.jpg","text":"TemporaryFile(/tmp/multipartBody3957702598567121116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737321448023,"filename":"image_19012025_22_16_02_925417_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/e7768215ad2171b686bbfef534e5f1b4.jpg","text":"TemporaryFile(/tmp/multipartBody6172818429500810337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737321448023,"filename":"image_19012025_22_15_02_766742_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1330135893","file0":"1330135892"},"map_files_photo_id_array":[{"photo_id":"1330135893","filename":"file1"},{"photo_id":"1330135892","filename":"file0"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330135893":["hashtag1","hashtag2"]},{"1330135892":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330135893, 1330135892)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 22.285800218582153 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-19 22:16:52.753642
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 22:17:02.439159
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 22:17:21.942296
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-19 22:17:31.913164
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-19 22:17:41.969584
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-19 22:17:51.925645
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 22:18:02.560652
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 22:18:22.256566
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/22/17/image_19012025_22_17_03_132883_0003.jpg', '/home/pi/Desktop/images/19012025/22/18/image_19012025_22_18_02_283540_0000.jpg', '/home/pi/Desktop/images/19012025/22/18/image_19012025_22_18_02_283540_0001.jpg', '/home/pi/Desktop/images/19012025/22/18/image_19012025_22_18_02_283540_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/22/17/image_19012025_22_17_03_132883_0003.jpg
/home/pi/Desktop/images/19012025/22/18/image_19012025_22_18_02_283540_0000.jpg
/home/pi/Desktop/images/19012025/22/18/image_19012025_22_18_02_283540_0001.jpg
/home/pi/Desktop/images/19012025/22/18/image_19012025_22_18_02_283540_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330135918","1330135920","1330135914","1330135916"],"photo_ids_order":["1330135914","1330135916","1330135918","1330135920"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/dbc40a09cb2924284c33930e007d59af.jpg","text":"TemporaryFile(/tmp/multipartBody2976720399114374600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737321572040,"filename":"image_19012025_22_18_02_283540_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/02bc456abd976b8f2a26fdf4e181fa59.jpg","text":"TemporaryFile(/tmp/multipartBody7999692096228357604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737321572040,"filename":"image_19012025_22_18_02_283540_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/84057aea81f7191334e9b50be6ddc221.jpg","text":"TemporaryFile(/tmp/multipartBody2843226240044746935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737321572040,"filename":"image_19012025_22_17_03_132883_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/9b62131dbe8d98e6868fba15c1b4e3e0.jpg","text":"TemporaryFile(/tmp/multipartBody7507632009861168520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737321572040,"filename":"image_19012025_22_18_02_283540_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330135918","file1":"1330135916","file0":"1330135914","file3":"1330135920"},"map_files_photo_id_array":[{"photo_id":"1330135918","filename":"file2"},{"photo_id":"1330135916","filename":"file1"},{"photo_id":"1330135914","filename":"file0"},{"photo_id":"1330135920","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330135918":["hashtag1","hashtag2"]},{"1330135920":["hashtag1","hashtag2"]},{"1330135914":["hashtag1","hashtag2"]},{"1330135916":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330135918, 1330135920, 1330135914, 1330135916)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.835731983184814 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 22:19:02.880656
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 22:19:22.282683
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/22/18/image_19012025_22_18_02_283540_0003.jpg', '/home/pi/Desktop/images/19012025/22/19/image_19012025_22_19_02_537603_0000.jpg', '/home/pi/Desktop/images/19012025/22/19/image_19012025_22_19_02_537603_0001.jpg', '/home/pi/Desktop/images/19012025/22/19/image_19012025_22_19_02_537603_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/22/18/image_19012025_22_18_02_283540_0003.jpg
/home/pi/Desktop/images/19012025/22/19/image_19012025_22_19_02_537603_0000.jpg
/home/pi/Desktop/images/19012025/22/19/image_19012025_22_19_02_537603_0001.jpg
/home/pi/Desktop/images/19012025/22/19/image_19012025_22_19_02_537603_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330135962","1330135967","1330135964","1330135960"],"photo_ids_order":["1330135960","1330135962","1330135964","1330135967"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/2c8d8f62c0a0212c67d0f4a7cdf9f1b4.jpg","text":"TemporaryFile(/tmp/multipartBody8077212706476621432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737321632980,"filename":"image_19012025_22_19_02_537603_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/9e9f09f6fb0f25f0e24dfb4017a31ca2.jpg","text":"TemporaryFile(/tmp/multipartBody1944519162388408623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737321632980,"filename":"image_19012025_22_19_02_537603_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/6fc0543c2d41e325d5badbd676f16309.jpg","text":"TemporaryFile(/tmp/multipartBody1906785428657090765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737321632980,"filename":"image_19012025_22_19_02_537603_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/10df3176aff1c8884481115da20e692e.jpg","text":"TemporaryFile(/tmp/multipartBody6149279472322986674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737321632980,"filename":"image_19012025_22_18_02_283540_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330135964","file1":"1330135962","file0":"1330135960","file3":"1330135967"},"map_files_photo_id_array":[{"photo_id":"1330135964","filename":"file2"},{"photo_id":"1330135962","filename":"file1"},{"photo_id":"1330135960","filename":"file0"},{"photo_id":"1330135967","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330135962":["hashtag1","hashtag2"]},{"1330135967":["hashtag1","hashtag2"]},{"1330135964":["hashtag1","hashtag2"]},{"1330135960":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330135962, 1330135967, 1330135964, 1330135960)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.03668808937073 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 22:20:22.556777
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/22/19/image_19012025_22_19_02_537603_0003.jpg', '/home/pi/Desktop/images/19012025/22/20/image_19012025_22_20_02_665073_0000.jpg', '/home/pi/Desktop/images/19012025/22/20/image_19012025_22_20_02_665073_0001.jpg', '/home/pi/Desktop/images/19012025/22/20/image_19012025_22_20_02_665073_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/22/19/image_19012025_22_19_02_537603_0003.jpg
/home/pi/Desktop/images/19012025/22/20/image_19012025_22_20_02_665073_0000.jpg
/home/pi/Desktop/images/19012025/22/20/image_19012025_22_20_02_665073_0001.jpg
/home/pi/Desktop/images/19012025/22/20/image_19012025_22_20_02_665073_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.139155149459839 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-19 22:20:42.520774
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/22/19/image_19012025_22_19_02_537603_0003.jpg', '/home/pi/Desktop/images/19012025/22/20/image_19012025_22_20_02_665073_0000.jpg', '/home/pi/Desktop/images/19012025/22/20/image_19012025_22_20_02_665073_0001.jpg', '/home/pi/Desktop/images/19012025/22/20/image_19012025_22_20_02_665073_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/22/19/image_19012025_22_19_02_537603_0003.jpg
/home/pi/Desktop/images/19012025/22/20/image_19012025_22_20_02_665073_0000.jpg
/home/pi/Desktop/images/19012025/22/20/image_19012025_22_20_02_665073_0001.jpg
/home/pi/Desktop/images/19012025/22/20/image_19012025_22_20_02_665073_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":["1330135980","1330135983","1330135982","1330135978"],"photo_ids_order":["1330135978","1330135980","1330135982","1330135983"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/c45021f081c2398a189c893129f7699a.jpg","text":"TemporaryFile(/tmp/multipartBody7569381158684018941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737321713060,"filename":"image_19012025_22_20_02_665073_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/2226aa5496b83292f32694a9b2b56dc0.jpg","text":"TemporaryFile(/tmp/multipartBody2266320052162720778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737321713060,"filename":"image_19012025_22_20_02_665073_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/81e15e5efc581b8ba0000fb782143021.jpg","text":"TemporaryFile(/tmp/multipartBody5441611543158230552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737321713060,"filename":"image_19012025_22_20_02_665073_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/e30b93f39fe2a3ee5715ad2abf3295ca.jpg","text":"TemporaryFile(/tmp/multipartBody3668189123918026382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737321713060,"filename":"image_19012025_22_19_02_537603_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330135982","file1":"1330135980","file0":"1330135978","file3":"1330135983"},"map_files_photo_id_array":[{"photo_id":"1330135982","filename":"file2"},{"photo_id":"1330135980","filename":"file1"},{"photo_id":"1330135978","filename":"file0"},{"photo_id":"1330135983","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330135980":["hashtag1","hashtag2"]},{"1330135983":["hashtag1","hashtag2"]},{"1330135982":["hashtag1","hashtag2"]},{"1330135978":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330135980, 1330135983, 1330135982, 1330135978)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.16185688972473 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 22:21:22.694443
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/22/20/image_19012025_22_20_02_665073_0003.jpg', '/home/pi/Desktop/images/19012025/22/21/image_19012025_22_21_02_827562_0000.jpg', '/home/pi/Desktop/images/19012025/22/21/image_19012025_22_21_02_827562_0001.jpg', '/home/pi/Desktop/images/19012025/22/21/image_19012025_22_21_02_827562_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/22/20/image_19012025_22_20_02_665073_0003.jpg
/home/pi/Desktop/images/19012025/22/21/image_19012025_22_21_02_827562_0000.jpg
/home/pi/Desktop/images/19012025/22/21/image_19012025_22_21_02_827562_0001.jpg
/home/pi/Desktop/images/19012025/22/21/image_19012025_22_21_02_827562_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330135986","1330135988","1330135990","1330135984"],"photo_ids_order":["1330135984","1330135986","1330135988","1330135990"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/05d293c4e014d1951e1a6bf882b9f642.jpg","text":"TemporaryFile(/tmp/multipartBody6487581446933588742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737321753884,"filename":"image_19012025_22_21_02_827562_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/6ccacac718ca0f11db2144db53bfb918.jpg","text":"TemporaryFile(/tmp/multipartBody5676976644259062411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737321753884,"filename":"image_19012025_22_21_02_827562_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/e88c0b85dc7c24c6b16ef07a7c53f54c.jpg","text":"TemporaryFile(/tmp/multipartBody660306483864743857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737321753884,"filename":"image_19012025_22_21_02_827562_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/d6a119697ee95f917736c2177e589629.jpg","text":"TemporaryFile(/tmp/multipartBody8675055844410155233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737321753884,"filename":"image_19012025_22_20_02_665073_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330135988","file1":"1330135986","file0":"1330135984","file3":"1330135990"},"map_files_photo_id_array":[{"photo_id":"1330135988","filename":"file2"},{"photo_id":"1330135986","filename":"file1"},{"photo_id":"1330135984","filename":"file0"},{"photo_id":"1330135990","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330135986":["hashtag1","hashtag2"]},{"1330135988":["hashtag1","hashtag2"]},{"1330135990":["hashtag1","hashtag2"]},{"1330135984":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330135986, 1330135988, 1330135990, 1330135984)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.069910526275635 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 22:22:22.820361
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/22/21/image_19012025_22_21_02_827562_0003.jpg', '/home/pi/Desktop/images/19012025/22/22/image_19012025_22_22_03_073218_0000.jpg', '/home/pi/Desktop/images/19012025/22/22/image_19012025_22_22_03_073218_0001.jpg', '/home/pi/Desktop/images/19012025/22/22/image_19012025_22_22_03_073218_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/22/21/image_19012025_22_21_02_827562_0003.jpg
/home/pi/Desktop/images/19012025/22/22/image_19012025_22_22_03_073218_0000.jpg
/home/pi/Desktop/images/19012025/22/22/image_19012025_22_22_03_073218_0001.jpg
/home/pi/Desktop/images/19012025/22/22/image_19012025_22_22_03_073218_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330136031","1330136033","1330136027","1330136029"],"photo_ids_order":["1330136027","1330136029","1330136031","1330136033"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/5b9a401efe8386bc07420c30d5b12627.jpg","text":"TemporaryFile(/tmp/multipartBody884523716406498686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737321813688,"filename":"image_19012025_22_22_03_073218_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/7183c571e394023296e342323e5010a0.jpg","text":"TemporaryFile(/tmp/multipartBody8707658204060749980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737321813688,"filename":"image_19012025_22_22_03_073218_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/2ab1523dfa4fff66a46a33b3e4f6ccb8.jpg","text":"TemporaryFile(/tmp/multipartBody6750209704657766091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737321813688,"filename":"image_19012025_22_21_02_827562_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/c933a9e7ae2db2500d00ae4f0449ef5a.jpg","text":"TemporaryFile(/tmp/multipartBody4594739874781700411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737321813688,"filename":"image_19012025_22_22_03_073218_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330136031","file1":"1330136029","file0":"1330136027","file3":"1330136033"},"map_files_photo_id_array":[{"photo_id":"1330136031","filename":"file2"},{"photo_id":"1330136029","filename":"file1"},{"photo_id":"1330136027","filename":"file0"},{"photo_id":"1330136033","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330136031":["hashtag1","hashtag2"]},{"1330136033":["hashtag1","hashtag2"]},{"1330136027":["hashtag1","hashtag2"]},{"1330136029":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330136031, 1330136033, 1330136027, 1330136029)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.30655574798584 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 22:23:02.563877
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 22:23:21.850601
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/22/22/image_19012025_22_22_03_073218_0003.jpg', '/home/pi/Desktop/images/19012025/22/23/image_19012025_22_23_03_158411_0000.jpg', '/home/pi/Desktop/images/19012025/22/23/image_19012025_22_23_03_158411_0001.jpg', '/home/pi/Desktop/images/19012025/22/23/image_19012025_22_23_03_158411_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/22/22/image_19012025_22_22_03_073218_0003.jpg
/home/pi/Desktop/images/19012025/22/23/image_19012025_22_23_03_158411_0000.jpg
/home/pi/Desktop/images/19012025/22/23/image_19012025_22_23_03_158411_0001.jpg
/home/pi/Desktop/images/19012025/22/23/image_19012025_22_23_03_158411_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330136079","1330136081","1330136083","1330136077"],"photo_ids_order":["1330136077","1330136079","1330136081","1330136083"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/cb45631bd10d9d928aca24e7639b0f61.jpg","text":"TemporaryFile(/tmp/multipartBody2211295953609827967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737321872601,"filename":"image_19012025_22_23_03_158411_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/63c1119c869f7df7b83b8a44841a8666.jpg","text":"TemporaryFile(/tmp/multipartBody2732980881833901518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737321872601,"filename":"image_19012025_22_23_03_158411_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/b7462ee59390bcf2fd5d42bf15c9b5c6.jpg","text":"TemporaryFile(/tmp/multipartBody1764510357464469399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737321872601,"filename":"image_19012025_22_23_03_158411_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/d010c07167789d09a1f52413c3e575ba.jpg","text":"TemporaryFile(/tmp/multipartBody250241833369992464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737321872601,"filename":"image_19012025_22_22_03_073218_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330136081","file1":"1330136079","file0":"1330136077","file3":"1330136083"},"map_files_photo_id_array":[{"photo_id":"1330136081","filename":"file2"},{"photo_id":"1330136079","filename":"file1"},{"photo_id":"1330136077","filename":"file0"},{"photo_id":"1330136083","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330136079":["hashtag1","hashtag2"]},{"1330136081":["hashtag1","hashtag2"]},{"1330136083":["hashtag1","hashtag2"]},{"1330136077":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330136079, 1330136081, 1330136083, 1330136077)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.372549533843994 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 22:24:22.175464
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/22/23/image_19012025_22_23_03_158411_0003.jpg', '/home/pi/Desktop/images/19012025/22/24/image_19012025_22_24_02_293965_0000.jpg', '/home/pi/Desktop/images/19012025/22/24/image_19012025_22_24_02_293965_0001.jpg', '/home/pi/Desktop/images/19012025/22/24/image_19012025_22_24_02_293965_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/22/23/image_19012025_22_23_03_158411_0003.jpg
/home/pi/Desktop/images/19012025/22/24/image_19012025_22_24_02_293965_0000.jpg
/home/pi/Desktop/images/19012025/22/24/image_19012025_22_24_02_293965_0001.jpg
/home/pi/Desktop/images/19012025/22/24/image_19012025_22_24_02_293965_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330136214","1330136149","1330136199","1330136091"],"photo_ids_order":["1330136091","1330136149","1330136199","1330136214"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/8a0bf90a63d1a1fa17b13408ac49a2dd.jpg","text":"TemporaryFile(/tmp/multipartBody8724309800700081095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737321932977,"filename":"image_19012025_22_24_02_293965_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/65cdaf05bb6ef4ad557d7ee1af393cc5.jpg","text":"TemporaryFile(/tmp/multipartBody2980786335960485377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737321932977,"filename":"image_19012025_22_24_02_293965_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/f1ab7cd2e7eac9e6115993219270f1f5.jpg","text":"TemporaryFile(/tmp/multipartBody6026772682596349441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737321932977,"filename":"image_19012025_22_24_02_293965_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/d0c6513c192fc83786acb5330e662f2a.jpg","text":"TemporaryFile(/tmp/multipartBody622711959430624455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737321932977,"filename":"image_19012025_22_23_03_158411_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330136199","file1":"1330136149","file0":"1330136091","file3":"1330136214"},"map_files_photo_id_array":[{"photo_id":"1330136199","filename":"file2"},{"photo_id":"1330136149","filename":"file1"},{"photo_id":"1330136091","filename":"file0"},{"photo_id":"1330136214","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330136214":["hashtag1","hashtag2"]},{"1330136149":["hashtag1","hashtag2"]},{"1330136199":["hashtag1","hashtag2"]},{"1330136091":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330136214, 1330136149, 1330136199, 1330136091)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.379239320755005 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 22:25:03.018170
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 22:25:22.385221
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/22/24/image_19012025_22_24_02_293965_0003.jpg', '/home/pi/Desktop/images/19012025/22/25/image_19012025_22_25_02_440752_0000.jpg', '/home/pi/Desktop/images/19012025/22/25/image_19012025_22_25_02_440752_0001.jpg', '/home/pi/Desktop/images/19012025/22/25/image_19012025_22_25_02_440752_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/22/24/image_19012025_22_24_02_293965_0003.jpg
/home/pi/Desktop/images/19012025/22/25/image_19012025_22_25_02_440752_0000.jpg
/home/pi/Desktop/images/19012025/22/25/image_19012025_22_25_02_440752_0001.jpg
/home/pi/Desktop/images/19012025/22/25/image_19012025_22_25_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! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330136253","1330136255","1330136258","1330136257"],"photo_ids_order":["1330136253","1330136255","1330136257","1330136258"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/ba7ce27c64dbee623250fd4cd6a143e5.jpg","text":"TemporaryFile(/tmp/multipartBody8929455707103909262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737321993518,"filename":"image_19012025_22_24_02_293965_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/cc9f02cdfb16739ab2889b30012b507e.jpg","text":"TemporaryFile(/tmp/multipartBody7893917436652127866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737321993518,"filename":"image_19012025_22_25_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/19/3f30a0e119ffc7aaf1561c9e8f57be2c.jpg","text":"TemporaryFile(/tmp/multipartBody5054304541028508533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737321993518,"filename":"image_19012025_22_25_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/19/52bda2900f83f467767c329bc6c582e5.jpg","text":"TemporaryFile(/tmp/multipartBody165797506530830754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737321993518,"filename":"image_19012025_22_25_02_440752_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330136257","file1":"1330136255","file0":"1330136253","file3":"1330136258"},"map_files_photo_id_array":[{"photo_id":"1330136257","filename":"file2"},{"photo_id":"1330136255","filename":"file1"},{"photo_id":"1330136253","filename":"file0"},{"photo_id":"1330136258","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330136253":["hashtag1","hashtag2"]},{"1330136255":["hashtag1","hashtag2"]},{"1330136258":["hashtag1","hashtag2"]},{"1330136257":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330136253, 1330136255, 1330136258, 1330136257)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.824464559555054 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 22:26:22.521024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/22/25/image_19012025_22_25_02_440752_0003.jpg', '/home/pi/Desktop/images/19012025/22/26/image_19012025_22_26_02_646924_0000.jpg', '/home/pi/Desktop/images/19012025/22/26/image_19012025_22_26_02_646924_0001.jpg', '/home/pi/Desktop/images/19012025/22/26/image_19012025_22_26_02_646924_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/22/25/image_19012025_22_25_02_440752_0003.jpg
/home/pi/Desktop/images/19012025/22/26/image_19012025_22_26_02_646924_0000.jpg
/home/pi/Desktop/images/19012025/22/26/image_19012025_22_26_02_646924_0001.jpg
/home/pi/Desktop/images/19012025/22/26/image_19012025_22_26_02_646924_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330136262","1330136270","1330136264","1330136267"],"photo_ids_order":["1330136262","1330136264","1330136267","1330136270"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/0584489579efa244fef8f3feb74afa5a.jpg","text":"TemporaryFile(/tmp/multipartBody7013543215941468046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737322053802,"filename":"image_19012025_22_25_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/19/3b256ba4ac9dea1d6db327ccb41a83e4.jpg","text":"TemporaryFile(/tmp/multipartBody1947264356858733291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737322053802,"filename":"image_19012025_22_26_02_646924_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/1d3ffc527241a736d9d1eb4f4987e852.jpg","text":"TemporaryFile(/tmp/multipartBody3112898303530177704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737322053802,"filename":"image_19012025_22_26_02_646924_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/00c1d41dead02412fbe98eec930c719c.jpg","text":"TemporaryFile(/tmp/multipartBody3515007225443016672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737322053802,"filename":"image_19012025_22_26_02_646924_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330136267","file1":"1330136264","file0":"1330136262","file3":"1330136270"},"map_files_photo_id_array":[{"photo_id":"1330136267","filename":"file2"},{"photo_id":"1330136264","filename":"file1"},{"photo_id":"1330136262","filename":"file0"},{"photo_id":"1330136270","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330136262":["hashtag1","hashtag2"]},{"1330136270":["hashtag1","hashtag2"]},{"1330136264":["hashtag1","hashtag2"]},{"1330136267":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330136262, 1330136270, 1330136264, 1330136267)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.43986439704895 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 22:27:22.657403
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/22/26/image_19012025_22_26_02_646924_0003.jpg', '/home/pi/Desktop/images/19012025/22/27/image_19012025_22_27_02_789807_0000.jpg', '/home/pi/Desktop/images/19012025/22/27/image_19012025_22_27_02_789807_0001.jpg', '/home/pi/Desktop/images/19012025/22/27/image_19012025_22_27_02_789807_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/22/26/image_19012025_22_26_02_646924_0003.jpg
/home/pi/Desktop/images/19012025/22/27/image_19012025_22_27_02_789807_0000.jpg
/home/pi/Desktop/images/19012025/22/27/image_19012025_22_27_02_789807_0001.jpg
/home/pi/Desktop/images/19012025/22/27/image_19012025_22_27_02_789807_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330136286","1330136288","1330136290","1330136284"],"photo_ids_order":["1330136284","1330136286","1330136288","1330136290"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/1edde8d7dd255a470af3de4454b8c482.jpg","text":"TemporaryFile(/tmp/multipartBody8716955084195633099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737322113065,"filename":"image_19012025_22_27_02_789807_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/1e90d7b62eeb031ceff09c822ce21b6f.jpg","text":"TemporaryFile(/tmp/multipartBody2033848756437551450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737322113065,"filename":"image_19012025_22_27_02_789807_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/c62e2683611d07c1f8f87df0fb8f74c6.jpg","text":"TemporaryFile(/tmp/multipartBody5030213679771969982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737322113065,"filename":"image_19012025_22_27_02_789807_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/a16240e679327b7476a7622cdc4dd872.jpg","text":"TemporaryFile(/tmp/multipartBody15144326748440333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737322113065,"filename":"image_19012025_22_26_02_646924_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330136288","file1":"1330136286","file0":"1330136284","file3":"1330136290"},"map_files_photo_id_array":[{"photo_id":"1330136288","filename":"file2"},{"photo_id":"1330136286","filename":"file1"},{"photo_id":"1330136284","filename":"file0"},{"photo_id":"1330136290","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330136286":["hashtag1","hashtag2"]},{"1330136288":["hashtag1","hashtag2"]},{"1330136290":["hashtag1","hashtag2"]},{"1330136284":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330136286, 1330136288, 1330136290, 1330136284)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.38012456893921 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 22:28:02.151200
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 22:28:21.752735
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/22/27/image_19012025_22_27_02_789807_0003.jpg', '/home/pi/Desktop/images/19012025/22/28/image_19012025_22_28_03_051557_0000.jpg', '/home/pi/Desktop/images/19012025/22/28/image_19012025_22_28_03_051557_0001.jpg', '/home/pi/Desktop/images/19012025/22/28/image_19012025_22_28_03_051557_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/22/27/image_19012025_22_27_02_789807_0003.jpg
/home/pi/Desktop/images/19012025/22/28/image_19012025_22_28_03_051557_0000.jpg
/home/pi/Desktop/images/19012025/22/28/image_19012025_22_28_03_051557_0001.jpg
/home/pi/Desktop/images/19012025/22/28/image_19012025_22_28_03_051557_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.876249313354492 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-19 22:28:41.809468
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/22/27/image_19012025_22_27_02_789807_0003.jpg', '/home/pi/Desktop/images/19012025/22/28/image_19012025_22_28_03_051557_0000.jpg', '/home/pi/Desktop/images/19012025/22/28/image_19012025_22_28_03_051557_0001.jpg', '/home/pi/Desktop/images/19012025/22/28/image_19012025_22_28_03_051557_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/22/27/image_19012025_22_27_02_789807_0003.jpg
/home/pi/Desktop/images/19012025/22/28/image_19012025_22_28_03_051557_0000.jpg
/home/pi/Desktop/images/19012025/22/28/image_19012025_22_28_03_051557_0001.jpg
/home/pi/Desktop/images/19012025/22/28/image_19012025_22_28_03_051557_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330136379","1330136381","1330136309","1330136383"],"photo_ids_order":["1330136309","1330136379","1330136381","1330136383"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/a884384920ecc08fdac824f7eadedd22.jpg","text":"TemporaryFile(/tmp/multipartBody5815286585612566727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737322192107,"filename":"image_19012025_22_28_03_051557_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/7f028e0a3bbbbcbeca821dfefbe63abe.jpg","text":"TemporaryFile(/tmp/multipartBody3299414232554071430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737322192107,"filename":"image_19012025_22_28_03_051557_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/84bda3bfa5d44489722cedb7780854fc.jpg","text":"TemporaryFile(/tmp/multipartBody7172275170254129331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737322192107,"filename":"image_19012025_22_27_02_789807_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/769effaba155c6264a0e53c611b9e6be.jpg","text":"TemporaryFile(/tmp/multipartBody5399629864594386427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737322192107,"filename":"image_19012025_22_28_03_051557_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330136381","file1":"1330136379","file0":"1330136309","file3":"1330136383"},"map_files_photo_id_array":[{"photo_id":"1330136381","filename":"file2"},{"photo_id":"1330136379","filename":"file1"},{"photo_id":"1330136309","filename":"file0"},{"photo_id":"1330136383","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330136379":["hashtag1","hashtag2"]},{"1330136381":["hashtag1","hashtag2"]},{"1330136309":["hashtag1","hashtag2"]},{"1330136383":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330136379, 1330136381, 1330136309, 1330136383)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.25636672973633 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-19 22:29:31.980264
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/22/28/image_19012025_22_28_03_051557_0003.jpg', '/home/pi/Desktop/images/19012025/22/29/image_19012025_22_29_02_175277_0000.jpg', '/home/pi/Desktop/images/19012025/22/29/image_19012025_22_29_02_175277_0001.jpg', '/home/pi/Desktop/images/19012025/22/29/image_19012025_22_29_02_175277_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/22/28/image_19012025_22_28_03_051557_0003.jpg
/home/pi/Desktop/images/19012025/22/29/image_19012025_22_29_02_175277_0000.jpg
/home/pi/Desktop/images/19012025/22/29/image_19012025_22_29_02_175277_0001.jpg
/home/pi/Desktop/images/19012025/22/29/image_19012025_22_29_02_175277_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.294598817825317 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-19 22:29:51.951665
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/22/28/image_19012025_22_28_03_051557_0003.jpg', '/home/pi/Desktop/images/19012025/22/29/image_19012025_22_29_02_175277_0000.jpg', '/home/pi/Desktop/images/19012025/22/29/image_19012025_22_29_02_175277_0001.jpg', '/home/pi/Desktop/images/19012025/22/29/image_19012025_22_29_02_175277_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/22/28/image_19012025_22_28_03_051557_0003.jpg
/home/pi/Desktop/images/19012025/22/29/image_19012025_22_29_02_175277_0000.jpg
/home/pi/Desktop/images/19012025/22/29/image_19012025_22_29_02_175277_0001.jpg
/home/pi/Desktop/images/19012025/22/29/image_19012025_22_29_02_175277_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":["1330136396","1330136399","1330136398","1330136397"],"photo_ids_order":["1330136396","1330136397","1330136398","1330136399"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/e5c72e8cebe79bff49eeab4c8621d5eb.jpg","text":"TemporaryFile(/tmp/multipartBody2163330118036302553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737322262538,"filename":"image_19012025_22_28_03_051557_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/7606a0459f398f65b79cee9600c592f7.jpg","text":"TemporaryFile(/tmp/multipartBody3722705483184287053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737322262538,"filename":"image_19012025_22_29_02_175277_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/c921cb2026779170436152e878267301.jpg","text":"TemporaryFile(/tmp/multipartBody6751747732168532664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737322262538,"filename":"image_19012025_22_29_02_175277_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/c0e74e0cd9beae769f7c5d8f52ed95a7.jpg","text":"TemporaryFile(/tmp/multipartBody7129386749518376023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737322262538,"filename":"image_19012025_22_29_02_175277_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330136398","file1":"1330136397","file0":"1330136396","file3":"1330136399"},"map_files_photo_id_array":[{"photo_id":"1330136398","filename":"file2"},{"photo_id":"1330136397","filename":"file1"},{"photo_id":"1330136396","filename":"file0"},{"photo_id":"1330136399","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330136396":["hashtag1","hashtag2"]},{"1330136399":["hashtag1","hashtag2"]},{"1330136398":["hashtag1","hashtag2"]},{"1330136397":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330136396, 1330136399, 1330136398, 1330136397)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.11423301696777 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-19 22:30:32.133271
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/22/29/image_19012025_22_29_02_175277_0003.jpg', '/home/pi/Desktop/images/19012025/22/30/image_19012025_22_30_02_361487_0000.jpg', '/home/pi/Desktop/images/19012025/22/30/image_19012025_22_30_02_361487_0001.jpg', '/home/pi/Desktop/images/19012025/22/30/image_19012025_22_30_02_361487_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/22/29/image_19012025_22_29_02_175277_0003.jpg
/home/pi/Desktop/images/19012025/22/30/image_19012025_22_30_02_361487_0000.jpg
/home/pi/Desktop/images/19012025/22/30/image_19012025_22_30_02_361487_0001.jpg
/home/pi/Desktop/images/19012025/22/30/image_19012025_22_30_02_361487_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330136412","1330136408","1330136402","1330136405"],"photo_ids_order":["1330136402","1330136405","1330136408","1330136412"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/954097faae1d550574d3bbecb05e42cb.jpg","text":"TemporaryFile(/tmp/multipartBody251386680694111448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737322302547,"filename":"image_19012025_22_30_02_361487_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/6a8feb8bfa1b5b28e402f0669ea3db02.jpg","text":"TemporaryFile(/tmp/multipartBody4512580494342230923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737322302547,"filename":"image_19012025_22_30_02_361487_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/4f6638c8458945811bb52a1b464d2991.jpg","text":"TemporaryFile(/tmp/multipartBody3479881417861697180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737322302547,"filename":"image_19012025_22_29_02_175277_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/ed1098b655abe6f0fe0dccf56381fc37.jpg","text":"TemporaryFile(/tmp/multipartBody1049482904503768193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737322302547,"filename":"image_19012025_22_30_02_361487_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330136408","file1":"1330136405","file0":"1330136402","file3":"1330136412"},"map_files_photo_id_array":[{"photo_id":"1330136408","filename":"file2"},{"photo_id":"1330136405","filename":"file1"},{"photo_id":"1330136402","filename":"file0"},{"photo_id":"1330136412","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330136412":["hashtag1","hashtag2"]},{"1330136408":["hashtag1","hashtag2"]},{"1330136402":["hashtag1","hashtag2"]},{"1330136405":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330136412, 1330136408, 1330136402, 1330136405)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.7196090221405 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 22:31:22.271361
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/22/30/image_19012025_22_30_02_361487_0003.jpg', '/home/pi/Desktop/images/19012025/22/31/image_19012025_22_31_02_541453_0000.jpg', '/home/pi/Desktop/images/19012025/22/31/image_19012025_22_31_02_541453_0001.jpg', '/home/pi/Desktop/images/19012025/22/31/image_19012025_22_31_02_541453_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/22/30/image_19012025_22_30_02_361487_0003.jpg
/home/pi/Desktop/images/19012025/22/31/image_19012025_22_31_02_541453_0000.jpg
/home/pi/Desktop/images/19012025/22/31/image_19012025_22_31_02_541453_0001.jpg
/home/pi/Desktop/images/19012025/22/31/image_19012025_22_31_02_541453_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330136448","1330136463","1330136465","1330136468"],"photo_ids_order":["1330136448","1330136463","1330136465","1330136468"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/7c947db565bff79b5168afb0c2dfb4a6.jpg","text":"TemporaryFile(/tmp/multipartBody846373103346754987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737322353115,"filename":"image_19012025_22_30_02_361487_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/dd5140a0c8f1a1d7ada77cdbe9cf81a0.jpg","text":"TemporaryFile(/tmp/multipartBody4593520782042174430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737322353115,"filename":"image_19012025_22_31_02_541453_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/44a5eabbf87e5bdcb97bbb1b7b1124bb.jpg","text":"TemporaryFile(/tmp/multipartBody356724348992801591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737322353115,"filename":"image_19012025_22_31_02_541453_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/da4dcf58e1fd06def125df0adef6e723.jpg","text":"TemporaryFile(/tmp/multipartBody6793365593795611272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737322353115,"filename":"image_19012025_22_31_02_541453_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330136465","file1":"1330136463","file0":"1330136448","file3":"1330136468"},"map_files_photo_id_array":[{"photo_id":"1330136465","filename":"file2"},{"photo_id":"1330136463","filename":"file1"},{"photo_id":"1330136448","filename":"file0"},{"photo_id":"1330136468","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330136448":["hashtag1","hashtag2"]},{"1330136463":["hashtag1","hashtag2"]},{"1330136465":["hashtag1","hashtag2"]},{"1330136468":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330136448, 1330136463, 1330136465, 1330136468)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.871103286743164 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 22:32:22.603027
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/22/31/image_19012025_22_31_02_541453_0003.jpg', '/home/pi/Desktop/images/19012025/22/32/image_19012025_22_32_02_723032_0000.jpg', '/home/pi/Desktop/images/19012025/22/32/image_19012025_22_32_02_723032_0001.jpg', '/home/pi/Desktop/images/19012025/22/32/image_19012025_22_32_02_723032_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/22/31/image_19012025_22_31_02_541453_0003.jpg
/home/pi/Desktop/images/19012025/22/32/image_19012025_22_32_02_723032_0000.jpg
/home/pi/Desktop/images/19012025/22/32/image_19012025_22_32_02_723032_0001.jpg
/home/pi/Desktop/images/19012025/22/32/image_19012025_22_32_02_723032_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.501481533050537 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-19 22:32:42.553188
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/22/31/image_19012025_22_31_02_541453_0003.jpg', '/home/pi/Desktop/images/19012025/22/32/image_19012025_22_32_02_723032_0000.jpg', '/home/pi/Desktop/images/19012025/22/32/image_19012025_22_32_02_723032_0001.jpg', '/home/pi/Desktop/images/19012025/22/32/image_19012025_22_32_02_723032_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/22/31/image_19012025_22_31_02_541453_0003.jpg
/home/pi/Desktop/images/19012025/22/32/image_19012025_22_32_02_723032_0000.jpg
/home/pi/Desktop/images/19012025/22/32/image_19012025_22_32_02_723032_0001.jpg
/home/pi/Desktop/images/19012025/22/32/image_19012025_22_32_02_723032_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330136562","1330136565","1330136564","1330136560"],"photo_ids_order":["1330136560","1330136562","1330136564","1330136565"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/a244d2a9b9a76a6e04ba78d8c8b4c34e.jpg","text":"TemporaryFile(/tmp/multipartBody6163398870049027514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737322433446,"filename":"image_19012025_22_32_02_723032_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/72192a37ed3644f0e67143c865a1429c.jpg","text":"TemporaryFile(/tmp/multipartBody8994517910978768102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737322433446,"filename":"image_19012025_22_32_02_723032_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/f8f5db04abbce54b3282b9ff7366fc30.jpg","text":"TemporaryFile(/tmp/multipartBody2170087044659138637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737322433446,"filename":"image_19012025_22_32_02_723032_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/c32af29eec588aa110251d25eaf69553.jpg","text":"TemporaryFile(/tmp/multipartBody5836549324003375124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737322433446,"filename":"image_19012025_22_31_02_541453_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330136564","file1":"1330136562","file0":"1330136560","file3":"1330136565"},"map_files_photo_id_array":[{"photo_id":"1330136564","filename":"file2"},{"photo_id":"1330136562","filename":"file1"},{"photo_id":"1330136560","filename":"file0"},{"photo_id":"1330136565","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330136562":["hashtag1","hashtag2"]},{"1330136565":["hashtag1","hashtag2"]},{"1330136564":["hashtag1","hashtag2"]},{"1330136560":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330136562, 1330136565, 1330136564, 1330136560)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.22765755653381 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-19 22:33:32.710381
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/22/32/image_19012025_22_32_02_723032_0003.jpg', '/home/pi/Desktop/images/19012025/22/33/image_19012025_22_33_02_949295_0000.jpg', '/home/pi/Desktop/images/19012025/22/33/image_19012025_22_33_02_949295_0001.jpg', '/home/pi/Desktop/images/19012025/22/33/image_19012025_22_33_02_949295_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/22/32/image_19012025_22_32_02_723032_0003.jpg
/home/pi/Desktop/images/19012025/22/33/image_19012025_22_33_02_949295_0000.jpg
/home/pi/Desktop/images/19012025/22/33/image_19012025_22_33_02_949295_0001.jpg
/home/pi/Desktop/images/19012025/22/33/image_19012025_22_33_02_949295_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.26790165901184 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-19 22:33:52.725360
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/22/32/image_19012025_22_32_02_723032_0003.jpg', '/home/pi/Desktop/images/19012025/22/33/image_19012025_22_33_02_949295_0000.jpg', '/home/pi/Desktop/images/19012025/22/33/image_19012025_22_33_02_949295_0001.jpg', '/home/pi/Desktop/images/19012025/22/33/image_19012025_22_33_02_949295_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/22/32/image_19012025_22_32_02_723032_0003.jpg
/home/pi/Desktop/images/19012025/22/33/image_19012025_22_33_02_949295_0000.jpg
/home/pi/Desktop/images/19012025/22/33/image_19012025_22_33_02_949295_0001.jpg
/home/pi/Desktop/images/19012025/22/33/image_19012025_22_33_02_949295_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330136634","1330136636","1330136635","1330136644"],"photo_ids_order":["1330136634","1330136635","1330136636","1330136644"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/9873203f1af75ef92a43efc56223b50b.jpg","text":"TemporaryFile(/tmp/multipartBody5807265606138982974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737322503397,"filename":"image_19012025_22_32_02_723032_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/6d1ea0c29cfe7013f89d404424dc25e7.jpg","text":"TemporaryFile(/tmp/multipartBody3754447615731386996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737322503397,"filename":"image_19012025_22_33_02_949295_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/935eb0f59ce906a6e05fef1478b1e1c4.jpg","text":"TemporaryFile(/tmp/multipartBody3143517731237609275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737322503397,"filename":"image_19012025_22_33_02_949295_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/f4b7332f477b3e7e4e006305cc5157c7.jpg","text":"TemporaryFile(/tmp/multipartBody1116019332681810414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737322503397,"filename":"image_19012025_22_33_02_949295_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330136636","file1":"1330136635","file0":"1330136634","file3":"1330136644"},"map_files_photo_id_array":[{"photo_id":"1330136636","filename":"file2"},{"photo_id":"1330136635","filename":"file1"},{"photo_id":"1330136634","filename":"file0"},{"photo_id":"1330136644","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330136634":["hashtag1","hashtag2"]},{"1330136636":["hashtag1","hashtag2"]},{"1330136635":["hashtag1","hashtag2"]},{"1330136644":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330136634, 1330136636, 1330136635, 1330136644)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.23852896690369 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-19 22:34:42.020162
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/22/33/image_19012025_22_33_02_949295_0003.jpg', '/home/pi/Desktop/images/19012025/22/34/image_19012025_22_34_03_082270_0000.jpg', '/home/pi/Desktop/images/19012025/22/34/image_19012025_22_34_03_082270_0001.jpg', '/home/pi/Desktop/images/19012025/22/34/image_19012025_22_34_03_082270_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/22/33/image_19012025_22_33_02_949295_0003.jpg
/home/pi/Desktop/images/19012025/22/34/image_19012025_22_34_03_082270_0000.jpg
/home/pi/Desktop/images/19012025/22/34/image_19012025_22_34_03_082270_0001.jpg
/home/pi/Desktop/images/19012025/22/34/image_19012025_22_34_03_082270_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.091785907745361 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 22:35:02.640887
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/22/33/image_19012025_22_33_02_949295_0003.jpg', '/home/pi/Desktop/images/19012025/22/34/image_19012025_22_34_03_082270_0000.jpg', '/home/pi/Desktop/images/19012025/22/34/image_19012025_22_34_03_082270_0001.jpg', '/home/pi/Desktop/images/19012025/22/34/image_19012025_22_34_03_082270_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/22/33/image_19012025_22_33_02_949295_0003.jpg
/home/pi/Desktop/images/19012025/22/34/image_19012025_22_34_03_082270_0000.jpg
/home/pi/Desktop/images/19012025/22/34/image_19012025_22_34_03_082270_0001.jpg
/home/pi/Desktop/images/19012025/22/34/image_19012025_22_34_03_082270_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":["1330137219","1330136909","1330136686","1330136746"],"photo_ids_order":["1330136686","1330136746","1330136909","1330137219"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/4b6d2b5384f5e9ff72d3823cbfaa076d.jpg","text":"TemporaryFile(/tmp/multipartBody4457302718559375492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737322573213,"filename":"image_19012025_22_34_03_082270_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/a0fc34b3fbb085fc2ba48d646a924fb7.jpg","text":"TemporaryFile(/tmp/multipartBody1969040506213710767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737322573213,"filename":"image_19012025_22_34_03_082270_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/9834151c65419aa6079f06acfcdd8d44.jpg","text":"TemporaryFile(/tmp/multipartBody8739898659469404991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737322573213,"filename":"image_19012025_22_33_02_949295_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/3d2fb7e733ccac8bfb7238fafdd164dd.jpg","text":"TemporaryFile(/tmp/multipartBody4440442621229406041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737322573213,"filename":"image_19012025_22_34_03_082270_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330136909","file1":"1330136746","file0":"1330136686","file3":"1330137219"},"map_files_photo_id_array":[{"photo_id":"1330136909","filename":"file2"},{"photo_id":"1330136746","filename":"file1"},{"photo_id":"1330136686","filename":"file0"},{"photo_id":"1330137219","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330137219":["hashtag1","hashtag2"]},{"1330136909":["hashtag1","hashtag2"]},{"1330136686":["hashtag1","hashtag2"]},{"1330136746":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330137219, 1330136909, 1330136686, 1330136746)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.97970938682556 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-19 22:35:42.099733
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/22/34/image_19012025_22_34_03_082270_0003.jpg', '/home/pi/Desktop/images/19012025/22/35/image_19012025_22_35_02_289059_0000.jpg', '/home/pi/Desktop/images/19012025/22/35/image_19012025_22_35_02_289059_0001.jpg', '/home/pi/Desktop/images/19012025/22/35/image_19012025_22_35_02_289059_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/22/34/image_19012025_22_34_03_082270_0003.jpg
/home/pi/Desktop/images/19012025/22/35/image_19012025_22_35_02_289059_0000.jpg
/home/pi/Desktop/images/19012025/22/35/image_19012025_22_35_02_289059_0001.jpg
/home/pi/Desktop/images/19012025/22/35/image_19012025_22_35_02_289059_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330137722","1330137730","1330137724","1330137729"],"photo_ids_order":["1330137722","1330137724","1330137729","1330137730"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/d1b1b5ebc11114512c7fb69c4edfaa38.jpg","text":"TemporaryFile(/tmp/multipartBody7105536113699696351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737322612756,"filename":"image_19012025_22_34_03_082270_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/b7fe72b1adfcd27001e791947d889e6b.jpg","text":"TemporaryFile(/tmp/multipartBody2839157336918980874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737322612756,"filename":"image_19012025_22_35_02_289059_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/9bf5cb6725725cfe749c5340ba87b827.jpg","text":"TemporaryFile(/tmp/multipartBody5720829914157457600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737322612756,"filename":"image_19012025_22_35_02_289059_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/ae2a444d8705d708fcf58860691fb03f.jpg","text":"TemporaryFile(/tmp/multipartBody7469631827503868531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737322612756,"filename":"image_19012025_22_35_02_289059_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330137729","file1":"1330137724","file0":"1330137722","file3":"1330137730"},"map_files_photo_id_array":[{"photo_id":"1330137729","filename":"file2"},{"photo_id":"1330137724","filename":"file1"},{"photo_id":"1330137722","filename":"file0"},{"photo_id":"1330137730","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330137722":["hashtag1","hashtag2"]},{"1330137730":["hashtag1","hashtag2"]},{"1330137724":["hashtag1","hashtag2"]},{"1330137729":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330137722, 1330137730, 1330137724, 1330137729)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.64921474456787 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-19 22:36:32.228637
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/22/35/image_19012025_22_35_02_289059_0003.jpg', '/home/pi/Desktop/images/19012025/22/36/image_19012025_22_36_02_524158_0000.jpg', '/home/pi/Desktop/images/19012025/22/36/image_19012025_22_36_02_524158_0001.jpg', '/home/pi/Desktop/images/19012025/22/36/image_19012025_22_36_02_524158_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/22/35/image_19012025_22_35_02_289059_0003.jpg
/home/pi/Desktop/images/19012025/22/36/image_19012025_22_36_02_524158_0000.jpg
/home/pi/Desktop/images/19012025/22/36/image_19012025_22_36_02_524158_0001.jpg
/home/pi/Desktop/images/19012025/22/36/image_19012025_22_36_02_524158_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.379348754882812 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-19 22:36:52.239603
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/22/35/image_19012025_22_35_02_289059_0003.jpg', '/home/pi/Desktop/images/19012025/22/36/image_19012025_22_36_02_524158_0000.jpg', '/home/pi/Desktop/images/19012025/22/36/image_19012025_22_36_02_524158_0001.jpg', '/home/pi/Desktop/images/19012025/22/36/image_19012025_22_36_02_524158_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/22/35/image_19012025_22_35_02_289059_0003.jpg
/home/pi/Desktop/images/19012025/22/36/image_19012025_22_36_02_524158_0000.jpg
/home/pi/Desktop/images/19012025/22/36/image_19012025_22_36_02_524158_0001.jpg
/home/pi/Desktop/images/19012025/22/36/image_19012025_22_36_02_524158_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":["1330138174","1330138095","1330138173","1330138113"],"photo_ids_order":["1330138095","1330138113","1330138173","1330138174"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/4fa1123163164b0d2f22a3ef3c521e89.jpg","text":"TemporaryFile(/tmp/multipartBody5153097957320311825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737322683013,"filename":"image_19012025_22_36_02_524158_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/b01ac46bcfad905acb4a677659706bd7.jpg","text":"TemporaryFile(/tmp/multipartBody3441187319173096699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737322683013,"filename":"image_19012025_22_35_02_289059_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/0a0f8639dde9c94b3e19a8dd0a8d2fde.jpg","text":"TemporaryFile(/tmp/multipartBody972775784495014154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737322683013,"filename":"image_19012025_22_36_02_524158_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/0228ee05f33fd3a938724b018cc6e5ab.jpg","text":"TemporaryFile(/tmp/multipartBody2367632129080301831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737322683013,"filename":"image_19012025_22_36_02_524158_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330138173","file1":"1330138113","file0":"1330138095","file3":"1330138174"},"map_files_photo_id_array":[{"photo_id":"1330138173","filename":"file2"},{"photo_id":"1330138113","filename":"file1"},{"photo_id":"1330138095","filename":"file0"},{"photo_id":"1330138174","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330138174":["hashtag1","hashtag2"]},{"1330138095":["hashtag1","hashtag2"]},{"1330138173":["hashtag1","hashtag2"]},{"1330138113":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330138174, 1330138095, 1330138173, 1330138113)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.99309992790222 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-19 22:37:32.408077
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/22/36/image_19012025_22_36_02_524158_0003.jpg', '/home/pi/Desktop/images/19012025/22/37/image_19012025_22_37_02_613401_0000.jpg', '/home/pi/Desktop/images/19012025/22/37/image_19012025_22_37_02_613401_0001.jpg', '/home/pi/Desktop/images/19012025/22/37/image_19012025_22_37_02_613401_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/22/36/image_19012025_22_36_02_524158_0003.jpg
/home/pi/Desktop/images/19012025/22/37/image_19012025_22_37_02_613401_0000.jpg
/home/pi/Desktop/images/19012025/22/37/image_19012025_22_37_02_613401_0001.jpg
/home/pi/Desktop/images/19012025/22/37/image_19012025_22_37_02_613401_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330138325","1330138330","1330138348","1330138298"],"photo_ids_order":["1330138298","1330138325","1330138330","1330138348"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/873f690abc2a1e70fcc5daa375fea854.jpg","text":"TemporaryFile(/tmp/multipartBody5917459095000910883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737322722796,"filename":"image_19012025_22_37_02_613401_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/c05568bd8207cdc89864f08b1ff4cf1a.jpg","text":"TemporaryFile(/tmp/multipartBody1706323022313153230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737322722796,"filename":"image_19012025_22_37_02_613401_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/04c15aa8f9d5d14f6353b2039072d6ec.jpg","text":"TemporaryFile(/tmp/multipartBody4991441452609038950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737322722796,"filename":"image_19012025_22_37_02_613401_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/67a3ea56372a746899cc8fdd4c2ccae6.jpg","text":"TemporaryFile(/tmp/multipartBody2478682134497873174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737322722796,"filename":"image_19012025_22_36_02_524158_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330138330","file1":"1330138325","file0":"1330138298","file3":"1330138348"},"map_files_photo_id_array":[{"photo_id":"1330138330","filename":"file2"},{"photo_id":"1330138325","filename":"file1"},{"photo_id":"1330138298","filename":"file0"},{"photo_id":"1330138348","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330138325":["hashtag1","hashtag2"]},{"1330138330":["hashtag1","hashtag2"]},{"1330138348":["hashtag1","hashtag2"]},{"1330138298":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330138325, 1330138330, 1330138348, 1330138298)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.875022649765015 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 22:38:22.629151
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/22/37/image_19012025_22_37_02_613401_0003.jpg', '/home/pi/Desktop/images/19012025/22/38/image_19012025_22_38_02_843485_0000.jpg', '/home/pi/Desktop/images/19012025/22/38/image_19012025_22_38_02_843485_0001.jpg', '/home/pi/Desktop/images/19012025/22/38/image_19012025_22_38_02_843485_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/22/37/image_19012025_22_37_02_613401_0003.jpg
/home/pi/Desktop/images/19012025/22/38/image_19012025_22_38_02_843485_0000.jpg
/home/pi/Desktop/images/19012025/22/38/image_19012025_22_38_02_843485_0001.jpg
/home/pi/Desktop/images/19012025/22/38/image_19012025_22_38_02_843485_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330138541","1330138543","1330138545","1330138539"],"photo_ids_order":["1330138539","1330138541","1330138543","1330138545"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/ce04555a3763ab3723f645285a7d56cb.jpg","text":"TemporaryFile(/tmp/multipartBody2072495259070714435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737322773045,"filename":"image_19012025_22_38_02_843485_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/29c814b329879b160b28664574bacff3.jpg","text":"TemporaryFile(/tmp/multipartBody6695615761110787276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737322773045,"filename":"image_19012025_22_38_02_843485_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/4aea85782ae7724b11fb34111226859d.jpg","text":"TemporaryFile(/tmp/multipartBody8240225589830986824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737322773045,"filename":"image_19012025_22_38_02_843485_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/a2cf1e5cb998eb574f6b5ec0af8c3f7b.jpg","text":"TemporaryFile(/tmp/multipartBody899326346528605091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737322773045,"filename":"image_19012025_22_37_02_613401_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330138543","file1":"1330138541","file0":"1330138539","file3":"1330138545"},"map_files_photo_id_array":[{"photo_id":"1330138543","filename":"file2"},{"photo_id":"1330138541","filename":"file1"},{"photo_id":"1330138539","filename":"file0"},{"photo_id":"1330138545","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330138541":["hashtag1","hashtag2"]},{"1330138543":["hashtag1","hashtag2"]},{"1330138545":["hashtag1","hashtag2"]},{"1330138539":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330138541, 1330138543, 1330138545, 1330138539)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.773404359817505 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-19 22:39:21.874285
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/22/38/image_19012025_22_38_02_843485_0003.jpg', '/home/pi/Desktop/images/19012025/22/39/image_19012025_22_39_02_979366_0000.jpg', '/home/pi/Desktop/images/19012025/22/39/image_19012025_22_39_02_979366_0001.jpg', '/home/pi/Desktop/images/19012025/22/39/image_19012025_22_39_02_979366_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/22/38/image_19012025_22_38_02_843485_0003.jpg
/home/pi/Desktop/images/19012025/22/39/image_19012025_22_39_02_979366_0000.jpg
/home/pi/Desktop/images/19012025/22/39/image_19012025_22_39_02_979366_0001.jpg
/home/pi/Desktop/images/19012025/22/39/image_19012025_22_39_02_979366_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330138553","1330138555","1330138551","1330138557"],"photo_ids_order":["1330138551","1330138553","1330138555","1330138557"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/f9222f69ea0852cb6b593a3e4143febb.jpg","text":"TemporaryFile(/tmp/multipartBody8494515216455684314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737322832817,"filename":"image_19012025_22_39_02_979366_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/18ad70c32c4ccf666b24f0955b8a47de.jpg","text":"TemporaryFile(/tmp/multipartBody6922713141262442145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737322832817,"filename":"image_19012025_22_39_02_979366_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/04d30bb806ac5aab486a4b281ee1f7c9.jpg","text":"TemporaryFile(/tmp/multipartBody4755641365403003779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737322832817,"filename":"image_19012025_22_38_02_843485_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/3982f4ff1728db8157436cdee42aecbd.jpg","text":"TemporaryFile(/tmp/multipartBody2390896409222501452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737322832817,"filename":"image_19012025_22_39_02_979366_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330138555","file1":"1330138553","file0":"1330138551","file3":"1330138557"},"map_files_photo_id_array":[{"photo_id":"1330138555","filename":"file2"},{"photo_id":"1330138553","filename":"file1"},{"photo_id":"1330138551","filename":"file0"},{"photo_id":"1330138557","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330138553":["hashtag1","hashtag2"]},{"1330138555":["hashtag1","hashtag2"]},{"1330138551":["hashtag1","hashtag2"]},{"1330138557":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330138553, 1330138555, 1330138551, 1330138557)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.07859396934509 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 22:40:22.024423
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/22/39/image_19012025_22_39_02_979366_0003.jpg', '/home/pi/Desktop/images/19012025/22/40/image_19012025_22_40_02_213609_0000.jpg', '/home/pi/Desktop/images/19012025/22/40/image_19012025_22_40_02_213609_0001.jpg', '/home/pi/Desktop/images/19012025/22/40/image_19012025_22_40_02_213609_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/22/39/image_19012025_22_39_02_979366_0003.jpg
/home/pi/Desktop/images/19012025/22/40/image_19012025_22_40_02_213609_0000.jpg
/home/pi/Desktop/images/19012025/22/40/image_19012025_22_40_02_213609_0001.jpg
/home/pi/Desktop/images/19012025/22/40/image_19012025_22_40_02_213609_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330138606","1330138566","1330138581","1330138602"],"photo_ids_order":["1330138566","1330138581","1330138602","1330138606"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/474216c03c2aa16da942308d9434598d.jpg","text":"TemporaryFile(/tmp/multipartBody5846388806116451378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737322892815,"filename":"image_19012025_22_40_02_213609_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/2aff98a4d78355f1a8f540b069141028.jpg","text":"TemporaryFile(/tmp/multipartBody331277237010086074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737322892815,"filename":"image_19012025_22_39_02_979366_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/13acf06fbf86bf4d1fd7bbc3919c9f09.jpg","text":"TemporaryFile(/tmp/multipartBody5942384374256396227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737322892815,"filename":"image_19012025_22_40_02_213609_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/edf37199886c08c72b30e978a849f641.jpg","text":"TemporaryFile(/tmp/multipartBody8275103364002518328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737322892815,"filename":"image_19012025_22_40_02_213609_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330138602","file1":"1330138581","file0":"1330138566","file3":"1330138606"},"map_files_photo_id_array":[{"photo_id":"1330138602","filename":"file2"},{"photo_id":"1330138581","filename":"file1"},{"photo_id":"1330138566","filename":"file0"},{"photo_id":"1330138606","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330138606":["hashtag1","hashtag2"]},{"1330138566":["hashtag1","hashtag2"]},{"1330138581":["hashtag1","hashtag2"]},{"1330138602":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330138606, 1330138566, 1330138581, 1330138602)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.390578269958496 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 22:41:22.177468
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/22/40/image_19012025_22_40_02_213609_0003.jpg', '/home/pi/Desktop/images/19012025/22/41/image_19012025_22_41_02_379234_0000.jpg', '/home/pi/Desktop/images/19012025/22/41/image_19012025_22_41_02_379234_0001.jpg', '/home/pi/Desktop/images/19012025/22/41/image_19012025_22_41_02_379234_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/22/40/image_19012025_22_40_02_213609_0003.jpg
/home/pi/Desktop/images/19012025/22/41/image_19012025_22_41_02_379234_0000.jpg
/home/pi/Desktop/images/19012025/22/41/image_19012025_22_41_02_379234_0001.jpg
/home/pi/Desktop/images/19012025/22/41/image_19012025_22_41_02_379234_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330138618","1330138612","1330138614","1330138617"],"photo_ids_order":["1330138612","1330138614","1330138617","1330138618"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/b99b88b57d81b96f1a172fa3e21875a4.jpg","text":"TemporaryFile(/tmp/multipartBody8897718715735075187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737322953637,"filename":"image_19012025_22_41_02_379234_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/c819a65144263a179944ee7e971e8172.jpg","text":"TemporaryFile(/tmp/multipartBody4127027027348665204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737322953637,"filename":"image_19012025_22_40_02_213609_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/0da77166cb10735ff2d42902641c4561.jpg","text":"TemporaryFile(/tmp/multipartBody780303013229916335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737322953637,"filename":"image_19012025_22_41_02_379234_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/e1e6f8f474cdfe1984b9bf19520e39df.jpg","text":"TemporaryFile(/tmp/multipartBody7839233739792704143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737322953637,"filename":"image_19012025_22_41_02_379234_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330138617","file1":"1330138614","file0":"1330138612","file3":"1330138618"},"map_files_photo_id_array":[{"photo_id":"1330138617","filename":"file2"},{"photo_id":"1330138614","filename":"file1"},{"photo_id":"1330138612","filename":"file0"},{"photo_id":"1330138618","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330138618":["hashtag1","hashtag2"]},{"1330138612":["hashtag1","hashtag2"]},{"1330138614":["hashtag1","hashtag2"]},{"1330138617":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330138618, 1330138612, 1330138614, 1330138617)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 44.89161777496338 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 22:42:22.393257
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/22/41/image_19012025_22_41_02_379234_0003.jpg', '/home/pi/Desktop/images/19012025/22/42/image_19012025_22_42_02_543198_0000.jpg', '/home/pi/Desktop/images/19012025/22/42/image_19012025_22_42_02_543198_0001.jpg', '/home/pi/Desktop/images/19012025/22/42/image_19012025_22_42_02_543198_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/22/41/image_19012025_22_41_02_379234_0003.jpg
/home/pi/Desktop/images/19012025/22/42/image_19012025_22_42_02_543198_0000.jpg
/home/pi/Desktop/images/19012025/22/42/image_19012025_22_42_02_543198_0001.jpg
/home/pi/Desktop/images/19012025/22/42/image_19012025_22_42_02_543198_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330138622","1330138630","1330138624","1330138627"],"photo_ids_order":["1330138622","1330138624","1330138627","1330138630"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/dcae36c135cf5ce988398dfa8f870af9.jpg","text":"TemporaryFile(/tmp/multipartBody2042362212771219337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737323013700,"filename":"image_19012025_22_41_02_379234_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/40072dbe64bdb26131be5ad8dade9688.jpg","text":"TemporaryFile(/tmp/multipartBody5105890162173012936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737323013700,"filename":"image_19012025_22_42_02_543198_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/6f9e6327bbca061dd840cdd262229844.jpg","text":"TemporaryFile(/tmp/multipartBody1914618993502702586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737323013700,"filename":"image_19012025_22_42_02_543198_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/ce4bfc147972d62652a5b00e96d485c8.jpg","text":"TemporaryFile(/tmp/multipartBody5899093725378655639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737323013700,"filename":"image_19012025_22_42_02_543198_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330138627","file1":"1330138624","file0":"1330138622","file3":"1330138630"},"map_files_photo_id_array":[{"photo_id":"1330138627","filename":"file2"},{"photo_id":"1330138624","filename":"file1"},{"photo_id":"1330138622","filename":"file0"},{"photo_id":"1330138630","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330138622":["hashtag1","hashtag2"]},{"1330138630":["hashtag1","hashtag2"]},{"1330138624":["hashtag1","hashtag2"]},{"1330138627":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330138622, 1330138630, 1330138624, 1330138627)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.826326847076416 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 22:43:22.597689
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/22/42/image_19012025_22_42_02_543198_0003.jpg', '/home/pi/Desktop/images/19012025/22/43/image_19012025_22_43_02_791543_0000.jpg', '/home/pi/Desktop/images/19012025/22/43/image_19012025_22_43_02_791543_0001.jpg', '/home/pi/Desktop/images/19012025/22/43/image_19012025_22_43_02_791543_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/22/42/image_19012025_22_42_02_543198_0003.jpg
/home/pi/Desktop/images/19012025/22/43/image_19012025_22_43_02_791543_0000.jpg
/home/pi/Desktop/images/19012025/22/43/image_19012025_22_43_02_791543_0001.jpg
/home/pi/Desktop/images/19012025/22/43/image_19012025_22_43_02_791543_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330138670","1330138673","1330138666","1330138668"],"photo_ids_order":["1330138666","1330138668","1330138670","1330138673"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/123ff8c03aa26c7b07a82f96b6c1a642.jpg","text":"TemporaryFile(/tmp/multipartBody3266979560297176446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737323073650,"filename":"image_19012025_22_43_02_791543_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/b216b554572827568ab518a7afcb3c24.jpg","text":"TemporaryFile(/tmp/multipartBody3321675447299936988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737323073650,"filename":"image_19012025_22_43_02_791543_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/5ec03d5d2aa1c3623f7385e86c4166d0.jpg","text":"TemporaryFile(/tmp/multipartBody2877330495317745065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737323073650,"filename":"image_19012025_22_42_02_543198_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/3a328fabe13640ff57ecde12efbd1ab5.jpg","text":"TemporaryFile(/tmp/multipartBody7458213288163829920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737323073650,"filename":"image_19012025_22_43_02_791543_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330138670","file1":"1330138668","file0":"1330138666","file3":"1330138673"},"map_files_photo_id_array":[{"photo_id":"1330138670","filename":"file2"},{"photo_id":"1330138668","filename":"file1"},{"photo_id":"1330138666","filename":"file0"},{"photo_id":"1330138673","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330138670":["hashtag1","hashtag2"]},{"1330138673":["hashtag1","hashtag2"]},{"1330138666":["hashtag1","hashtag2"]},{"1330138668":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330138670, 1330138673, 1330138666, 1330138668)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 45.983365297317505 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 22:44:22.740401
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/22/43/image_19012025_22_43_02_791543_0003.jpg', '/home/pi/Desktop/images/19012025/22/44/image_19012025_22_44_02_900071_0000.jpg', '/home/pi/Desktop/images/19012025/22/44/image_19012025_22_44_02_900071_0001.jpg', '/home/pi/Desktop/images/19012025/22/44/image_19012025_22_44_02_900071_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/22/43/image_19012025_22_43_02_791543_0003.jpg
/home/pi/Desktop/images/19012025/22/44/image_19012025_22_44_02_900071_0000.jpg
/home/pi/Desktop/images/19012025/22/44/image_19012025_22_44_02_900071_0001.jpg
/home/pi/Desktop/images/19012025/22/44/image_19012025_22_44_02_900071_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330138679","1330138706","1330138703","1330138701"],"photo_ids_order":["1330138679","1330138701","1330138703","1330138706"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/b608f46252ad613c7f3d6d0f15ccd4f3.jpg","text":"TemporaryFile(/tmp/multipartBody2258305680106059116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737323133568,"filename":"image_19012025_22_43_02_791543_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/71d968f4e20d72780eafa8f9d81e623d.jpg","text":"TemporaryFile(/tmp/multipartBody5061710351869562837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737323133568,"filename":"image_19012025_22_44_02_900071_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/3f1d5ac6f5b44dd7d9166e4ca1366cfc.jpg","text":"TemporaryFile(/tmp/multipartBody4054404727668028945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737323133568,"filename":"image_19012025_22_44_02_900071_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/111175bfa48674154075c8efeb665115.jpg","text":"TemporaryFile(/tmp/multipartBody5845844891299654700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737323133568,"filename":"image_19012025_22_44_02_900071_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330138703","file1":"1330138701","file0":"1330138679","file3":"1330138706"},"map_files_photo_id_array":[{"photo_id":"1330138703","filename":"file2"},{"photo_id":"1330138701","filename":"file1"},{"photo_id":"1330138679","filename":"file0"},{"photo_id":"1330138706","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330138679":["hashtag1","hashtag2"]},{"1330138706":["hashtag1","hashtag2"]},{"1330138703":["hashtag1","hashtag2"]},{"1330138701":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330138679, 1330138706, 1330138703, 1330138701)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.156943798065186 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 22:45:22.007771
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/22/44/image_19012025_22_44_02_900071_0003.jpg', '/home/pi/Desktop/images/19012025/22/45/image_19012025_22_45_03_146700_0000.jpg', '/home/pi/Desktop/images/19012025/22/45/image_19012025_22_45_03_146700_0001.jpg', '/home/pi/Desktop/images/19012025/22/45/image_19012025_22_45_03_146700_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/22/44/image_19012025_22_44_02_900071_0003.jpg
/home/pi/Desktop/images/19012025/22/45/image_19012025_22_45_03_146700_0000.jpg
/home/pi/Desktop/images/19012025/22/45/image_19012025_22_45_03_146700_0001.jpg
/home/pi/Desktop/images/19012025/22/45/image_19012025_22_45_03_146700_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330138727","1330138721","1330138723","1330138725"],"photo_ids_order":["1330138721","1330138723","1330138725","1330138727"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/9ff233ef3224489ae3792b6ee93957c4.jpg","text":"TemporaryFile(/tmp/multipartBody8980494200676197384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737323192981,"filename":"image_19012025_22_45_03_146700_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/d774bc6c13b89ee1d43e955077afe84a.jpg","text":"TemporaryFile(/tmp/multipartBody8100401339561242384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737323192981,"filename":"image_19012025_22_44_02_900071_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/a51b44b9d487f9601753c05c229681ea.jpg","text":"TemporaryFile(/tmp/multipartBody5050711858610883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737323192981,"filename":"image_19012025_22_45_03_146700_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/7923f687368d375732030e6027dc891e.jpg","text":"TemporaryFile(/tmp/multipartBody4980422596939327139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737323192981,"filename":"image_19012025_22_45_03_146700_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330138725","file1":"1330138723","file0":"1330138721","file3":"1330138727"},"map_files_photo_id_array":[{"photo_id":"1330138725","filename":"file2"},{"photo_id":"1330138723","filename":"file1"},{"photo_id":"1330138721","filename":"file0"},{"photo_id":"1330138727","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330138727":["hashtag1","hashtag2"]},{"1330138721":["hashtag1","hashtag2"]},{"1330138723":["hashtag1","hashtag2"]},{"1330138725":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330138727, 1330138721, 1330138723, 1330138725)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.73367118835449 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 22:46:22.182325
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/22/45/image_19012025_22_45_03_146700_0003.jpg', '/home/pi/Desktop/images/19012025/22/46/image_19012025_22_46_02_291214_0000.jpg', '/home/pi/Desktop/images/19012025/22/46/image_19012025_22_46_02_291214_0001.jpg', '/home/pi/Desktop/images/19012025/22/46/image_19012025_22_46_02_291214_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/22/45/image_19012025_22_45_03_146700_0003.jpg
/home/pi/Desktop/images/19012025/22/46/image_19012025_22_46_02_291214_0000.jpg
/home/pi/Desktop/images/19012025/22/46/image_19012025_22_46_02_291214_0001.jpg
/home/pi/Desktop/images/19012025/22/46/image_19012025_22_46_02_291214_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330138732","1330138740","1330138734","1330138737"],"photo_ids_order":["1330138732","1330138734","1330138737","1330138740"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/0edd7dc43aaa87780fb47bb6655100f9.jpg","text":"TemporaryFile(/tmp/multipartBody6107574649815130038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737323253240,"filename":"image_19012025_22_45_03_146700_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/f6442c836c7ac7e47bae1f4bc2fd40c3.jpg","text":"TemporaryFile(/tmp/multipartBody6156342570919861702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737323253240,"filename":"image_19012025_22_46_02_291214_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/2d31e50faa79fd80bda6dfc39ac178b6.jpg","text":"TemporaryFile(/tmp/multipartBody8644355309538375624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737323253240,"filename":"image_19012025_22_46_02_291214_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/6f6a4f589ba7d7dd377296b52a225a38.jpg","text":"TemporaryFile(/tmp/multipartBody80086466622668345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737323253240,"filename":"image_19012025_22_46_02_291214_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330138737","file1":"1330138734","file0":"1330138732","file3":"1330138740"},"map_files_photo_id_array":[{"photo_id":"1330138737","filename":"file2"},{"photo_id":"1330138734","filename":"file1"},{"photo_id":"1330138732","filename":"file0"},{"photo_id":"1330138740","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330138732":["hashtag1","hashtag2"]},{"1330138740":["hashtag1","hashtag2"]},{"1330138734":["hashtag1","hashtag2"]},{"1330138737":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330138732, 1330138740, 1330138734, 1330138737)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.078651428222656 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 22:47:22.227745
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/22/46/image_19012025_22_46_02_291214_0003.jpg', '/home/pi/Desktop/images/19012025/22/47/image_19012025_22_47_02_456593_0000.jpg', '/home/pi/Desktop/images/19012025/22/47/image_19012025_22_47_02_456593_0001.jpg', '/home/pi/Desktop/images/19012025/22/47/image_19012025_22_47_02_456593_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/22/46/image_19012025_22_46_02_291214_0003.jpg
/home/pi/Desktop/images/19012025/22/47/image_19012025_22_47_02_456593_0000.jpg
/home/pi/Desktop/images/19012025/22/47/image_19012025_22_47_02_456593_0001.jpg
/home/pi/Desktop/images/19012025/22/47/image_19012025_22_47_02_456593_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330138823","1330138826","1330138774","1330138824"],"photo_ids_order":["1330138774","1330138823","1330138824","1330138826"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/3b8e1ad312bf8c6dae790f4627e77520.jpg","text":"TemporaryFile(/tmp/multipartBody3512344353980494447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737323313344,"filename":"image_19012025_22_47_02_456593_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/ec5f9836efb665f11f5118f06db0cfa2.jpg","text":"TemporaryFile(/tmp/multipartBody725854227482482496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737323313344,"filename":"image_19012025_22_47_02_456593_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/0dd1c3ad410117a7eba6e7ab0c4efed1.jpg","text":"TemporaryFile(/tmp/multipartBody4012700019078845567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737323313344,"filename":"image_19012025_22_46_02_291214_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/d7d2b0e7981ff4711c8cd8ed36fe3462.jpg","text":"TemporaryFile(/tmp/multipartBody1340655640490968912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737323313344,"filename":"image_19012025_22_47_02_456593_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330138824","file1":"1330138823","file0":"1330138774","file3":"1330138826"},"map_files_photo_id_array":[{"photo_id":"1330138824","filename":"file2"},{"photo_id":"1330138823","filename":"file1"},{"photo_id":"1330138774","filename":"file0"},{"photo_id":"1330138826","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330138823":["hashtag1","hashtag2"]},{"1330138826":["hashtag1","hashtag2"]},{"1330138774":["hashtag1","hashtag2"]},{"1330138824":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330138823, 1330138826, 1330138774, 1330138824)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.12967348098755 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 22:48:22.568484
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/22/47/image_19012025_22_47_02_456593_0003.jpg', '/home/pi/Desktop/images/19012025/22/48/image_19012025_22_48_02_667617_0000.jpg', '/home/pi/Desktop/images/19012025/22/48/image_19012025_22_48_02_667617_0001.jpg', '/home/pi/Desktop/images/19012025/22/48/image_19012025_22_48_02_667617_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/22/47/image_19012025_22_47_02_456593_0003.jpg
/home/pi/Desktop/images/19012025/22/48/image_19012025_22_48_02_667617_0000.jpg
/home/pi/Desktop/images/19012025/22/48/image_19012025_22_48_02_667617_0001.jpg
/home/pi/Desktop/images/19012025/22/48/image_19012025_22_48_02_667617_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.603976726531982 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-19 22:48:42.473616
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/22/47/image_19012025_22_47_02_456593_0003.jpg', '/home/pi/Desktop/images/19012025/22/48/image_19012025_22_48_02_667617_0000.jpg', '/home/pi/Desktop/images/19012025/22/48/image_19012025_22_48_02_667617_0001.jpg', '/home/pi/Desktop/images/19012025/22/48/image_19012025_22_48_02_667617_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/22/47/image_19012025_22_47_02_456593_0003.jpg
/home/pi/Desktop/images/19012025/22/48/image_19012025_22_48_02_667617_0000.jpg
/home/pi/Desktop/images/19012025/22/48/image_19012025_22_48_02_667617_0001.jpg
/home/pi/Desktop/images/19012025/22/48/image_19012025_22_48_02_667617_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330138841","1330138837","1330138839","1330138842"],"photo_ids_order":["1330138837","1330138839","1330138841","1330138842"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/ac3797f0a52a7d144e3d4080d529ff83.jpg","text":"TemporaryFile(/tmp/multipartBody6429269851094431085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737323393464,"filename":"image_19012025_22_48_02_667617_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/10444d68221e435e142d60e723403c16.jpg","text":"TemporaryFile(/tmp/multipartBody8824387151665737516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737323393464,"filename":"image_19012025_22_47_02_456593_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/0c24472d738f05935c4e19e9a86e7b7b.jpg","text":"TemporaryFile(/tmp/multipartBody263397663053322390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737323393464,"filename":"image_19012025_22_48_02_667617_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/7e92e075488b457e70aabd98988ddb08.jpg","text":"TemporaryFile(/tmp/multipartBody3448180751402855250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737323393464,"filename":"image_19012025_22_48_02_667617_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330138841","file1":"1330138839","file0":"1330138837","file3":"1330138842"},"map_files_photo_id_array":[{"photo_id":"1330138841","filename":"file2"},{"photo_id":"1330138839","filename":"file1"},{"photo_id":"1330138837","filename":"file0"},{"photo_id":"1330138842","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330138841":["hashtag1","hashtag2"]},{"1330138837":["hashtag1","hashtag2"]},{"1330138839":["hashtag1","hashtag2"]},{"1330138842":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330138841, 1330138837, 1330138839, 1330138842)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.9645881652832 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-19 22:49:32.567919
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/22/48/image_19012025_22_48_02_667617_0003.jpg', '/home/pi/Desktop/images/19012025/22/49/image_19012025_22_49_02_874964_0000.jpg', '/home/pi/Desktop/images/19012025/22/49/image_19012025_22_49_02_874964_0001.jpg', '/home/pi/Desktop/images/19012025/22/49/image_19012025_22_49_02_874964_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/22/48/image_19012025_22_48_02_667617_0003.jpg
/home/pi/Desktop/images/19012025/22/49/image_19012025_22_49_02_874964_0000.jpg
/home/pi/Desktop/images/19012025/22/49/image_19012025_22_49_02_874964_0001.jpg
/home/pi/Desktop/images/19012025/22/49/image_19012025_22_49_02_874964_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330138881","1330138875","1330138884","1330138878"],"photo_ids_order":["1330138875","1330138878","1330138881","1330138884"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/737a9e8d0b000bbcff8480801133e107.jpg","text":"TemporaryFile(/tmp/multipartBody2751578639518651852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737323443560,"filename":"image_19012025_22_49_02_874964_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/0da1474ab8beb747b72786f34180a973.jpg","text":"TemporaryFile(/tmp/multipartBody8315288333474679141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737323443560,"filename":"image_19012025_22_48_02_667617_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/606d4bb6daeb1e822e37264cfcc5eafd.jpg","text":"TemporaryFile(/tmp/multipartBody5003242083372556188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737323443560,"filename":"image_19012025_22_49_02_874964_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/738ac0952c9c2fe46390a50c90849a0b.jpg","text":"TemporaryFile(/tmp/multipartBody3232853371546695927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737323443560,"filename":"image_19012025_22_49_02_874964_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330138881","file1":"1330138878","file0":"1330138875","file3":"1330138884"},"map_files_photo_id_array":[{"photo_id":"1330138881","filename":"file2"},{"photo_id":"1330138878","filename":"file1"},{"photo_id":"1330138875","filename":"file0"},{"photo_id":"1330138884","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330138881":["hashtag1","hashtag2"]},{"1330138875":["hashtag1","hashtag2"]},{"1330138884":["hashtag1","hashtag2"]},{"1330138878":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330138881, 1330138875, 1330138884, 1330138878)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 44.03241729736328 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 22:50:22.793556
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/22/49/image_19012025_22_49_02_874964_0003.jpg', '/home/pi/Desktop/images/19012025/22/50/image_19012025_22_50_02_996780_0000.jpg', '/home/pi/Desktop/images/19012025/22/50/image_19012025_22_50_02_996780_0001.jpg', '/home/pi/Desktop/images/19012025/22/50/image_19012025_22_50_02_996780_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/22/49/image_19012025_22_49_02_874964_0003.jpg
/home/pi/Desktop/images/19012025/22/50/image_19012025_22_50_02_996780_0000.jpg
/home/pi/Desktop/images/19012025/22/50/image_19012025_22_50_02_996780_0001.jpg
/home/pi/Desktop/images/19012025/22/50/image_19012025_22_50_02_996780_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330138889","1330138891","1330138888","1330138893"],"photo_ids_order":["1330138888","1330138889","1330138891","1330138893"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/b3757c493871813cb18f7d701e1cec8b.jpg","text":"TemporaryFile(/tmp/multipartBody7125091067614389105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737323493827,"filename":"image_19012025_22_50_02_996780_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/00cbd3e82d356c9029e3b901caafcf02.jpg","text":"TemporaryFile(/tmp/multipartBody3451798104386895901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737323493827,"filename":"image_19012025_22_50_02_996780_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/2bf76ebf1b9560e262a237981f5e5223.jpg","text":"TemporaryFile(/tmp/multipartBody8091784149265166762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737323493827,"filename":"image_19012025_22_49_02_874964_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/f327c4e50e2e61042d15c39bdfa5b0dc.jpg","text":"TemporaryFile(/tmp/multipartBody8144623369168011775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737323493827,"filename":"image_19012025_22_50_02_996780_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330138891","file1":"1330138889","file0":"1330138888","file3":"1330138893"},"map_files_photo_id_array":[{"photo_id":"1330138891","filename":"file2"},{"photo_id":"1330138889","filename":"file1"},{"photo_id":"1330138888","filename":"file0"},{"photo_id":"1330138893","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330138889":["hashtag1","hashtag2"]},{"1330138891":["hashtag1","hashtag2"]},{"1330138888":["hashtag1","hashtag2"]},{"1330138893":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330138889, 1330138891, 1330138888, 1330138893)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.060423851013184 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 22:51:21.906279
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/22/50/image_19012025_22_50_02_996780_0003.jpg', '/home/pi/Desktop/images/19012025/22/51/image_19012025_22_51_03_103831_0000.jpg', '/home/pi/Desktop/images/19012025/22/51/image_19012025_22_51_03_103831_0001.jpg', '/home/pi/Desktop/images/19012025/22/51/image_19012025_22_51_03_103831_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/22/50/image_19012025_22_50_02_996780_0003.jpg
/home/pi/Desktop/images/19012025/22/51/image_19012025_22_51_03_103831_0000.jpg
/home/pi/Desktop/images/19012025/22/51/image_19012025_22_51_03_103831_0001.jpg
/home/pi/Desktop/images/19012025/22/51/image_19012025_22_51_03_103831_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330138904","1330138900","1330138898","1330138902"],"photo_ids_order":["1330138898","1330138900","1330138902","1330138904"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/a1a70344ca09196077331f0869ea3816.jpg","text":"TemporaryFile(/tmp/multipartBody2593831365271688037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737323552352,"filename":"image_19012025_22_51_03_103831_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/093624f26274518f430361d312a59b2a.jpg","text":"TemporaryFile(/tmp/multipartBody8219623244300727684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737323552352,"filename":"image_19012025_22_51_03_103831_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/14578888ca3f13b6372f9ddd5e78f8a5.jpg","text":"TemporaryFile(/tmp/multipartBody2107854726017178075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737323552352,"filename":"image_19012025_22_50_02_996780_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/33d33189de58b0ba81214bc7d2cbffe2.jpg","text":"TemporaryFile(/tmp/multipartBody4963016051057768652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737323552352,"filename":"image_19012025_22_51_03_103831_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330138902","file1":"1330138900","file0":"1330138898","file3":"1330138904"},"map_files_photo_id_array":[{"photo_id":"1330138902","filename":"file2"},{"photo_id":"1330138900","filename":"file1"},{"photo_id":"1330138898","filename":"file0"},{"photo_id":"1330138904","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330138904":["hashtag1","hashtag2"]},{"1330138900":["hashtag1","hashtag2"]},{"1330138898":["hashtag1","hashtag2"]},{"1330138902":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330138904, 1330138900, 1330138898, 1330138902)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.44671297073364 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 22:52:02.548124
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 22:52:22.141712
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/22/51/image_19012025_22_51_03_103831_0003.jpg', '/home/pi/Desktop/images/19012025/22/52/image_19012025_22_52_02_329947_0000.jpg', '/home/pi/Desktop/images/19012025/22/52/image_19012025_22_52_02_329947_0001.jpg', '/home/pi/Desktop/images/19012025/22/52/image_19012025_22_52_02_329947_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/22/51/image_19012025_22_51_03_103831_0003.jpg
/home/pi/Desktop/images/19012025/22/52/image_19012025_22_52_02_329947_0000.jpg
/home/pi/Desktop/images/19012025/22/52/image_19012025_22_52_02_329947_0001.jpg
/home/pi/Desktop/images/19012025/22/52/image_19012025_22_52_02_329947_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330138910","1330138915","1330138912","1330138908"],"photo_ids_order":["1330138908","1330138910","1330138912","1330138915"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/0fc49b9d7cbb48fb08c63c1e95892399.jpg","text":"TemporaryFile(/tmp/multipartBody5395271561029893254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737323612547,"filename":"image_19012025_22_52_02_329947_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/31df3c220f1e0d89347caa247c909c16.jpg","text":"TemporaryFile(/tmp/multipartBody573533354797799672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737323612547,"filename":"image_19012025_22_52_02_329947_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/0b117a93c4753dd2ba3dcb85e02d10c7.jpg","text":"TemporaryFile(/tmp/multipartBody4971886197976030786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737323612547,"filename":"image_19012025_22_52_02_329947_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/f01e58a7c193244e05fbd34a98dd7d3f.jpg","text":"TemporaryFile(/tmp/multipartBody8496710537527877400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737323612547,"filename":"image_19012025_22_51_03_103831_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330138912","file1":"1330138910","file0":"1330138908","file3":"1330138915"},"map_files_photo_id_array":[{"photo_id":"1330138912","filename":"file2"},{"photo_id":"1330138910","filename":"file1"},{"photo_id":"1330138908","filename":"file0"},{"photo_id":"1330138915","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330138910":["hashtag1","hashtag2"]},{"1330138915":["hashtag1","hashtag2"]},{"1330138912":["hashtag1","hashtag2"]},{"1330138908":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330138910, 1330138915, 1330138912, 1330138908)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 45.68667531013489 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 22:53:22.293960
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/22/52/image_19012025_22_52_02_329947_0003.jpg', '/home/pi/Desktop/images/19012025/22/53/image_19012025_22_53_02_557718_0000.jpg', '/home/pi/Desktop/images/19012025/22/53/image_19012025_22_53_02_557718_0001.jpg', '/home/pi/Desktop/images/19012025/22/53/image_19012025_22_53_02_557718_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/22/52/image_19012025_22_52_02_329947_0003.jpg
/home/pi/Desktop/images/19012025/22/53/image_19012025_22_53_02_557718_0000.jpg
/home/pi/Desktop/images/19012025/22/53/image_19012025_22_53_02_557718_0001.jpg
/home/pi/Desktop/images/19012025/22/53/image_19012025_22_53_02_557718_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330138952","1330138954","1330138948","1330138950"],"photo_ids_order":["1330138948","1330138950","1330138952","1330138954"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/eb0815d76a52cb6c09661968c843e61a.jpg","text":"TemporaryFile(/tmp/multipartBody2104916152697124443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737323672661,"filename":"image_19012025_22_53_02_557718_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/e3bddd7b705f25002f3e4bf96b0ec7e9.jpg","text":"TemporaryFile(/tmp/multipartBody3689633124477796212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737323672661,"filename":"image_19012025_22_53_02_557718_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/3f7f2629cb7325e9d0d45a35cf349522.jpg","text":"TemporaryFile(/tmp/multipartBody6845465573148566592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737323672661,"filename":"image_19012025_22_52_02_329947_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/175e79fd273d59188e48d64d25baa95d.jpg","text":"TemporaryFile(/tmp/multipartBody1485763971406712986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737323672661,"filename":"image_19012025_22_53_02_557718_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330138952","file1":"1330138950","file0":"1330138948","file3":"1330138954"},"map_files_photo_id_array":[{"photo_id":"1330138952","filename":"file2"},{"photo_id":"1330138950","filename":"file1"},{"photo_id":"1330138948","filename":"file0"},{"photo_id":"1330138954","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330138952":["hashtag1","hashtag2"]},{"1330138954":["hashtag1","hashtag2"]},{"1330138948":["hashtag1","hashtag2"]},{"1330138950":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330138952, 1330138954, 1330138948, 1330138950)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.59036374092102 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-19 22:54:22.511644
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/22/53/image_19012025_22_53_02_557718_0003.jpg', '/home/pi/Desktop/images/19012025/22/54/image_19012025_22_54_02_620914_0001.jpg', '/home/pi/Desktop/images/19012025/22/54/image_19012025_22_54_02_620914_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/22/53/image_19012025_22_53_02_557718_0003.jpg
/home/pi/Desktop/images/19012025/22/54/image_19012025_22_54_02_620914_0001.jpg
/home/pi/Desktop/images/19012025/22/54/image_19012025_22_54_02_620914_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330138958","1330138960","1330138962"],"photo_ids_order":["1330138958","1330138960","1330138962"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/fa5472c4cc076d4da66b153cd3f3cd78.jpg","text":"TemporaryFile(/tmp/multipartBody6899603849251749214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737323730143,"filename":"image_19012025_22_53_02_557718_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/56a2628beedecfee24a48d1545946ab4.jpg","text":"TemporaryFile(/tmp/multipartBody5396507974714907012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737323730143,"filename":"image_19012025_22_54_02_620914_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/cb339612babce88b47d6a5ff91c9bcea.jpg","text":"TemporaryFile(/tmp/multipartBody5447645525882384504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737323730143,"filename":"image_19012025_22_54_02_620914_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330138962","file1":"1330138960","file0":"1330138958"},"map_files_photo_id_array":[{"photo_id":"1330138962","filename":"file2"},{"photo_id":"1330138960","filename":"file1"},{"photo_id":"1330138958","filename":"file0"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330138958":["hashtag1","hashtag2"]},{"1330138960":["hashtag1","hashtag2"]},{"1330138962":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330138958, 1330138960, 1330138962)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 32.57049083709717 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 22:55:03.332921
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 22:55:22.617918
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/22/54/image_19012025_22_54_02_620914_0003.jpg', '/home/pi/Desktop/images/19012025/22/55/image_19012025_22_55_02_894286_0000.jpg', '/home/pi/Desktop/images/19012025/22/55/image_19012025_22_55_02_894286_0001.jpg', '/home/pi/Desktop/images/19012025/22/55/image_19012025_22_55_02_894286_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/22/54/image_19012025_22_54_02_620914_0003.jpg
/home/pi/Desktop/images/19012025/22/55/image_19012025_22_55_02_894286_0000.jpg
/home/pi/Desktop/images/19012025/22/55/image_19012025_22_55_02_894286_0001.jpg
/home/pi/Desktop/images/19012025/22/55/image_19012025_22_55_02_894286_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330139009","1330139005","1330138986","1330139007"],"photo_ids_order":["1330138986","1330139005","1330139007","1330139009"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/8455e2381d74ab11150f33864bebcc6f.jpg","text":"TemporaryFile(/tmp/multipartBody4674444187460826837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737323792775,"filename":"image_19012025_22_55_02_894286_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/e18db1138c98c90d03b2d8431066c4f9.jpg","text":"TemporaryFile(/tmp/multipartBody8514950781587341970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737323792775,"filename":"image_19012025_22_55_02_894286_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/9ac172320a3e34da3ee35bdf1cfd8f33.jpg","text":"TemporaryFile(/tmp/multipartBody9040109737701143710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737323792775,"filename":"image_19012025_22_54_02_620914_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/2a9633eb83d33deca966d49387e99c9e.jpg","text":"TemporaryFile(/tmp/multipartBody3797907597761300223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737323792775,"filename":"image_19012025_22_55_02_894286_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330139007","file1":"1330139005","file0":"1330138986","file3":"1330139009"},"map_files_photo_id_array":[{"photo_id":"1330139007","filename":"file2"},{"photo_id":"1330139005","filename":"file1"},{"photo_id":"1330138986","filename":"file0"},{"photo_id":"1330139009","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330139009":["hashtag1","hashtag2"]},{"1330139005":["hashtag1","hashtag2"]},{"1330138986":["hashtag1","hashtag2"]},{"1330139007":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330139009, 1330139005, 1330138986, 1330139007)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.13210415840149 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 22:56:21.832953
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/22/55/image_19012025_22_55_02_894286_0003.jpg', '/home/pi/Desktop/images/19012025/22/56/image_19012025_22_56_03_051619_0001.jpg', '/home/pi/Desktop/images/19012025/22/56/image_19012025_22_56_03_051619_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/22/55/image_19012025_22_55_02_894286_0003.jpg
/home/pi/Desktop/images/19012025/22/56/image_19012025_22_56_03_051619_0001.jpg
/home/pi/Desktop/images/19012025/22/56/image_19012025_22_56_03_051619_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330139015","1330139017","1330139013"],"photo_ids_order":["1330139013","1330139015","1330139017"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/49e0b0533b40b4b4e52c2ae7ae57bfab.jpg","text":"TemporaryFile(/tmp/multipartBody814202046751514692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737323849774,"filename":"image_19012025_22_56_03_051619_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/01e0a9c5b1d0d4c56bc48cad60921673.jpg","text":"TemporaryFile(/tmp/multipartBody5188017994136406710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737323849774,"filename":"image_19012025_22_56_03_051619_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/d707bd34ea791fe4152c890f253921a4.jpg","text":"TemporaryFile(/tmp/multipartBody8692182647848476431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737323849774,"filename":"image_19012025_22_55_02_894286_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330139017","file1":"1330139015","file0":"1330139013"},"map_files_photo_id_array":[{"photo_id":"1330139017","filename":"file2"},{"photo_id":"1330139015","filename":"file1"},{"photo_id":"1330139013","filename":"file0"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330139015":["hashtag1","hashtag2"]},{"1330139017":["hashtag1","hashtag2"]},{"1330139013":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330139015, 1330139017, 1330139013)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.639410734176636 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 22:57:02.688111
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 22:57:22.057094
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/22/56/image_19012025_22_56_03_051619_0003.jpg', '/home/pi/Desktop/images/19012025/22/57/image_19012025_22_57_02_173936_0000.jpg', '/home/pi/Desktop/images/19012025/22/57/image_19012025_22_57_02_173936_0001.jpg', '/home/pi/Desktop/images/19012025/22/57/image_19012025_22_57_02_173936_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/22/56/image_19012025_22_56_03_051619_0003.jpg
/home/pi/Desktop/images/19012025/22/57/image_19012025_22_57_02_173936_0000.jpg
/home/pi/Desktop/images/19012025/22/57/image_19012025_22_57_02_173936_0001.jpg
/home/pi/Desktop/images/19012025/22/57/image_19012025_22_57_02_173936_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330139092","1330139094","1330139145","1330139090"],"photo_ids_order":["1330139090","1330139092","1330139094","1330139145"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/db6f106d69d2aec706f4c35846accdde.jpg","text":"TemporaryFile(/tmp/multipartBody733930399112088691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737323912260,"filename":"image_19012025_22_57_02_173936_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/2f9fd681a5214543ea73cd974eb00700.jpg","text":"TemporaryFile(/tmp/multipartBody3482797241071189855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737323912260,"filename":"image_19012025_22_57_02_173936_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/855eaad992ba20992fe7c0145e6cc6ec.jpg","text":"TemporaryFile(/tmp/multipartBody5593088642516577015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737323912260,"filename":"image_19012025_22_57_02_173936_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/2fd50ec75cd7b61833f93a9fdb621abe.jpg","text":"TemporaryFile(/tmp/multipartBody7031671092658790635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737323912260,"filename":"image_19012025_22_56_03_051619_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330139094","file1":"1330139092","file0":"1330139090","file3":"1330139145"},"map_files_photo_id_array":[{"photo_id":"1330139094","filename":"file2"},{"photo_id":"1330139092","filename":"file1"},{"photo_id":"1330139090","filename":"file0"},{"photo_id":"1330139145","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330139092":["hashtag1","hashtag2"]},{"1330139094":["hashtag1","hashtag2"]},{"1330139145":["hashtag1","hashtag2"]},{"1330139090":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330139092, 1330139094, 1330139145, 1330139090)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.40777611732483 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 22:59:02.811956
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/22/57/image_19012025_22_57_02_173936_0003.jpg', '/home/pi/Desktop/images/19012025/22/58/image_19012025_22_58_02_362255_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/22/57/image_19012025_22_57_02_173936_0003.jpg
/home/pi/Desktop/images/19012025/22/58/image_19012025_22_58_02_362255_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330139195","1330139192"],"photo_ids_order":["1330139192","1330139195"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/7f7a097e76faaa795d90af8a4c60c8db.jpg","text":"TemporaryFile(/tmp/multipartBody3663722606651159854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737324008069,"filename":"image_19012025_22_58_02_362255_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/c7c386ff3de63e2bbccecbf6b7e87231.jpg","text":"TemporaryFile(/tmp/multipartBody2779179284845206200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737324008069,"filename":"image_19012025_22_57_02_173936_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1330139195","file0":"1330139192"},"map_files_photo_id_array":[{"photo_id":"1330139195","filename":"file1"},{"photo_id":"1330139192","filename":"file0"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330139195":["hashtag1","hashtag2"]},{"1330139192":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330139195, 1330139192)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 26.696443796157837 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-19 22:59:32.298276
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/22/59/image_19012025_22_59_02_566775_0000.jpg', '/home/pi/Desktop/images/19012025/22/59/image_19012025_22_59_02_566775_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/22/59/image_19012025_22_59_02_566775_0000.jpg
/home/pi/Desktop/images/19012025/22/59/image_19012025_22_59_02_566775_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":["1330139207","1330139205"],"photo_ids_order":["1330139205","1330139207"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/86eb8a2b312058f7b71d4255f6e0317e.jpg","text":"TemporaryFile(/tmp/multipartBody2677451634819527884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737324037484,"filename":"image_19012025_22_59_02_566775_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/c68c139b6d7b3935a00525aa00604476.jpg","text":"TemporaryFile(/tmp/multipartBody7514557127751050234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737324037484,"filename":"image_19012025_22_59_02_566775_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1330139207","file0":"1330139205"},"map_files_photo_id_array":[{"photo_id":"1330139207","filename":"file1"},{"photo_id":"1330139205","filename":"file0"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330139207":["hashtag1","hashtag2"]},{"1330139205":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330139207, 1330139205)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 21.62014675140381 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 23:00:02.896172
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 23:00:22.516657
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/23/00/image_19012025_23_00_02_665153_0000.jpg', '/home/pi/Desktop/images/19012025/23/00/image_19012025_23_00_02_665153_0001.jpg', '/home/pi/Desktop/images/19012025/23/00/image_19012025_23_00_02_665153_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/23/00/image_19012025_23_00_02_665153_0000.jpg
/home/pi/Desktop/images/19012025/23/00/image_19012025_23_00_02_665153_0001.jpg
/home/pi/Desktop/images/19012025/23/00/image_19012025_23_00_02_665153_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330139717","1330140043","1330140042"],"photo_ids_order":["1330139717","1330140042","1330140043"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/691b9652bd80dd506fda958b73432a5e.jpg","text":"TemporaryFile(/tmp/multipartBody5134041011389307988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737324090070,"filename":"image_19012025_23_00_02_665153_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/3bf68062a148b36f775266399f6a7fe6.jpg","text":"TemporaryFile(/tmp/multipartBody4448122765102092116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737324090070,"filename":"image_19012025_23_00_02_665153_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/2ae41ffb5e88b9159a6bd1fabfbb367a.jpg","text":"TemporaryFile(/tmp/multipartBody2898872476082097541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737324090070,"filename":"image_19012025_23_00_02_665153_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330140043","file1":"1330140042","file0":"1330139717"},"map_files_photo_id_array":[{"photo_id":"1330140043","filename":"file2"},{"photo_id":"1330140042","filename":"file1"},{"photo_id":"1330139717","filename":"file0"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330139717":["hashtag1","hashtag2"]},{"1330140043":["hashtag1","hashtag2"]},{"1330140042":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330139717, 1330140043, 1330140042)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 29.75458550453186 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 23:01:03.462315
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 23:01:22.705345
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-19 23:01:32.680249
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-19 23:01:42.761585
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-19 23:01:52.697088
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 23:02:02.236512
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 23:02:21.881512
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/23/01/image_19012025_23_01_02_862565_0003.jpg', '/home/pi/Desktop/images/19012025/23/02/image_19012025_23_02_03_159264_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/23/01/image_19012025_23_01_02_862565_0003.jpg
/home/pi/Desktop/images/19012025/23/02/image_19012025_23_02_03_159264_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":["1330140385","1330140381"],"photo_ids_order":["1330140381","1330140385"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/13a1446334256fc9bec0e3c106ed2100.jpg","text":"TemporaryFile(/tmp/multipartBody8479719743034488549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737324207141,"filename":"image_19012025_23_02_03_159264_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/5e4cccd47a70cd865ca7ff7128630d74.jpg","text":"TemporaryFile(/tmp/multipartBody5058133931442174342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737324207141,"filename":"image_19012025_23_01_02_862565_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1330140385","file0":"1330140381"},"map_files_photo_id_array":[{"photo_id":"1330140385","filename":"file1"},{"photo_id":"1330140381","filename":"file0"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330140385":["hashtag1","hashtag2"]},{"1330140381":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330140385, 1330140381)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 22.15605068206787 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-19 23:02:51.887303
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 23:03:02.658412
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 23:03:22.106208
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/23/02/image_19012025_23_02_03_159264_0003.jpg', '/home/pi/Desktop/images/19012025/23/03/image_19012025_23_03_02_218755_0000.jpg', '/home/pi/Desktop/images/19012025/23/03/image_19012025_23_03_02_218755_0001.jpg', '/home/pi/Desktop/images/19012025/23/03/image_19012025_23_03_02_218755_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/23/02/image_19012025_23_02_03_159264_0003.jpg
/home/pi/Desktop/images/19012025/23/03/image_19012025_23_03_02_218755_0000.jpg
/home/pi/Desktop/images/19012025/23/03/image_19012025_23_03_02_218755_0001.jpg
/home/pi/Desktop/images/19012025/23/03/image_19012025_23_03_02_218755_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330140482","1330140484","1330140478","1330140480"],"photo_ids_order":["1330140478","1330140480","1330140482","1330140484"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/35051c4815da09b4d829f5fd1922b7d5.jpg","text":"TemporaryFile(/tmp/multipartBody708177051784840005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737324273014,"filename":"image_19012025_23_03_02_218755_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/424f2db5a75e9977d31b6975bd91a363.jpg","text":"TemporaryFile(/tmp/multipartBody118234896040092061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737324273014,"filename":"image_19012025_23_03_02_218755_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/b9df2eb31866f9b03b6a283ddae2775d.jpg","text":"TemporaryFile(/tmp/multipartBody7387714507830074116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737324273014,"filename":"image_19012025_23_02_03_159264_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/16c8c1166ea67d5209ff2463f9b1db45.jpg","text":"TemporaryFile(/tmp/multipartBody7951772668095055882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737324273014,"filename":"image_19012025_23_03_02_218755_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330140482","file1":"1330140480","file0":"1330140478","file3":"1330140484"},"map_files_photo_id_array":[{"photo_id":"1330140482","filename":"file2"},{"photo_id":"1330140480","filename":"file1"},{"photo_id":"1330140478","filename":"file0"},{"photo_id":"1330140484","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330140482":["hashtag1","hashtag2"]},{"1330140484":["hashtag1","hashtag2"]},{"1330140478":["hashtag1","hashtag2"]},{"1330140480":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330140482, 1330140484, 1330140478, 1330140480)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.395102739334106 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 23:04:22.325498
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/23/03/image_19012025_23_03_02_218755_0003.jpg', '/home/pi/Desktop/images/19012025/23/04/image_19012025_23_04_02_438739_0000.jpg', '/home/pi/Desktop/images/19012025/23/04/image_19012025_23_04_02_438739_0001.jpg', '/home/pi/Desktop/images/19012025/23/04/image_19012025_23_04_02_438739_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/23/03/image_19012025_23_03_02_218755_0003.jpg
/home/pi/Desktop/images/19012025/23/04/image_19012025_23_04_02_438739_0000.jpg
/home/pi/Desktop/images/19012025/23/04/image_19012025_23_04_02_438739_0001.jpg
/home/pi/Desktop/images/19012025/23/04/image_19012025_23_04_02_438739_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330140506","1330140499","1330140520","1330140491"],"photo_ids_order":["1330140491","1330140499","1330140506","1330140520"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/f024530d52416b6611fb951e5545c22d.jpg","text":"TemporaryFile(/tmp/multipartBody9018849976040999707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737324333463,"filename":"image_19012025_23_04_02_438739_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/19f761cae4d1d29633bfcd83e6b98a33.jpg","text":"TemporaryFile(/tmp/multipartBody6696310858847145446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737324333463,"filename":"image_19012025_23_04_02_438739_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/54cccb50430e882de1e44457b9b60d4d.jpg","text":"TemporaryFile(/tmp/multipartBody1316796851172089620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737324333463,"filename":"image_19012025_23_04_02_438739_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/54481c51f565e690bcb91e94f4faf742.jpg","text":"TemporaryFile(/tmp/multipartBody5170891501106750166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737324333463,"filename":"image_19012025_23_03_02_218755_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330140506","file1":"1330140499","file0":"1330140491","file3":"1330140520"},"map_files_photo_id_array":[{"photo_id":"1330140506","filename":"file2"},{"photo_id":"1330140499","filename":"file1"},{"photo_id":"1330140491","filename":"file0"},{"photo_id":"1330140520","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330140506":["hashtag1","hashtag2"]},{"1330140499":["hashtag1","hashtag2"]},{"1330140520":["hashtag1","hashtag2"]},{"1330140491":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330140506, 1330140499, 1330140520, 1330140491)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.91982316970825 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 23:05:02.924052
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 23:05:22.488360
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/23/04/image_19012025_23_04_02_438739_0003.jpg', '/home/pi/Desktop/images/19012025/23/05/image_19012025_23_05_02_645344_0000.jpg', '/home/pi/Desktop/images/19012025/23/05/image_19012025_23_05_02_645344_0001.jpg', '/home/pi/Desktop/images/19012025/23/05/image_19012025_23_05_02_645344_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/23/04/image_19012025_23_04_02_438739_0003.jpg
/home/pi/Desktop/images/19012025/23/05/image_19012025_23_05_02_645344_0000.jpg
/home/pi/Desktop/images/19012025/23/05/image_19012025_23_05_02_645344_0001.jpg
/home/pi/Desktop/images/19012025/23/05/image_19012025_23_05_02_645344_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330140542","1330140626","1330140628","1330140567"],"photo_ids_order":["1330140542","1330140567","1330140626","1330140628"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/1f10e59aeab2fd64a54ea461a08ff48a.jpg","text":"TemporaryFile(/tmp/multipartBody6044595436457768932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737324393524,"filename":"image_19012025_23_04_02_438739_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/5b1bf20079123c6e51a2ef4caba7db41.jpg","text":"TemporaryFile(/tmp/multipartBody8791412346682207336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737324393524,"filename":"image_19012025_23_05_02_645344_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/8c28ae1fd2a83d03a602ddea380f1f01.jpg","text":"TemporaryFile(/tmp/multipartBody5606121816923249018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737324393524,"filename":"image_19012025_23_05_02_645344_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/5043d48a8a4e1ec3cec9b9a34593c6bb.jpg","text":"TemporaryFile(/tmp/multipartBody25813033354557355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737324393524,"filename":"image_19012025_23_05_02_645344_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330140626","file1":"1330140567","file0":"1330140542","file3":"1330140628"},"map_files_photo_id_array":[{"photo_id":"1330140626","filename":"file2"},{"photo_id":"1330140567","filename":"file1"},{"photo_id":"1330140542","filename":"file0"},{"photo_id":"1330140628","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330140542":["hashtag1","hashtag2"]},{"1330140626":["hashtag1","hashtag2"]},{"1330140628":["hashtag1","hashtag2"]},{"1330140567":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330140542, 1330140626, 1330140628, 1330140567)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.748488664627075 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 23:06:22.684825
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/23/05/image_19012025_23_05_02_645344_0003.jpg', '/home/pi/Desktop/images/19012025/23/06/image_19012025_23_06_02_797321_0000.jpg', '/home/pi/Desktop/images/19012025/23/06/image_19012025_23_06_02_797321_0001.jpg', '/home/pi/Desktop/images/19012025/23/06/image_19012025_23_06_02_797321_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/23/05/image_19012025_23_05_02_645344_0003.jpg
/home/pi/Desktop/images/19012025/23/06/image_19012025_23_06_02_797321_0000.jpg
/home/pi/Desktop/images/19012025/23/06/image_19012025_23_06_02_797321_0001.jpg
/home/pi/Desktop/images/19012025/23/06/image_19012025_23_06_02_797321_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330142914","1330142922","1330142910","1330142912"],"photo_ids_order":["1330142910","1330142912","1330142914","1330142922"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/cc889c67ee0a868ff1d972030fdceaf9.jpg","text":"TemporaryFile(/tmp/multipartBody6982239849627096630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737324454006,"filename":"image_19012025_23_06_02_797321_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/ae42ab8a960a3d6b7535e6f275ea7c41.jpg","text":"TemporaryFile(/tmp/multipartBody426211865277074552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737324454006,"filename":"image_19012025_23_06_02_797321_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/bd131e8c0dba5779a722ecf18b712826.jpg","text":"TemporaryFile(/tmp/multipartBody7716397578143410347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737324454006,"filename":"image_19012025_23_05_02_645344_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/4855ae228eceef140b607a5f0e32a499.jpg","text":"TemporaryFile(/tmp/multipartBody4866482349738394964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737324454006,"filename":"image_19012025_23_06_02_797321_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330142914","file1":"1330142912","file0":"1330142910","file3":"1330142922"},"map_files_photo_id_array":[{"photo_id":"1330142914","filename":"file2"},{"photo_id":"1330142912","filename":"file1"},{"photo_id":"1330142910","filename":"file0"},{"photo_id":"1330142922","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330142914":["hashtag1","hashtag2"]},{"1330142922":["hashtag1","hashtag2"]},{"1330142910":["hashtag1","hashtag2"]},{"1330142912":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330142914, 1330142922, 1330142910, 1330142912)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.39057755470276 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 23:07:21.848666
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/23/06/image_19012025_23_06_02_797321_0003.jpg', '/home/pi/Desktop/images/19012025/23/07/image_19012025_23_07_02_929092_0000.jpg', '/home/pi/Desktop/images/19012025/23/07/image_19012025_23_07_02_929092_0001.jpg', '/home/pi/Desktop/images/19012025/23/07/image_19012025_23_07_02_929092_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/23/06/image_19012025_23_06_02_797321_0003.jpg
/home/pi/Desktop/images/19012025/23/07/image_19012025_23_07_02_929092_0000.jpg
/home/pi/Desktop/images/19012025/23/07/image_19012025_23_07_02_929092_0001.jpg
/home/pi/Desktop/images/19012025/23/07/image_19012025_23_07_02_929092_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330143238","1330143134","1330143407","1330143236"],"photo_ids_order":["1330143134","1330143236","1330143238","1330143407"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/88b48d330b3740a934a25a74e47882b9.jpg","text":"TemporaryFile(/tmp/multipartBody1393038409471394485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737324513390,"filename":"image_19012025_23_07_02_929092_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/7ffc541a007922ecc955f9ce150b5294.jpg","text":"TemporaryFile(/tmp/multipartBody7690869378103995342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737324513390,"filename":"image_19012025_23_06_02_797321_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/d27a28cb1974d1dc61f35caa8e444356.jpg","text":"TemporaryFile(/tmp/multipartBody7983969673257341948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737324513390,"filename":"image_19012025_23_07_02_929092_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/c2b3fff80db5dbcafaa77c393a259563.jpg","text":"TemporaryFile(/tmp/multipartBody7305079092749258365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737324513390,"filename":"image_19012025_23_07_02_929092_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330143238","file1":"1330143236","file0":"1330143134","file3":"1330143407"},"map_files_photo_id_array":[{"photo_id":"1330143238","filename":"file2"},{"photo_id":"1330143236","filename":"file1"},{"photo_id":"1330143134","filename":"file0"},{"photo_id":"1330143407","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330143238":["hashtag1","hashtag2"]},{"1330143134":["hashtag1","hashtag2"]},{"1330143407":["hashtag1","hashtag2"]},{"1330143236":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330143238, 1330143134, 1330143407, 1330143236)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.13830924034119 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 23:08:22.027507
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/23/07/image_19012025_23_07_02_929092_0003.jpg', '/home/pi/Desktop/images/19012025/23/08/image_19012025_23_08_02_205921_0000.jpg', '/home/pi/Desktop/images/19012025/23/08/image_19012025_23_08_02_205921_0001.jpg', '/home/pi/Desktop/images/19012025/23/08/image_19012025_23_08_02_205921_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/23/07/image_19012025_23_07_02_929092_0003.jpg
/home/pi/Desktop/images/19012025/23/08/image_19012025_23_08_02_205921_0000.jpg
/home/pi/Desktop/images/19012025/23/08/image_19012025_23_08_02_205921_0001.jpg
/home/pi/Desktop/images/19012025/23/08/image_19012025_23_08_02_205921_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330143805","1330143801","1330143807","1330143803"],"photo_ids_order":["1330143801","1330143803","1330143805","1330143807"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/55a004b469fd94d5799333611558106b.jpg","text":"TemporaryFile(/tmp/multipartBody1857328914949835240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737324573745,"filename":"image_19012025_23_08_02_205921_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/ef3a62db9ee48cddc58e1807f403cc11.jpg","text":"TemporaryFile(/tmp/multipartBody6411905163403796402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737324573745,"filename":"image_19012025_23_07_02_929092_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/da7827ad40101fefe2580aef086f8a4d.jpg","text":"TemporaryFile(/tmp/multipartBody6895603831067360327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737324573745,"filename":"image_19012025_23_08_02_205921_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/0930ae17898eab0866b130f4366e6cc1.jpg","text":"TemporaryFile(/tmp/multipartBody7335680685104124487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737324573745,"filename":"image_19012025_23_08_02_205921_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330143805","file1":"1330143803","file0":"1330143801","file3":"1330143807"},"map_files_photo_id_array":[{"photo_id":"1330143805","filename":"file2"},{"photo_id":"1330143803","filename":"file1"},{"photo_id":"1330143801","filename":"file0"},{"photo_id":"1330143807","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330143805":["hashtag1","hashtag2"]},{"1330143801":["hashtag1","hashtag2"]},{"1330143807":["hashtag1","hashtag2"]},{"1330143803":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330143805, 1330143801, 1330143807, 1330143803)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.27703046798706 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 23:09:02.792602
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 23:09:22.165215
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/23/08/image_19012025_23_08_02_205921_0003.jpg', '/home/pi/Desktop/images/19012025/23/09/image_19012025_23_09_02_370108_0000.jpg', '/home/pi/Desktop/images/19012025/23/09/image_19012025_23_09_02_370108_0001.jpg', '/home/pi/Desktop/images/19012025/23/09/image_19012025_23_09_02_370108_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/23/08/image_19012025_23_08_02_205921_0003.jpg
/home/pi/Desktop/images/19012025/23/09/image_19012025_23_09_02_370108_0000.jpg
/home/pi/Desktop/images/19012025/23/09/image_19012025_23_09_02_370108_0001.jpg
/home/pi/Desktop/images/19012025/23/09/image_19012025_23_09_02_370108_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330143814","1330143819","1330143813","1330143817"],"photo_ids_order":["1330143813","1330143814","1330143817","1330143819"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/62ba52ed19f9e29dbe6bd0e002b7ca38.jpg","text":"TemporaryFile(/tmp/multipartBody683962284864129070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737324634279,"filename":"image_19012025_23_09_02_370108_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/3e2b7a8ac88cc690d6fee1178b866a4c.jpg","text":"TemporaryFile(/tmp/multipartBody4482819253503695386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737324634279,"filename":"image_19012025_23_09_02_370108_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/f747ea54889170178223adcb7006fcb0.jpg","text":"TemporaryFile(/tmp/multipartBody3849733482375926661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737324634279,"filename":"image_19012025_23_08_02_205921_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/9b680e3396d600dd6ed53b12c14f5c06.jpg","text":"TemporaryFile(/tmp/multipartBody1315201321609951580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737324634279,"filename":"image_19012025_23_09_02_370108_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330143817","file1":"1330143814","file0":"1330143813","file3":"1330143819"},"map_files_photo_id_array":[{"photo_id":"1330143817","filename":"file2"},{"photo_id":"1330143814","filename":"file1"},{"photo_id":"1330143813","filename":"file0"},{"photo_id":"1330143819","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330143814":["hashtag1","hashtag2"]},{"1330143819":["hashtag1","hashtag2"]},{"1330143813":["hashtag1","hashtag2"]},{"1330143817":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330143814, 1330143819, 1330143813, 1330143817)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 47.56686305999756 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 23:10:22.314858
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/23/09/image_19012025_23_09_02_370108_0003.jpg', '/home/pi/Desktop/images/19012025/23/10/image_19012025_23_10_02_532130_0000.jpg', '/home/pi/Desktop/images/19012025/23/10/image_19012025_23_10_02_532130_0001.jpg', '/home/pi/Desktop/images/19012025/23/10/image_19012025_23_10_02_532130_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/23/09/image_19012025_23_09_02_370108_0003.jpg
/home/pi/Desktop/images/19012025/23/10/image_19012025_23_10_02_532130_0000.jpg
/home/pi/Desktop/images/19012025/23/10/image_19012025_23_10_02_532130_0001.jpg
/home/pi/Desktop/images/19012025/23/10/image_19012025_23_10_02_532130_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 11.539353609085083 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-19 23:10:42.392376
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/23/09/image_19012025_23_09_02_370108_0003.jpg', '/home/pi/Desktop/images/19012025/23/10/image_19012025_23_10_02_532130_0000.jpg', '/home/pi/Desktop/images/19012025/23/10/image_19012025_23_10_02_532130_0001.jpg', '/home/pi/Desktop/images/19012025/23/10/image_19012025_23_10_02_532130_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/23/09/image_19012025_23_09_02_370108_0003.jpg
/home/pi/Desktop/images/19012025/23/10/image_19012025_23_10_02_532130_0000.jpg
/home/pi/Desktop/images/19012025/23/10/image_19012025_23_10_02_532130_0001.jpg
/home/pi/Desktop/images/19012025/23/10/image_19012025_23_10_02_532130_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330143847","1330143852","1330143849","1330143851"],"photo_ids_order":["1330143847","1330143849","1330143851","1330143852"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/9ae45f8fb8a00f5e84acc297ce4bf4e7.jpg","text":"TemporaryFile(/tmp/multipartBody7151579298411035723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737324714328,"filename":"image_19012025_23_09_02_370108_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/d8453254232e87f931065f2b9f54d7d2.jpg","text":"TemporaryFile(/tmp/multipartBody975308401166721949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737324714328,"filename":"image_19012025_23_10_02_532130_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/6cbfd88614bb9152d2861a7d5ece1c0b.jpg","text":"TemporaryFile(/tmp/multipartBody357399237860911041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737324714328,"filename":"image_19012025_23_10_02_532130_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/5704ff39865e2bb2866f94367debf2ed.jpg","text":"TemporaryFile(/tmp/multipartBody7668143797407614871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737324714328,"filename":"image_19012025_23_10_02_532130_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330143851","file1":"1330143849","file0":"1330143847","file3":"1330143852"},"map_files_photo_id_array":[{"photo_id":"1330143851","filename":"file2"},{"photo_id":"1330143849","filename":"file1"},{"photo_id":"1330143847","filename":"file0"},{"photo_id":"1330143852","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330143847":["hashtag1","hashtag2"]},{"1330143852":["hashtag1","hashtag2"]},{"1330143849":["hashtag1","hashtag2"]},{"1330143851":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330143847, 1330143852, 1330143849, 1330143851)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 46.11864495277405 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-19 23:11:32.489736
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/23/10/image_19012025_23_10_02_532130_0003.jpg', '/home/pi/Desktop/images/19012025/23/11/image_19012025_23_11_02_718345_0000.jpg', '/home/pi/Desktop/images/19012025/23/11/image_19012025_23_11_02_718345_0001.jpg', '/home/pi/Desktop/images/19012025/23/11/image_19012025_23_11_02_718345_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/23/10/image_19012025_23_10_02_532130_0003.jpg
/home/pi/Desktop/images/19012025/23/11/image_19012025_23_11_02_718345_0000.jpg
/home/pi/Desktop/images/19012025/23/11/image_19012025_23_11_02_718345_0001.jpg
/home/pi/Desktop/images/19012025/23/11/image_19012025_23_11_02_718345_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330143862","1330143856","1330143865","1330143859"],"photo_ids_order":["1330143856","1330143859","1330143862","1330143865"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/ae722c45158c75729330cc586a1eaa45.jpg","text":"TemporaryFile(/tmp/multipartBody5977842833989273060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737324763907,"filename":"image_19012025_23_11_02_718345_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/9e91c41d61f809e4337aac3d85f88175.jpg","text":"TemporaryFile(/tmp/multipartBody5328021832825962250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737324763907,"filename":"image_19012025_23_10_02_532130_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/54d1d80ad1563449bdaa42259d32af0d.jpg","text":"TemporaryFile(/tmp/multipartBody540955973509833733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737324763907,"filename":"image_19012025_23_11_02_718345_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/d6d47e8a747cee825238f06af706c42a.jpg","text":"TemporaryFile(/tmp/multipartBody8141539541767482798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737324763907,"filename":"image_19012025_23_11_02_718345_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330143862","file1":"1330143859","file0":"1330143856","file3":"1330143865"},"map_files_photo_id_array":[{"photo_id":"1330143862","filename":"file2"},{"photo_id":"1330143859","filename":"file1"},{"photo_id":"1330143856","filename":"file0"},{"photo_id":"1330143865","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330143862":["hashtag1","hashtag2"]},{"1330143856":["hashtag1","hashtag2"]},{"1330143865":["hashtag1","hashtag2"]},{"1330143859":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330143862, 1330143856, 1330143865, 1330143859)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.06729507446289 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 23:12:22.713346
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/23/11/image_19012025_23_11_02_718345_0003.jpg', '/home/pi/Desktop/images/19012025/23/12/image_19012025_23_12_02_840900_0000.jpg', '/home/pi/Desktop/images/19012025/23/12/image_19012025_23_12_02_840900_0001.jpg', '/home/pi/Desktop/images/19012025/23/12/image_19012025_23_12_02_840900_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/23/11/image_19012025_23_11_02_718345_0003.jpg
/home/pi/Desktop/images/19012025/23/12/image_19012025_23_12_02_840900_0000.jpg
/home/pi/Desktop/images/19012025/23/12/image_19012025_23_12_02_840900_0001.jpg
/home/pi/Desktop/images/19012025/23/12/image_19012025_23_12_02_840900_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330143882","1330143884","1330143878","1330143880"],"photo_ids_order":["1330143878","1330143880","1330143882","1330143884"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/6975b2690a15296b4759e79111b908bc.jpg","text":"TemporaryFile(/tmp/multipartBody2404176054956125470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737324814212,"filename":"image_19012025_23_12_02_840900_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/169c51b049674f2d55670a1a46593f6b.jpg","text":"TemporaryFile(/tmp/multipartBody1337614176481498905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737324814212,"filename":"image_19012025_23_12_02_840900_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/d426ae4dfd97fb76ad5b2b0087a7d448.jpg","text":"TemporaryFile(/tmp/multipartBody2656684540853887862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737324814212,"filename":"image_19012025_23_11_02_718345_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/f2555f9eb11c49eb8d03b46266151680.jpg","text":"TemporaryFile(/tmp/multipartBody5432207005411000799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737324814212,"filename":"image_19012025_23_12_02_840900_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330143882","file1":"1330143880","file0":"1330143878","file3":"1330143884"},"map_files_photo_id_array":[{"photo_id":"1330143882","filename":"file2"},{"photo_id":"1330143880","filename":"file1"},{"photo_id":"1330143878","filename":"file0"},{"photo_id":"1330143884","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330143882":["hashtag1","hashtag2"]},{"1330143884":["hashtag1","hashtag2"]},{"1330143878":["hashtag1","hashtag2"]},{"1330143880":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330143882, 1330143884, 1330143878, 1330143880)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.86339807510376 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 23:13:21.823457
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/23/12/image_19012025_23_12_02_840900_0003.jpg', '/home/pi/Desktop/images/19012025/23/13/image_19012025_23_13_03_049740_0000.jpg', '/home/pi/Desktop/images/19012025/23/13/image_19012025_23_13_03_049740_0001.jpg', '/home/pi/Desktop/images/19012025/23/13/image_19012025_23_13_03_049740_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/23/12/image_19012025_23_12_02_840900_0003.jpg
/home/pi/Desktop/images/19012025/23/13/image_19012025_23_13_03_049740_0000.jpg
/home/pi/Desktop/images/19012025/23/13/image_19012025_23_13_03_049740_0001.jpg
/home/pi/Desktop/images/19012025/23/13/image_19012025_23_13_03_049740_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330144059","1330144044","1330144073","1330144033"],"photo_ids_order":["1330144033","1330144044","1330144059","1330144073"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/6a23739dbdfa75229ce0fffec92c320d.jpg","text":"TemporaryFile(/tmp/multipartBody8644631768254859256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737324873504,"filename":"image_19012025_23_13_03_049740_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/60ee2c338951aedc068a773b1e8943b5.jpg","text":"TemporaryFile(/tmp/multipartBody8994991190508386865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737324873504,"filename":"image_19012025_23_13_03_049740_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/05e26be635c19e6eff945bb1cdc3c61a.jpg","text":"TemporaryFile(/tmp/multipartBody8746362297201770009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737324873504,"filename":"image_19012025_23_13_03_049740_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/105d8946b9cf14d72e0cccab5f8bba70.jpg","text":"TemporaryFile(/tmp/multipartBody1844274150190480452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737324873504,"filename":"image_19012025_23_12_02_840900_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330144059","file1":"1330144044","file0":"1330144033","file3":"1330144073"},"map_files_photo_id_array":[{"photo_id":"1330144059","filename":"file2"},{"photo_id":"1330144044","filename":"file1"},{"photo_id":"1330144033","filename":"file0"},{"photo_id":"1330144073","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330144059":["hashtag1","hashtag2"]},{"1330144044":["hashtag1","hashtag2"]},{"1330144073":["hashtag1","hashtag2"]},{"1330144033":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330144059, 1330144044, 1330144073, 1330144033)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.820072174072266 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 23:14:22.073534
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/23/13/image_19012025_23_13_03_049740_0003.jpg', '/home/pi/Desktop/images/19012025/23/14/image_19012025_23_14_02_195635_0000.jpg', '/home/pi/Desktop/images/19012025/23/14/image_19012025_23_14_02_195635_0001.jpg', '/home/pi/Desktop/images/19012025/23/14/image_19012025_23_14_02_195635_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/23/13/image_19012025_23_13_03_049740_0003.jpg
/home/pi/Desktop/images/19012025/23/14/image_19012025_23_14_02_195635_0000.jpg
/home/pi/Desktop/images/19012025/23/14/image_19012025_23_14_02_195635_0001.jpg
/home/pi/Desktop/images/19012025/23/14/image_19012025_23_14_02_195635_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330144170","1330144172","1330144165","1330144168"],"photo_ids_order":["1330144165","1330144168","1330144170","1330144172"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/78eaf7ac623c6e8fe5b01843e1fd011c.jpg","text":"TemporaryFile(/tmp/multipartBody8583505157480743674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737324933428,"filename":"image_19012025_23_14_02_195635_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/0b53017f1ffcd3ef579f2a02eebcfa69.jpg","text":"TemporaryFile(/tmp/multipartBody7612444265109708669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737324933428,"filename":"image_19012025_23_14_02_195635_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/b906e846e722d1f42af0c05f05cffb40.jpg","text":"TemporaryFile(/tmp/multipartBody5380005948688692489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737324933428,"filename":"image_19012025_23_13_03_049740_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/5a3ac74186d30af4739e5a868a854920.jpg","text":"TemporaryFile(/tmp/multipartBody5698230251568974639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737324933428,"filename":"image_19012025_23_14_02_195635_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330144170","file1":"1330144168","file0":"1330144165","file3":"1330144172"},"map_files_photo_id_array":[{"photo_id":"1330144170","filename":"file2"},{"photo_id":"1330144168","filename":"file1"},{"photo_id":"1330144165","filename":"file0"},{"photo_id":"1330144172","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330144170":["hashtag1","hashtag2"]},{"1330144172":["hashtag1","hashtag2"]},{"1330144165":["hashtag1","hashtag2"]},{"1330144168":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330144170, 1330144172, 1330144165, 1330144168)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 47.7905170917511 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 23:15:22.283673
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/23/14/image_19012025_23_14_02_195635_0003.jpg', '/home/pi/Desktop/images/19012025/23/15/image_19012025_23_15_02_424788_0000.jpg', '/home/pi/Desktop/images/19012025/23/15/image_19012025_23_15_02_424788_0001.jpg', '/home/pi/Desktop/images/19012025/23/15/image_19012025_23_15_02_424788_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/23/14/image_19012025_23_14_02_195635_0003.jpg
/home/pi/Desktop/images/19012025/23/15/image_19012025_23_15_02_424788_0000.jpg
/home/pi/Desktop/images/19012025/23/15/image_19012025_23_15_02_424788_0001.jpg
/home/pi/Desktop/images/19012025/23/15/image_19012025_23_15_02_424788_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330144179","1330144181","1330144175","1330144177"],"photo_ids_order":["1330144175","1330144177","1330144179","1330144181"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/a25aa32bc964e49919bd3a0e71162533.jpg","text":"TemporaryFile(/tmp/multipartBody6533707408942969645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737324993957,"filename":"image_19012025_23_15_02_424788_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/4a5b6fb4c2b63c53cb0549d9e633bb50.jpg","text":"TemporaryFile(/tmp/multipartBody6042713452041209648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737324993957,"filename":"image_19012025_23_15_02_424788_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/f09f2efddf11908858f079cad6ca1384.jpg","text":"TemporaryFile(/tmp/multipartBody72111856927120186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737324993957,"filename":"image_19012025_23_14_02_195635_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/0bbc193cb96493fc0af1c0b4cefea38b.jpg","text":"TemporaryFile(/tmp/multipartBody2269462453326233219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737324993957,"filename":"image_19012025_23_15_02_424788_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330144179","file1":"1330144177","file0":"1330144175","file3":"1330144181"},"map_files_photo_id_array":[{"photo_id":"1330144179","filename":"file2"},{"photo_id":"1330144177","filename":"file1"},{"photo_id":"1330144175","filename":"file0"},{"photo_id":"1330144181","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330144179":["hashtag1","hashtag2"]},{"1330144181":["hashtag1","hashtag2"]},{"1330144175":["hashtag1","hashtag2"]},{"1330144177":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330144179, 1330144181, 1330144175, 1330144177)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.74887728691101 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 23:16:22.405471
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/23/15/image_19012025_23_15_02_424788_0003.jpg', '/home/pi/Desktop/images/19012025/23/16/image_19012025_23_16_02_606321_0000.jpg', '/home/pi/Desktop/images/19012025/23/16/image_19012025_23_16_02_606321_0001.jpg', '/home/pi/Desktop/images/19012025/23/16/image_19012025_23_16_02_606321_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/23/15/image_19012025_23_15_02_424788_0003.jpg
/home/pi/Desktop/images/19012025/23/16/image_19012025_23_16_02_606321_0000.jpg
/home/pi/Desktop/images/19012025/23/16/image_19012025_23_16_02_606321_0001.jpg
/home/pi/Desktop/images/19012025/23/16/image_19012025_23_16_02_606321_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330144215","1330144209","1330144211","1330144214"],"photo_ids_order":["1330144209","1330144211","1330144214","1330144215"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/03006d3bda1ed07d230a164e3b1ae602.jpg","text":"TemporaryFile(/tmp/multipartBody7974990704633792026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737325054274,"filename":"image_19012025_23_16_02_606321_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/37b0bb719ebe8d37d749566e0cbd43a4.jpg","text":"TemporaryFile(/tmp/multipartBody6066893738079711987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737325054274,"filename":"image_19012025_23_15_02_424788_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/cceb7c4a268b99a4693cf7596d813323.jpg","text":"TemporaryFile(/tmp/multipartBody8660088464998130576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737325054274,"filename":"image_19012025_23_16_02_606321_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/f6a16b6180da04fd85d5b30c061d3da8.jpg","text":"TemporaryFile(/tmp/multipartBody3799370761192854843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737325054274,"filename":"image_19012025_23_16_02_606321_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330144214","file1":"1330144211","file0":"1330144209","file3":"1330144215"},"map_files_photo_id_array":[{"photo_id":"1330144214","filename":"file2"},{"photo_id":"1330144211","filename":"file1"},{"photo_id":"1330144209","filename":"file0"},{"photo_id":"1330144215","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330144215":["hashtag1","hashtag2"]},{"1330144209":["hashtag1","hashtag2"]},{"1330144211":["hashtag1","hashtag2"]},{"1330144214":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330144215, 1330144209, 1330144211, 1330144214)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 44.06560397148132 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 23:17:22.627665
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/23/16/image_19012025_23_16_02_606321_0003.jpg', '/home/pi/Desktop/images/19012025/23/17/image_19012025_23_17_02_727873_0000.jpg', '/home/pi/Desktop/images/19012025/23/17/image_19012025_23_17_02_727873_0001.jpg', '/home/pi/Desktop/images/19012025/23/17/image_19012025_23_17_02_727873_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/23/16/image_19012025_23_16_02_606321_0003.jpg
/home/pi/Desktop/images/19012025/23/17/image_19012025_23_17_02_727873_0000.jpg
/home/pi/Desktop/images/19012025/23/17/image_19012025_23_17_02_727873_0001.jpg
/home/pi/Desktop/images/19012025/23/17/image_19012025_23_17_02_727873_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 11.002482414245605 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-19 23:17:42.541353
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/23/16/image_19012025_23_16_02_606321_0003.jpg', '/home/pi/Desktop/images/19012025/23/17/image_19012025_23_17_02_727873_0000.jpg', '/home/pi/Desktop/images/19012025/23/17/image_19012025_23_17_02_727873_0001.jpg', '/home/pi/Desktop/images/19012025/23/17/image_19012025_23_17_02_727873_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/23/16/image_19012025_23_16_02_606321_0003.jpg
/home/pi/Desktop/images/19012025/23/17/image_19012025_23_17_02_727873_0000.jpg
/home/pi/Desktop/images/19012025/23/17/image_19012025_23_17_02_727873_0001.jpg
/home/pi/Desktop/images/19012025/23/17/image_19012025_23_17_02_727873_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330144263","1330144264","1330144246","1330144261"],"photo_ids_order":["1330144246","1330144261","1330144263","1330144264"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/e8e6362179cbc05a8f89f19d63b51338.jpg","text":"TemporaryFile(/tmp/multipartBody6305592904008043791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737325133953,"filename":"image_19012025_23_17_02_727873_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/936675c4cdb2e1e661552d1463ad756a.jpg","text":"TemporaryFile(/tmp/multipartBody1444573490874660112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737325133953,"filename":"image_19012025_23_17_02_727873_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/bc16187e04b6b063eb8934cf93feb6e4.jpg","text":"TemporaryFile(/tmp/multipartBody5728334753683086050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737325133953,"filename":"image_19012025_23_16_02_606321_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/eb90aaa971f347f76aeb53a0618fe930.jpg","text":"TemporaryFile(/tmp/multipartBody4315117914101711021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737325133953,"filename":"image_19012025_23_17_02_727873_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330144263","file1":"1330144261","file0":"1330144246","file3":"1330144264"},"map_files_photo_id_array":[{"photo_id":"1330144263","filename":"file2"},{"photo_id":"1330144261","filename":"file1"},{"photo_id":"1330144246","filename":"file0"},{"photo_id":"1330144264","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330144263":["hashtag1","hashtag2"]},{"1330144264":["hashtag1","hashtag2"]},{"1330144246":["hashtag1","hashtag2"]},{"1330144261":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330144263, 1330144264, 1330144246, 1330144261)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.18898558616638 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-19 23:18:32.743878
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/23/17/image_19012025_23_17_02_727873_0003.jpg', '/home/pi/Desktop/images/19012025/23/18/image_19012025_23_18_02_965909_0000.jpg', '/home/pi/Desktop/images/19012025/23/18/image_19012025_23_18_02_965909_0001.jpg', '/home/pi/Desktop/images/19012025/23/18/image_19012025_23_18_02_965909_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/23/17/image_19012025_23_17_02_727873_0003.jpg
/home/pi/Desktop/images/19012025/23/18/image_19012025_23_18_02_965909_0000.jpg
/home/pi/Desktop/images/19012025/23/18/image_19012025_23_18_02_965909_0001.jpg
/home/pi/Desktop/images/19012025/23/18/image_19012025_23_18_02_965909_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330144452","1330144449","1330144446","1330144454"],"photo_ids_order":["1330144446","1330144449","1330144452","1330144454"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/0ba7e02c4a26e6131ec805bef958fe34.jpg","text":"TemporaryFile(/tmp/multipartBody3713305058491588104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737325184392,"filename":"image_19012025_23_18_02_965909_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/8fecd799f9dd2506fc79d7c6dca306f3.jpg","text":"TemporaryFile(/tmp/multipartBody656299213449604537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737325184392,"filename":"image_19012025_23_18_02_965909_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/d0aa1109508c10db8f2c3897b50a3d3c.jpg","text":"TemporaryFile(/tmp/multipartBody4096403335980781898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737325184392,"filename":"image_19012025_23_17_02_727873_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/32da40e1f82d9a640df47e4f2c0bce18.jpg","text":"TemporaryFile(/tmp/multipartBody2856939683197162256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737325184392,"filename":"image_19012025_23_18_02_965909_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330144452","file1":"1330144449","file0":"1330144446","file3":"1330144454"},"map_files_photo_id_array":[{"photo_id":"1330144452","filename":"file2"},{"photo_id":"1330144449","filename":"file1"},{"photo_id":"1330144446","filename":"file0"},{"photo_id":"1330144454","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330144452":["hashtag1","hashtag2"]},{"1330144449":["hashtag1","hashtag2"]},{"1330144446":["hashtag1","hashtag2"]},{"1330144454":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330144452, 1330144449, 1330144446, 1330144454)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.57651472091675 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 23:19:21.906327
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/23/18/image_19012025_23_18_02_965909_0003.jpg', '/home/pi/Desktop/images/19012025/23/19/image_19012025_23_19_03_066521_0000.jpg', '/home/pi/Desktop/images/19012025/23/19/image_19012025_23_19_03_066521_0001.jpg', '/home/pi/Desktop/images/19012025/23/19/image_19012025_23_19_03_066521_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/23/18/image_19012025_23_18_02_965909_0003.jpg
/home/pi/Desktop/images/19012025/23/19/image_19012025_23_19_03_066521_0000.jpg
/home/pi/Desktop/images/19012025/23/19/image_19012025_23_19_03_066521_0001.jpg
/home/pi/Desktop/images/19012025/23/19/image_19012025_23_19_03_066521_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330144587","1330144580","1330144582","1330144584"],"photo_ids_order":["1330144580","1330144582","1330144584","1330144587"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/474b5ef2391ccf43249f40394fd7265f.jpg","text":"TemporaryFile(/tmp/multipartBody1582754175554302011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737325233363,"filename":"image_19012025_23_19_03_066521_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/6ade48f83daeaf8563e1f851c5ad1159.jpg","text":"TemporaryFile(/tmp/multipartBody4743923930181004062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737325233363,"filename":"image_19012025_23_18_02_965909_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/05fc7f1fb86a0bc309ef15ddf675298f.jpg","text":"TemporaryFile(/tmp/multipartBody1783471956654087115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737325233363,"filename":"image_19012025_23_19_03_066521_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/b06dc0dd82f8fc50835ac2d3c56073fc.jpg","text":"TemporaryFile(/tmp/multipartBody9057441525885219377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737325233363,"filename":"image_19012025_23_19_03_066521_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330144584","file1":"1330144582","file0":"1330144580","file3":"1330144587"},"map_files_photo_id_array":[{"photo_id":"1330144584","filename":"file2"},{"photo_id":"1330144582","filename":"file1"},{"photo_id":"1330144580","filename":"file0"},{"photo_id":"1330144587","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330144587":["hashtag1","hashtag2"]},{"1330144580":["hashtag1","hashtag2"]},{"1330144582":["hashtag1","hashtag2"]},{"1330144584":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330144587, 1330144580, 1330144582, 1330144584)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.80641198158264 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 23:20:22.061902
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/23/19/image_19012025_23_19_03_066521_0003.jpg', '/home/pi/Desktop/images/19012025/23/20/image_19012025_23_20_02_244620_0000.jpg', '/home/pi/Desktop/images/19012025/23/20/image_19012025_23_20_02_244620_0001.jpg', '/home/pi/Desktop/images/19012025/23/20/image_19012025_23_20_02_244620_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/23/19/image_19012025_23_19_03_066521_0003.jpg
/home/pi/Desktop/images/19012025/23/20/image_19012025_23_20_02_244620_0000.jpg
/home/pi/Desktop/images/19012025/23/20/image_19012025_23_20_02_244620_0001.jpg
/home/pi/Desktop/images/19012025/23/20/image_19012025_23_20_02_244620_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330144592","1330144594","1330144596","1330144590"],"photo_ids_order":["1330144590","1330144592","1330144594","1330144596"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/c58ccc1241b159f9c77b4d7c94eb5e0f.jpg","text":"TemporaryFile(/tmp/multipartBody2166918407286950960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737325293642,"filename":"image_19012025_23_20_02_244620_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/2cb611787fd9dc3aace6daa6ebaeabec.jpg","text":"TemporaryFile(/tmp/multipartBody2307631287321085330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737325293642,"filename":"image_19012025_23_20_02_244620_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/deb3da11b6433a222622fdf691aeb429.jpg","text":"TemporaryFile(/tmp/multipartBody4902392028674188196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737325293642,"filename":"image_19012025_23_20_02_244620_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/7712ffd7de6cbc566ccb5d22ae10cb96.jpg","text":"TemporaryFile(/tmp/multipartBody7988772481530010480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737325293642,"filename":"image_19012025_23_19_03_066521_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330144594","file1":"1330144592","file0":"1330144590","file3":"1330144596"},"map_files_photo_id_array":[{"photo_id":"1330144594","filename":"file2"},{"photo_id":"1330144592","filename":"file1"},{"photo_id":"1330144590","filename":"file0"},{"photo_id":"1330144596","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330144592":["hashtag1","hashtag2"]},{"1330144594":["hashtag1","hashtag2"]},{"1330144596":["hashtag1","hashtag2"]},{"1330144590":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330144592, 1330144594, 1330144596, 1330144590)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.56229829788208 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 23:21:03.120996
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 23:21:22.363981
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/23/20/image_19012025_23_20_02_244620_0003.jpg', '/home/pi/Desktop/images/19012025/23/21/image_19012025_23_21_02_491870_0000.jpg', '/home/pi/Desktop/images/19012025/23/21/image_19012025_23_21_02_491870_0001.jpg', '/home/pi/Desktop/images/19012025/23/21/image_19012025_23_21_02_491870_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/23/20/image_19012025_23_20_02_244620_0003.jpg
/home/pi/Desktop/images/19012025/23/21/image_19012025_23_21_02_491870_0000.jpg
/home/pi/Desktop/images/19012025/23/21/image_19012025_23_21_02_491870_0001.jpg
/home/pi/Desktop/images/19012025/23/21/image_19012025_23_21_02_491870_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330144602","1330144604","1330144606","1330144600"],"photo_ids_order":["1330144600","1330144602","1330144604","1330144606"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/81074af8a8b1e12fbc1eb8ee6a8370bb.jpg","text":"TemporaryFile(/tmp/multipartBody4449258896809576290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737325353788,"filename":"image_19012025_23_21_02_491870_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/225f2b877112e2bdc1d2bed5835dd993.jpg","text":"TemporaryFile(/tmp/multipartBody7624647704375178693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737325353788,"filename":"image_19012025_23_21_02_491870_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/eaac4523d449970169d9ca28506575fd.jpg","text":"TemporaryFile(/tmp/multipartBody1969163992680864488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737325353788,"filename":"image_19012025_23_21_02_491870_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/1970ed8486855ee624196fd389eb999a.jpg","text":"TemporaryFile(/tmp/multipartBody1828716002898161536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737325353788,"filename":"image_19012025_23_20_02_244620_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330144604","file1":"1330144602","file0":"1330144600","file3":"1330144606"},"map_files_photo_id_array":[{"photo_id":"1330144604","filename":"file2"},{"photo_id":"1330144602","filename":"file1"},{"photo_id":"1330144600","filename":"file0"},{"photo_id":"1330144606","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330144602":["hashtag1","hashtag2"]},{"1330144604":["hashtag1","hashtag2"]},{"1330144606":["hashtag1","hashtag2"]},{"1330144600":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330144602, 1330144604, 1330144606, 1330144600)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.65117406845093 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 23:22:22.364059
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/23/21/image_19012025_23_21_02_491870_0003.jpg', '/home/pi/Desktop/images/19012025/23/22/image_19012025_23_22_02_725685_0000.jpg', '/home/pi/Desktop/images/19012025/23/22/image_19012025_23_22_02_725685_0001.jpg', '/home/pi/Desktop/images/19012025/23/22/image_19012025_23_22_02_725685_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/23/21/image_19012025_23_21_02_491870_0003.jpg
/home/pi/Desktop/images/19012025/23/22/image_19012025_23_22_02_725685_0000.jpg
/home/pi/Desktop/images/19012025/23/22/image_19012025_23_22_02_725685_0001.jpg
/home/pi/Desktop/images/19012025/23/22/image_19012025_23_22_02_725685_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330144641","1330144643","1330144646","1330144651"],"photo_ids_order":["1330144641","1330144643","1330144646","1330144651"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/b47fadb10ff357e325a50474940b6ee7.jpg","text":"TemporaryFile(/tmp/multipartBody1503290177196641385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737325413889,"filename":"image_19012025_23_21_02_491870_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/3e6117f61a0f0a9edee7d9dc9eb2f7d5.jpg","text":"TemporaryFile(/tmp/multipartBody8369611603802871911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737325413889,"filename":"image_19012025_23_22_02_725685_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/cfab9471664651b2f3b94acd55bb8cf2.jpg","text":"TemporaryFile(/tmp/multipartBody2035412538439624437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737325413889,"filename":"image_19012025_23_22_02_725685_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/6596a5163f0490498dcfefd84425ac21.jpg","text":"TemporaryFile(/tmp/multipartBody6293812732866228622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737325413889,"filename":"image_19012025_23_22_02_725685_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330144646","file1":"1330144643","file0":"1330144641","file3":"1330144651"},"map_files_photo_id_array":[{"photo_id":"1330144646","filename":"file2"},{"photo_id":"1330144643","filename":"file1"},{"photo_id":"1330144641","filename":"file0"},{"photo_id":"1330144651","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330144641":["hashtag1","hashtag2"]},{"1330144643":["hashtag1","hashtag2"]},{"1330144646":["hashtag1","hashtag2"]},{"1330144651":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330144641, 1330144643, 1330144646, 1330144651)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 46.13674521446228 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 23:23:22.583644
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/23/22/image_19012025_23_22_02_725685_0003.jpg', '/home/pi/Desktop/images/19012025/23/23/image_19012025_23_23_02_785163_0000.jpg', '/home/pi/Desktop/images/19012025/23/23/image_19012025_23_23_02_785163_0001.jpg', '/home/pi/Desktop/images/19012025/23/23/image_19012025_23_23_02_785163_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/23/22/image_19012025_23_22_02_725685_0003.jpg
/home/pi/Desktop/images/19012025/23/23/image_19012025_23_23_02_785163_0000.jpg
/home/pi/Desktop/images/19012025/23/23/image_19012025_23_23_02_785163_0001.jpg
/home/pi/Desktop/images/19012025/23/23/image_19012025_23_23_02_785163_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330144716","1330144710","1330144712","1330144714"],"photo_ids_order":["1330144710","1330144712","1330144714","1330144716"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/13645d64751630bafd696b6e41fe8965.jpg","text":"TemporaryFile(/tmp/multipartBody3892639087001207932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737325474226,"filename":"image_19012025_23_23_02_785163_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/07ff8b7131ce36cc3a1f9e04043dc49b.jpg","text":"TemporaryFile(/tmp/multipartBody4860009686793350379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737325474226,"filename":"image_19012025_23_22_02_725685_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/261196ca5d2276f96eb5663a14b95ec5.jpg","text":"TemporaryFile(/tmp/multipartBody3817488865116587517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737325474226,"filename":"image_19012025_23_23_02_785163_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/4670ddf1d797f41c74b696e38a1d7428.jpg","text":"TemporaryFile(/tmp/multipartBody6643348570482206893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737325474226,"filename":"image_19012025_23_23_02_785163_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330144714","file1":"1330144712","file0":"1330144710","file3":"1330144716"},"map_files_photo_id_array":[{"photo_id":"1330144714","filename":"file2"},{"photo_id":"1330144712","filename":"file1"},{"photo_id":"1330144710","filename":"file0"},{"photo_id":"1330144716","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330144716":["hashtag1","hashtag2"]},{"1330144710":["hashtag1","hashtag2"]},{"1330144712":["hashtag1","hashtag2"]},{"1330144714":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330144716, 1330144710, 1330144712, 1330144714)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.30416464805603 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 23:24:22.663240
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/23/23/image_19012025_23_23_02_785163_0003.jpg', '/home/pi/Desktop/images/19012025/23/24/image_19012025_23_24_02_984470_0000.jpg', '/home/pi/Desktop/images/19012025/23/24/image_19012025_23_24_02_984470_0001.jpg', '/home/pi/Desktop/images/19012025/23/24/image_19012025_23_24_02_984470_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/23/23/image_19012025_23_23_02_785163_0003.jpg
/home/pi/Desktop/images/19012025/23/24/image_19012025_23_24_02_984470_0000.jpg
/home/pi/Desktop/images/19012025/23/24/image_19012025_23_24_02_984470_0001.jpg
/home/pi/Desktop/images/19012025/23/24/image_19012025_23_24_02_984470_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.848569869995117 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-19 23:24:42.647375
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/23/23/image_19012025_23_23_02_785163_0003.jpg', '/home/pi/Desktop/images/19012025/23/24/image_19012025_23_24_02_984470_0000.jpg', '/home/pi/Desktop/images/19012025/23/24/image_19012025_23_24_02_984470_0001.jpg', '/home/pi/Desktop/images/19012025/23/24/image_19012025_23_24_02_984470_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/23/23/image_19012025_23_23_02_785163_0003.jpg
/home/pi/Desktop/images/19012025/23/24/image_19012025_23_24_02_984470_0000.jpg
/home/pi/Desktop/images/19012025/23/24/image_19012025_23_24_02_984470_0001.jpg
/home/pi/Desktop/images/19012025/23/24/image_19012025_23_24_02_984470_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":["1330144830","1330144823","1330144847","1330144846"],"photo_ids_order":["1330144823","1330144830","1330144846","1330144847"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/4bfe1a591cd442140ad5e85f41a505f6.jpg","text":"TemporaryFile(/tmp/multipartBody3815393089095087729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737325553893,"filename":"image_19012025_23_24_02_984470_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/5c947d03c56fae7727ded5f56295601d.jpg","text":"TemporaryFile(/tmp/multipartBody2698739362956164076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737325553893,"filename":"image_19012025_23_23_02_785163_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/0477abf3c88012442788806271fbfa3b.jpg","text":"TemporaryFile(/tmp/multipartBody6711399441303165230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737325553893,"filename":"image_19012025_23_24_02_984470_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/1969b312040693106b1e64ce85e151e4.jpg","text":"TemporaryFile(/tmp/multipartBody1815101685710066769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737325553893,"filename":"image_19012025_23_24_02_984470_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330144846","file1":"1330144830","file0":"1330144823","file3":"1330144847"},"map_files_photo_id_array":[{"photo_id":"1330144846","filename":"file2"},{"photo_id":"1330144830","filename":"file1"},{"photo_id":"1330144823","filename":"file0"},{"photo_id":"1330144847","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330144830":["hashtag1","hashtag2"]},{"1330144823":["hashtag1","hashtag2"]},{"1330144847":["hashtag1","hashtag2"]},{"1330144846":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330144830, 1330144823, 1330144847, 1330144846)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.410874128341675 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 23:25:21.804360
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/23/24/image_19012025_23_24_02_984470_0003.jpg', '/home/pi/Desktop/images/19012025/23/25/image_19012025_23_25_03_054656_0000.jpg', '/home/pi/Desktop/images/19012025/23/25/image_19012025_23_25_03_054656_0001.jpg', '/home/pi/Desktop/images/19012025/23/25/image_19012025_23_25_03_054656_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/23/24/image_19012025_23_24_02_984470_0003.jpg
/home/pi/Desktop/images/19012025/23/25/image_19012025_23_25_03_054656_0000.jpg
/home/pi/Desktop/images/19012025/23/25/image_19012025_23_25_03_054656_0001.jpg
/home/pi/Desktop/images/19012025/23/25/image_19012025_23_25_03_054656_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330144854","1330144848","1330144850","1330144852"],"photo_ids_order":["1330144848","1330144850","1330144852","1330144854"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/5a7833d0b98865f55ab8113de10159a8.jpg","text":"TemporaryFile(/tmp/multipartBody2664650971129745747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737325593347,"filename":"image_19012025_23_25_03_054656_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/f8bb921fbf9647263022e6245545c081.jpg","text":"TemporaryFile(/tmp/multipartBody3651470714336884249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737325593347,"filename":"image_19012025_23_24_02_984470_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/53436298ea35e5d73bdc68b9359ba315.jpg","text":"TemporaryFile(/tmp/multipartBody8208167348229907784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737325593347,"filename":"image_19012025_23_25_03_054656_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/99298a865900f1acdea1b9473cee0cbb.jpg","text":"TemporaryFile(/tmp/multipartBody3578385833658415568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737325593347,"filename":"image_19012025_23_25_03_054656_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330144852","file1":"1330144850","file0":"1330144848","file3":"1330144854"},"map_files_photo_id_array":[{"photo_id":"1330144852","filename":"file2"},{"photo_id":"1330144850","filename":"file1"},{"photo_id":"1330144848","filename":"file0"},{"photo_id":"1330144854","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330144854":["hashtag1","hashtag2"]},{"1330144848":["hashtag1","hashtag2"]},{"1330144850":["hashtag1","hashtag2"]},{"1330144852":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330144854, 1330144848, 1330144850, 1330144852)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.499369382858276 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 23:26:22.086390
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/23/25/image_19012025_23_25_03_054656_0003.jpg', '/home/pi/Desktop/images/19012025/23/26/image_19012025_23_26_02_254047_0000.jpg', '/home/pi/Desktop/images/19012025/23/26/image_19012025_23_26_02_254047_0001.jpg', '/home/pi/Desktop/images/19012025/23/26/image_19012025_23_26_02_254047_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/23/25/image_19012025_23_25_03_054656_0003.jpg
/home/pi/Desktop/images/19012025/23/26/image_19012025_23_26_02_254047_0000.jpg
/home/pi/Desktop/images/19012025/23/26/image_19012025_23_26_02_254047_0001.jpg
/home/pi/Desktop/images/19012025/23/26/image_19012025_23_26_02_254047_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.80700397491455 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-19 23:26:42.057497
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/23/25/image_19012025_23_25_03_054656_0003.jpg', '/home/pi/Desktop/images/19012025/23/26/image_19012025_23_26_02_254047_0000.jpg', '/home/pi/Desktop/images/19012025/23/26/image_19012025_23_26_02_254047_0001.jpg', '/home/pi/Desktop/images/19012025/23/26/image_19012025_23_26_02_254047_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/23/25/image_19012025_23_25_03_054656_0003.jpg
/home/pi/Desktop/images/19012025/23/26/image_19012025_23_26_02_254047_0000.jpg
/home/pi/Desktop/images/19012025/23/26/image_19012025_23_26_02_254047_0001.jpg
/home/pi/Desktop/images/19012025/23/26/image_19012025_23_26_02_254047_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330144865","1330144870","1330144867","1330144869"],"photo_ids_order":["1330144865","1330144867","1330144869","1330144870"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/37560191375b86c836c524a88ca62874.jpg","text":"TemporaryFile(/tmp/multipartBody7780035277563943036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737325673248,"filename":"image_19012025_23_25_03_054656_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/f7ff509bedaa8543c023a7d162963dc1.jpg","text":"TemporaryFile(/tmp/multipartBody2476375719962137462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737325673248,"filename":"image_19012025_23_26_02_254047_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/305dd39ce3fa1f9e78f850862aa06671.jpg","text":"TemporaryFile(/tmp/multipartBody8216756146687710482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737325673248,"filename":"image_19012025_23_26_02_254047_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/51919421e8bf5ff2d2099dd8d492ab9c.jpg","text":"TemporaryFile(/tmp/multipartBody3247754113084927846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737325673248,"filename":"image_19012025_23_26_02_254047_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330144869","file1":"1330144867","file0":"1330144865","file3":"1330144870"},"map_files_photo_id_array":[{"photo_id":"1330144869","filename":"file2"},{"photo_id":"1330144867","filename":"file1"},{"photo_id":"1330144865","filename":"file0"},{"photo_id":"1330144870","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330144865":["hashtag1","hashtag2"]},{"1330144870":["hashtag1","hashtag2"]},{"1330144867":["hashtag1","hashtag2"]},{"1330144869":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330144865, 1330144870, 1330144867, 1330144869)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.488518476486206 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-19 23:27:32.245466
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/23/26/image_19012025_23_26_02_254047_0003.jpg', '/home/pi/Desktop/images/19012025/23/27/image_19012025_23_27_02_466863_0000.jpg', '/home/pi/Desktop/images/19012025/23/27/image_19012025_23_27_02_466863_0001.jpg', '/home/pi/Desktop/images/19012025/23/27/image_19012025_23_27_02_466863_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/23/26/image_19012025_23_26_02_254047_0003.jpg
/home/pi/Desktop/images/19012025/23/27/image_19012025_23_27_02_466863_0000.jpg
/home/pi/Desktop/images/19012025/23/27/image_19012025_23_27_02_466863_0001.jpg
/home/pi/Desktop/images/19012025/23/27/image_19012025_23_27_02_466863_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330144880","1330144874","1330144883","1330144877"],"photo_ids_order":["1330144874","1330144877","1330144880","1330144883"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/aae0959b8b8f1e33f699306ecdfbdc37.jpg","text":"TemporaryFile(/tmp/multipartBody5343791618271822137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737325723841,"filename":"image_19012025_23_27_02_466863_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/caf5e5d54622a942bc52821a80f544fa.jpg","text":"TemporaryFile(/tmp/multipartBody6852296445004592511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737325723841,"filename":"image_19012025_23_26_02_254047_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/6f9d5ee8e2b6f3f315b807bd4cbe5c7c.jpg","text":"TemporaryFile(/tmp/multipartBody8348707203816884199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737325723841,"filename":"image_19012025_23_27_02_466863_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/5b45ea32673cf95ffb0a0ab109d688e3.jpg","text":"TemporaryFile(/tmp/multipartBody1457847794520003300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737325723841,"filename":"image_19012025_23_27_02_466863_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330144880","file1":"1330144877","file0":"1330144874","file3":"1330144883"},"map_files_photo_id_array":[{"photo_id":"1330144880","filename":"file2"},{"photo_id":"1330144877","filename":"file1"},{"photo_id":"1330144874","filename":"file0"},{"photo_id":"1330144883","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330144880":["hashtag1","hashtag2"]},{"1330144874":["hashtag1","hashtag2"]},{"1330144883":["hashtag1","hashtag2"]},{"1330144877":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330144880, 1330144874, 1330144883, 1330144877)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.04140114784241 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 23:28:22.427467
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/23/27/image_19012025_23_27_02_466863_0003.jpg', '/home/pi/Desktop/images/19012025/23/28/image_19012025_23_28_02_584557_0000.jpg', '/home/pi/Desktop/images/19012025/23/28/image_19012025_23_28_02_584557_0001.jpg', '/home/pi/Desktop/images/19012025/23/28/image_19012025_23_28_02_584557_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/23/27/image_19012025_23_27_02_466863_0003.jpg
/home/pi/Desktop/images/19012025/23/28/image_19012025_23_28_02_584557_0000.jpg
/home/pi/Desktop/images/19012025/23/28/image_19012025_23_28_02_584557_0001.jpg
/home/pi/Desktop/images/19012025/23/28/image_19012025_23_28_02_584557_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330144911","1330144920","1330144889","1330144900"],"photo_ids_order":["1330144889","1330144900","1330144911","1330144920"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/7b42d3da0d4dcfa1f8a24908874d65cb.jpg","text":"TemporaryFile(/tmp/multipartBody8715257076845491461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737325774078,"filename":"image_19012025_23_28_02_584557_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/6aa7bcb2850be043213cae876e8de35b.jpg","text":"TemporaryFile(/tmp/multipartBody5117411893993404109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737325774078,"filename":"image_19012025_23_28_02_584557_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/37f64cd1f583cde041dff69cd04185a0.jpg","text":"TemporaryFile(/tmp/multipartBody7579367607268802103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737325774078,"filename":"image_19012025_23_27_02_466863_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/7ceca0d5de9ebec7a6781f5b9b40811e.jpg","text":"TemporaryFile(/tmp/multipartBody2800042596536288310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737325774078,"filename":"image_19012025_23_28_02_584557_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330144911","file1":"1330144900","file0":"1330144889","file3":"1330144920"},"map_files_photo_id_array":[{"photo_id":"1330144911","filename":"file2"},{"photo_id":"1330144900","filename":"file1"},{"photo_id":"1330144889","filename":"file0"},{"photo_id":"1330144920","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330144911":["hashtag1","hashtag2"]},{"1330144920":["hashtag1","hashtag2"]},{"1330144889":["hashtag1","hashtag2"]},{"1330144900":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330144911, 1330144920, 1330144889, 1330144900)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.51044797897339 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 23:29:03.324177
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 23:29:22.542432
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/23/28/image_19012025_23_28_02_584557_0003.jpg', '/home/pi/Desktop/images/19012025/23/29/image_19012025_23_29_02_842403_0000.jpg', '/home/pi/Desktop/images/19012025/23/29/image_19012025_23_29_02_842403_0001.jpg', '/home/pi/Desktop/images/19012025/23/29/image_19012025_23_29_02_842403_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/23/28/image_19012025_23_28_02_584557_0003.jpg
/home/pi/Desktop/images/19012025/23/29/image_19012025_23_29_02_842403_0000.jpg
/home/pi/Desktop/images/19012025/23/29/image_19012025_23_29_02_842403_0001.jpg
/home/pi/Desktop/images/19012025/23/29/image_19012025_23_29_02_842403_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330144932","1330144926","1330144928","1330144930"],"photo_ids_order":["1330144926","1330144928","1330144930","1330144932"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/388fad706d80d900e3f9ab0082e4bb20.jpg","text":"TemporaryFile(/tmp/multipartBody9069153082306252509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737325833967,"filename":"image_19012025_23_29_02_842403_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/8519adecebd1f4221bbf2f6df787f7c6.jpg","text":"TemporaryFile(/tmp/multipartBody4427841493431463007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737325833967,"filename":"image_19012025_23_28_02_584557_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/7b8bc63cf76fa4b38a9e4400f4128c4b.jpg","text":"TemporaryFile(/tmp/multipartBody8270645819505287704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737325833967,"filename":"image_19012025_23_29_02_842403_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/f75603e6d7b6100a5598d39978e39f20.jpg","text":"TemporaryFile(/tmp/multipartBody9048186682332558554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737325833967,"filename":"image_19012025_23_29_02_842403_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330144930","file1":"1330144928","file0":"1330144926","file3":"1330144932"},"map_files_photo_id_array":[{"photo_id":"1330144930","filename":"file2"},{"photo_id":"1330144928","filename":"file1"},{"photo_id":"1330144926","filename":"file0"},{"photo_id":"1330144932","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330144932":["hashtag1","hashtag2"]},{"1330144926":["hashtag1","hashtag2"]},{"1330144928":["hashtag1","hashtag2"]},{"1330144930":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330144932, 1330144926, 1330144928, 1330144930)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.1528217792511 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 23:30:22.771114
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/23/29/image_19012025_23_29_02_842403_0003.jpg', '/home/pi/Desktop/images/19012025/23/30/image_19012025_23_30_03_021241_0000.jpg', '/home/pi/Desktop/images/19012025/23/30/image_19012025_23_30_03_021241_0001.jpg', '/home/pi/Desktop/images/19012025/23/30/image_19012025_23_30_03_021241_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/23/29/image_19012025_23_29_02_842403_0003.jpg
/home/pi/Desktop/images/19012025/23/30/image_19012025_23_30_03_021241_0000.jpg
/home/pi/Desktop/images/19012025/23/30/image_19012025_23_30_03_021241_0001.jpg
/home/pi/Desktop/images/19012025/23/30/image_19012025_23_30_03_021241_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330144965","1330144944","1330144961","1330144936"],"photo_ids_order":["1330144936","1330144944","1330144961","1330144965"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/c4b3f1dd0022b55c2cc94096310a2a6c.jpg","text":"TemporaryFile(/tmp/multipartBody7417023900742441622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737325894234,"filename":"image_19012025_23_30_03_021241_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/4a30d2d6256fe806ac829e0ab190a0de.jpg","text":"TemporaryFile(/tmp/multipartBody1814973671877308903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737325894234,"filename":"image_19012025_23_30_03_021241_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/06b4078eefcedcf1f440828179dbf965.jpg","text":"TemporaryFile(/tmp/multipartBody7953767302875692597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737325894234,"filename":"image_19012025_23_30_03_021241_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/23fcb0302d0a938dd21746dc18b0a857.jpg","text":"TemporaryFile(/tmp/multipartBody7837756422500488628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737325894234,"filename":"image_19012025_23_29_02_842403_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330144961","file1":"1330144944","file0":"1330144936","file3":"1330144965"},"map_files_photo_id_array":[{"photo_id":"1330144961","filename":"file2"},{"photo_id":"1330144944","filename":"file1"},{"photo_id":"1330144936","filename":"file0"},{"photo_id":"1330144965","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330144965":["hashtag1","hashtag2"]},{"1330144944":["hashtag1","hashtag2"]},{"1330144961":["hashtag1","hashtag2"]},{"1330144936":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330144965, 1330144944, 1330144961, 1330144936)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.17858600616455 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 23:31:21.924366
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/23/30/image_19012025_23_30_03_021241_0003.jpg', '/home/pi/Desktop/images/19012025/23/31/image_19012025_23_31_03_123384_0000.jpg', '/home/pi/Desktop/images/19012025/23/31/image_19012025_23_31_03_123384_0001.jpg', '/home/pi/Desktop/images/19012025/23/31/image_19012025_23_31_03_123384_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/23/30/image_19012025_23_30_03_021241_0003.jpg
/home/pi/Desktop/images/19012025/23/31/image_19012025_23_31_03_123384_0000.jpg
/home/pi/Desktop/images/19012025/23/31/image_19012025_23_31_03_123384_0001.jpg
/home/pi/Desktop/images/19012025/23/31/image_19012025_23_31_03_123384_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330145015","1330145017","1330145005","1330145022"],"photo_ids_order":["1330145005","1330145015","1330145017","1330145022"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/ffdeea6780e4b004e1b3e371810f88f2.jpg","text":"TemporaryFile(/tmp/multipartBody7554586244875328040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737325953155,"filename":"image_19012025_23_31_03_123384_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/59492c885d249a22b20c556ae9cde3df.jpg","text":"TemporaryFile(/tmp/multipartBody5917876707616868531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737325953155,"filename":"image_19012025_23_31_03_123384_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/ad35f2aa7f003f98cac17b7864951178.jpg","text":"TemporaryFile(/tmp/multipartBody8664011786573567136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737325953155,"filename":"image_19012025_23_30_03_021241_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/504521d98174c5408e1deedd861f7d77.jpg","text":"TemporaryFile(/tmp/multipartBody8328351407637359577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737325953155,"filename":"image_19012025_23_31_03_123384_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330145017","file1":"1330145015","file0":"1330145005","file3":"1330145022"},"map_files_photo_id_array":[{"photo_id":"1330145017","filename":"file2"},{"photo_id":"1330145015","filename":"file1"},{"photo_id":"1330145005","filename":"file0"},{"photo_id":"1330145022","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330145015":["hashtag1","hashtag2"]},{"1330145017":["hashtag1","hashtag2"]},{"1330145005":["hashtag1","hashtag2"]},{"1330145022":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330145015, 1330145017, 1330145005, 1330145022)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.65372586250305 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 23:32:22.130641
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/23/31/image_19012025_23_31_03_123384_0003.jpg', '/home/pi/Desktop/images/19012025/23/32/image_19012025_23_32_02_366470_0000.jpg', '/home/pi/Desktop/images/19012025/23/32/image_19012025_23_32_02_366470_0001.jpg', '/home/pi/Desktop/images/19012025/23/32/image_19012025_23_32_02_366470_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/23/31/image_19012025_23_31_03_123384_0003.jpg
/home/pi/Desktop/images/19012025/23/32/image_19012025_23_32_02_366470_0000.jpg
/home/pi/Desktop/images/19012025/23/32/image_19012025_23_32_02_366470_0001.jpg
/home/pi/Desktop/images/19012025/23/32/image_19012025_23_32_02_366470_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.897176265716553 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-19 23:32:42.100396
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/23/31/image_19012025_23_31_03_123384_0003.jpg', '/home/pi/Desktop/images/19012025/23/32/image_19012025_23_32_02_366470_0000.jpg', '/home/pi/Desktop/images/19012025/23/32/image_19012025_23_32_02_366470_0001.jpg', '/home/pi/Desktop/images/19012025/23/32/image_19012025_23_32_02_366470_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/23/31/image_19012025_23_31_03_123384_0003.jpg
/home/pi/Desktop/images/19012025/23/32/image_19012025_23_32_02_366470_0000.jpg
/home/pi/Desktop/images/19012025/23/32/image_19012025_23_32_02_366470_0001.jpg
/home/pi/Desktop/images/19012025/23/32/image_19012025_23_32_02_366470_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330145132","1330145137","1330145134","1330145136"],"photo_ids_order":["1330145132","1330145134","1330145136","1330145137"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/966323b128de9e49a333e565edb038ab.jpg","text":"TemporaryFile(/tmp/multipartBody1785104423147872533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737326033394,"filename":"image_19012025_23_31_03_123384_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/baa6d1d983c71b2aa0b61f269f1f1378.jpg","text":"TemporaryFile(/tmp/multipartBody644829239505375393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737326033394,"filename":"image_19012025_23_32_02_366470_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/c50f650d0cfa62f074230a156049450f.jpg","text":"TemporaryFile(/tmp/multipartBody7773377847518826313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737326033394,"filename":"image_19012025_23_32_02_366470_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/77e4a615f265702ff5a0c6caf0881b7c.jpg","text":"TemporaryFile(/tmp/multipartBody7530852757638866071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737326033394,"filename":"image_19012025_23_32_02_366470_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330145136","file1":"1330145134","file0":"1330145132","file3":"1330145137"},"map_files_photo_id_array":[{"photo_id":"1330145136","filename":"file2"},{"photo_id":"1330145134","filename":"file1"},{"photo_id":"1330145132","filename":"file0"},{"photo_id":"1330145137","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330145132":["hashtag1","hashtag2"]},{"1330145137":["hashtag1","hashtag2"]},{"1330145134":["hashtag1","hashtag2"]},{"1330145136":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330145132, 1330145137, 1330145134, 1330145136)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.45288395881653 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-19 23:33:32.280660
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/23/32/image_19012025_23_32_02_366470_0003.jpg', '/home/pi/Desktop/images/19012025/23/33/image_19012025_23_33_02_483005_0000.jpg', '/home/pi/Desktop/images/19012025/23/33/image_19012025_23_33_02_483005_0001.jpg', '/home/pi/Desktop/images/19012025/23/33/image_19012025_23_33_02_483005_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/23/32/image_19012025_23_32_02_366470_0003.jpg
/home/pi/Desktop/images/19012025/23/33/image_19012025_23_33_02_483005_0000.jpg
/home/pi/Desktop/images/19012025/23/33/image_19012025_23_33_02_483005_0001.jpg
/home/pi/Desktop/images/19012025/23/33/image_19012025_23_33_02_483005_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330145156","1330145161","1330145164","1330145158"],"photo_ids_order":["1330145156","1330145158","1330145161","1330145164"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/31bb8b5dd2269cd339292a6441cafbab.jpg","text":"TemporaryFile(/tmp/multipartBody769462403746120846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737326083860,"filename":"image_19012025_23_32_02_366470_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/420132023b6269e31168dc21c29dce9c.jpg","text":"TemporaryFile(/tmp/multipartBody4219029622318346054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737326083860,"filename":"image_19012025_23_33_02_483005_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/0aba9b4648165c3d67880dfbc9644b95.jpg","text":"TemporaryFile(/tmp/multipartBody1887311333164566341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737326083860,"filename":"image_19012025_23_33_02_483005_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/dd3e93d145e804d1fbc16af95abb84f2.jpg","text":"TemporaryFile(/tmp/multipartBody8518046352537235332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737326083860,"filename":"image_19012025_23_33_02_483005_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330145161","file1":"1330145158","file0":"1330145156","file3":"1330145164"},"map_files_photo_id_array":[{"photo_id":"1330145161","filename":"file2"},{"photo_id":"1330145158","filename":"file1"},{"photo_id":"1330145156","filename":"file0"},{"photo_id":"1330145164","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330145156":["hashtag1","hashtag2"]},{"1330145161":["hashtag1","hashtag2"]},{"1330145164":["hashtag1","hashtag2"]},{"1330145158":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330145156, 1330145161, 1330145164, 1330145158)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.522244930267334 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 23:34:22.501445
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/23/33/image_19012025_23_33_02_483005_0003.jpg', '/home/pi/Desktop/images/19012025/23/34/image_19012025_23_34_02_634185_0000.jpg', '/home/pi/Desktop/images/19012025/23/34/image_19012025_23_34_02_634185_0001.jpg', '/home/pi/Desktop/images/19012025/23/34/image_19012025_23_34_02_634185_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/23/33/image_19012025_23_33_02_483005_0003.jpg
/home/pi/Desktop/images/19012025/23/34/image_19012025_23_34_02_634185_0000.jpg
/home/pi/Desktop/images/19012025/23/34/image_19012025_23_34_02_634185_0001.jpg
/home/pi/Desktop/images/19012025/23/34/image_19012025_23_34_02_634185_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330145171","1330145172","1330145175","1330145169"],"photo_ids_order":["1330145169","1330145171","1330145172","1330145175"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/dc2c28eff567cd393c74014bea289396.jpg","text":"TemporaryFile(/tmp/multipartBody5534374272968526694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737326134240,"filename":"image_19012025_23_34_02_634185_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/67e58cd0b6d304f846eebddb6668ea8e.jpg","text":"TemporaryFile(/tmp/multipartBody4966028766547232621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737326134240,"filename":"image_19012025_23_34_02_634185_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/c2875cebedb575a7c50bca9c0f1def5a.jpg","text":"TemporaryFile(/tmp/multipartBody2787573286258170945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737326134240,"filename":"image_19012025_23_34_02_634185_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/cc8a48104ec11cec93a59b18eedf9756.jpg","text":"TemporaryFile(/tmp/multipartBody1906356039500436830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737326134240,"filename":"image_19012025_23_33_02_483005_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330145172","file1":"1330145171","file0":"1330145169","file3":"1330145175"},"map_files_photo_id_array":[{"photo_id":"1330145172","filename":"file2"},{"photo_id":"1330145171","filename":"file1"},{"photo_id":"1330145169","filename":"file0"},{"photo_id":"1330145175","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330145171":["hashtag1","hashtag2"]},{"1330145172":["hashtag1","hashtag2"]},{"1330145175":["hashtag1","hashtag2"]},{"1330145169":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330145171, 1330145172, 1330145175, 1330145169)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.800779581069946 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 23:35:22.646763
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/23/34/image_19012025_23_34_02_634185_0003.jpg', '/home/pi/Desktop/images/19012025/23/35/image_19012025_23_35_02_858490_0000.jpg', '/home/pi/Desktop/images/19012025/23/35/image_19012025_23_35_02_858490_0001.jpg', '/home/pi/Desktop/images/19012025/23/35/image_19012025_23_35_02_858490_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/23/34/image_19012025_23_34_02_634185_0003.jpg
/home/pi/Desktop/images/19012025/23/35/image_19012025_23_35_02_858490_0000.jpg
/home/pi/Desktop/images/19012025/23/35/image_19012025_23_35_02_858490_0001.jpg
/home/pi/Desktop/images/19012025/23/35/image_19012025_23_35_02_858490_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330145183","1330145180","1330145182","1330145185"],"photo_ids_order":["1330145180","1330145182","1330145183","1330145185"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/08bc6388f24bd2e2343c368d7d1ae80a.jpg","text":"TemporaryFile(/tmp/multipartBody1224373495391797679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737326194344,"filename":"image_19012025_23_35_02_858490_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/b6e72bd7175445a0244df2181a6a6b91.jpg","text":"TemporaryFile(/tmp/multipartBody7571770080925900664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737326194344,"filename":"image_19012025_23_34_02_634185_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/a44db5564bc163656a308c6f1d382015.jpg","text":"TemporaryFile(/tmp/multipartBody8523180031825044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737326194344,"filename":"image_19012025_23_35_02_858490_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/3c4e1eb643c287982c8d9ff302059e3e.jpg","text":"TemporaryFile(/tmp/multipartBody6614664637916406705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737326194344,"filename":"image_19012025_23_35_02_858490_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330145183","file1":"1330145182","file0":"1330145180","file3":"1330145185"},"map_files_photo_id_array":[{"photo_id":"1330145183","filename":"file2"},{"photo_id":"1330145182","filename":"file1"},{"photo_id":"1330145180","filename":"file0"},{"photo_id":"1330145185","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330145183":["hashtag1","hashtag2"]},{"1330145180":["hashtag1","hashtag2"]},{"1330145182":["hashtag1","hashtag2"]},{"1330145185":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330145183, 1330145180, 1330145182, 1330145185)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 45.20549249649048 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 23:36:21.760274
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/23/35/image_19012025_23_35_02_858490_0003.jpg', '/home/pi/Desktop/images/19012025/23/36/image_19012025_23_36_02_970618_0000.jpg', '/home/pi/Desktop/images/19012025/23/36/image_19012025_23_36_02_970618_0001.jpg', '/home/pi/Desktop/images/19012025/23/36/image_19012025_23_36_02_970618_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/23/35/image_19012025_23_35_02_858490_0003.jpg
/home/pi/Desktop/images/19012025/23/36/image_19012025_23_36_02_970618_0000.jpg
/home/pi/Desktop/images/19012025/23/36/image_19012025_23_36_02_970618_0001.jpg
/home/pi/Desktop/images/19012025/23/36/image_19012025_23_36_02_970618_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330145202","1330145198","1330145194","1330145196"],"photo_ids_order":["1330145194","1330145196","1330145198","1330145202"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/6a93f9171e6d04d8a1102de2a5797e3f.jpg","text":"TemporaryFile(/tmp/multipartBody6038118872912311947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737326253263,"filename":"image_19012025_23_36_02_970618_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/0be47ac8deb73d6267253a57ad9ad0f8.jpg","text":"TemporaryFile(/tmp/multipartBody5096542437541272462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737326253263,"filename":"image_19012025_23_36_02_970618_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/18d50d47ce1e79cfe62d5cb83b36deb8.jpg","text":"TemporaryFile(/tmp/multipartBody4741582294915430610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737326253263,"filename":"image_19012025_23_35_02_858490_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/7848b86518391110bb0c1396f5ead939.jpg","text":"TemporaryFile(/tmp/multipartBody8427891236062286743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737326253263,"filename":"image_19012025_23_36_02_970618_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330145198","file1":"1330145196","file0":"1330145194","file3":"1330145202"},"map_files_photo_id_array":[{"photo_id":"1330145198","filename":"file2"},{"photo_id":"1330145196","filename":"file1"},{"photo_id":"1330145194","filename":"file0"},{"photo_id":"1330145202","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330145202":["hashtag1","hashtag2"]},{"1330145198":["hashtag1","hashtag2"]},{"1330145194":["hashtag1","hashtag2"]},{"1330145196":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330145202, 1330145198, 1330145194, 1330145196)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 45.16373157501221 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 23:37:22.062160
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/23/36/image_19012025_23_36_02_970618_0003.jpg', '/home/pi/Desktop/images/19012025/23/37/image_19012025_23_37_02_195890_0000.jpg', '/home/pi/Desktop/images/19012025/23/37/image_19012025_23_37_02_195890_0001.jpg', '/home/pi/Desktop/images/19012025/23/37/image_19012025_23_37_02_195890_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/23/36/image_19012025_23_36_02_970618_0003.jpg
/home/pi/Desktop/images/19012025/23/37/image_19012025_23_37_02_195890_0000.jpg
/home/pi/Desktop/images/19012025/23/37/image_19012025_23_37_02_195890_0001.jpg
/home/pi/Desktop/images/19012025/23/37/image_19012025_23_37_02_195890_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330145288","1330145285","1330145281","1330145283"],"photo_ids_order":["1330145281","1330145283","1330145285","1330145288"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/07e73ea7b5760285dc528b1bf6fbed48.jpg","text":"TemporaryFile(/tmp/multipartBody9085075443778857720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737326313418,"filename":"image_19012025_23_37_02_195890_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/112d1f6a759f493dca367f89108882cd.jpg","text":"TemporaryFile(/tmp/multipartBody810428672569141239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737326313418,"filename":"image_19012025_23_37_02_195890_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/99006eb6609ea493f147215bb49933e1.jpg","text":"TemporaryFile(/tmp/multipartBody4772682642333830357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737326313418,"filename":"image_19012025_23_36_02_970618_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/bf9ca69e3bc5b8016715c8b2b01b498c.jpg","text":"TemporaryFile(/tmp/multipartBody4090597648776937326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737326313418,"filename":"image_19012025_23_37_02_195890_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330145285","file1":"1330145283","file0":"1330145281","file3":"1330145288"},"map_files_photo_id_array":[{"photo_id":"1330145285","filename":"file2"},{"photo_id":"1330145283","filename":"file1"},{"photo_id":"1330145281","filename":"file0"},{"photo_id":"1330145288","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330145288":["hashtag1","hashtag2"]},{"1330145285":["hashtag1","hashtag2"]},{"1330145281":["hashtag1","hashtag2"]},{"1330145283":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330145288, 1330145285, 1330145281, 1330145283)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 48.218777894973755 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 23:38:22.225532
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/23/37/image_19012025_23_37_02_195890_0003.jpg', '/home/pi/Desktop/images/19012025/23/38/image_19012025_23_38_02_336448_0000.jpg', '/home/pi/Desktop/images/19012025/23/38/image_19012025_23_38_02_336448_0001.jpg', '/home/pi/Desktop/images/19012025/23/38/image_19012025_23_38_02_336448_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/23/37/image_19012025_23_37_02_195890_0003.jpg
/home/pi/Desktop/images/19012025/23/38/image_19012025_23_38_02_336448_0000.jpg
/home/pi/Desktop/images/19012025/23/38/image_19012025_23_38_02_336448_0001.jpg
/home/pi/Desktop/images/19012025/23/38/image_19012025_23_38_02_336448_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 11.604806184768677 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-19 23:38:42.149870
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/23/37/image_19012025_23_37_02_195890_0003.jpg', '/home/pi/Desktop/images/19012025/23/38/image_19012025_23_38_02_336448_0000.jpg', '/home/pi/Desktop/images/19012025/23/38/image_19012025_23_38_02_336448_0001.jpg', '/home/pi/Desktop/images/19012025/23/38/image_19012025_23_38_02_336448_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/23/37/image_19012025_23_37_02_195890_0003.jpg
/home/pi/Desktop/images/19012025/23/38/image_19012025_23_38_02_336448_0000.jpg
/home/pi/Desktop/images/19012025/23/38/image_19012025_23_38_02_336448_0001.jpg
/home/pi/Desktop/images/19012025/23/38/image_19012025_23_38_02_336448_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330145351","1330145354","1330145353","1330145349"],"photo_ids_order":["1330145349","1330145351","1330145353","1330145354"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/740ab63fabad76388aff5b4d0f5985a1.jpg","text":"TemporaryFile(/tmp/multipartBody6836203261845542110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737326394124,"filename":"image_19012025_23_38_02_336448_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/65e5c8f3967819d8d4c2327b36287223.jpg","text":"TemporaryFile(/tmp/multipartBody2838103052130937569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737326394124,"filename":"image_19012025_23_38_02_336448_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/48af544687f326ac610c82cf091383cc.jpg","text":"TemporaryFile(/tmp/multipartBody6136784353321177186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737326394124,"filename":"image_19012025_23_38_02_336448_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/84a39389e552b6130bf9ed3b2809b467.jpg","text":"TemporaryFile(/tmp/multipartBody6775905367346888020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737326394124,"filename":"image_19012025_23_37_02_195890_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330145353","file1":"1330145351","file0":"1330145349","file3":"1330145354"},"map_files_photo_id_array":[{"photo_id":"1330145353","filename":"file2"},{"photo_id":"1330145351","filename":"file1"},{"photo_id":"1330145349","filename":"file0"},{"photo_id":"1330145354","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330145351":["hashtag1","hashtag2"]},{"1330145354":["hashtag1","hashtag2"]},{"1330145353":["hashtag1","hashtag2"]},{"1330145349":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330145351, 1330145354, 1330145353, 1330145349)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 46.31846880912781 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-19 23:39:32.383869
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/23/38/image_19012025_23_38_02_336448_0003.jpg', '/home/pi/Desktop/images/19012025/23/39/image_19012025_23_39_02_536584_0000.jpg', '/home/pi/Desktop/images/19012025/23/39/image_19012025_23_39_02_536584_0001.jpg', '/home/pi/Desktop/images/19012025/23/39/image_19012025_23_39_02_536584_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/23/38/image_19012025_23_38_02_336448_0003.jpg
/home/pi/Desktop/images/19012025/23/39/image_19012025_23_39_02_536584_0000.jpg
/home/pi/Desktop/images/19012025/23/39/image_19012025_23_39_02_536584_0001.jpg
/home/pi/Desktop/images/19012025/23/39/image_19012025_23_39_02_536584_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.990972518920898 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-19 23:39:52.438007
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/23/38/image_19012025_23_38_02_336448_0003.jpg', '/home/pi/Desktop/images/19012025/23/39/image_19012025_23_39_02_536584_0000.jpg', '/home/pi/Desktop/images/19012025/23/39/image_19012025_23_39_02_536584_0001.jpg', '/home/pi/Desktop/images/19012025/23/39/image_19012025_23_39_02_536584_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/23/38/image_19012025_23_38_02_336448_0003.jpg
/home/pi/Desktop/images/19012025/23/39/image_19012025_23_39_02_536584_0000.jpg
/home/pi/Desktop/images/19012025/23/39/image_19012025_23_39_02_536584_0001.jpg
/home/pi/Desktop/images/19012025/23/39/image_19012025_23_39_02_536584_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330145372","1330145368","1330145365","1330145364"],"photo_ids_order":["1330145364","1330145365","1330145368","1330145372"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/05ac463298984f84354f798e2e8e807f.jpg","text":"TemporaryFile(/tmp/multipartBody7311800995272689474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737326463820,"filename":"image_19012025_23_39_02_536584_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/f2115f8d835495e995ab290449cff95d.jpg","text":"TemporaryFile(/tmp/multipartBody1359055747842548811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737326463820,"filename":"image_19012025_23_39_02_536584_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/bfb758adcee2d2524d1e68af6f2a811f.jpg","text":"TemporaryFile(/tmp/multipartBody5140932292990826417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737326463820,"filename":"image_19012025_23_39_02_536584_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/6f3292f22d2d19cc9d1b7dd818fbcc77.jpg","text":"TemporaryFile(/tmp/multipartBody2052577017239915926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737326463820,"filename":"image_19012025_23_38_02_336448_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330145368","file1":"1330145365","file0":"1330145364","file3":"1330145372"},"map_files_photo_id_array":[{"photo_id":"1330145368","filename":"file2"},{"photo_id":"1330145365","filename":"file1"},{"photo_id":"1330145364","filename":"file0"},{"photo_id":"1330145372","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330145372":["hashtag1","hashtag2"]},{"1330145368":["hashtag1","hashtag2"]},{"1330145365":["hashtag1","hashtag2"]},{"1330145364":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330145372, 1330145368, 1330145365, 1330145364)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.96429920196533 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-19 23:40:42.620133
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/23/39/image_19012025_23_39_02_536584_0003.jpg', '/home/pi/Desktop/images/19012025/23/40/image_19012025_23_40_02_809460_0000.jpg', '/home/pi/Desktop/images/19012025/23/40/image_19012025_23_40_02_809460_0001.jpg', '/home/pi/Desktop/images/19012025/23/40/image_19012025_23_40_02_809460_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/23/39/image_19012025_23_39_02_536584_0003.jpg
/home/pi/Desktop/images/19012025/23/40/image_19012025_23_40_02_809460_0000.jpg
/home/pi/Desktop/images/19012025/23/40/image_19012025_23_40_02_809460_0001.jpg
/home/pi/Desktop/images/19012025/23/40/image_19012025_23_40_02_809460_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.602960586547852 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-19 23:41:02.429430
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/23/39/image_19012025_23_39_02_536584_0003.jpg', '/home/pi/Desktop/images/19012025/23/40/image_19012025_23_40_02_809460_0000.jpg', '/home/pi/Desktop/images/19012025/23/40/image_19012025_23_40_02_809460_0001.jpg', '/home/pi/Desktop/images/19012025/23/40/image_19012025_23_40_02_809460_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/23/39/image_19012025_23_39_02_536584_0003.jpg
/home/pi/Desktop/images/19012025/23/40/image_19012025_23_40_02_809460_0000.jpg
/home/pi/Desktop/images/19012025/23/40/image_19012025_23_40_02_809460_0001.jpg
/home/pi/Desktop/images/19012025/23/40/image_19012025_23_40_02_809460_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330145489","1330145488","1330145490","1330145487"],"photo_ids_order":["1330145487","1330145488","1330145489","1330145490"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/f5a5c606c3846ec00b7492b601ca4021.jpg","text":"TemporaryFile(/tmp/multipartBody2033521774523578370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737326533471,"filename":"image_19012025_23_40_02_809460_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/44874d23b84cfe103a8183bfcf91d87e.jpg","text":"TemporaryFile(/tmp/multipartBody5847170733015433475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737326533471,"filename":"image_19012025_23_40_02_809460_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/3c6d6b89c481862b447b13bf0e106312.jpg","text":"TemporaryFile(/tmp/multipartBody6868509318102393810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737326533471,"filename":"image_19012025_23_40_02_809460_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/ac82e421a2ac7f2ac4f0f6abbce0870b.jpg","text":"TemporaryFile(/tmp/multipartBody4459346914744088901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737326533471,"filename":"image_19012025_23_39_02_536584_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330145489","file1":"1330145488","file0":"1330145487","file3":"1330145490"},"map_files_photo_id_array":[{"photo_id":"1330145489","filename":"file2"},{"photo_id":"1330145488","filename":"file1"},{"photo_id":"1330145487","filename":"file0"},{"photo_id":"1330145490","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330145489":["hashtag1","hashtag2"]},{"1330145488":["hashtag1","hashtag2"]},{"1330145490":["hashtag1","hashtag2"]},{"1330145487":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330145489, 1330145488, 1330145490, 1330145487)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.67362403869629 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-19 23:41:51.778276
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/23/40/image_19012025_23_40_02_809460_0003.jpg', '/home/pi/Desktop/images/19012025/23/41/image_19012025_23_41_02_992668_0000.jpg', '/home/pi/Desktop/images/19012025/23/41/image_19012025_23_41_02_992668_0001.jpg', '/home/pi/Desktop/images/19012025/23/41/image_19012025_23_41_02_992668_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/23/40/image_19012025_23_40_02_809460_0003.jpg
/home/pi/Desktop/images/19012025/23/41/image_19012025_23_41_02_992668_0000.jpg
/home/pi/Desktop/images/19012025/23/41/image_19012025_23_41_02_992668_0001.jpg
/home/pi/Desktop/images/19012025/23/41/image_19012025_23_41_02_992668_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":["1330145498","1330145496","1330145500","1330145499"],"photo_ids_order":["1330145496","1330145498","1330145499","1330145500"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/7d7ef90a89ccc8738493164d0ba9ac2d.jpg","text":"TemporaryFile(/tmp/multipartBody8272504861249158243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737326583476,"filename":"image_19012025_23_41_02_992668_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/efb768013273bf52d234e04164233e38.jpg","text":"TemporaryFile(/tmp/multipartBody8489030877834013693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737326583476,"filename":"image_19012025_23_40_02_809460_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/d9bd5c77ff3e9063026487140885dce4.jpg","text":"TemporaryFile(/tmp/multipartBody9178226448159125121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737326583476,"filename":"image_19012025_23_41_02_992668_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/ee6ce0dd53a69db99b287ac3a882601d.jpg","text":"TemporaryFile(/tmp/multipartBody7824870017127757230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737326583476,"filename":"image_19012025_23_41_02_992668_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330145499","file1":"1330145498","file0":"1330145496","file3":"1330145500"},"map_files_photo_id_array":[{"photo_id":"1330145499","filename":"file2"},{"photo_id":"1330145498","filename":"file1"},{"photo_id":"1330145496","filename":"file0"},{"photo_id":"1330145500","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330145498":["hashtag1","hashtag2"]},{"1330145496":["hashtag1","hashtag2"]},{"1330145500":["hashtag1","hashtag2"]},{"1330145499":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330145498, 1330145496, 1330145500, 1330145499)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.51161170005798 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-19 23:42:41.987316
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/23/41/image_19012025_23_41_02_992668_0003.jpg', '/home/pi/Desktop/images/19012025/23/42/image_19012025_23_42_02_143303_0000.jpg', '/home/pi/Desktop/images/19012025/23/42/image_19012025_23_42_02_143303_0001.jpg', '/home/pi/Desktop/images/19012025/23/42/image_19012025_23_42_02_143303_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/23/41/image_19012025_23_41_02_992668_0003.jpg
/home/pi/Desktop/images/19012025/23/42/image_19012025_23_42_02_143303_0000.jpg
/home/pi/Desktop/images/19012025/23/42/image_19012025_23_42_02_143303_0001.jpg
/home/pi/Desktop/images/19012025/23/42/image_19012025_23_42_02_143303_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":["1330145558","1330145551","1330145554","1330145556"],"photo_ids_order":["1330145551","1330145554","1330145556","1330145558"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/acd9b3906b9e87abd00f924320b81f4f.jpg","text":"TemporaryFile(/tmp/multipartBody3149171596903730219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737326633367,"filename":"image_19012025_23_42_02_143303_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/14028ef51712477fd88c7a189c631fad.jpg","text":"TemporaryFile(/tmp/multipartBody7144970414526763685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737326633367,"filename":"image_19012025_23_41_02_992668_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/30589677299b5f5327c1a5829c8529ce.jpg","text":"TemporaryFile(/tmp/multipartBody1100189066670154790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737326633367,"filename":"image_19012025_23_42_02_143303_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/2cb0d8322e8d9fb2dc2d4bf24e9e84bf.jpg","text":"TemporaryFile(/tmp/multipartBody4261360690127868245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737326633367,"filename":"image_19012025_23_42_02_143303_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330145556","file1":"1330145554","file0":"1330145551","file3":"1330145558"},"map_files_photo_id_array":[{"photo_id":"1330145556","filename":"file2"},{"photo_id":"1330145554","filename":"file1"},{"photo_id":"1330145551","filename":"file0"},{"photo_id":"1330145558","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330145558":["hashtag1","hashtag2"]},{"1330145551":["hashtag1","hashtag2"]},{"1330145554":["hashtag1","hashtag2"]},{"1330145556":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330145558, 1330145551, 1330145554, 1330145556)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.510862827301025 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 23:43:22.195766
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/23/42/image_19012025_23_42_02_143303_0003.jpg', '/home/pi/Desktop/images/19012025/23/43/image_19012025_23_43_02_306670_0000.jpg', '/home/pi/Desktop/images/19012025/23/43/image_19012025_23_43_02_306670_0001.jpg', '/home/pi/Desktop/images/19012025/23/43/image_19012025_23_43_02_306670_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/23/42/image_19012025_23_42_02_143303_0003.jpg
/home/pi/Desktop/images/19012025/23/43/image_19012025_23_43_02_306670_0000.jpg
/home/pi/Desktop/images/19012025/23/43/image_19012025_23_43_02_306670_0001.jpg
/home/pi/Desktop/images/19012025/23/43/image_19012025_23_43_02_306670_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330145585","1330145587","1330145580","1330145583"],"photo_ids_order":["1330145580","1330145583","1330145585","1330145587"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/5fdda0a1136019d31280db837b6e96d9.jpg","text":"TemporaryFile(/tmp/multipartBody9181378411503166308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737326673709,"filename":"image_19012025_23_43_02_306670_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/f9e024d781ca2c09ae4802d1789db814.jpg","text":"TemporaryFile(/tmp/multipartBody2884299890509055812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737326673709,"filename":"image_19012025_23_43_02_306670_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/2c60aff170aadbe51153315d5ffd3446.jpg","text":"TemporaryFile(/tmp/multipartBody229608210070114263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737326673709,"filename":"image_19012025_23_42_02_143303_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/b85e685052ec65cabf59ebc18103dabf.jpg","text":"TemporaryFile(/tmp/multipartBody4909841599113695792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737326673709,"filename":"image_19012025_23_43_02_306670_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330145585","file1":"1330145583","file0":"1330145580","file3":"1330145587"},"map_files_photo_id_array":[{"photo_id":"1330145585","filename":"file2"},{"photo_id":"1330145583","filename":"file1"},{"photo_id":"1330145580","filename":"file0"},{"photo_id":"1330145587","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330145585":["hashtag1","hashtag2"]},{"1330145587":["hashtag1","hashtag2"]},{"1330145580":["hashtag1","hashtag2"]},{"1330145583":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330145585, 1330145587, 1330145580, 1330145583)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 45.91087770462036 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 23:44:22.369086
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/23/43/image_19012025_23_43_02_306670_0003.jpg', '/home/pi/Desktop/images/19012025/23/44/image_19012025_23_44_02_518063_0000.jpg', '/home/pi/Desktop/images/19012025/23/44/image_19012025_23_44_02_518063_0001.jpg', '/home/pi/Desktop/images/19012025/23/44/image_19012025_23_44_02_518063_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/23/43/image_19012025_23_43_02_306670_0003.jpg
/home/pi/Desktop/images/19012025/23/44/image_19012025_23_44_02_518063_0000.jpg
/home/pi/Desktop/images/19012025/23/44/image_19012025_23_44_02_518063_0001.jpg
/home/pi/Desktop/images/19012025/23/44/image_19012025_23_44_02_518063_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330145591","1330145597","1330145593","1330145595"],"photo_ids_order":["1330145591","1330145593","1330145595","1330145597"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/310d8e2e0b9aa5fab493de8203130dec.jpg","text":"TemporaryFile(/tmp/multipartBody1160709328964918525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737326733851,"filename":"image_19012025_23_43_02_306670_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/ccee5aa962a732880cf96bf660a3ac97.jpg","text":"TemporaryFile(/tmp/multipartBody7371228102742285597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737326733851,"filename":"image_19012025_23_44_02_518063_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/64562326b076a803428cff9ba2327545.jpg","text":"TemporaryFile(/tmp/multipartBody59959781755650683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737326733851,"filename":"image_19012025_23_44_02_518063_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/22644aa6abf2ef628107f27fb7b243a7.jpg","text":"TemporaryFile(/tmp/multipartBody3818568188238915917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737326733851,"filename":"image_19012025_23_44_02_518063_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330145595","file1":"1330145593","file0":"1330145591","file3":"1330145597"},"map_files_photo_id_array":[{"photo_id":"1330145595","filename":"file2"},{"photo_id":"1330145593","filename":"file1"},{"photo_id":"1330145591","filename":"file0"},{"photo_id":"1330145597","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330145591":["hashtag1","hashtag2"]},{"1330145597":["hashtag1","hashtag2"]},{"1330145593":["hashtag1","hashtag2"]},{"1330145595":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330145591, 1330145597, 1330145593, 1330145595)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.223172426223755 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 23:45:22.533065
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/23/44/image_19012025_23_44_02_518063_0003.jpg', '/home/pi/Desktop/images/19012025/23/45/image_19012025_23_45_02_775219_0000.jpg', '/home/pi/Desktop/images/19012025/23/45/image_19012025_23_45_02_775219_0001.jpg', '/home/pi/Desktop/images/19012025/23/45/image_19012025_23_45_02_775219_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/23/44/image_19012025_23_44_02_518063_0003.jpg
/home/pi/Desktop/images/19012025/23/45/image_19012025_23_45_02_775219_0000.jpg
/home/pi/Desktop/images/19012025/23/45/image_19012025_23_45_02_775219_0001.jpg
/home/pi/Desktop/images/19012025/23/45/image_19012025_23_45_02_775219_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330145608","1330145602","1330145611","1330145605"],"photo_ids_order":["1330145602","1330145605","1330145608","1330145611"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/5205ca9c358bc37b764798ddbc1bef77.jpg","text":"TemporaryFile(/tmp/multipartBody3551762095238672287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737326793929,"filename":"image_19012025_23_45_02_775219_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/2a96aa033b7068b05e7705e69aaa7e84.jpg","text":"TemporaryFile(/tmp/multipartBody7714742179264784257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737326793929,"filename":"image_19012025_23_44_02_518063_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/f36678b37dd2d5ae570d1d54b9333564.jpg","text":"TemporaryFile(/tmp/multipartBody2643506320940282472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737326793929,"filename":"image_19012025_23_45_02_775219_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/564c244a2de7d6c159bacf00d576ecd2.jpg","text":"TemporaryFile(/tmp/multipartBody2405968666259347670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737326793929,"filename":"image_19012025_23_45_02_775219_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330145608","file1":"1330145605","file0":"1330145602","file3":"1330145611"},"map_files_photo_id_array":[{"photo_id":"1330145608","filename":"file2"},{"photo_id":"1330145605","filename":"file1"},{"photo_id":"1330145602","filename":"file0"},{"photo_id":"1330145611","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330145608":["hashtag1","hashtag2"]},{"1330145602":["hashtag1","hashtag2"]},{"1330145611":["hashtag1","hashtag2"]},{"1330145605":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330145608, 1330145602, 1330145611, 1330145605)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.261658668518066 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 23:46:22.773271
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/23/45/image_19012025_23_45_02_775219_0003.jpg', '/home/pi/Desktop/images/19012025/23/46/image_19012025_23_46_02_873010_0000.jpg', '/home/pi/Desktop/images/19012025/23/46/image_19012025_23_46_02_873010_0001.jpg', '/home/pi/Desktop/images/19012025/23/46/image_19012025_23_46_02_873010_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/23/45/image_19012025_23_45_02_775219_0003.jpg
/home/pi/Desktop/images/19012025/23/46/image_19012025_23_46_02_873010_0000.jpg
/home/pi/Desktop/images/19012025/23/46/image_19012025_23_46_02_873010_0001.jpg
/home/pi/Desktop/images/19012025/23/46/image_19012025_23_46_02_873010_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330145634","1330145630","1330145632","1330145656"],"photo_ids_order":["1330145630","1330145632","1330145634","1330145656"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/d76e670c460d0f99120d17640a31b8bc.jpg","text":"TemporaryFile(/tmp/multipartBody5102323794444573723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737326854602,"filename":"image_19012025_23_46_02_873010_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/df6193d8d2c9d8b238cc84494530ec06.jpg","text":"TemporaryFile(/tmp/multipartBody4171062591480788073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737326854602,"filename":"image_19012025_23_45_02_775219_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/b5787b085734a4affe2e2065d907bfc3.jpg","text":"TemporaryFile(/tmp/multipartBody2278874677816934853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737326854602,"filename":"image_19012025_23_46_02_873010_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/3c6e5610c23cf421c4b361761c25f981.jpg","text":"TemporaryFile(/tmp/multipartBody7472277650400466845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737326854602,"filename":"image_19012025_23_46_02_873010_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330145634","file1":"1330145632","file0":"1330145630","file3":"1330145656"},"map_files_photo_id_array":[{"photo_id":"1330145634","filename":"file2"},{"photo_id":"1330145632","filename":"file1"},{"photo_id":"1330145630","filename":"file0"},{"photo_id":"1330145656","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330145634":["hashtag1","hashtag2"]},{"1330145630":["hashtag1","hashtag2"]},{"1330145632":["hashtag1","hashtag2"]},{"1330145656":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330145634, 1330145630, 1330145632, 1330145656)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.44211459159851 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 23:47:21.981128
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/23/46/image_19012025_23_46_02_873010_0003.jpg', '/home/pi/Desktop/images/19012025/23/47/image_19012025_23_47_03_146368_0000.jpg', '/home/pi/Desktop/images/19012025/23/47/image_19012025_23_47_03_146368_0001.jpg', '/home/pi/Desktop/images/19012025/23/47/image_19012025_23_47_03_146368_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/23/46/image_19012025_23_46_02_873010_0003.jpg
/home/pi/Desktop/images/19012025/23/47/image_19012025_23_47_03_146368_0000.jpg
/home/pi/Desktop/images/19012025/23/47/image_19012025_23_47_03_146368_0001.jpg
/home/pi/Desktop/images/19012025/23/47/image_19012025_23_47_03_146368_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330145768","1330145762","1330145764","1330145766"],"photo_ids_order":["1330145762","1330145764","1330145766","1330145768"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/40a44b18c092313ffba7a1859f99e120.jpg","text":"TemporaryFile(/tmp/multipartBody154763017794483933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737326913404,"filename":"image_19012025_23_47_03_146368_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/6e84568f0d4a1aa8bd31e0589a432eec.jpg","text":"TemporaryFile(/tmp/multipartBody4483642697141582798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737326913404,"filename":"image_19012025_23_46_02_873010_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/57c00c66f6af2664191158865abe4c01.jpg","text":"TemporaryFile(/tmp/multipartBody8960863264137615321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737326913404,"filename":"image_19012025_23_47_03_146368_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/ff91ea6afecea43b3048122c27ad5f1f.jpg","text":"TemporaryFile(/tmp/multipartBody8917101438128087525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737326913404,"filename":"image_19012025_23_47_03_146368_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330145766","file1":"1330145764","file0":"1330145762","file3":"1330145768"},"map_files_photo_id_array":[{"photo_id":"1330145766","filename":"file2"},{"photo_id":"1330145764","filename":"file1"},{"photo_id":"1330145762","filename":"file0"},{"photo_id":"1330145768","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330145768":["hashtag1","hashtag2"]},{"1330145762":["hashtag1","hashtag2"]},{"1330145764":["hashtag1","hashtag2"]},{"1330145766":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330145768, 1330145762, 1330145764, 1330145766)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.79991888999939 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 23:48:22.173483
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/23/47/image_19012025_23_47_03_146368_0003.jpg', '/home/pi/Desktop/images/19012025/23/48/image_19012025_23_48_02_305320_0000.jpg', '/home/pi/Desktop/images/19012025/23/48/image_19012025_23_48_02_305320_0001.jpg', '/home/pi/Desktop/images/19012025/23/48/image_19012025_23_48_02_305320_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/23/47/image_19012025_23_47_03_146368_0003.jpg
/home/pi/Desktop/images/19012025/23/48/image_19012025_23_48_02_305320_0000.jpg
/home/pi/Desktop/images/19012025/23/48/image_19012025_23_48_02_305320_0001.jpg
/home/pi/Desktop/images/19012025/23/48/image_19012025_23_48_02_305320_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 11.09322738647461 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-19 23:48:42.133662
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/23/47/image_19012025_23_47_03_146368_0003.jpg', '/home/pi/Desktop/images/19012025/23/48/image_19012025_23_48_02_305320_0000.jpg', '/home/pi/Desktop/images/19012025/23/48/image_19012025_23_48_02_305320_0001.jpg', '/home/pi/Desktop/images/19012025/23/48/image_19012025_23_48_02_305320_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/23/47/image_19012025_23_47_03_146368_0003.jpg
/home/pi/Desktop/images/19012025/23/48/image_19012025_23_48_02_305320_0000.jpg
/home/pi/Desktop/images/19012025/23/48/image_19012025_23_48_02_305320_0001.jpg
/home/pi/Desktop/images/19012025/23/48/image_19012025_23_48_02_305320_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330145783","1330145779","1330145781","1330145784"],"photo_ids_order":["1330145779","1330145781","1330145783","1330145784"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/08a377bfb829e126df36d76482c595af.jpg","text":"TemporaryFile(/tmp/multipartBody4783507895571872656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737326993604,"filename":"image_19012025_23_48_02_305320_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/a44e9239af407fe947aed7f3ee8f59f4.jpg","text":"TemporaryFile(/tmp/multipartBody4346391680376674046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737326993604,"filename":"image_19012025_23_47_03_146368_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/b10a91bc5220b93e668aa77d09533041.jpg","text":"TemporaryFile(/tmp/multipartBody7644417407930051432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737326993604,"filename":"image_19012025_23_48_02_305320_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/1058f6e3f9a33f97e4ea8a8c9eed3fc5.jpg","text":"TemporaryFile(/tmp/multipartBody8139107704503315150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737326993604,"filename":"image_19012025_23_48_02_305320_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330145783","file1":"1330145781","file0":"1330145779","file3":"1330145784"},"map_files_photo_id_array":[{"photo_id":"1330145783","filename":"file2"},{"photo_id":"1330145781","filename":"file1"},{"photo_id":"1330145779","filename":"file0"},{"photo_id":"1330145784","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330145783":["hashtag1","hashtag2"]},{"1330145779":["hashtag1","hashtag2"]},{"1330145781":["hashtag1","hashtag2"]},{"1330145784":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330145783, 1330145779, 1330145781, 1330145784)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.1169171333313 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-19 23:49:32.220814
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/23/48/image_19012025_23_48_02_305320_0003.jpg', '/home/pi/Desktop/images/19012025/23/49/image_19012025_23_49_02_475160_0000.jpg', '/home/pi/Desktop/images/19012025/23/49/image_19012025_23_49_02_475160_0001.jpg', '/home/pi/Desktop/images/19012025/23/49/image_19012025_23_49_02_475160_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/23/48/image_19012025_23_48_02_305320_0003.jpg
/home/pi/Desktop/images/19012025/23/49/image_19012025_23_49_02_475160_0000.jpg
/home/pi/Desktop/images/19012025/23/49/image_19012025_23_49_02_475160_0001.jpg
/home/pi/Desktop/images/19012025/23/49/image_19012025_23_49_02_475160_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330145812","1330145821","1330145815","1330145818"],"photo_ids_order":["1330145812","1330145815","1330145818","1330145821"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/ae1323707e9dbf7b1942c97338008994.jpg","text":"TemporaryFile(/tmp/multipartBody8433114194392361478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737327043999,"filename":"image_19012025_23_48_02_305320_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/3a193331317e6bb229c141c4f0446801.jpg","text":"TemporaryFile(/tmp/multipartBody6317445008777122189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737327043999,"filename":"image_19012025_23_49_02_475160_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/86e316bd856defb5eb473a03aca85ccd.jpg","text":"TemporaryFile(/tmp/multipartBody3165463329598326801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737327043999,"filename":"image_19012025_23_49_02_475160_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/3ddc9a694e1d9ab4d16b136ccde42a43.jpg","text":"TemporaryFile(/tmp/multipartBody6101747971966801953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737327043999,"filename":"image_19012025_23_49_02_475160_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330145818","file1":"1330145815","file0":"1330145812","file3":"1330145821"},"map_files_photo_id_array":[{"photo_id":"1330145818","filename":"file2"},{"photo_id":"1330145815","filename":"file1"},{"photo_id":"1330145812","filename":"file0"},{"photo_id":"1330145821","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330145812":["hashtag1","hashtag2"]},{"1330145821":["hashtag1","hashtag2"]},{"1330145815":["hashtag1","hashtag2"]},{"1330145818":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330145812, 1330145821, 1330145815, 1330145818)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.375463247299194 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 23:50:22.459968
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/23/49/image_19012025_23_49_02_475160_0003.jpg', '/home/pi/Desktop/images/19012025/23/50/image_19012025_23_50_02_668654_0000.jpg', '/home/pi/Desktop/images/19012025/23/50/image_19012025_23_50_02_668654_0001.jpg', '/home/pi/Desktop/images/19012025/23/50/image_19012025_23_50_02_668654_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/23/49/image_19012025_23_49_02_475160_0003.jpg
/home/pi/Desktop/images/19012025/23/50/image_19012025_23_50_02_668654_0000.jpg
/home/pi/Desktop/images/19012025/23/50/image_19012025_23_50_02_668654_0001.jpg
/home/pi/Desktop/images/19012025/23/50/image_19012025_23_50_02_668654_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330145829","1330145831","1330145824","1330145827"],"photo_ids_order":["1330145824","1330145827","1330145829","1330145831"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/8a00a5fe57fe6c5cf01a2113a1f46db7.jpg","text":"TemporaryFile(/tmp/multipartBody147773732327862033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737327094606,"filename":"image_19012025_23_50_02_668654_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/ee9e952338f9285a7536d2d771dd832a.jpg","text":"TemporaryFile(/tmp/multipartBody8408335137672663711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737327094606,"filename":"image_19012025_23_50_02_668654_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/881be21d1ed64de1c9381e9ad8902e7a.jpg","text":"TemporaryFile(/tmp/multipartBody8643438509665028847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737327094606,"filename":"image_19012025_23_49_02_475160_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/74dc16d4174d01eb23dc41fc90250784.jpg","text":"TemporaryFile(/tmp/multipartBody9134654093266301703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737327094606,"filename":"image_19012025_23_50_02_668654_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330145829","file1":"1330145827","file0":"1330145824","file3":"1330145831"},"map_files_photo_id_array":[{"photo_id":"1330145829","filename":"file2"},{"photo_id":"1330145827","filename":"file1"},{"photo_id":"1330145824","filename":"file0"},{"photo_id":"1330145831","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330145829":["hashtag1","hashtag2"]},{"1330145831":["hashtag1","hashtag2"]},{"1330145824":["hashtag1","hashtag2"]},{"1330145827":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330145829, 1330145831, 1330145824, 1330145827)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.77557945251465 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 23:51:22.620692
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/23/50/image_19012025_23_50_02_668654_0003.jpg', '/home/pi/Desktop/images/19012025/23/51/image_19012025_23_51_02_776566_0000.jpg', '/home/pi/Desktop/images/19012025/23/51/image_19012025_23_51_02_776566_0001.jpg', '/home/pi/Desktop/images/19012025/23/51/image_19012025_23_51_02_776566_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/23/50/image_19012025_23_50_02_668654_0003.jpg
/home/pi/Desktop/images/19012025/23/51/image_19012025_23_51_02_776566_0000.jpg
/home/pi/Desktop/images/19012025/23/51/image_19012025_23_51_02_776566_0001.jpg
/home/pi/Desktop/images/19012025/23/51/image_19012025_23_51_02_776566_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330145840","1330145834","1330145836","1330145838"],"photo_ids_order":["1330145834","1330145836","1330145838","1330145840"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/3fb1bd6fa9c3b7bc8da164fd8096e5b8.jpg","text":"TemporaryFile(/tmp/multipartBody4876533570998980555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737327154342,"filename":"image_19012025_23_51_02_776566_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/72a69d159dc6c25c8fdc1cf6952ed129.jpg","text":"TemporaryFile(/tmp/multipartBody4396362861352066394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737327154342,"filename":"image_19012025_23_50_02_668654_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/c0a0297392d140d7af71e629193561c5.jpg","text":"TemporaryFile(/tmp/multipartBody479923384824800258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737327154342,"filename":"image_19012025_23_51_02_776566_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/ec70e75724b92b88dc798e29e2406766.jpg","text":"TemporaryFile(/tmp/multipartBody3893574134715533019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737327154342,"filename":"image_19012025_23_51_02_776566_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330145838","file1":"1330145836","file0":"1330145834","file3":"1330145840"},"map_files_photo_id_array":[{"photo_id":"1330145838","filename":"file2"},{"photo_id":"1330145836","filename":"file1"},{"photo_id":"1330145834","filename":"file0"},{"photo_id":"1330145840","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330145840":["hashtag1","hashtag2"]},{"1330145834":["hashtag1","hashtag2"]},{"1330145836":["hashtag1","hashtag2"]},{"1330145838":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330145840, 1330145834, 1330145836, 1330145838)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.76543831825256 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 23:52:21.828985
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/23/51/image_19012025_23_51_02_776566_0003.jpg', '/home/pi/Desktop/images/19012025/23/52/image_19012025_23_52_03_076752_0000.jpg', '/home/pi/Desktop/images/19012025/23/52/image_19012025_23_52_03_076752_0001.jpg', '/home/pi/Desktop/images/19012025/23/52/image_19012025_23_52_03_076752_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/23/51/image_19012025_23_51_02_776566_0003.jpg
/home/pi/Desktop/images/19012025/23/52/image_19012025_23_52_03_076752_0000.jpg
/home/pi/Desktop/images/19012025/23/52/image_19012025_23_52_03_076752_0001.jpg
/home/pi/Desktop/images/19012025/23/52/image_19012025_23_52_03_076752_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330145875","1330145878","1330145872","1330145854"],"photo_ids_order":["1330145854","1330145872","1330145875","1330145878"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/eeacba85a5b266ad18a5cabc852f4b5e.jpg","text":"TemporaryFile(/tmp/multipartBody5182519605342055753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737327213644,"filename":"image_19012025_23_52_03_076752_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/a2e3e4d296c368e8481b92532d117e2f.jpg","text":"TemporaryFile(/tmp/multipartBody4716237831613844253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737327213644,"filename":"image_19012025_23_52_03_076752_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/d91cc23d8c59bc75eb951f07abcdc668.jpg","text":"TemporaryFile(/tmp/multipartBody6982875321791886129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737327213644,"filename":"image_19012025_23_52_03_076752_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/924ce1dc455c4b2cb7b16925404aa927.jpg","text":"TemporaryFile(/tmp/multipartBody215183965632958442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737327213644,"filename":"image_19012025_23_51_02_776566_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330145875","file1":"1330145872","file0":"1330145854","file3":"1330145878"},"map_files_photo_id_array":[{"photo_id":"1330145875","filename":"file2"},{"photo_id":"1330145872","filename":"file1"},{"photo_id":"1330145854","filename":"file0"},{"photo_id":"1330145878","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330145875":["hashtag1","hashtag2"]},{"1330145878":["hashtag1","hashtag2"]},{"1330145872":["hashtag1","hashtag2"]},{"1330145854":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330145875, 1330145878, 1330145872, 1330145854)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.17975568771362 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 23:53:22.090339
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/23/52/image_19012025_23_52_03_076752_0003.jpg', '/home/pi/Desktop/images/19012025/23/53/image_19012025_23_53_02_209472_0000.jpg', '/home/pi/Desktop/images/19012025/23/53/image_19012025_23_53_02_209472_0001.jpg', '/home/pi/Desktop/images/19012025/23/53/image_19012025_23_53_02_209472_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/23/52/image_19012025_23_52_03_076752_0003.jpg
/home/pi/Desktop/images/19012025/23/53/image_19012025_23_53_02_209472_0000.jpg
/home/pi/Desktop/images/19012025/23/53/image_19012025_23_53_02_209472_0001.jpg
/home/pi/Desktop/images/19012025/23/53/image_19012025_23_53_02_209472_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330145891","1330145885","1330145887","1330145889"],"photo_ids_order":["1330145885","1330145887","1330145889","1330145891"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/c54b9f8b25867475c0334d748ef169cd.jpg","text":"TemporaryFile(/tmp/multipartBody3240412627162211039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737327274115,"filename":"image_19012025_23_53_02_209472_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/685c92a0a45d162fff0db8c48ea68012.jpg","text":"TemporaryFile(/tmp/multipartBody7770178112503260861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737327274115,"filename":"image_19012025_23_52_03_076752_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/13a4d56388ca3eef5c17d7a6cb2970ff.jpg","text":"TemporaryFile(/tmp/multipartBody4145985941766667015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737327274115,"filename":"image_19012025_23_53_02_209472_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/d39ae3cd9882d533d5ae77b8cd314c74.jpg","text":"TemporaryFile(/tmp/multipartBody5249277595966056072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737327274115,"filename":"image_19012025_23_53_02_209472_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330145889","file1":"1330145887","file0":"1330145885","file3":"1330145891"},"map_files_photo_id_array":[{"photo_id":"1330145889","filename":"file2"},{"photo_id":"1330145887","filename":"file1"},{"photo_id":"1330145885","filename":"file0"},{"photo_id":"1330145891","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330145891":["hashtag1","hashtag2"]},{"1330145885":["hashtag1","hashtag2"]},{"1330145887":["hashtag1","hashtag2"]},{"1330145889":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330145891, 1330145885, 1330145887, 1330145889)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 44.61427879333496 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 23:54:22.244715
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/23/53/image_19012025_23_53_02_209472_0003.jpg', '/home/pi/Desktop/images/19012025/23/54/image_19012025_23_54_02_427803_0000.jpg', '/home/pi/Desktop/images/19012025/23/54/image_19012025_23_54_02_427803_0001.jpg', '/home/pi/Desktop/images/19012025/23/54/image_19012025_23_54_02_427803_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/23/53/image_19012025_23_53_02_209472_0003.jpg
/home/pi/Desktop/images/19012025/23/54/image_19012025_23_54_02_427803_0000.jpg
/home/pi/Desktop/images/19012025/23/54/image_19012025_23_54_02_427803_0001.jpg
/home/pi/Desktop/images/19012025/23/54/image_19012025_23_54_02_427803_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330145897","1330145900","1330145903","1330145895"],"photo_ids_order":["1330145895","1330145897","1330145900","1330145903"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/96da670687232eb81669b3018bc86e99.jpg","text":"TemporaryFile(/tmp/multipartBody410043047532507194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737327334076,"filename":"image_19012025_23_54_02_427803_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/6f2119904ffb3ce25c6cf4ea8422e6b3.jpg","text":"TemporaryFile(/tmp/multipartBody6150301760663700812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737327334076,"filename":"image_19012025_23_54_02_427803_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/33cfa3871430cef420a39e11948b6147.jpg","text":"TemporaryFile(/tmp/multipartBody3257870360649945145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737327334076,"filename":"image_19012025_23_54_02_427803_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/deb2edfdbb5b89d0547d78c86c8fc9b4.jpg","text":"TemporaryFile(/tmp/multipartBody8760733092114622874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737327334076,"filename":"image_19012025_23_53_02_209472_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330145900","file1":"1330145897","file0":"1330145895","file3":"1330145903"},"map_files_photo_id_array":[{"photo_id":"1330145900","filename":"file2"},{"photo_id":"1330145897","filename":"file1"},{"photo_id":"1330145895","filename":"file0"},{"photo_id":"1330145903","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330145897":["hashtag1","hashtag2"]},{"1330145900":["hashtag1","hashtag2"]},{"1330145903":["hashtag1","hashtag2"]},{"1330145895":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330145897, 1330145900, 1330145903, 1330145895)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.34740662574768 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 23:55:22.525953
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/23/54/image_19012025_23_54_02_427803_0003.jpg', '/home/pi/Desktop/images/19012025/23/55/image_19012025_23_55_02_637963_0000.jpg', '/home/pi/Desktop/images/19012025/23/55/image_19012025_23_55_02_637963_0001.jpg', '/home/pi/Desktop/images/19012025/23/55/image_19012025_23_55_02_637963_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/23/54/image_19012025_23_54_02_427803_0003.jpg
/home/pi/Desktop/images/19012025/23/55/image_19012025_23_55_02_637963_0000.jpg
/home/pi/Desktop/images/19012025/23/55/image_19012025_23_55_02_637963_0001.jpg
/home/pi/Desktop/images/19012025/23/55/image_19012025_23_55_02_637963_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330145945","1330145942","1330145947","1330145940"],"photo_ids_order":["1330145940","1330145942","1330145945","1330145947"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/69190ff1ca304565e69613b876920e9d.jpg","text":"TemporaryFile(/tmp/multipartBody7575133335898992281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737327394115,"filename":"image_19012025_23_55_02_637963_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/d6c595b4600b4cb3804f7c56ddb386a1.jpg","text":"TemporaryFile(/tmp/multipartBody3809024346588074800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737327394115,"filename":"image_19012025_23_55_02_637963_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/fd84381ce741fc3678c4aade8ee237c8.jpg","text":"TemporaryFile(/tmp/multipartBody831719776640146545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737327394115,"filename":"image_19012025_23_55_02_637963_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/222b295e5d5ac07408b1e16567585fb6.jpg","text":"TemporaryFile(/tmp/multipartBody9090965059717143971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737327394115,"filename":"image_19012025_23_54_02_427803_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330145945","file1":"1330145942","file0":"1330145940","file3":"1330145947"},"map_files_photo_id_array":[{"photo_id":"1330145945","filename":"file2"},{"photo_id":"1330145942","filename":"file1"},{"photo_id":"1330145940","filename":"file0"},{"photo_id":"1330145947","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330145945":["hashtag1","hashtag2"]},{"1330145942":["hashtag1","hashtag2"]},{"1330145947":["hashtag1","hashtag2"]},{"1330145940":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330145945, 1330145942, 1330145947, 1330145940)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 47.61345934867859 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 23:56:22.611201
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/23/55/image_19012025_23_55_02_637963_0003.jpg', '/home/pi/Desktop/images/19012025/23/56/image_19012025_23_56_02_794306_0000.jpg', '/home/pi/Desktop/images/19012025/23/56/image_19012025_23_56_02_794306_0001.jpg', '/home/pi/Desktop/images/19012025/23/56/image_19012025_23_56_02_794306_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/23/55/image_19012025_23_55_02_637963_0003.jpg
/home/pi/Desktop/images/19012025/23/56/image_19012025_23_56_02_794306_0000.jpg
/home/pi/Desktop/images/19012025/23/56/image_19012025_23_56_02_794306_0001.jpg
/home/pi/Desktop/images/19012025/23/56/image_19012025_23_56_02_794306_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330145954","1330145952","1330145949","1330145958"],"photo_ids_order":["1330145949","1330145952","1330145954","1330145958"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/c8c7e80c64209b28580b0bb35738e59e.jpg","text":"TemporaryFile(/tmp/multipartBody9143870770122539632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737327454244,"filename":"image_19012025_23_56_02_794306_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/6ce4d5bfcb0da5699b8bfd52774e8af9.jpg","text":"TemporaryFile(/tmp/multipartBody6365012900746613237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737327454244,"filename":"image_19012025_23_56_02_794306_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/bb83ad2ff148690ddbc4eeb68e078119.jpg","text":"TemporaryFile(/tmp/multipartBody197910920504190402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737327454244,"filename":"image_19012025_23_55_02_637963_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/19/72c526178d4ed58e15e0893d24137d05.jpg","text":"TemporaryFile(/tmp/multipartBody5992608219398203784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737327454244,"filename":"image_19012025_23_56_02_794306_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330145954","file1":"1330145952","file0":"1330145949","file3":"1330145958"},"map_files_photo_id_array":[{"photo_id":"1330145954","filename":"file2"},{"photo_id":"1330145952","filename":"file1"},{"photo_id":"1330145949","filename":"file0"},{"photo_id":"1330145958","filename":"file3"}],"portfolio_id":19739540,"hashtag_by_photo_ids":[{"1330145954":["hashtag1","hashtag2"]},{"1330145952":["hashtag1","hashtag2"]},{"1330145949":["hashtag1","hashtag2"]},{"1330145958":["hashtag1","hashtag2"]}],"comms":"Portfolio 19739540 used, photo_id : ArrayBuffer(1330145954, 1330145952, 1330145949, 1330145958)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.10413146018982 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-19 23:57:21.872286
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
  port_id : 19739540
  datou_current_id : 2495284
in upload_from_sqlite, uploading in 19739540
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19012025/23/56/image_19012025_23_56_02_794306_0003.jpg', '/home/pi/Desktop/images/19012025/23/57/image_19012025_23_57_03_055500_0000.jpg', '/home/pi/Desktop/images/19012025/23/57/image_19012025_23_57_03_055500_0001.jpg', '/home/pi/Desktop/images/19012025/23/57/image_19012025_23_57_03_055500_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2495284&datou=0
/home/pi/Desktop/images/19012025/23/56/image_19012025_23_56_02_794306_0003.jpg
/home/pi/Desktop/images/19012025/23/57/image_19012025_23_57_03_055500_0000.jpg
/home/pi/Desktop/images/19012025/23/57/image_19012025_23_57_03_055500_0001.jpg
/home/pi/Desktop/images/19012025/23/57/image_19012025_23_57_03_055500_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
